@fluid-topics/ft-reader-search-in-document 1.3.17 → 1.3.18

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 lv=Object.create;var _s=Object.defineProperty;var cv=Object.getOwnPropertyDescriptor;var dv=Object.getOwnPropertyNames;var pv=Object.getPrototypeOf,uv=Object.prototype.hasOwnProperty;var p=(t,e)=>()=>(t&&(e=t(t=0)),e);var ko=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),$o=(t,e)=>{for(var r in e)_s(t,r,{get:e[r],enumerable:!0})},fv=(t,e,r,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of dv(e))!uv.call(t,n)&&n!==r&&_s(t,n,{get:()=>e[n],enumerable:!(i=cv(e,n))||i.enumerable});return t};var f=(t,e,r)=>(r=t!=null?lv(pv(t)):{},fv(e||!t||!t.__esModule?_s(r,"default",{value:t,enumerable:!0}):r,t));var v=ko((J0,op)=>{op.exports=ftGlobals.wcUtils});var R=ko((eS,ip)=>{ip.exports=ftGlobals.lit});var dp,Be,np,S,ap,sp,lp,cp,pp,Br=p(()=>{"use strict";dp=f(R()),Be=f(v()),np=Be.FtCssVariableFactory.extend("--ft-ripple-color","",Be.designSystemVariables.colorContent),S={color:np,backgroundColor:Be.FtCssVariableFactory.extend("--ft-ripple-background-color","",np),opacityContentOnSurfacePressed:Be.FtCssVariableFactory.external(Be.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:Be.FtCssVariableFactory.external(Be.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:Be.FtCssVariableFactory.external(Be.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:Be.FtCssVariableFactory.external(Be.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:Be.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},ap=Be.FtCssVariableFactory.extend("--ft-ripple-color","",Be.designSystemVariables.colorPrimary),sp={color:ap,backgroundColor:Be.FtCssVariableFactory.extend("--ft-ripple-background-color","",ap)},lp=Be.FtCssVariableFactory.extend("--ft-ripple-color","",Be.designSystemVariables.colorSecondary),cp={color:lp,backgroundColor:Be.FtCssVariableFactory.extend("--ft-ripple-background-color","",lp)},pp=dp.css`
1
+ "use strict";(()=>{var lv=Object.create;var _s=Object.defineProperty;var cv=Object.getOwnPropertyDescriptor;var dv=Object.getOwnPropertyNames;var pv=Object.getPrototypeOf,uv=Object.prototype.hasOwnProperty;var p=(t,e)=>()=>(t&&(e=t(t=0)),e);var ko=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),$o=(t,e)=>{for(var r in e)_s(t,r,{get:e[r],enumerable:!0})},fv=(t,e,r,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of dv(e))!uv.call(t,n)&&n!==r&&_s(t,n,{get:()=>e[n],enumerable:!(i=cv(e,n))||i.enumerable});return t};var u=(t,e,r)=>(r=t!=null?lv(pv(t)):{},fv(e||!t||!t.__esModule?_s(r,"default",{value:t,enumerable:!0}):r,t));var v=ko((J0,op)=>{op.exports=ftGlobals.wcUtils});var R=ko((eS,ip)=>{ip.exports=ftGlobals.lit});var dp,Be,np,S,ap,sp,lp,cp,pp,Fr=p(()=>{"use strict";dp=u(R()),Be=u(v()),np=Be.FtCssVariableFactory.extend("--ft-ripple-color","",Be.designSystemVariables.colorContent),S={color:np,backgroundColor:Be.FtCssVariableFactory.extend("--ft-ripple-background-color","",np),opacityContentOnSurfacePressed:Be.FtCssVariableFactory.external(Be.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:Be.FtCssVariableFactory.external(Be.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:Be.FtCssVariableFactory.external(Be.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:Be.FtCssVariableFactory.external(Be.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:Be.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},ap=Be.FtCssVariableFactory.extend("--ft-ripple-color","",Be.designSystemVariables.colorPrimary),sp={color:ap,backgroundColor:Be.FtCssVariableFactory.extend("--ft-ripple-background-color","",ap)},lp=Be.FtCssVariableFactory.extend("--ft-ripple-color","",Be.designSystemVariables.colorSecondary),cp={color:lp,backgroundColor:Be.FtCssVariableFactory.extend("--ft-ripple-background-color","",lp)},pp=dp.css`
2
2
  :host {
3
3
  display: contents;
4
4
  }
@@ -110,9 +110,9 @@
110
110
  opacity: ${S.opacityContentOnSurfacePressed};
111
111
  transform: translate(-50%, -50%) scale(1);
112
112
  }
113
- `});var W=ko((iS,hp)=>{hp.exports=ftGlobals.litDecorators});function mp(t,e){return eo(`${t.name}: ${e}`)}var Fr,eo,o,J=p(()=>{Fr=f(R(),1),eo=t=>typeof t=="string"?(0,Fr.unsafeCSS)(t):t,o=class{static create(e,r,i,n){let a=l=>eo(l??n),s=Fr.css`var(${eo(e)}, ${a(n)})`;return s.name=e,s.description=r,s.category=i,s.defaultValue=n,s.defaultCssValue=a,s.set=l=>mp(s,l??a(n)),s.get=l=>Fr.css`var(${eo(e)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>n,s}static extend(e,r,i,n){let a=l=>i.get(l??n),s=Fr.css`var(${eo(e)}, ${a(n)})`;return s.name=e,s.description=r,s.category=i.category,s.fallbackVariable=i,s.defaultValue=n,s.defaultCssValue=a,s.set=l=>mp(s,l??a(n)),s.get=l=>Fr.css`var(${eo(e)}, ${a(l)})`,s.breadcrumb=()=>[i.name,...i.breadcrumb()],s.lastResortDefaultValue=()=>n??i.lastResortDefaultValue(),s}static external(e,r){let i=a=>e.defaultCssValue(a),n=Fr.css`var(${eo(e.name)}, ${i(e.defaultValue)})`;return n.name=e.name,n.category=e.category,n.fallbackVariable=e.fallbackVariable,n.defaultValue=e.defaultValue,n.context=r,n.defaultCssValue=i,n.set=a=>e.set(a),n.get=a=>Fr.css`var(${eo(e.name)}, ${i(a)})`,n.breadcrumb=()=>e.breadcrumb(),n.lastResortDefaultValue=()=>e.lastResortDefaultValue(),n}}});var c,gp,yp,bp,xp,vp,Sp,Cp,Op,ui,hv,wp,Ep,Ap,Rp,Ip,Lp,kp,$p,Tp,Pp,To,_p,Np,Bp,Fp,Dp,Wn,re=p(()=>{J();c={colorWhite:o.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ft-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:o.create("--ft-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:o.create("--ft-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:o.create("--ft-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:o.create("--ft-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:o.create("--ft-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:o.create("--ft-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:o.create("--ft-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:o.create("--ft-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:o.create("--ft-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:o.create("--ft-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:o.create("--ft-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:o.create("--ft-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:o.create("--ft-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:o.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:o.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:o.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:o.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:o.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:o.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:o.create("--ft-opacity-0","","NUMBER","0"),opacity8:o.create("--ft-opacity-8","","NUMBER","0.08"),opacity12:o.create("--ft-opacity-12","","NUMBER","0.12"),opacity16:o.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:o.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:o.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:o.create("--ft-opacity-48","","NUMBER","0.48"),opacity80:o.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:o.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:o.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:o.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:o.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:o.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:o.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:o.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:o.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:o.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},gp={fontFamily:o.create("--ft-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-display-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-display-line-height","","SIZE","1.2"),fontSize:o.create("--ft-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:o.create("--ft-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-display-text-decoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-display-text-case","","UNKNOWN","none")},yp={fontFamily:o.create("--ft-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-title-1-line-height","","SIZE","1.2"),fontSize:o.create("--ft-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:o.create("--ft-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-1-text-case","","UNKNOWN","none")},bp={fontFamily:o.create("--ft-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-2-line-height","","SIZE","1.2"),fontSize:o.create("--ft-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:o.create("--ft-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-2-text-case","","UNKNOWN","none")},xp={fontFamily:o.create("--ft-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-3-line-height","","SIZE","1.2"),fontSize:o.create("--ft-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:o.create("--ft-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:o.create("--ft-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-3-text-case","","UNKNOWN","none")},vp={fontFamily:o.create("--ft-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-regular-text-case","","UNKNOWN","none")},Sp={fontFamily:o.create("--ft-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-medium-text-case","","UNKNOWN","none")},Cp={fontFamily:o.create("--ft-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-semibold-text-case","","UNKNOWN","none")},Op={fontFamily:o.create("--ft-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-regular-text-case","","UNKNOWN","none")},ui={fontFamily:o.create("--ft-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-medium-text-case","","UNKNOWN","none")},hv={fontFamily:o.create("--ft-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:o.create("--ft-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:o.create("--ft-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},wp={fontFamily:o.create("--ft-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-semibold-text-case","","UNKNOWN","none")},Ep={fontFamily:o.create("--ft-typography-label-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-1-medium-line-height","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-medium-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-medium-letter-spacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-medium-text-case","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-medium-text-decoration","","UNKNOWN","none")},Ap={fontFamily:o.create("--ft-typography-label-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-1-semibold-line-height","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-semibold-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-semibold-letter-spacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-semibold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-semibold-text-decoration","","UNKNOWN","none")},Rp={fontFamily:o.create("--ft-typography-label-1-bold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-bold-font-weight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-1-bold-line-height","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-bold-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-bold-letter-spacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-bold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-bold-text-decoration","","UNKNOWN","none")},Ip={fontFamily:o.create("--ft-typography-label-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-2-medium-line-height","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-medium-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-medium-letter-spacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-medium-text-case","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-medium-text-decoration","","UNKNOWN","none")},Lp={fontFamily:o.create("--ft-typography-label-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-2-semibold-line-height","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-semibold-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-semibold-letter-spacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-semibold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-semibold-text-decoration","","UNKNOWN","none")},kp={fontFamily:o.create("--ft-typography-label-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-bold-font-weight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-2-bold-line-height","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-bold-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-bold-letter-spacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-bold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-bold-text-decoration","","UNKNOWN","none")},$p={fontFamily:o.create("--ft-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},Tp={fontFamily:o.create("--ft-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},Pp={fontFamily:o.create("--ft-typography-caption-1-bold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-bold-font-weight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-1-bold-line-height","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-1-bold-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-bold-letter-spacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-bold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-bold-text-decoration","","UNKNOWN","none")},To={fontFamily:o.create("--ft-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},_p={fontFamily:o.create("--ft-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},Np={fontFamily:o.create("--ft-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},Bp={fontFamily:o.create("--ft-typography-caption-3-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-3-medium-line-height","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-3-medium-font-size","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-medium-letter-spacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-medium-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-medium-text-decoration","","UNKNOWN","none")},Fp={fontFamily:o.create("--ft-typography-caption-3-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-3-semibold-line-height","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-3-semibold-font-size","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-semibold-letter-spacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-semibold-text-decoration","","UNKNOWN","none")},Dp={fontFamily:o.create("--ft-typography-caption-3-bold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-bold-font-weight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-3-bold-line-height","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-3-bold-font-size","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-bold-letter-spacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-bold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-bold-text-decoration","","UNKNOWN","none")},Wn={display:gp,"title-1":yp,"title-2":bp,"title-3":xp,"body-1-regular":vp,"body-1-medium":Sp,"body-1-semibold":Cp,"body-2-regular":Op,"body-2-medium":ui,"body-2-medium-underline":hv,"body-2-semibold":wp,"label-1-medium":Ep,"label-1-semibold":Ap,"label-1-bold":Rp,"label-2-medium":Ip,"label-2-semibold":Lp,"label-2-bold":kp,"caption-1-medium":$p,"caption-1-semibold":Tp,"caption-1-bold":Pp,"caption-2-medium":To,"caption-2-semibold":_p,"caption-2-bold":Np,"caption-3-medium":Bp,"caption-3-semibold":Fp,"caption-3-bold":Dp}});var d,le=p(()=>{J();re();d={backgroundActionPrimary:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
114
- Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",c.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",c.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:o.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)}});var m,Mp=p(()=>{J();re();le();m={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",c.spacing4),largeGap:o.extend("--ft-button-large-gap","",c.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",c.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",c.iconSize3),largeBorderWidth:o.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ft-button-medium-horizontal-padding","",c.spacing3),mediumGap:o.extend("--ft-button-medium-gap","",c.spacing2),mediumBorderRadius:o.extend("--ft-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:o.extend("--ft-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:o.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-button-small-horizontal-padding","",c.spacing2),smallGap:o.extend("--ft-button-small-gap","",c.spacing1),smallBorderRadius:o.extend("--ft-button-small-border-radius","",c.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",c.iconSize1),smallBorderWidth:o.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ft-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:o.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ft-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:o.extend("--ft-button-primary-brand-background-color","",d.backgroundActionPrimary),primaryBrandColor:o.extend("--ft-button-primary-brand-color","",d.contentGlobalOnColor),primaryBrandIconColor:o.extend("--ft-button-primary-brand-icon-color","",d.contentGlobalOnColor),primaryBrandStateLayerColor:o.extend("--ft-button-primary-brand-state-layer-color","",d.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:o.extend("--ft-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:o.extend("--ft-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:o.extend("--ft-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:o.extend("--ft-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",d.borderActionFocusRing),tertiaryBrandBackgroundColor:o.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:o.extend("--ft-button-tertiary-brand-color","",d.contentActionPrimary),tertiaryBrandIconColor:o.extend("--ft-button-tertiary-brand-icon-color","",d.contentActionPrimary),tertiaryBrandStateLayerColor:o.extend("--ft-button-tertiary-brand-state-layer-color","",d.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:o.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:o.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:o.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:o.extend("--ft-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:o.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:o.extend("--ft-button-tertiary-info-color","",d.contentInfoPrimary),tertiaryInfoIconColor:o.extend("--ft-button-tertiary-info-icon-color","",d.contentInfoPrimary),tertiaryInfoStateLayerColor:o.extend("--ft-button-tertiary-info-state-layer-color","",d.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:o.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:o.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:o.extend("--ft-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:o.extend("--ft-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:o.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:o.extend("--ft-button-tertiary-success-color","",d.contentSuccessPrimary),tertiarySuccessIconColor:o.extend("--ft-button-tertiary-success-icon-color","",d.contentSuccessPrimary),tertiarySuccessStateLayerColor:o.extend("--ft-button-tertiary-success-state-layer-color","",d.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:o.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:o.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:o.extend("--ft-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:o.extend("--ft-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:o.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:o.extend("--ft-button-tertiary-warning-color","",d.contentWarningPrimary),tertiaryWarningIconColor:o.extend("--ft-button-tertiary-warning-icon-color","",d.contentWarningPrimary),tertiaryWarningStateLayerColor:o.extend("--ft-button-tertiary-warning-state-layer-color","",d.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:o.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:o.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:o.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:o.extend("--ft-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:o.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:o.extend("--ft-button-tertiary-error-color","",d.contentErrorPrimary),tertiaryErrorIconColor:o.extend("--ft-button-tertiary-error-icon-color","",d.contentErrorPrimary),tertiaryErrorStateLayerColor:o.extend("--ft-button-tertiary-error-state-layer-color","",d.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:o.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:o.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:o.extend("--ft-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:o.extend("--ft-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:o.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:o.extend("--ft-button-tertiary-neutral-icon-color","",d.contentGlobalSecondary),tertiaryNeutralColor:o.extend("--ft-button-tertiary-neutral-color","",d.contentGlobalSecondary),tertiaryNeutralStateLayerColor:o.extend("--ft-button-tertiary-neutral-state-layer-color","",d.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:o.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:o.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:o.extend("--ft-button-secondary-brand-color","",d.contentActionPrimary),secondaryBrandIconColor:o.extend("--ft-button-secondary-brand-icon-color","",d.contentActionPrimary),secondaryBrandStateLayerColor:o.extend("--ft-button-secondary-brand-state-layer-color","",d.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:o.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:o.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:o.extend("--ft-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:o.extend("--ft-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:o.extend("--ft-button-secondary-brand-border-color","",d.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:o.extend("--ft-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:o.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:o.extend("--ft-button-secondary-neutral-color","",d.contentGlobalSecondary),secondaryNeutralIconColor:o.extend("--ft-button-secondary-neutral-icon-color","",d.contentGlobalSecondary),secondaryNeutralStateLayerColor:o.extend("--ft-button-secondary-neutral-state-layer-color","",d.contentGlobalSecondary),secondaryNeutralBorderColor:o.extend("--ft-button-secondary-neutral-border-color","",d.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:o.extend("--ft-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:o.extend("--ft-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:o.extend("--ft-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:o.extend("--ft-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:o.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:o.extend("--ft-button-secondary-info-border-color","",d.borderInfoPrimary),secondaryInfoColor:o.extend("--ft-button-secondary-info-color","",d.contentInfoPrimary),secondaryInfoIconColor:o.extend("--ft-button-secondary-info-icon-color","",d.contentInfoPrimary),secondaryInfoStateLayerColor:o.extend("--ft-button-secondary-info-state-layer-color","",d.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:o.extend("--ft-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:o.extend("--ft-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:o.extend("--ft-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:o.extend("--ft-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:o.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:o.extend("--ft-button-secondary-success-border-color","",d.borderSuccessPrimary),secondarySuccessColor:o.extend("--ft-button-secondary-success-color","",d.contentSuccessPrimary),secondarySuccessIconColor:o.extend("--ft-button-secondary-success-icon-color","",d.contentSuccessPrimary),secondarySuccessStateLayerColor:o.extend("--ft-button-secondary-success-state-layer-color","",d.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:o.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:o.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:o.extend("--ft-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:o.extend("--ft-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:o.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:o.extend("--ft-button-secondary-warning-border-color","",d.borderWarningPrimary),secondaryWarningColor:o.extend("--ft-button-secondary-warning-color","",d.contentWarningPrimary),secondaryWarningIconColor:o.extend("--ft-button-secondary-warning-icon-color","",d.contentWarningPrimary),secondaryWarningStateLayerColor:o.extend("--ft-button-secondary-warning-state-layer-color","",d.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:o.extend("--ft-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:o.extend("--ft-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:o.extend("--ft-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:o.extend("--ft-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:o.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:o.extend("--ft-button-secondary-error-border-color","",d.contentErrorPrimary),secondaryErrorColor:o.extend("--ft-button-secondary-error-color","",d.contentErrorPrimary),secondaryErrorIconColor:o.extend("--ft-button-secondary-error-icon-color","",d.contentErrorPrimary),secondaryErrorStateLayerColor:o.extend("--ft-button-secondary-error-state-layer-color","",d.contentErrorPrimary)}});var bS,zp=p(()=>{J();re();le();bS={iconSize:o.extend("--ft-checkbox-icon-size","",c.iconSize2),boxSize:o.create("--ft-checkbox-box-size","","SIZE","18px"),colorLegendSize:o.create("--ft-checkbox-color-legend-size","","SIZE","16px"),borderRadius:o.create("--ft-checkbox-border-radius","","SIZE","1px"),color:o.extend("--ft-checkbox-color","",d.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ft-checkbox-checked-background-color","",d.contentActionPrimary),checkedStateLayerColor:o.extend("--ft-checkbox-checked-state-layer-color","",d.contentActionPrimary),checkedIconColor:o.extend("--ft-checkbox-checked-icon-color","",d.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ft-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),borderWidth:o.create("--ft-checkbox-border-width","","SIZE","2px"),horizontalGap:o.extend("--ft-checkbox-horizontal-gap","",c.spacing3),leftPadding:o.extend("--ft-checkbox-left-padding","",c.spacing2)}});var OS,Up=p(()=>{J();re();le();OS={circleSize:o.create("--ft-radio-circle-size","","SIZE","18px"),borderWidth:o.create("--ft-radio-border-width","","SIZE","2px"),color:o.extend("--ft-radio-color","",d.contentGlobalPrimary),selectedRadioColor:o.extend("--ft-radio-selected-radio-color","",d.contentActionPrimary),selectedStateLayerColor:o.extend("--ft-radio-selected-state-layer-color","",d.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ft-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:o.extend("--ft-radio-unselected-state-layer-color","",d.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",d.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ft-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ft-radio-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-radio-focus-outline-width","","SIZE","2px"),verticalGap:o.extend("--ft-radio-vertical-gap","",c.spacing3),horizontalGap:o.extend("--ft-radio-horizontal-gap","",c.spacing3)}});var IS,Hp=p(()=>{J();re();le();IS={headerRowBorderWidth:o.create("--ft-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:o.extend("--ft-table-header-row-background-color","",d.backgroundGlobalOnSurfaceDark),headerRowBorderColor:o.extend("--ft-table-header-row-border-color","",d.borderGlobalPrimary),headerRowColor:o.extend("--ft-table-header-row-color","",d.contentGlobalPrimary),dataRowBorderWidth:o.create("--ft-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:o.extend("--ft-table-data-row-background-color","",d.backgroundGlobalOnSurface),dataRowBorderColor:o.extend("--ft-table-data-row-border-color","",d.borderGlobalSubtle),dataRowColor:o.extend("--ft-table-data-row-color","",d.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:o.extend("--ft-table-data-row-default-hover-background-color","",c.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:o.extend("--ft-table-data-row-selectable-unselected-hover-background-color","",c.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:o.extend("--ft-table-data-row-selectable-selected-default-background-color","",c.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:o.extend("--ft-table-data-row-selectable-selected-default-border-color","",c.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:o.extend("--ft-table-data-row-selectable-selected-hover-background-color","",c.colorBrand20),dataRowSelectableSelectedHoverBorderColor:o.extend("--ft-table-data-row-selectable-selected-hover-border-color","",c.colorBrand30),dataRowSelectableSelectedColor:o.extend("--ft-table-data-row-selectable-selected-color","",d.contentActionPrimary),dataRowClickableHoverBackgroundColor:o.extend("--ft-table-data-row-clickable-hover-background-color","",c.colorGray30),dataRowClickableFocusBorderColor:o.extend("--ft-table-data-row-clickable-focus-border-color","",d.borderActionFocusRing),dataRowClickableFocusBackgroundColor:o.extend("--ft-table-data-row-clickable-focus-background-color","",c.colorGray30),dataRowClickableActiveBackgroundColor:o.extend("--ft-table-data-row-clickable-active-background-color","",c.colorGray40),headerCellHorizontalGap:o.extend("--ft-table-header-cell-horizontal-gap","",c.spacing1),headerCellVerticalPadding:o.extend("--ft-table-header-cell-vertical-padding","",c.spacing2),headerCellHorizontalPadding:o.extend("--ft-table-header-cell-horizontal-padding","",c.spacing3),dataCellVerticalPadding:o.extend("--ft-table-data-cell-vertical-padding","",c.spacing2),dataCellHorizontalPadding:o.extend("--ft-table-data-cell-horizontal-padding","",c.spacing3),dataCellVerticalGap:o.extend("--ft-table-data-cell-vertical-gap","",c.spacing1)}});var PS,Wp=p(()=>{J();re();le();PS={neutralOffHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",d.borderActionFocusRing),neutralOffActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:o.extend("--ft-chip-choice-neutral-off-background-color","",d.backgroundGlobalOnSurface),neutralOffBorderColor:o.extend("--ft-chip-choice-neutral-off-border-color","",d.borderGlobalPrimary),neutralOffColor:o.extend("--ft-chip-choice-neutral-off-color","",d.contentGlobalSecondary),neutralOffStateLayerColor:o.extend("--ft-chip-choice-neutral-off-state-layer-color","",d.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",d.borderActionFocusRing),neutralOnActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:o.extend("--ft-chip-choice-neutral-on-background-color","",d.backgroundGlobalOnSurface),neutralOnBorderColor:o.extend("--ft-chip-choice-neutral-on-border-color","",d.borderGlobalPrimary),neutralOnColor:o.extend("--ft-chip-choice-neutral-on-color","",d.contentGlobalPrimary),neutralOnIconColor:o.extend("--ft-chip-choice-neutral-on-icon-color","",d.contentGlobalPrimary),neutralOnStateLayerColor:o.extend("--ft-chip-choice-neutral-on-state-layer-color","",d.contentGlobalPrimary),largeMinHeight:o.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:o.extend("--ft-chip-choice-large-gap","",c.spacing1),largeBorderRadius:o.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:o.extend("--ft-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:o.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-choice-medium-icon-size","",c.iconSize2)}});var D,Vp=p(()=>{J();re();le();D={largeMinHeight:o.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:o.extend("--ft-chip-large-button-right-padding","",c.spacing1),largeGap:o.extend("--ft-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:o.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:o.extend("--ft-chip-medium-button-right-padding","",c.spacing05),mediumGap:o.extend("--ft-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:o.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-medium-icon-size","",c.iconSize2),smallMinHeight:o.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:o.extend("--ft-chip-small-button-right-padding","",c.spacing05),smallGap:o.extend("--ft-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:o.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:o.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ft-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:o.extend("--ft-chip-neutral-background-color","",d.backgroundGlobalOnSurface),neutralColor:o.extend("--ft-chip-neutral-color","",d.contentGlobalSecondary),neutralIconColor:o.extend("--ft-chip-neutral-icon-color","",d.contentGlobalSecondary),neutralBorderColor:o.extend("--ft-chip-neutral-border-color","",d.borderGlobalSubtle),infoBackgroundColor:o.extend("--ft-chip-info-background-color","",d.backgroundInfoSubtle),infoColor:o.extend("--ft-chip-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ft-chip-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:o.extend("--ft-chip-info-border-color","",d.borderInfoSubtle),successBackgroundColor:o.extend("--ft-chip-success-background-color","",d.backgroundSuccessSubtle),successColor:o.extend("--ft-chip-success-color","",d.contentSuccessPrimary),successIconColor:o.extend("--ft-chip-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:o.extend("--ft-chip-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-chip-warning-background-color","",d.backgroundWarningSubtle),warningColor:o.extend("--ft-chip-warning-color","",d.contentWarningPrimary),warningIconColor:o.extend("--ft-chip-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:o.extend("--ft-chip-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-chip-error-background-color","",d.backgroundErrorSubtle),errorColor:o.extend("--ft-chip-error-color","",d.contentErrorPrimary),errorIconColor:o.extend("--ft-chip-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:o.extend("--ft-chip-error-border-color","",d.borderErrorSubtle)}});var HS,jp=p(()=>{J();re();le();HS={brandHoverOpacity:o.extend("--ft-link-brand-hover-opacity","",c.opacity80),brandHoverColor:o.extend("--ft-link-brand-hover-color","",d.contentActionPrimary),brandFocusFocusRingColor:o.extend("--ft-link-brand-focus-focus-ring-color","",d.borderActionFocusRing),brandFocusColor:o.extend("--ft-link-brand-focus-color","",d.contentActionPrimary),brandDefaultColor:o.extend("--ft-link-brand-default-color","",d.contentActionPrimary),brandActiveColor:o.extend("--ft-link-brand-active-color","",d.contentActionPrimary),infoHoverOpacity:o.extend("--ft-link-info-hover-opacity","",c.opacity80),infoHoverColor:o.extend("--ft-link-info-hover-color","",d.contentInfoPrimary),infoFocusFocusRingColor:o.extend("--ft-link-info-focus-focus-ring-color","",d.borderActionFocusRing),infoFocusColor:o.extend("--ft-link-info-focus-color","",d.contentInfoPrimary),infoDefaultColor:o.extend("--ft-link-info-default-color","",d.contentInfoPrimary),infoActiveColor:o.extend("--ft-link-info-active-color","",d.contentInfoPrimary),neutralFocusFocusRingColor:o.extend("--ft-link-neutral-focus-focus-ring-color","",d.borderActionFocusRing),neutralFocusColor:o.extend("--ft-link-neutral-focus-color","",d.contentActionPrimary),neutralDefaultColor:o.extend("--ft-link-neutral-default-color","",d.contentGlobalPrimary),neutralHoverColor:o.extend("--ft-link-neutral-hover-color","",d.contentActionPrimary),neutralActiveColor:o.extend("--ft-link-neutral-active-color","",d.contentActionPrimary),neutralVisitedColor:o.extend("--ft-link-neutral-visited-color","",c.colorBrand100)}});var KS,Gp=p(()=>{J();re();le();KS={iconSize:o.extend("--ft-banner-icon-size","",c.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",c.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",c.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",c.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:o.extend("--ft-banner-info-background-color","",d.backgroundInfoSubtle),infoColor:o.extend("--ft-banner-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ft-banner-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:o.extend("--ft-banner-info-border-color","",d.borderInfoSubtle)}});var XS,Kp=p(()=>{J();re();le();XS={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",c.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",c.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",c.borderRadiusPill),color:o.extend("--ft-badge-color","",d.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",d.contentActionPrimary)}});var oC,qp=p(()=>{J();re();le();oC={horizontalGap:o.extend("--ft-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:o.extend("--ft-title-breadcrumb-current-color","",d.contentGlobalPrimary),previousNonClickableColor:o.extend("--ft-title-breadcrumb-previous-non-clickable-color","",d.contentGlobalSecondary),iconColor:o.extend("--ft-title-breadcrumb-icon-color","",d.contentGlobalSubtle)}});var lC,Zp=p(()=>{J();re();le();lC={parentHorizontalPadding:o.extend("--ft-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:o.extend("--ft-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:o.extend("--ft-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:o.extend("--ft-page-header-parent-help-left-margin","",c.spacing1),parentTitleColor:o.extend("--ft-page-header-parent-title-color","",d.contentGlobalPrimary),parentSubtitleColor:o.extend("--ft-page-header-parent-subtitle-color","",d.contentGlobalSecondary),parentChipLeftMargin:o.extend("--ft-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:o.extend("--ft-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:o.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:o.extend("--ft-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:o.extend("--ft-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:o.extend("--ft-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:o.extend("--ft-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:o.extend("--ft-page-header-child-top-padding","",c.spacing2),childBottomPadding:o.extend("--ft-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:o.extend("--ft-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:o.extend("--ft-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:o.extend("--ft-page-header-child-vertical-gap","",c.spacing2),childMinHeight:o.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:o.extend("--ft-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:o.extend("--ft-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:o.extend("--ft-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:o.extend("--ft-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",c.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",d.borderGlobalSubtle),bottomBorderWidth:o.create("--ft-page-header-bottom-border-width","","SIZE","1px")}});var fC,Qp=p(()=>{J();re();le();fC={horizontalPadding:o.extend("--ft-page-footer-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ft-page-footer-vertical-padding","",c.spacing2),verticalGap:o.extend("--ft-page-footer-vertical-gap","",c.spacing2),minHeight:o.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:o.extend("--ft-page-footer-background-color","",c.colorWhite),topBorderColor:o.extend("--ft-page-footer-top-border-color","",d.borderGlobalSubtle),topBorderWidth:o.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:o.extend("--ft-page-footer-buttons-group-gap","",c.spacing4)}});var yC,Yp=p(()=>{J();re();yC={contentHorizontalPadding:o.extend("--ft-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:o.extend("--ft-page-layout-content-vertical-padding","",c.spacing6)}});var CC,Xp=p(()=>{J();re();le();CC={smallContainerTargetWidth:o.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:o.extend("--ft-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:o.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:o.extend("--ft-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:o.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:o.extend("--ft-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:o.extend("--ft-modal-overlay-background-color","",c.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",c.opacity40),shadow:o.extend("--ft-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",c.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",c.spacing6),headerBackgroundColor:o.extend("--ft-modal-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-modal-header-border-color","",d.borderGlobalSubtle),headerColor:o.extend("--ft-modal-header-color","",d.contentGlobalPrimary),headerLeadingIconColor:o.extend("--ft-modal-header-leading-icon-color","",d.contentGlobalPrimary),headerVerticalPadding:o.extend("--ft-modal-header-vertical-padding","",c.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",c.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",c.spacing6),headerGap:o.extend("--ft-modal-header-gap","",c.spacing2),headerBorderBottomWidth:o.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",c.borderRadiusM)}});var RC,Jp=p(()=>{J();re();le();RC={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",c.opacity40),shadow:o.extend("--ft-drawer-shadow","",c.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",c.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",c.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:o.extend("--ft-drawer-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-drawer-header-border-color","",d.borderGlobalSubtle),headerColor:o.extend("--ft-drawer-header-color","",d.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-drawer-header-trailing-icon-color","",d.contentGlobalSecondary),headerHeight:o.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ft-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:o.extend("--ft-drawer-buttons-bar-background-color","",d.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ft-drawer-buttons-bar-border-color","",d.borderGlobalSubtle),buttonsBarColor:o.extend("--ft-drawer-buttons-bar-color","",d.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ft-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:o.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ft-drawer-overlay-background-color","",c.colorGray700)}});var TC,eu=p(()=>{J();re();le();TC={offBorderBottomWidth:o.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:o.extend("--ft-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ft-tabs-off-color","",d.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-tabs-off-state-layer-color","",d.contentGlobalSubtle),offBorderBottomColor:o.extend("--ft-tabs-off-border-bottom-color","",d.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ft-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:o.extend("--ft-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:o.extend("--ft-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:o.extend("--ft-tabs-horizontal-gap","",c.spacing1),verticalGap:o.extend("--ft-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:o.extend("--ft-tabs-on-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ft-tabs-on-state-layer-color","",d.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ft-tabs-on-active-tab-indicator-color","",d.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ft-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",c.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",d.borderActionFocusRing)}});var FC,tu=p(()=>{J();re();le();FC={largeFieldHorizontalPadding:o.extend("--ft-text-input-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:o.extend("--ft-text-input-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:o.extend("--ft-text-input-large-field-vertical-gap","",c.spacing05),largeFieldHeight:o.create("--ft-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:o.extend("--ft-text-input-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:o.extend("--ft-text-input-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:o.extend("--ft-text-input-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:o.create("--ft-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:o.create("--ft-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:o.extend("--ft-text-input-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",c.borderRadiusS),backgroundColor:o.extend("--ft-text-input-background-color","",c.colorWhite),contentValueColor:o.extend("--ft-text-input-content-value-color","",d.contentGlobalPrimary),trailingIconColor:o.extend("--ft-text-input-trailing-icon-color","",d.contentGlobalSubtle),labelColor:o.extend("--ft-text-input-label-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-input-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-input-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-input-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-input-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-input-error-helper-icon-color","",d.contentErrorIconOnly),warningBorderColor:o.extend("--ft-text-input-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-text-input-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-text-input-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:o.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-text-input-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-input-disabled-component-opacity","",c.opacity40)}});var HC,ru=p(()=>{J();re();le();HC={backgroundColor:o.extend("--ft-text-area-background-color","",c.colorWhite),contentValueColor:o.extend("--ft-text-area-content-value-color","",d.contentGlobalPrimary),labelColor:o.extend("--ft-text-area-label-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-area-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-area-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-area-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-area-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-area-error-helper-icon-color","",d.contentErrorIconOnly),focusFocusRingColor:o.extend("--ft-text-area-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:o.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",c.borderRadiusS)}});var KC,ou=p(()=>{J();re();le();KC={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",c.spacing4),offIconColor:o.extend("--ft-floating-menu-off-icon-color","",d.contentGlobalPrimary),offColor:o.extend("--ft-floating-menu-off-color","",d.contentGlobalPrimary),onColor:o.extend("--ft-floating-menu-on-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ft-floating-menu-on-state-layer-color","",d.contentActionPrimary),gap:o.extend("--ft-floating-menu-gap","",c.spacing3),focusFocusRingColor:o.extend("--ft-floating-menu-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:o.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ft-floating-menu-focus-state-layer-opacity","",c.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",c.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",d.backgroundGlobalOnSurface),shadow:o.extend("--ft-floating-menu-shadow","",c.shadowElevation02)}});var XC,iu=p(()=>{J();re();le();XC={largeFieldHorizontalPadding:o.extend("--ft-combobox-single-select-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:o.extend("--ft-combobox-single-select-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:o.extend("--ft-combobox-single-select-large-field-vertical-gap","",c.spacing05),largeFieldHeight:o.create("--ft-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:o.extend("--ft-combobox-single-select-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:o.extend("--ft-combobox-single-select-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:o.extend("--ft-combobox-single-select-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:o.create("--ft-combobox-single-select-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:o.create("--ft-combobox-single-select-medium-field-height","","SIZE","40px"),mediumFieldIconSize:o.extend("--ft-combobox-single-select-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",c.borderRadiusS),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",c.colorWhite),labelColor:o.extend("--ft-combobox-single-select-label-color","",d.contentGlobalSubtle),contentValueColor:o.extend("--ft-combobox-single-select-content-value-color","",d.contentGlobalPrimary),trailingIconColor:o.extend("--ft-combobox-single-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-single-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-single-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-combobox-single-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-single-select-error-helper-text-color","",d.contentErrorPrimary),warningBorderWidth:o.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-single-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-single-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-single-select-warning-helper-icon-color","",d.contentWarningIconOnly),focusOutlineWidth:o.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-single-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-single-select-disabled-component-opacity","",c.opacity40)}});var oO,nu=p(()=>{J();re();le();oO={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",c.colorWhite),labelColor:o.extend("--ft-combobox-multi-select-label-color","",d.contentGlobalSubtle),trailingIconColor:o.extend("--ft-combobox-multi-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-multi-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-multi-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ft-combobox-multi-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-multi-select-error-helper-text-color","",d.contentErrorPrimary),errorHelperIcon:o.extend("--ft-combobox-multi-select-error-helper-icon","",d.contentErrorIconOnly),errorBorderWidth:o.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-multi-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-multi-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-multi-select-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:o.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-multi-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:o.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-multi-select-disabled-component-opacity","",c.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",c.borderRadiusS)}});var lO,au=p(()=>{J();re();le();lO={backgroundColor:o.extend("--ft-popover-background-color","",d.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",c.spacing6),titleColor:o.extend("--ft-popover-title-color","",d.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",d.contentGlobalSecondary),gap:o.extend("--ft-popover-gap","",c.spacing2),borderRadius:o.extend("--ft-popover-border-radius","",c.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",c.shadowElevation02),maxWidth:o.create("--ft-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:o.extend("--ft-popover-content-section-vertical-gap","",c.spacing2),multiSectionVerticalGap:o.extend("--ft-popover-multi-section-vertical-gap","",c.spacing6)}});var fO,su=p(()=>{J();re();le();fO={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:o.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ft-collapsible-focus-focus-ring-color","",d.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ft-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",c.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",c.spacing3),color:o.extend("--ft-collapsible-color","",d.contentGlobalPrimary),stateLayerColor:o.extend("--ft-collapsible-state-layer-color","",d.contentGlobalPrimary),backgroundColor:o.extend("--ft-collapsible-background-color","",d.backgroundGlobalOnSurface),borderColor:o.extend("--ft-collapsible-border-color","",d.borderGlobalSubtle),iconSize:o.extend("--ft-collapsible-icon-size","",c.iconSize3)}});var bO,lu=p(()=>{J();re();le();bO={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",c.spacing1),groupGap:o.extend("--ft-switch-group-gap","",c.spacing1),groupBackgroundColor:o.extend("--ft-switch-group-background-color","",d.backgroundGlobalSurface),groupBorderColor:o.extend("--ft-switch-group-border-color","",d.borderGlobalSubtle),groupBorderRadius:o.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ft-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ft-switch-off-color","",d.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",c.opacity40),onColor:o.extend("--ft-switch-on-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",d.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:o.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-switch-focus-focus-ring-color","",d.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",c.borderRadiusS)}});var CO,cu=p(()=>{J();re();CO={color1Light:o.extend("--ft-chart-1-light","for area color charts",c.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",c.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",c.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",c.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",c.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",c.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",c.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",c.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",c.colorRed40),color5Base:o.extend("--ft-chart-5-base","",c.colorRed60),color6Light:o.extend("--ft-chart-6-light","",c.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",c.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",c.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",c.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",c.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",c.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",c.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",c.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",c.colorGray50),color10Base:o.extend("--ft-chart-10-base","",c.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",c.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",c.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",c.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",c.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",c.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:o.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:o.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:o.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)}});var AO,du=p(()=>{J();re();AO={color1IconColor:o.extend("--ft-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:o.extend("--ft-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:o.extend("--ft-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:o.extend("--ft-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:o.extend("--ft-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:o.extend("--ft-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:o.extend("--ft-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:o.extend("--ft-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:o.extend("--ft-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:o.extend("--ft-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:o.extend("--ft-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:o.extend("--ft-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:o.extend("--ft-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:o.extend("--ft-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:o.extend("--ft-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:o.extend("--ft-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)}});var $O,pu=p(()=>{J();re();le();$O={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",c.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",c.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",c.borderRadiusS),gap:o.extend("--ft-notice-gap","",c.spacing2),iconSize:o.extend("--ft-notice-icon-size","",c.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",d.backgroundInfoSubtle),infoBorderColor:o.extend("--ft-notice-info-border-color","",d.borderInfoSubtle),infoColor:o.extend("--ft-notice-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ft-notice-info-icon-color","",d.contentInfoIconOnly),warningBackgroundColor:o.extend("--ft-notice-warning-background-color","",d.backgroundWarningSubtle),warningBorderColor:o.extend("--ft-notice-warning-border-color","",d.borderWarningSubtle),warningColor:o.extend("--ft-notice-warning-color","",d.contentWarningPrimary),warningIconColor:o.extend("--ft-notice-warning-icon-color","",d.contentWarningIconOnly),errorBackgroundColor:o.extend("--ft-notice-error-background-color","",d.backgroundErrorSubtle),errorBorderColor:o.extend("--ft-notice-error-border-color","",d.borderErrorSubtle),errorColor:o.extend("--ft-notice-error-color","",d.contentErrorPrimary),errorIconColor:o.extend("--ft-notice-error-icon-color","",d.contentErrorIconOnly),successBackgroundColor:o.extend("--ft-notice-success-background-color","",d.backgroundSuccessSubtle),successBorderColor:o.extend("--ft-notice-success-border-color","",d.borderSuccessSubtle),successColor:o.extend("--ft-notice-success-color","",d.contentSuccessPrimary),successIconColor:o.extend("--ft-notice-success-icon-color","",d.contentSuccessIconOnly),denseHorizontalPadding:o.create("--ft-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:o.create("--ft-notice-dense-vertical-padding","","SIZE","0px"),denseGap:o.extend("--ft-notice-dense-gap","",c.spacing1),denseIconSize:o.extend("--ft-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:o.create("--ft-notice-dense-border-width","","SIZE","0")}});var BO,uu=p(()=>{J();re();le();BO={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:o.extend("--ft-toggle-off-background-color","",d.contentGlobalSubtle),offIconColor:o.extend("--ft-toggle-off-icon-color","",d.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-toggle-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:o.extend("--ft-toggle-on-background-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ft-toggle-on-state-layer-color","",d.contentActionPrimary),onIconColor:o.extend("--ft-toggle-on-icon-color","",d.contentActionPrimary),color:o.extend("--ft-toggle-color","",d.contentGlobalPrimary),focusFocusRingColor:o.extend("--ft-toggle-focus-focus-ring-color","",d.borderActionFocusRing),gap:o.extend("--ft-toggle-gap","",c.spacing3)}});var UO,fu=p(()=>{J();re();le();UO={iconSize:o.extend("--ft-notification-icon-size","",c.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",c.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",c.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",c.spacing3),infoBackgroundColor:o.extend("--ft-notification-info-background-color","",d.backgroundInfoSubtle),infoColor:o.extend("--ft-notification-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ft-notification-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:o.extend("--ft-notification-info-border-color","",d.borderInfoSubtle),successBackgroundColor:o.extend("--ft-notification-success-background-color","",d.backgroundSuccessSubtle),successColor:o.extend("--ft-notification-success-color","",d.contentSuccessPrimary),successIconColor:o.extend("--ft-notification-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:o.extend("--ft-notification-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-notification-warning-background-color","",d.backgroundWarningSubtle),warningColor:o.extend("--ft-notification-warning-color","",d.contentWarningPrimary),warningIconColor:o.extend("--ft-notification-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:o.extend("--ft-notification-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-notification-error-background-color","",d.backgroundErrorSubtle),errorColor:o.extend("--ft-notification-error-color","",d.contentErrorPrimary),errorIconColor:o.extend("--ft-notification-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:o.extend("--ft-notification-error-border-color","",d.borderErrorSubtle),borderRadius:o.extend("--ft-notification-border-radius","",c.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",c.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",c.spacing8)}});var GO,hu=p(()=>{J();re();le();GO={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",c.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",c.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",c.borderRadiusS),color:o.extend("--ft-tooltip-color","",d.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",d.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",c.opacity80),shadow:o.extend("--ft-tooltip-shadow","",c.shadowElevation02),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",c.spacing05)}});var YO,mu=p(()=>{J();re();le();YO={verticalPadding:o.extend("--ft-reorderable-list-vertical-padding","",c.spacing4),gap:o.extend("--ft-reorderable-list-gap","",c.spacing1),borderRadius:o.extend("--ft-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:o.extend("--ft-reorderable-list-reorderable-item-title-margin-right","",c.spacing6),reorderableItemTitleColor:o.extend("--ft-reorderable-list-reorderable-item-title-color","",d.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:o.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-margin-right","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:o.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:o.extend("--ft-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.spacing2),reorderableItemUsersCountColor:o.extend("--ft-reorderable-list-reorderable-item-users-count-color","",d.contentGlobalPrimary),reorderableItemUsersCountMarginRight:o.extend("--ft-reorderable-list-reorderable-item-users-count-margin-right","",c.spacing6),reorderableItemBackgroundColor:o.extend("--ft-reorderable-list-reorderable-item-background-color","",d.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:o.extend("--ft-reorderable-list-reorderable-item-warning-message-gap","",c.spacing1),reorderableItemWarningMessageColor:o.extend("--ft-reorderable-list-reorderable-item-warning-message-color","",d.contentWarningPrimary),reorderableItemWarningMessageIconColor:o.extend("--ft-reorderable-list-reorderable-item-warning-message-icon-color","",d.contentWarningIconOnly),reorderableItemGripColor:o.extend("--ft-reorderable-list-reorderable-item-grip-color","",d.contentGlobalSecondary),reorderableItemGripOpacity:o.extend("--ft-reorderable-list-reorderable-item-grip-opacity","",c.opacity48),boxShadow:o.extend("--ft-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:o.create("--ft-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:o.extend("--ft-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:o.extend("--ft-reorderable-list-left-padding","",c.spacing2),rightPadding:o.extend("--ft-reorderable-list-right-padding","",c.spacing6),borderColor:o.extend("--ft-reorderable-list-border-color","",d.borderGlobalPrimary),backgroundColor:o.extend("--ft-reorderable-list-background-color","",d.backgroundGlobalOnSurfaceDark)}});var rw,gu=p(()=>{J();re();le();rw={nodeHeight:o.create("--ft-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:o.extend("--ft-tree-list-node-parent-label-margin-left","",c.spacing2),nodeParentLabelMarginRight:o.extend("--ft-tree-list-node-parent-label-margin-right","",c.spacing2),nodeRootPaddingLeft:o.extend("--ft-tree-list-node-root-padding-left","",c.spacing3),nodeChildPaddingLeft:o.extend("--ft-tree-list-node-child-padding-left","",c.spacing5),nodeLeafPaddingLeft:o.extend("--ft-tree-list-node-leaf-padding-left","",c.spacing6),nodeUnselectedDefaultBorderColor:o.extend("--ft-tree-list-node-unselected-default-border-color","",d.borderGlobalSubtle),nodeUnselectedIconColor:o.extend("--ft-tree-list-node-unselected-icon-color","",d.contentGlobalSecondary),nodeUnselectedLabelColor:o.extend("--ft-tree-list-node-unselected-label-color","",d.contentGlobalSecondary),nodeUnselectedCounterColor:o.extend("--ft-tree-list-node-unselected-counter-color","",d.contentGlobalSecondary),nodeHoverBorderColor:o.extend("--ft-tree-list-node-hover-border-color","",d.borderActionPrimary),nodeFocusFocusRingColor:o.extend("--ft-tree-list-node-focus-focus-ring-color","",d.borderActionFocusRing),nodeFocusOutlineWidth:o.create("--ft-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:o.extend("--ft-tree-list-node-selected-default-border-color","",d.borderGlobalPrimary),nodeSelectedIconColor:o.extend("--ft-tree-list-node-selected-icon-color","",d.contentGlobalSecondary),nodeSelectedLabelColor:o.extend("--ft-tree-list-node-selected-label-color","",d.contentGlobalPrimary),nodeSelectedCounterColor:o.extend("--ft-tree-list-node-selected-counter-color","",d.contentGlobalSecondary),nodeSelectedBackgroundColor:o.create("--ft-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:o.extend("--ft-tree-list-node-descendant-of-selected-default-border-color","",d.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:o.extend("--ft-tree-list-node-descendant-of-selected-icon-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:o.extend("--ft-tree-list-node-descendant-of-selected-label-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:o.extend("--ft-tree-list-node-descendant-of-selected-counter-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:o.create("--ft-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:o.create("--ft-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:o.extend("--ft-tree-list-header-section-padding-left","",c.spacing3),headerSectionPaddingRight:o.extend("--ft-tree-list-header-section-padding-right","",c.spacing3),headerSectionHorizontalGap:o.extend("--ft-tree-list-header-section-horizontal-gap","",c.spacing2),headerSectionMarginBottom:o.extend("--ft-tree-list-header-section-margin-bottom","",c.spacing2),headerSectionColor:o.extend("--ft-tree-list-header-section-color","",d.contentGlobalPrimary),headerSectionCounterColor:o.extend("--ft-tree-list-header-section-counter-color","",d.contentGlobalSecondary),listContainerBorderWidth:o.create("--ft-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:o.extend("--ft-tree-list-list-container-background-color","",d.backgroundGlobalSurface),listContainerBorderColor:o.extend("--ft-tree-list-list-container-border-color","",d.borderGlobalSubtle),loadMorePaddingLeft:o.extend("--ft-tree-list-load-more-padding-left","",c.spacing6),loadMoreUnselectedDefaultBorderColor:o.extend("--ft-tree-list-load-more-unselected-default-border-color","",d.borderGlobalSubtle),loadMoreIconColor:o.extend("--ft-tree-list-load-more-icon-color","",d.contentActionPrimary),loadMoreLabelColor:o.extend("--ft-tree-list-load-more-label-color","",d.contentActionPrimary),loadMoreHoverBorderColor:o.extend("--ft-tree-list-load-more-hover-border-color","",c.colorBrand20),loadMoreHoverBackgroundColor:o.create("--ft-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:o.extend("--ft-tree-list-load-more-active-border-color","",c.colorBrand20),loadMoreActiveBackgroundColor:o.create("--ft-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:o.create("--ft-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:o.create("--ft-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:o.extend("--ft-tree-list-load-more-descendant-of-selected-default-border-color","",d.borderGlobalPrimary)}});var aw,yu=p(()=>{J();re();aw={menuHorizontalPadding:o.extend("--ft-date-range-picker-menu-horizontal-padding","",c.spacing4),menuVerticalPadding:o.extend("--ft-date-range-picker-menu-vertical-padding","",c.spacing4),menuVerticalGap:o.extend("--ft-date-range-picker-menu-vertical-gap","",c.spacing4),menuButtonsVerticalGap:o.extend("--ft-date-range-picker-menu-buttons-vertical-gap","",c.spacing2)}});var bu=p(()=>{re();le();Mp();zp();Up();Hp();Wp();Vp();jp();Gp();Kp();qp();Zp();Qp();Yp();Xp();Jp();eu();tu();ru();ou();iu();nu();au();su();lu();cu();du();pu();uu();fu();hu();mu();gu();yu()});var to,pt,xu=p(()=>{(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(to||(to={}));(function(t){t.large="large",t.medium="medium",t.small="small"})(pt||(pt={}))});var oe=p(()=>{J();bu();xu()});function vu(t,e){let r=Wn[t];return fi.css`
115
- ${e?(0,fi.unsafeCSS)(e):fi.css`.ft-typography--${(0,fi.unsafeCSS)(t)}`} {
113
+ `});var W=ko((iS,hp)=>{hp.exports=ftGlobals.litDecorators});function mp(t,e){return to(`${t.name}: ${e}`)}var Dr,to,o,J=p(()=>{Dr=u(R(),1),to=t=>typeof t=="string"?(0,Dr.unsafeCSS)(t):t,o=class{static create(e,r,i,n){let a=l=>to(l??n),s=Dr.css`var(${to(e)}, ${a(n)})`;return s.name=e,s.description=r,s.category=i,s.defaultValue=n,s.defaultCssValue=a,s.set=l=>mp(s,l??a(n)),s.get=l=>Dr.css`var(${to(e)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>n,s}static extend(e,r,i,n){let a=l=>i.get(l??n),s=Dr.css`var(${to(e)}, ${a(n)})`;return s.name=e,s.description=r,s.category=i.category,s.fallbackVariable=i,s.defaultValue=n,s.defaultCssValue=a,s.set=l=>mp(s,l??a(n)),s.get=l=>Dr.css`var(${to(e)}, ${a(l)})`,s.breadcrumb=()=>[i.name,...i.breadcrumb()],s.lastResortDefaultValue=()=>n??i.lastResortDefaultValue(),s}static external(e,r){let i=a=>e.defaultCssValue(a),n=Dr.css`var(${to(e.name)}, ${i(e.defaultValue)})`;return n.name=e.name,n.category=e.category,n.fallbackVariable=e.fallbackVariable,n.defaultValue=e.defaultValue,n.context=r,n.defaultCssValue=i,n.set=a=>e.set(a),n.get=a=>Dr.css`var(${to(e.name)}, ${i(a)})`,n.breadcrumb=()=>e.breadcrumb(),n.lastResortDefaultValue=()=>e.lastResortDefaultValue(),n}}});var c,gp,yp,bp,xp,vp,Sp,Cp,Op,pi,hv,wp,Ep,Ap,Rp,Ip,Lp,kp,$p,Tp,Pp,To,_p,Np,Bp,Fp,Dp,Wn,re=p(()=>{J();c={colorWhite:o.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ft-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:o.create("--ft-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:o.create("--ft-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:o.create("--ft-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:o.create("--ft-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:o.create("--ft-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:o.create("--ft-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:o.create("--ft-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:o.create("--ft-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:o.create("--ft-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:o.create("--ft-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:o.create("--ft-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:o.create("--ft-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:o.create("--ft-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:o.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:o.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:o.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:o.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:o.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:o.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:o.create("--ft-opacity-0","","NUMBER","0"),opacity8:o.create("--ft-opacity-8","","NUMBER","0.08"),opacity12:o.create("--ft-opacity-12","","NUMBER","0.12"),opacity16:o.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:o.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:o.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:o.create("--ft-opacity-48","","NUMBER","0.48"),opacity80:o.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:o.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:o.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:o.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:o.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:o.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:o.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:o.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:o.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:o.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},gp={fontFamily:o.create("--ft-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-display-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-display-line-height","","SIZE","1.2"),fontSize:o.create("--ft-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:o.create("--ft-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-display-text-decoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-display-text-case","","UNKNOWN","none")},yp={fontFamily:o.create("--ft-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-title-1-line-height","","SIZE","1.2"),fontSize:o.create("--ft-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:o.create("--ft-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-1-text-case","","UNKNOWN","none")},bp={fontFamily:o.create("--ft-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-2-line-height","","SIZE","1.2"),fontSize:o.create("--ft-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:o.create("--ft-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-2-text-case","","UNKNOWN","none")},xp={fontFamily:o.create("--ft-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-3-line-height","","SIZE","1.2"),fontSize:o.create("--ft-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:o.create("--ft-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:o.create("--ft-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-3-text-case","","UNKNOWN","none")},vp={fontFamily:o.create("--ft-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-regular-text-case","","UNKNOWN","none")},Sp={fontFamily:o.create("--ft-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-medium-text-case","","UNKNOWN","none")},Cp={fontFamily:o.create("--ft-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-semibold-text-case","","UNKNOWN","none")},Op={fontFamily:o.create("--ft-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-regular-text-case","","UNKNOWN","none")},pi={fontFamily:o.create("--ft-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-medium-text-case","","UNKNOWN","none")},hv={fontFamily:o.create("--ft-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:o.create("--ft-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:o.create("--ft-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},wp={fontFamily:o.create("--ft-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:o.create("--ft-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-semibold-text-case","","UNKNOWN","none")},Ep={fontFamily:o.create("--ft-typography-label-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-1-medium-line-height","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-medium-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-medium-letter-spacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-medium-text-case","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-medium-text-decoration","","UNKNOWN","none")},Ap={fontFamily:o.create("--ft-typography-label-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-1-semibold-line-height","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-semibold-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-semibold-letter-spacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-semibold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-semibold-text-decoration","","UNKNOWN","none")},Rp={fontFamily:o.create("--ft-typography-label-1-bold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-bold-font-weight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-1-bold-line-height","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-bold-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-bold-letter-spacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-bold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-bold-text-decoration","","UNKNOWN","none")},Ip={fontFamily:o.create("--ft-typography-label-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-2-medium-line-height","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-medium-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-medium-letter-spacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-medium-text-case","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-medium-text-decoration","","UNKNOWN","none")},Lp={fontFamily:o.create("--ft-typography-label-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-2-semibold-line-height","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-semibold-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-semibold-letter-spacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-semibold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-semibold-text-decoration","","UNKNOWN","none")},kp={fontFamily:o.create("--ft-typography-label-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-bold-font-weight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-2-bold-line-height","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-bold-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-bold-letter-spacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-bold-text-case","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-bold-text-decoration","","UNKNOWN","none")},$p={fontFamily:o.create("--ft-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},Tp={fontFamily:o.create("--ft-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},Pp={fontFamily:o.create("--ft-typography-caption-1-bold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-bold-font-weight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-1-bold-line-height","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-1-bold-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-bold-letter-spacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-bold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-bold-text-decoration","","UNKNOWN","none")},To={fontFamily:o.create("--ft-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},_p={fontFamily:o.create("--ft-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},Np={fontFamily:o.create("--ft-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},Bp={fontFamily:o.create("--ft-typography-caption-3-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-3-medium-line-height","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-3-medium-font-size","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-medium-letter-spacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-medium-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-medium-text-decoration","","UNKNOWN","none")},Fp={fontFamily:o.create("--ft-typography-caption-3-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-3-semibold-line-height","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-3-semibold-font-size","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-semibold-letter-spacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-semibold-text-decoration","","UNKNOWN","none")},Dp={fontFamily:o.create("--ft-typography-caption-3-bold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-bold-font-weight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-3-bold-line-height","","SIZE","1.3"),fontSize:o.create("--ft-typography-caption-3-bold-font-size","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-bold-letter-spacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-bold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-bold-text-decoration","","UNKNOWN","none")},Wn={display:gp,"title-1":yp,"title-2":bp,"title-3":xp,"body-1-regular":vp,"body-1-medium":Sp,"body-1-semibold":Cp,"body-2-regular":Op,"body-2-medium":pi,"body-2-medium-underline":hv,"body-2-semibold":wp,"label-1-medium":Ep,"label-1-semibold":Ap,"label-1-bold":Rp,"label-2-medium":Ip,"label-2-semibold":Lp,"label-2-bold":kp,"caption-1-medium":$p,"caption-1-semibold":Tp,"caption-1-bold":Pp,"caption-2-medium":To,"caption-2-semibold":_p,"caption-2-bold":Np,"caption-3-medium":Bp,"caption-3-semibold":Fp,"caption-3-bold":Dp}});var d,le=p(()=>{J();re();d={backgroundActionPrimary:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
114
+ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",c.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",c.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:o.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)}});var m,Mp=p(()=>{J();re();le();m={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",c.spacing4),largeGap:o.extend("--ft-button-large-gap","",c.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",c.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",c.iconSize3),largeBorderWidth:o.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ft-button-medium-horizontal-padding","",c.spacing3),mediumGap:o.extend("--ft-button-medium-gap","",c.spacing2),mediumBorderRadius:o.extend("--ft-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:o.extend("--ft-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:o.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-button-small-horizontal-padding","",c.spacing2),smallGap:o.extend("--ft-button-small-gap","",c.spacing1),smallBorderRadius:o.extend("--ft-button-small-border-radius","",c.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",c.iconSize1),smallBorderWidth:o.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ft-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:o.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ft-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:o.extend("--ft-button-primary-brand-background-color","",d.backgroundActionPrimary),primaryBrandColor:o.extend("--ft-button-primary-brand-color","",d.contentGlobalOnColor),primaryBrandIconColor:o.extend("--ft-button-primary-brand-icon-color","",d.contentGlobalOnColor),primaryBrandStateLayerColor:o.extend("--ft-button-primary-brand-state-layer-color","",d.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:o.extend("--ft-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:o.extend("--ft-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:o.extend("--ft-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:o.extend("--ft-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",d.borderActionFocusRing),tertiaryBrandBackgroundColor:o.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:o.extend("--ft-button-tertiary-brand-color","",d.contentActionPrimary),tertiaryBrandIconColor:o.extend("--ft-button-tertiary-brand-icon-color","",d.contentActionPrimary),tertiaryBrandStateLayerColor:o.extend("--ft-button-tertiary-brand-state-layer-color","",d.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:o.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:o.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:o.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:o.extend("--ft-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:o.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:o.extend("--ft-button-tertiary-info-color","",d.contentInfoPrimary),tertiaryInfoIconColor:o.extend("--ft-button-tertiary-info-icon-color","",d.contentInfoPrimary),tertiaryInfoStateLayerColor:o.extend("--ft-button-tertiary-info-state-layer-color","",d.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:o.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:o.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:o.extend("--ft-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:o.extend("--ft-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:o.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:o.extend("--ft-button-tertiary-success-color","",d.contentSuccessPrimary),tertiarySuccessIconColor:o.extend("--ft-button-tertiary-success-icon-color","",d.contentSuccessPrimary),tertiarySuccessStateLayerColor:o.extend("--ft-button-tertiary-success-state-layer-color","",d.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:o.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:o.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:o.extend("--ft-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:o.extend("--ft-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:o.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:o.extend("--ft-button-tertiary-warning-color","",d.contentWarningPrimary),tertiaryWarningIconColor:o.extend("--ft-button-tertiary-warning-icon-color","",d.contentWarningPrimary),tertiaryWarningStateLayerColor:o.extend("--ft-button-tertiary-warning-state-layer-color","",d.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:o.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:o.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:o.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:o.extend("--ft-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:o.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:o.extend("--ft-button-tertiary-error-color","",d.contentErrorPrimary),tertiaryErrorIconColor:o.extend("--ft-button-tertiary-error-icon-color","",d.contentErrorPrimary),tertiaryErrorStateLayerColor:o.extend("--ft-button-tertiary-error-state-layer-color","",d.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:o.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:o.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:o.extend("--ft-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:o.extend("--ft-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:o.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:o.extend("--ft-button-tertiary-neutral-icon-color","",d.contentGlobalSecondary),tertiaryNeutralColor:o.extend("--ft-button-tertiary-neutral-color","",d.contentGlobalSecondary),tertiaryNeutralStateLayerColor:o.extend("--ft-button-tertiary-neutral-state-layer-color","",d.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:o.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:o.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:o.extend("--ft-button-secondary-brand-color","",d.contentActionPrimary),secondaryBrandIconColor:o.extend("--ft-button-secondary-brand-icon-color","",d.contentActionPrimary),secondaryBrandStateLayerColor:o.extend("--ft-button-secondary-brand-state-layer-color","",d.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:o.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:o.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:o.extend("--ft-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:o.extend("--ft-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:o.extend("--ft-button-secondary-brand-border-color","",d.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:o.extend("--ft-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:o.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:o.extend("--ft-button-secondary-neutral-color","",d.contentGlobalSecondary),secondaryNeutralIconColor:o.extend("--ft-button-secondary-neutral-icon-color","",d.contentGlobalSecondary),secondaryNeutralStateLayerColor:o.extend("--ft-button-secondary-neutral-state-layer-color","",d.contentGlobalSecondary),secondaryNeutralBorderColor:o.extend("--ft-button-secondary-neutral-border-color","",d.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:o.extend("--ft-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:o.extend("--ft-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:o.extend("--ft-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:o.extend("--ft-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:o.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:o.extend("--ft-button-secondary-info-border-color","",d.borderInfoPrimary),secondaryInfoColor:o.extend("--ft-button-secondary-info-color","",d.contentInfoPrimary),secondaryInfoIconColor:o.extend("--ft-button-secondary-info-icon-color","",d.contentInfoPrimary),secondaryInfoStateLayerColor:o.extend("--ft-button-secondary-info-state-layer-color","",d.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:o.extend("--ft-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:o.extend("--ft-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:o.extend("--ft-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:o.extend("--ft-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:o.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:o.extend("--ft-button-secondary-success-border-color","",d.borderSuccessPrimary),secondarySuccessColor:o.extend("--ft-button-secondary-success-color","",d.contentSuccessPrimary),secondarySuccessIconColor:o.extend("--ft-button-secondary-success-icon-color","",d.contentSuccessPrimary),secondarySuccessStateLayerColor:o.extend("--ft-button-secondary-success-state-layer-color","",d.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:o.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:o.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:o.extend("--ft-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:o.extend("--ft-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:o.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:o.extend("--ft-button-secondary-warning-border-color","",d.borderWarningPrimary),secondaryWarningColor:o.extend("--ft-button-secondary-warning-color","",d.contentWarningPrimary),secondaryWarningIconColor:o.extend("--ft-button-secondary-warning-icon-color","",d.contentWarningPrimary),secondaryWarningStateLayerColor:o.extend("--ft-button-secondary-warning-state-layer-color","",d.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:o.extend("--ft-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:o.extend("--ft-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:o.extend("--ft-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:o.extend("--ft-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:o.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:o.extend("--ft-button-secondary-error-border-color","",d.contentErrorPrimary),secondaryErrorColor:o.extend("--ft-button-secondary-error-color","",d.contentErrorPrimary),secondaryErrorIconColor:o.extend("--ft-button-secondary-error-icon-color","",d.contentErrorPrimary),secondaryErrorStateLayerColor:o.extend("--ft-button-secondary-error-state-layer-color","",d.contentErrorPrimary)}});var bS,zp=p(()=>{J();re();le();bS={iconSize:o.extend("--ft-checkbox-icon-size","",c.iconSize2),boxSize:o.create("--ft-checkbox-box-size","","SIZE","18px"),colorLegendSize:o.create("--ft-checkbox-color-legend-size","","SIZE","16px"),borderRadius:o.create("--ft-checkbox-border-radius","","SIZE","1px"),color:o.extend("--ft-checkbox-color","",d.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ft-checkbox-checked-background-color","",d.contentActionPrimary),checkedStateLayerColor:o.extend("--ft-checkbox-checked-state-layer-color","",d.contentActionPrimary),checkedIconColor:o.extend("--ft-checkbox-checked-icon-color","",d.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ft-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),borderWidth:o.create("--ft-checkbox-border-width","","SIZE","2px"),horizontalGap:o.extend("--ft-checkbox-horizontal-gap","",c.spacing3),leftPadding:o.extend("--ft-checkbox-left-padding","",c.spacing2)}});var OS,Up=p(()=>{J();re();le();OS={circleSize:o.create("--ft-radio-circle-size","","SIZE","18px"),borderWidth:o.create("--ft-radio-border-width","","SIZE","2px"),color:o.extend("--ft-radio-color","",d.contentGlobalPrimary),selectedRadioColor:o.extend("--ft-radio-selected-radio-color","",d.contentActionPrimary),selectedStateLayerColor:o.extend("--ft-radio-selected-state-layer-color","",d.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ft-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:o.extend("--ft-radio-unselected-state-layer-color","",d.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",d.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ft-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ft-radio-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-radio-focus-outline-width","","SIZE","2px"),verticalGap:o.extend("--ft-radio-vertical-gap","",c.spacing3),horizontalGap:o.extend("--ft-radio-horizontal-gap","",c.spacing3)}});var IS,Hp=p(()=>{J();re();le();IS={headerRowBorderWidth:o.create("--ft-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:o.extend("--ft-table-header-row-background-color","",d.backgroundGlobalOnSurfaceDark),headerRowBorderColor:o.extend("--ft-table-header-row-border-color","",d.borderGlobalPrimary),headerRowColor:o.extend("--ft-table-header-row-color","",d.contentGlobalPrimary),dataRowBorderWidth:o.create("--ft-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:o.extend("--ft-table-data-row-background-color","",d.backgroundGlobalOnSurface),dataRowBorderColor:o.extend("--ft-table-data-row-border-color","",d.borderGlobalSubtle),dataRowColor:o.extend("--ft-table-data-row-color","",d.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:o.extend("--ft-table-data-row-default-hover-background-color","",c.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:o.extend("--ft-table-data-row-selectable-unselected-hover-background-color","",c.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:o.extend("--ft-table-data-row-selectable-selected-default-background-color","",c.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:o.extend("--ft-table-data-row-selectable-selected-default-border-color","",c.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:o.extend("--ft-table-data-row-selectable-selected-hover-background-color","",c.colorBrand20),dataRowSelectableSelectedHoverBorderColor:o.extend("--ft-table-data-row-selectable-selected-hover-border-color","",c.colorBrand30),dataRowSelectableSelectedColor:o.extend("--ft-table-data-row-selectable-selected-color","",d.contentActionPrimary),dataRowClickableHoverBackgroundColor:o.extend("--ft-table-data-row-clickable-hover-background-color","",c.colorGray30),dataRowClickableFocusBorderColor:o.extend("--ft-table-data-row-clickable-focus-border-color","",d.borderActionFocusRing),dataRowClickableFocusBackgroundColor:o.extend("--ft-table-data-row-clickable-focus-background-color","",c.colorGray30),dataRowClickableActiveBackgroundColor:o.extend("--ft-table-data-row-clickable-active-background-color","",c.colorGray40),headerCellHorizontalGap:o.extend("--ft-table-header-cell-horizontal-gap","",c.spacing1),headerCellVerticalPadding:o.extend("--ft-table-header-cell-vertical-padding","",c.spacing2),headerCellHorizontalPadding:o.extend("--ft-table-header-cell-horizontal-padding","",c.spacing3),dataCellVerticalPadding:o.extend("--ft-table-data-cell-vertical-padding","",c.spacing2),dataCellHorizontalPadding:o.extend("--ft-table-data-cell-horizontal-padding","",c.spacing3),dataCellVerticalGap:o.extend("--ft-table-data-cell-vertical-gap","",c.spacing1)}});var PS,Wp=p(()=>{J();re();le();PS={neutralOffHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",d.borderActionFocusRing),neutralOffActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:o.extend("--ft-chip-choice-neutral-off-background-color","",d.backgroundGlobalOnSurface),neutralOffBorderColor:o.extend("--ft-chip-choice-neutral-off-border-color","",d.borderGlobalPrimary),neutralOffColor:o.extend("--ft-chip-choice-neutral-off-color","",d.contentGlobalSecondary),neutralOffStateLayerColor:o.extend("--ft-chip-choice-neutral-off-state-layer-color","",d.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",d.borderActionFocusRing),neutralOnActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:o.extend("--ft-chip-choice-neutral-on-background-color","",d.backgroundGlobalOnSurface),neutralOnBorderColor:o.extend("--ft-chip-choice-neutral-on-border-color","",d.borderGlobalPrimary),neutralOnColor:o.extend("--ft-chip-choice-neutral-on-color","",d.contentGlobalPrimary),neutralOnIconColor:o.extend("--ft-chip-choice-neutral-on-icon-color","",d.contentGlobalPrimary),neutralOnStateLayerColor:o.extend("--ft-chip-choice-neutral-on-state-layer-color","",d.contentGlobalPrimary),largeMinHeight:o.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:o.extend("--ft-chip-choice-large-gap","",c.spacing1),largeBorderRadius:o.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:o.extend("--ft-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:o.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-choice-medium-icon-size","",c.iconSize2)}});var D,Vp=p(()=>{J();re();le();D={largeMinHeight:o.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:o.extend("--ft-chip-large-button-right-padding","",c.spacing1),largeGap:o.extend("--ft-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:o.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:o.extend("--ft-chip-medium-button-right-padding","",c.spacing05),mediumGap:o.extend("--ft-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:o.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-medium-icon-size","",c.iconSize2),smallMinHeight:o.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:o.extend("--ft-chip-small-button-right-padding","",c.spacing05),smallGap:o.extend("--ft-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:o.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:o.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ft-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:o.extend("--ft-chip-neutral-background-color","",d.backgroundGlobalOnSurface),neutralColor:o.extend("--ft-chip-neutral-color","",d.contentGlobalSecondary),neutralIconColor:o.extend("--ft-chip-neutral-icon-color","",d.contentGlobalSecondary),neutralBorderColor:o.extend("--ft-chip-neutral-border-color","",d.borderGlobalSubtle),infoBackgroundColor:o.extend("--ft-chip-info-background-color","",d.backgroundInfoSubtle),infoColor:o.extend("--ft-chip-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ft-chip-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:o.extend("--ft-chip-info-border-color","",d.borderInfoSubtle),successBackgroundColor:o.extend("--ft-chip-success-background-color","",d.backgroundSuccessSubtle),successColor:o.extend("--ft-chip-success-color","",d.contentSuccessPrimary),successIconColor:o.extend("--ft-chip-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:o.extend("--ft-chip-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-chip-warning-background-color","",d.backgroundWarningSubtle),warningColor:o.extend("--ft-chip-warning-color","",d.contentWarningPrimary),warningIconColor:o.extend("--ft-chip-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:o.extend("--ft-chip-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-chip-error-background-color","",d.backgroundErrorSubtle),errorColor:o.extend("--ft-chip-error-color","",d.contentErrorPrimary),errorIconColor:o.extend("--ft-chip-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:o.extend("--ft-chip-error-border-color","",d.borderErrorSubtle)}});var HS,jp=p(()=>{J();re();le();HS={brandHoverOpacity:o.extend("--ft-link-brand-hover-opacity","",c.opacity80),brandHoverColor:o.extend("--ft-link-brand-hover-color","",d.contentActionPrimary),brandFocusFocusRingColor:o.extend("--ft-link-brand-focus-focus-ring-color","",d.borderActionFocusRing),brandFocusColor:o.extend("--ft-link-brand-focus-color","",d.contentActionPrimary),brandDefaultColor:o.extend("--ft-link-brand-default-color","",d.contentActionPrimary),brandActiveColor:o.extend("--ft-link-brand-active-color","",d.contentActionPrimary),infoHoverOpacity:o.extend("--ft-link-info-hover-opacity","",c.opacity80),infoHoverColor:o.extend("--ft-link-info-hover-color","",d.contentInfoPrimary),infoFocusFocusRingColor:o.extend("--ft-link-info-focus-focus-ring-color","",d.borderActionFocusRing),infoFocusColor:o.extend("--ft-link-info-focus-color","",d.contentInfoPrimary),infoDefaultColor:o.extend("--ft-link-info-default-color","",d.contentInfoPrimary),infoActiveColor:o.extend("--ft-link-info-active-color","",d.contentInfoPrimary),neutralFocusFocusRingColor:o.extend("--ft-link-neutral-focus-focus-ring-color","",d.borderActionFocusRing),neutralFocusColor:o.extend("--ft-link-neutral-focus-color","",d.contentActionPrimary),neutralDefaultColor:o.extend("--ft-link-neutral-default-color","",d.contentGlobalPrimary),neutralHoverColor:o.extend("--ft-link-neutral-hover-color","",d.contentActionPrimary),neutralActiveColor:o.extend("--ft-link-neutral-active-color","",d.contentActionPrimary),neutralVisitedColor:o.extend("--ft-link-neutral-visited-color","",c.colorBrand100)}});var KS,Gp=p(()=>{J();re();le();KS={iconSize:o.extend("--ft-banner-icon-size","",c.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",c.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",c.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",c.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:o.extend("--ft-banner-info-background-color","",d.backgroundInfoSubtle),infoColor:o.extend("--ft-banner-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ft-banner-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:o.extend("--ft-banner-info-border-color","",d.borderInfoSubtle)}});var XS,Kp=p(()=>{J();re();le();XS={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",c.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",c.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",c.borderRadiusPill),color:o.extend("--ft-badge-color","",d.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",d.contentActionPrimary)}});var oC,qp=p(()=>{J();re();le();oC={horizontalGap:o.extend("--ft-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:o.extend("--ft-title-breadcrumb-current-color","",d.contentGlobalPrimary),previousNonClickableColor:o.extend("--ft-title-breadcrumb-previous-non-clickable-color","",d.contentGlobalSecondary),iconColor:o.extend("--ft-title-breadcrumb-icon-color","",d.contentGlobalSubtle)}});var lC,Zp=p(()=>{J();re();le();lC={parentHorizontalPadding:o.extend("--ft-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:o.extend("--ft-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:o.extend("--ft-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:o.extend("--ft-page-header-parent-help-left-margin","",c.spacing1),parentTitleColor:o.extend("--ft-page-header-parent-title-color","",d.contentGlobalPrimary),parentSubtitleColor:o.extend("--ft-page-header-parent-subtitle-color","",d.contentGlobalSecondary),parentChipLeftMargin:o.extend("--ft-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:o.extend("--ft-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:o.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:o.extend("--ft-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:o.extend("--ft-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:o.extend("--ft-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:o.extend("--ft-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:o.extend("--ft-page-header-child-top-padding","",c.spacing2),childBottomPadding:o.extend("--ft-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:o.extend("--ft-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:o.extend("--ft-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:o.extend("--ft-page-header-child-vertical-gap","",c.spacing2),childMinHeight:o.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:o.extend("--ft-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:o.extend("--ft-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:o.extend("--ft-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:o.extend("--ft-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",c.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",d.borderGlobalSubtle),bottomBorderWidth:o.create("--ft-page-header-bottom-border-width","","SIZE","1px")}});var fC,Qp=p(()=>{J();re();le();fC={horizontalPadding:o.extend("--ft-page-footer-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ft-page-footer-vertical-padding","",c.spacing2),verticalGap:o.extend("--ft-page-footer-vertical-gap","",c.spacing2),minHeight:o.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:o.extend("--ft-page-footer-background-color","",c.colorWhite),topBorderColor:o.extend("--ft-page-footer-top-border-color","",d.borderGlobalSubtle),topBorderWidth:o.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:o.extend("--ft-page-footer-buttons-group-gap","",c.spacing4)}});var yC,Yp=p(()=>{J();re();yC={contentHorizontalPadding:o.extend("--ft-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:o.extend("--ft-page-layout-content-vertical-padding","",c.spacing6)}});var CC,Xp=p(()=>{J();re();le();CC={smallContainerTargetWidth:o.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:o.extend("--ft-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:o.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:o.extend("--ft-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:o.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:o.extend("--ft-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:o.extend("--ft-modal-overlay-background-color","",c.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",c.opacity40),shadow:o.extend("--ft-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",c.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",c.spacing6),headerBackgroundColor:o.extend("--ft-modal-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-modal-header-border-color","",d.borderGlobalSubtle),headerColor:o.extend("--ft-modal-header-color","",d.contentGlobalPrimary),headerLeadingIconColor:o.extend("--ft-modal-header-leading-icon-color","",d.contentGlobalPrimary),headerVerticalPadding:o.extend("--ft-modal-header-vertical-padding","",c.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",c.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",c.spacing6),headerGap:o.extend("--ft-modal-header-gap","",c.spacing2),headerBorderBottomWidth:o.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",c.borderRadiusM)}});var RC,Jp=p(()=>{J();re();le();RC={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",c.opacity40),shadow:o.extend("--ft-drawer-shadow","",c.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",c.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",c.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:o.extend("--ft-drawer-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-drawer-header-border-color","",d.borderGlobalSubtle),headerColor:o.extend("--ft-drawer-header-color","",d.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-drawer-header-trailing-icon-color","",d.contentGlobalSecondary),headerHeight:o.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ft-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:o.extend("--ft-drawer-buttons-bar-background-color","",d.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ft-drawer-buttons-bar-border-color","",d.borderGlobalSubtle),buttonsBarColor:o.extend("--ft-drawer-buttons-bar-color","",d.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ft-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:o.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ft-drawer-overlay-background-color","",c.colorGray700)}});var TC,eu=p(()=>{J();re();le();TC={offBorderBottomWidth:o.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:o.extend("--ft-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ft-tabs-off-color","",d.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-tabs-off-state-layer-color","",d.contentGlobalSubtle),offBorderBottomColor:o.extend("--ft-tabs-off-border-bottom-color","",d.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ft-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:o.extend("--ft-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:o.extend("--ft-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:o.extend("--ft-tabs-horizontal-gap","",c.spacing1),verticalGap:o.extend("--ft-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:o.extend("--ft-tabs-on-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ft-tabs-on-state-layer-color","",d.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ft-tabs-on-active-tab-indicator-color","",d.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ft-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",c.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",d.borderActionFocusRing)}});var FC,tu=p(()=>{J();re();le();FC={largeFieldHorizontalPadding:o.extend("--ft-text-input-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:o.extend("--ft-text-input-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:o.extend("--ft-text-input-large-field-vertical-gap","",c.spacing05),largeFieldHeight:o.create("--ft-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:o.extend("--ft-text-input-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:o.extend("--ft-text-input-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:o.extend("--ft-text-input-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:o.create("--ft-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:o.create("--ft-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:o.extend("--ft-text-input-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",c.borderRadiusS),backgroundColor:o.extend("--ft-text-input-background-color","",c.colorWhite),contentValueColor:o.extend("--ft-text-input-content-value-color","",d.contentGlobalPrimary),trailingIconColor:o.extend("--ft-text-input-trailing-icon-color","",d.contentGlobalSubtle),labelColor:o.extend("--ft-text-input-label-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-input-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-input-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-input-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-input-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-input-error-helper-icon-color","",d.contentErrorIconOnly),warningBorderColor:o.extend("--ft-text-input-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-text-input-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-text-input-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:o.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-text-input-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-input-disabled-component-opacity","",c.opacity40)}});var HC,ru=p(()=>{J();re();le();HC={backgroundColor:o.extend("--ft-text-area-background-color","",c.colorWhite),contentValueColor:o.extend("--ft-text-area-content-value-color","",d.contentGlobalPrimary),labelColor:o.extend("--ft-text-area-label-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-area-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-area-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-area-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-area-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-area-error-helper-icon-color","",d.contentErrorIconOnly),focusFocusRingColor:o.extend("--ft-text-area-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:o.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",c.borderRadiusS)}});var KC,ou=p(()=>{J();re();le();KC={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",c.spacing4),offIconColor:o.extend("--ft-floating-menu-off-icon-color","",d.contentGlobalPrimary),offColor:o.extend("--ft-floating-menu-off-color","",d.contentGlobalPrimary),onColor:o.extend("--ft-floating-menu-on-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ft-floating-menu-on-state-layer-color","",d.contentActionPrimary),gap:o.extend("--ft-floating-menu-gap","",c.spacing3),focusFocusRingColor:o.extend("--ft-floating-menu-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:o.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ft-floating-menu-focus-state-layer-opacity","",c.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",c.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",d.backgroundGlobalOnSurface),shadow:o.extend("--ft-floating-menu-shadow","",c.shadowElevation02)}});var XC,iu=p(()=>{J();re();le();XC={largeFieldHorizontalPadding:o.extend("--ft-combobox-single-select-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:o.extend("--ft-combobox-single-select-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:o.extend("--ft-combobox-single-select-large-field-vertical-gap","",c.spacing05),largeFieldHeight:o.create("--ft-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:o.extend("--ft-combobox-single-select-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:o.extend("--ft-combobox-single-select-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:o.extend("--ft-combobox-single-select-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:o.create("--ft-combobox-single-select-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:o.create("--ft-combobox-single-select-medium-field-height","","SIZE","40px"),mediumFieldIconSize:o.extend("--ft-combobox-single-select-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",c.borderRadiusS),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",c.colorWhite),labelColor:o.extend("--ft-combobox-single-select-label-color","",d.contentGlobalSubtle),contentValueColor:o.extend("--ft-combobox-single-select-content-value-color","",d.contentGlobalPrimary),trailingIconColor:o.extend("--ft-combobox-single-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-single-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-single-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-combobox-single-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-single-select-error-helper-text-color","",d.contentErrorPrimary),warningBorderWidth:o.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-single-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-single-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-single-select-warning-helper-icon-color","",d.contentWarningIconOnly),focusOutlineWidth:o.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-single-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:o.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-single-select-disabled-component-opacity","",c.opacity40)}});var oO,nu=p(()=>{J();re();le();oO={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",c.colorWhite),labelColor:o.extend("--ft-combobox-multi-select-label-color","",d.contentGlobalSubtle),trailingIconColor:o.extend("--ft-combobox-multi-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-multi-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-multi-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ft-combobox-multi-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-multi-select-error-helper-text-color","",d.contentErrorPrimary),errorHelperIcon:o.extend("--ft-combobox-multi-select-error-helper-icon","",d.contentErrorIconOnly),errorBorderWidth:o.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-multi-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-multi-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-multi-select-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:o.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-multi-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:o.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-multi-select-disabled-component-opacity","",c.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",c.borderRadiusS)}});var lO,au=p(()=>{J();re();le();lO={backgroundColor:o.extend("--ft-popover-background-color","",d.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",c.spacing6),titleColor:o.extend("--ft-popover-title-color","",d.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",d.contentGlobalSecondary),gap:o.extend("--ft-popover-gap","",c.spacing2),borderRadius:o.extend("--ft-popover-border-radius","",c.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",c.shadowElevation02),maxWidth:o.create("--ft-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:o.extend("--ft-popover-content-section-vertical-gap","",c.spacing2),multiSectionVerticalGap:o.extend("--ft-popover-multi-section-vertical-gap","",c.spacing6)}});var fO,su=p(()=>{J();re();le();fO={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:o.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ft-collapsible-focus-focus-ring-color","",d.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ft-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",c.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",c.spacing3),color:o.extend("--ft-collapsible-color","",d.contentGlobalPrimary),stateLayerColor:o.extend("--ft-collapsible-state-layer-color","",d.contentGlobalPrimary),backgroundColor:o.extend("--ft-collapsible-background-color","",d.backgroundGlobalOnSurface),borderColor:o.extend("--ft-collapsible-border-color","",d.borderGlobalSubtle),iconSize:o.extend("--ft-collapsible-icon-size","",c.iconSize3)}});var bO,lu=p(()=>{J();re();le();bO={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",c.spacing1),groupGap:o.extend("--ft-switch-group-gap","",c.spacing1),groupBackgroundColor:o.extend("--ft-switch-group-background-color","",d.backgroundGlobalSurface),groupBorderColor:o.extend("--ft-switch-group-border-color","",d.borderGlobalSubtle),groupBorderRadius:o.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ft-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ft-switch-off-color","",d.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",c.opacity40),onColor:o.extend("--ft-switch-on-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",d.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:o.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-switch-focus-focus-ring-color","",d.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",c.borderRadiusS)}});var CO,cu=p(()=>{J();re();CO={color1Light:o.extend("--ft-chart-1-light","for area color charts",c.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",c.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",c.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",c.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",c.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",c.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",c.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",c.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",c.colorRed40),color5Base:o.extend("--ft-chart-5-base","",c.colorRed60),color6Light:o.extend("--ft-chart-6-light","",c.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",c.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",c.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",c.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",c.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",c.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",c.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",c.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",c.colorGray50),color10Base:o.extend("--ft-chart-10-base","",c.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",c.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",c.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",c.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",c.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",c.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:o.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:o.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:o.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)}});var AO,du=p(()=>{J();re();AO={color1IconColor:o.extend("--ft-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:o.extend("--ft-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:o.extend("--ft-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:o.extend("--ft-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:o.extend("--ft-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:o.extend("--ft-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:o.extend("--ft-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:o.extend("--ft-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:o.extend("--ft-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:o.extend("--ft-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:o.extend("--ft-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:o.extend("--ft-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:o.extend("--ft-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:o.extend("--ft-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:o.extend("--ft-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:o.extend("--ft-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)}});var $O,pu=p(()=>{J();re();le();$O={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",c.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",c.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",c.borderRadiusS),gap:o.extend("--ft-notice-gap","",c.spacing2),iconSize:o.extend("--ft-notice-icon-size","",c.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",d.backgroundInfoSubtle),infoBorderColor:o.extend("--ft-notice-info-border-color","",d.borderInfoSubtle),infoColor:o.extend("--ft-notice-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ft-notice-info-icon-color","",d.contentInfoIconOnly),warningBackgroundColor:o.extend("--ft-notice-warning-background-color","",d.backgroundWarningSubtle),warningBorderColor:o.extend("--ft-notice-warning-border-color","",d.borderWarningSubtle),warningColor:o.extend("--ft-notice-warning-color","",d.contentWarningPrimary),warningIconColor:o.extend("--ft-notice-warning-icon-color","",d.contentWarningIconOnly),errorBackgroundColor:o.extend("--ft-notice-error-background-color","",d.backgroundErrorSubtle),errorBorderColor:o.extend("--ft-notice-error-border-color","",d.borderErrorSubtle),errorColor:o.extend("--ft-notice-error-color","",d.contentErrorPrimary),errorIconColor:o.extend("--ft-notice-error-icon-color","",d.contentErrorIconOnly),successBackgroundColor:o.extend("--ft-notice-success-background-color","",d.backgroundSuccessSubtle),successBorderColor:o.extend("--ft-notice-success-border-color","",d.borderSuccessSubtle),successColor:o.extend("--ft-notice-success-color","",d.contentSuccessPrimary),successIconColor:o.extend("--ft-notice-success-icon-color","",d.contentSuccessIconOnly),denseHorizontalPadding:o.create("--ft-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:o.create("--ft-notice-dense-vertical-padding","","SIZE","0px"),denseGap:o.extend("--ft-notice-dense-gap","",c.spacing1),denseIconSize:o.extend("--ft-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:o.create("--ft-notice-dense-border-width","","SIZE","0")}});var BO,uu=p(()=>{J();re();le();BO={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:o.extend("--ft-toggle-off-background-color","",d.contentGlobalSubtle),offIconColor:o.extend("--ft-toggle-off-icon-color","",d.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-toggle-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:o.extend("--ft-toggle-on-background-color","",d.contentActionPrimary),onStateLayerColor:o.extend("--ft-toggle-on-state-layer-color","",d.contentActionPrimary),onIconColor:o.extend("--ft-toggle-on-icon-color","",d.contentActionPrimary),color:o.extend("--ft-toggle-color","",d.contentGlobalPrimary),focusFocusRingColor:o.extend("--ft-toggle-focus-focus-ring-color","",d.borderActionFocusRing),gap:o.extend("--ft-toggle-gap","",c.spacing3)}});var UO,fu=p(()=>{J();re();le();UO={iconSize:o.extend("--ft-notification-icon-size","",c.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",c.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",c.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",c.spacing3),infoBackgroundColor:o.extend("--ft-notification-info-background-color","",d.backgroundInfoSubtle),infoColor:o.extend("--ft-notification-info-color","",d.contentInfoPrimary),infoIconColor:o.extend("--ft-notification-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:o.extend("--ft-notification-info-border-color","",d.borderInfoSubtle),successBackgroundColor:o.extend("--ft-notification-success-background-color","",d.backgroundSuccessSubtle),successColor:o.extend("--ft-notification-success-color","",d.contentSuccessPrimary),successIconColor:o.extend("--ft-notification-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:o.extend("--ft-notification-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-notification-warning-background-color","",d.backgroundWarningSubtle),warningColor:o.extend("--ft-notification-warning-color","",d.contentWarningPrimary),warningIconColor:o.extend("--ft-notification-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:o.extend("--ft-notification-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-notification-error-background-color","",d.backgroundErrorSubtle),errorColor:o.extend("--ft-notification-error-color","",d.contentErrorPrimary),errorIconColor:o.extend("--ft-notification-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:o.extend("--ft-notification-error-border-color","",d.borderErrorSubtle),borderRadius:o.extend("--ft-notification-border-radius","",c.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",c.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",c.spacing8)}});var GO,hu=p(()=>{J();re();le();GO={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",c.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",c.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",c.borderRadiusS),color:o.extend("--ft-tooltip-color","",d.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",d.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",c.opacity80),shadow:o.extend("--ft-tooltip-shadow","",c.shadowElevation02),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",c.spacing05)}});var YO,mu=p(()=>{J();re();le();YO={verticalPadding:o.extend("--ft-reorderable-list-vertical-padding","",c.spacing4),gap:o.extend("--ft-reorderable-list-gap","",c.spacing1),borderRadius:o.extend("--ft-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:o.extend("--ft-reorderable-list-reorderable-item-title-margin-right","",c.spacing6),reorderableItemTitleColor:o.extend("--ft-reorderable-list-reorderable-item-title-color","",d.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:o.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-margin-right","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:o.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:o.extend("--ft-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.spacing2),reorderableItemUsersCountColor:o.extend("--ft-reorderable-list-reorderable-item-users-count-color","",d.contentGlobalPrimary),reorderableItemUsersCountMarginRight:o.extend("--ft-reorderable-list-reorderable-item-users-count-margin-right","",c.spacing6),reorderableItemBackgroundColor:o.extend("--ft-reorderable-list-reorderable-item-background-color","",d.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:o.extend("--ft-reorderable-list-reorderable-item-warning-message-gap","",c.spacing1),reorderableItemWarningMessageColor:o.extend("--ft-reorderable-list-reorderable-item-warning-message-color","",d.contentWarningPrimary),reorderableItemWarningMessageIconColor:o.extend("--ft-reorderable-list-reorderable-item-warning-message-icon-color","",d.contentWarningIconOnly),reorderableItemGripColor:o.extend("--ft-reorderable-list-reorderable-item-grip-color","",d.contentGlobalSecondary),reorderableItemGripOpacity:o.extend("--ft-reorderable-list-reorderable-item-grip-opacity","",c.opacity48),boxShadow:o.extend("--ft-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:o.create("--ft-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:o.extend("--ft-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:o.extend("--ft-reorderable-list-left-padding","",c.spacing2),rightPadding:o.extend("--ft-reorderable-list-right-padding","",c.spacing6),borderColor:o.extend("--ft-reorderable-list-border-color","",d.borderGlobalPrimary),backgroundColor:o.extend("--ft-reorderable-list-background-color","",d.backgroundGlobalOnSurfaceDark)}});var rw,gu=p(()=>{J();re();le();rw={nodeHeight:o.create("--ft-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:o.extend("--ft-tree-list-node-parent-label-margin-left","",c.spacing2),nodeParentLabelMarginRight:o.extend("--ft-tree-list-node-parent-label-margin-right","",c.spacing2),nodeRootPaddingLeft:o.extend("--ft-tree-list-node-root-padding-left","",c.spacing3),nodeChildPaddingLeft:o.extend("--ft-tree-list-node-child-padding-left","",c.spacing5),nodeLeafPaddingLeft:o.extend("--ft-tree-list-node-leaf-padding-left","",c.spacing6),nodeUnselectedDefaultBorderColor:o.extend("--ft-tree-list-node-unselected-default-border-color","",d.borderGlobalSubtle),nodeUnselectedIconColor:o.extend("--ft-tree-list-node-unselected-icon-color","",d.contentGlobalSecondary),nodeUnselectedLabelColor:o.extend("--ft-tree-list-node-unselected-label-color","",d.contentGlobalSecondary),nodeUnselectedCounterColor:o.extend("--ft-tree-list-node-unselected-counter-color","",d.contentGlobalSecondary),nodeHoverBorderColor:o.extend("--ft-tree-list-node-hover-border-color","",d.borderActionPrimary),nodeFocusFocusRingColor:o.extend("--ft-tree-list-node-focus-focus-ring-color","",d.borderActionFocusRing),nodeFocusOutlineWidth:o.create("--ft-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:o.extend("--ft-tree-list-node-selected-default-border-color","",d.borderGlobalPrimary),nodeSelectedIconColor:o.extend("--ft-tree-list-node-selected-icon-color","",d.contentGlobalSecondary),nodeSelectedLabelColor:o.extend("--ft-tree-list-node-selected-label-color","",d.contentGlobalPrimary),nodeSelectedCounterColor:o.extend("--ft-tree-list-node-selected-counter-color","",d.contentGlobalSecondary),nodeSelectedBackgroundColor:o.create("--ft-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:o.extend("--ft-tree-list-node-descendant-of-selected-default-border-color","",d.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:o.extend("--ft-tree-list-node-descendant-of-selected-icon-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:o.extend("--ft-tree-list-node-descendant-of-selected-label-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:o.extend("--ft-tree-list-node-descendant-of-selected-counter-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:o.create("--ft-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:o.create("--ft-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:o.extend("--ft-tree-list-header-section-padding-left","",c.spacing3),headerSectionPaddingRight:o.extend("--ft-tree-list-header-section-padding-right","",c.spacing3),headerSectionHorizontalGap:o.extend("--ft-tree-list-header-section-horizontal-gap","",c.spacing2),headerSectionMarginBottom:o.extend("--ft-tree-list-header-section-margin-bottom","",c.spacing2),headerSectionColor:o.extend("--ft-tree-list-header-section-color","",d.contentGlobalPrimary),headerSectionCounterColor:o.extend("--ft-tree-list-header-section-counter-color","",d.contentGlobalSecondary),listContainerBorderWidth:o.create("--ft-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:o.extend("--ft-tree-list-list-container-background-color","",d.backgroundGlobalSurface),listContainerBorderColor:o.extend("--ft-tree-list-list-container-border-color","",d.borderGlobalSubtle),loadMorePaddingLeft:o.extend("--ft-tree-list-load-more-padding-left","",c.spacing6),loadMoreUnselectedDefaultBorderColor:o.extend("--ft-tree-list-load-more-unselected-default-border-color","",d.borderGlobalSubtle),loadMoreIconColor:o.extend("--ft-tree-list-load-more-icon-color","",d.contentActionPrimary),loadMoreLabelColor:o.extend("--ft-tree-list-load-more-label-color","",d.contentActionPrimary),loadMoreHoverBorderColor:o.extend("--ft-tree-list-load-more-hover-border-color","",c.colorBrand20),loadMoreHoverBackgroundColor:o.create("--ft-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:o.extend("--ft-tree-list-load-more-active-border-color","",c.colorBrand20),loadMoreActiveBackgroundColor:o.create("--ft-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:o.create("--ft-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:o.create("--ft-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:o.extend("--ft-tree-list-load-more-descendant-of-selected-default-border-color","",d.borderGlobalPrimary)}});var aw,yu=p(()=>{J();re();aw={menuHorizontalPadding:o.extend("--ft-date-range-picker-menu-horizontal-padding","",c.spacing4),menuVerticalPadding:o.extend("--ft-date-range-picker-menu-vertical-padding","",c.spacing4),menuVerticalGap:o.extend("--ft-date-range-picker-menu-vertical-gap","",c.spacing4),menuButtonsVerticalGap:o.extend("--ft-date-range-picker-menu-buttons-vertical-gap","",c.spacing2)}});var bu=p(()=>{re();le();Mp();zp();Up();Hp();Wp();Vp();jp();Gp();Kp();qp();Zp();Qp();Yp();Xp();Jp();eu();tu();ru();ou();iu();nu();au();su();lu();cu();du();pu();uu();fu();hu();mu();gu();yu()});var ro,pt,xu=p(()=>{(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(ro||(ro={}));(function(t){t.large="large",t.medium="medium",t.small="small"})(pt||(pt={}))});var oe=p(()=>{J();bu();xu()});function vu(t,e){let r=Wn[t];return ui.css`
115
+ ${e?(0,ui.unsafeCSS)(e):ui.css`.ft-typography--${(0,ui.unsafeCSS)(t)}`} {
116
116
  font-family: ${r.fontFamily};
117
117
  font-size: ${r.fontSize};
118
118
  font-weight: ${r.fontWeight};
@@ -121,8 +121,17 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
121
121
  text-decoration: ${r.textDecoration};
122
122
  text-transform: ${r.textCase};
123
123
  }
124
- `}var fi,Su=p(()=>{"use strict";fi=f(R());oe()});var Wt,L,Cu,Mr,k,hi,mi,gi,yi,Dr,ze,je,bi,xi,yr,Ou,wu,Eu,Au,Ru,ro,br,Iu,Lu,ku,$u,Tu,Vt=p(()=>{"use strict";Wt=f(R()),L=f(v());oe();Su();oe();oe();oe();oe();oe();oe();oe();oe();oe();oe();oe();oe();oe();oe();oe();oe();oe();oe();oe();oe();oe();oe();oe();oe();oe();Cu=L.FtCssVariableFactory.extend("--ft-typography-font-family","",L.designSystemVariables.titleFont),Mr=L.FtCssVariableFactory.extend("--ft-typography-font-family","",L.designSystemVariables.contentFont),k={fontFamily:Mr,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")},hi={fontFamily:L.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Cu),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")},mi={fontFamily:L.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Cu),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")},gi={fontFamily:L.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",Mr),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")},yi={fontFamily:L.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",Mr),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")},Dr={fontFamily:L.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",Mr),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")},ze={fontFamily:L.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",Mr),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","",Mr),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")},bi={fontFamily:L.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",Mr),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")},xi={fontFamily:L.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",Mr),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")},yr={fontFamily:L.FtCssVariableFactory.extend("--ft-typography-button-font-family","",Mr),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")},Ou=Wt.css`
124
+ `}var ui,Su=p(()=>{"use strict";ui=u(R());oe()});var Wt,L,Cu,zr,k,fi,hi,mi,gi,Mr,ze,Ge,yi,bi,br,Ou,wu,Eu,Au,Ru,oo,xr,Iu,Lu,ku,$u,Tu,Vt=p(()=>{"use strict";Wt=u(R()),L=u(v());oe();Su();oe();oe();oe();oe();oe();oe();oe();oe();oe();oe();oe();oe();oe();oe();oe();oe();oe();oe();oe();oe();oe();oe();oe();oe();oe();Cu=L.FtCssVariableFactory.extend("--ft-typography-font-family","",L.designSystemVariables.titleFont),zr=L.FtCssVariableFactory.extend("--ft-typography-font-family","",L.designSystemVariables.contentFont),k={fontFamily:zr,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")},fi={fontFamily:L.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Cu),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")},hi={fontFamily:L.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Cu),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")},mi={fontFamily:L.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",zr),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")},gi={fontFamily:L.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",zr),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")},Mr={fontFamily:L.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",zr),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")},ze={fontFamily:L.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",zr),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")},Ge={fontFamily:L.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",zr),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")},yi={fontFamily:L.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",zr),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")},bi={fontFamily:L.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",zr),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")},br={fontFamily:L.FtCssVariableFactory.extend("--ft-typography-button-font-family","",zr),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")},Ou=Wt.css`
125
125
  .ft-typography--title {
126
+ font-family: ${fi.fontFamily};
127
+ font-size: ${fi.fontSize};
128
+ font-weight: ${fi.fontWeight};
129
+ letter-spacing: ${fi.letterSpacing};
130
+ line-height: ${fi.lineHeight};
131
+ text-transform: ${fi.textTransform};
132
+ }
133
+ `,wu=Wt.css`
134
+ .ft-typography--title-dense {
126
135
  font-family: ${hi.fontFamily};
127
136
  font-size: ${hi.fontSize};
128
137
  font-weight: ${hi.fontWeight};
@@ -130,8 +139,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
130
139
  line-height: ${hi.lineHeight};
131
140
  text-transform: ${hi.textTransform};
132
141
  }
133
- `,wu=Wt.css`
134
- .ft-typography--title-dense {
142
+ `,Eu=Wt.css`
143
+ .ft-typography--subtitle1 {
135
144
  font-family: ${mi.fontFamily};
136
145
  font-size: ${mi.fontSize};
137
146
  font-weight: ${mi.fontWeight};
@@ -139,8 +148,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
139
148
  line-height: ${mi.lineHeight};
140
149
  text-transform: ${mi.textTransform};
141
150
  }
142
- `,Eu=Wt.css`
143
- .ft-typography--subtitle1 {
151
+ `,Au=Wt.css`
152
+ .ft-typography--subtitle2 {
144
153
  font-family: ${gi.fontFamily};
145
154
  font-size: ${gi.fontSize};
146
155
  font-weight: ${gi.fontWeight};
@@ -148,26 +157,17 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
148
157
  line-height: ${gi.lineHeight};
149
158
  text-transform: ${gi.textTransform};
150
159
  }
151
- `,Au=Wt.css`
152
- .ft-typography--subtitle2 {
153
- font-family: ${yi.fontFamily};
154
- font-size: ${yi.fontSize};
155
- font-weight: ${yi.fontWeight};
156
- letter-spacing: ${yi.letterSpacing};
157
- line-height: ${yi.lineHeight};
158
- text-transform: ${yi.textTransform};
159
- }
160
160
 
161
161
  `,Ru=Wt.css`
162
162
  .ft-typography--body1 {
163
- font-family: ${Dr.fontFamily};
164
- font-size: ${Dr.fontSize};
165
- font-weight: ${Dr.fontWeight};
166
- letter-spacing: ${Dr.letterSpacing};
167
- line-height: ${Dr.lineHeight};
168
- text-transform: ${Dr.textTransform};
169
- }
170
- `,ro=Wt.css`
163
+ font-family: ${Mr.fontFamily};
164
+ font-size: ${Mr.fontSize};
165
+ font-weight: ${Mr.fontWeight};
166
+ letter-spacing: ${Mr.letterSpacing};
167
+ line-height: ${Mr.lineHeight};
168
+ text-transform: ${Mr.textTransform};
169
+ }
170
+ `,oo=Wt.css`
171
171
  .ft-typography--body2 {
172
172
  font-family: ${ze.fontFamily};
173
173
  font-size: ${ze.fontSize};
@@ -176,17 +176,26 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
176
176
  line-height: ${ze.lineHeight};
177
177
  text-transform: ${ze.textTransform};
178
178
  }
179
- `,br=Wt.css`
179
+ `,xr=Wt.css`
180
180
  .ft-typography--caption {
181
- font-family: ${je.fontFamily};
182
- font-size: ${je.fontSize};
183
- font-weight: ${je.fontWeight};
184
- letter-spacing: ${je.letterSpacing};
185
- line-height: ${je.lineHeight};
186
- text-transform: ${je.textTransform};
181
+ font-family: ${Ge.fontFamily};
182
+ font-size: ${Ge.fontSize};
183
+ font-weight: ${Ge.fontWeight};
184
+ letter-spacing: ${Ge.letterSpacing};
185
+ line-height: ${Ge.lineHeight};
186
+ text-transform: ${Ge.textTransform};
187
187
  }
188
188
  `,Iu=Wt.css`
189
189
  .ft-typography--breadcrumb {
190
+ font-family: ${yi.fontFamily};
191
+ font-size: ${yi.fontSize};
192
+ font-weight: ${yi.fontWeight};
193
+ letter-spacing: ${yi.letterSpacing};
194
+ line-height: ${yi.lineHeight};
195
+ text-transform: ${yi.textTransform};
196
+ }
197
+ `,Lu=Wt.css`
198
+ .ft-typography--overline {
190
199
  font-family: ${bi.fontFamily};
191
200
  font-size: ${bi.fontSize};
192
201
  font-weight: ${bi.fontWeight};
@@ -194,29 +203,20 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
194
203
  line-height: ${bi.lineHeight};
195
204
  text-transform: ${bi.textTransform};
196
205
  }
197
- `,Lu=Wt.css`
198
- .ft-typography--overline {
199
- font-family: ${xi.fontFamily};
200
- font-size: ${xi.fontSize};
201
- font-weight: ${xi.fontWeight};
202
- letter-spacing: ${xi.letterSpacing};
203
- line-height: ${xi.lineHeight};
204
- text-transform: ${xi.textTransform};
205
- }
206
206
  `,ku=Wt.css`
207
207
  .ft-typography--button {
208
- font-family: ${yr.fontFamily};
209
- font-size: ${yr.fontSize};
210
- font-weight: ${yr.fontWeight};
211
- letter-spacing: ${yr.letterSpacing};
212
- line-height: ${yr.lineHeight};
213
- text-transform: ${yr.textTransform};
208
+ font-family: ${br.fontFamily};
209
+ font-size: ${br.fontSize};
210
+ font-weight: ${br.fontWeight};
211
+ letter-spacing: ${br.letterSpacing};
212
+ line-height: ${br.lineHeight};
213
+ text-transform: ${br.textTransform};
214
214
  }
215
215
  `,$u=Wt.css`
216
216
  .ft-typography {
217
217
  vertical-align: inherit;
218
218
  }
219
- `,Tu=[Object.keys(Wn).map(t=>vu(t))]});var Pu,Ji,Oe,_u,en=p(()=>{"use strict";Pu=f(R()),Ji=f(v()),Oe={color:Ji.FtCssVariableFactory.extend("--ft-loader-color","",Ji.designSystemVariables.colorPrimary),size:Ji.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},_u=Pu.css`
219
+ `,Tu=[Object.keys(Wn).map(t=>vu(t))]});var Pu,Ji,Oe,_u,en=p(()=>{"use strict";Pu=u(R()),Ji=u(v()),Oe={color:Ji.FtCssVariableFactory.extend("--ft-loader-color","",Ji.designSystemVariables.colorPrimary),size:Ji.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},_u=Pu.css`
220
220
  :host {
221
221
  line-height: 0;
222
222
  }
@@ -285,7 +285,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
285
285
  transform: translate(calc(0.35 * ${Oe.size}), 0);
286
286
  }
287
287
  }
288
- `});var Nu,or,$e,Bu,Po=p(()=>{"use strict";Nu=f(R()),or=f(v()),$e={size:or.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:or.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",or.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:or.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",or.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:or.FtCssVariableFactory.extend("--ft-icon-material-font-family","",or.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:or.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Bu=[Nu.css`
288
+ `});var Nu,ar,$e,Bu,Po=p(()=>{"use strict";Nu=u(R()),ar=u(v()),$e={size:ar.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:ar.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",ar.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:ar.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",ar.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:ar.FtCssVariableFactory.extend("--ft-icon-material-font-family","",ar.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:ar.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Bu=[Nu.css`
289
289
  :host, i.ft-icon {
290
290
  display: inline-flex;
291
291
  align-items: center;
@@ -333,7 +333,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
333
333
  .ft-icon--material {
334
334
  font-family: ${$e.materialFontFamily}, "Material Icons", sans-serif;
335
335
  }
336
- `,or.noTextSelect]});var Mu,q,Fu,j,Du,Ns,xr,zu,_o=p(()=>{"use strict";Mu=f(R()),q=f(v());Br();Vt();en();Po();Fu=q.FtCssVariableFactory.extend("--ft-button-color","",q.designSystemVariables.colorPrimary),j={backgroundColor:q.FtCssVariableFactory.extend("--ft-button-background-color","",q.designSystemVariables.colorSurface),borderRadius:q.FtCssVariableFactory.extend("--ft-button-border-radius","",q.designSystemVariables.borderRadiusL),color:Fu,fontSize:q.FtCssVariableFactory.extend("--ft-button-font-size","",yr.fontSize),iconSize:q.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:q.FtCssVariableFactory.extend("--ft-button-ripple-color","",Fu),verticalPadding:q.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:q.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:q.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:q.FtCssVariableFactory.external(q.designSystemVariables.colorOpacityDisabled,"Design system")},Du=q.FtCssVariableFactory.extend("--ft-button-primary-color","",q.FtCssVariableFactory.extend("--ft-button-color","",q.designSystemVariables.colorOnPrimary)),Ns={backgroundColor:q.FtCssVariableFactory.extend("--ft-button-primary-background-color","",q.FtCssVariableFactory.extend("--ft-button-background-color","",q.designSystemVariables.colorPrimary)),color:Du,rippleColor:q.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Du)},xr={borderRadius:q.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",q.FtCssVariableFactory.extend("--ft-button-border-radius","",q.designSystemVariables.borderRadiusM)),verticalPadding:q.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:q.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:q.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},zu=[Mu.css`
336
+ `,ar.noTextSelect]});var Mu,q,Fu,j,Du,Ns,vr,zu,_o=p(()=>{"use strict";Mu=u(R()),q=u(v());Fr();Vt();en();Po();Fu=q.FtCssVariableFactory.extend("--ft-button-color","",q.designSystemVariables.colorPrimary),j={backgroundColor:q.FtCssVariableFactory.extend("--ft-button-background-color","",q.designSystemVariables.colorSurface),borderRadius:q.FtCssVariableFactory.extend("--ft-button-border-radius","",q.designSystemVariables.borderRadiusL),color:Fu,fontSize:q.FtCssVariableFactory.extend("--ft-button-font-size","",br.fontSize),iconSize:q.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:q.FtCssVariableFactory.extend("--ft-button-ripple-color","",Fu),verticalPadding:q.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:q.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:q.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:q.FtCssVariableFactory.external(q.designSystemVariables.colorOpacityDisabled,"Design system")},Du=q.FtCssVariableFactory.extend("--ft-button-primary-color","",q.FtCssVariableFactory.extend("--ft-button-color","",q.designSystemVariables.colorOnPrimary)),Ns={backgroundColor:q.FtCssVariableFactory.extend("--ft-button-primary-background-color","",q.FtCssVariableFactory.extend("--ft-button-background-color","",q.designSystemVariables.colorPrimary)),color:Du,rippleColor:q.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Du)},vr={borderRadius:q.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",q.FtCssVariableFactory.extend("--ft-button-border-radius","",q.designSystemVariables.borderRadiusM)),verticalPadding:q.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:q.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:q.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},zu=[Mu.css`
337
337
  :host {
338
338
  display: inline-block;
339
339
  max-width: 100%;
@@ -392,13 +392,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
392
392
  }
393
393
 
394
394
  .ft-button.ft-button--dense {
395
- padding: ${xr.verticalPadding} ${xr.horizontalPadding};
396
- border-radius: ${xr.borderRadius};
397
- gap: ${xr.iconPadding};
395
+ padding: ${vr.verticalPadding} ${vr.horizontalPadding};
396
+ border-radius: ${vr.borderRadius};
397
+ gap: ${vr.iconPadding};
398
398
  }
399
399
 
400
400
  .ft-button.ft-button--dense.ft-button--outlined {
401
- padding: calc(${xr.verticalPadding} - 1px) calc(${xr.horizontalPadding} - 1px);
401
+ padding: calc(${vr.verticalPadding} - 1px) calc(${vr.horizontalPadding} - 1px);
402
402
  }
403
403
 
404
404
  .ft-button:not([disabled]):hover {
@@ -410,7 +410,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
410
410
  }
411
411
 
412
412
  .ft-button--round.ft-button--dense {
413
- border-radius: calc(var(--button-internal-line-height) / 2 + ${xr.verticalPadding});
413
+ border-radius: calc(var(--button-internal-line-height) / 2 + ${vr.verticalPadding});
414
414
  }
415
415
 
416
416
  .ft-button[disabled] {
@@ -435,12 +435,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
435
435
  text-overflow: ellipsis;
436
436
  display: block;
437
437
  margin: 0 ${j.iconPadding};
438
- ${(0,q.setVariable)(yr.fontSize,"1em")};
439
- ${(0,q.setVariable)(yr.lineHeight,"var(--button-internal-line-height)")};
438
+ ${(0,q.setVariable)(br.fontSize,"1em")};
439
+ ${(0,q.setVariable)(br.lineHeight,"var(--button-internal-line-height)")};
440
440
  }
441
441
 
442
442
  .ft-button--dense .ft-button--label {
443
- margin: 0 ${xr.iconPadding};
443
+ margin: 0 ${vr.iconPadding};
444
444
  }
445
445
 
446
446
  .ft-button--label[hidden] {
@@ -458,8 +458,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
458
458
  }
459
459
 
460
460
  .ft-button--dense .ft-button--label[hidden] + [part="icon"] {
461
- margin: 0 calc(${xr.horizontalPadding} * -1);
462
- padding: 0 ${xr.verticalPadding};
461
+ margin: 0 calc(${vr.horizontalPadding} * -1);
462
+ padding: 0 ${vr.verticalPadding};
463
463
  }
464
464
 
465
465
  .ft-button:not(.ft-button--trailing-icon) [part="label"] {
@@ -470,7 +470,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
470
470
  ${(0,q.setVariable)(Oe.size,j.iconSize)};
471
471
  ${(0,q.setVariable)(Oe.color,"var(--button-internal-color)")};
472
472
  }
473
- `,q.noTextSelect]});var Ct=ko((TE,Uu)=>{Uu.exports=ftGlobals.litClassMap});var Hu,Ye,Wu,tn,Ot,G,Bs=p(()=>{"use strict";Hu=f(R()),Ye=f(W()),Wu=f(Ct()),tn=f(v());Br();Ot=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},G=class extends tn.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 tn.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 tn.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 Hu.html`
473
+ `,q.noTextSelect]});var Ct=ko((TE,Uu)=>{Uu.exports=ftGlobals.litClassMap});var Hu,Ye,Wu,tn,Ot,G,Bs=p(()=>{"use strict";Hu=u(R()),Ye=u(W()),Wu=u(Ct()),tn=u(v());Fr();Ot=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},G=class extends tn.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 tn.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 tn.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 Hu.html`
474
474
  <style>
475
475
  .ft-ripple .ft-ripple--effect {
476
476
  left: ${this.originX}px;
@@ -481,9 +481,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
481
481
  <div class="ft-ripple--background"></div>
482
482
  <div class="ft-ripple--effect"></div>
483
483
  </div>
484
- `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var r,i;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(i=this.target)===null||i===void 0||i.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,r;let i=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;i&&this.setupFor((r=this.target)!==null&&r!==void 0?r:i)}forceFocusUpdate(){var e;!((e=this.target)===null||e===void 0)&&e.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let r=(...l)=>u=>{l.forEach(h=>window.addEventListener(h,this.endPress,{once:!0})),this.startPress(u)},i=r("mouseup","contextmenu"),n=r("touchend","touchcancel"),a=l=>{["Enter"," "].includes(l.key)&&r("keyup")(l)},s={passive:!0};e.addEventListener("mouseover",this.startHover,s),e.addEventListener("mousemove",this.moveRipple,s),e.addEventListener("mouseleave",this.endHover,s),e.addEventListener("mousedown",i,s),e.addEventListener("touchstart",n,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",a,s),e.addEventListener("focus",this.startFocus,s),e.addEventListener("blur",this.endFocus,s),e.addEventListener("focusin",this.startFocus,s),e.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,s),e.removeEventListener("mousemove",this.moveRipple,s),e.removeEventListener("mouseleave",this.endHover,s),e.removeEventListener("mousedown",i,s),e.removeEventListener("touchstart",n,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",a,s),e.removeEventListener("focus",this.startFocus,s),e.removeEventListener("blur",this.endFocus,s),e.removeEventListener("focusin",this.startFocus,s),e.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let r=e,i=e,n,a;return r.x!=null?{x:n,y:a}=r:i.touches!=null&&(n=i.touches[0].clientX,a=i.touches[0].clientY),{x:n,y:a}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let r of e.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};G.elementDefinitions={};G.styles=pp;Ot([(0,Ye.property)({type:Boolean})],G.prototype,"primary",void 0);Ot([(0,Ye.property)({type:Boolean})],G.prototype,"secondary",void 0);Ot([(0,Ye.property)({type:Boolean})],G.prototype,"unbounded",void 0);Ot([(0,Ye.property)({type:Boolean})],G.prototype,"activated",void 0);Ot([(0,Ye.property)({type:Boolean})],G.prototype,"selected",void 0);Ot([(0,Ye.property)({type:Boolean})],G.prototype,"disabled",void 0);Ot([(0,Ye.state)()],G.prototype,"hovered",void 0);Ot([(0,Ye.state)()],G.prototype,"focused",void 0);Ot([(0,Ye.state)()],G.prototype,"pressed",void 0);Ot([(0,Ye.state)()],G.prototype,"rippling",void 0);Ot([(0,Ye.state)()],G.prototype,"originX",void 0);Ot([(0,Ye.state)()],G.prototype,"originY",void 0);Ot([(0,Ye.query)(".ft-ripple")],G.prototype,"ripple",void 0);Ot([(0,Ye.query)(".ft-ripple--effect")],G.prototype,"rippleEffect",void 0)});var Vu=p(()=>{"use strict"});var ju,ut=p(()=>{"use strict";ju=f(v());Bs();Bs();Br();Vu();(0,ju.customElement)("ft-ripple")(G)});function nf(t,e){if(!Vs(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Gu!==void 0?Gu.createHTML(e):e}function vi(t,e,r=t,i){if(e===nn)return e;let n=i!==void 0?r._$Co?.[i]:r._$Cl,a=on(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=vi(t,n._$AS(t,e.values),n,i)),e}var Ws,Vn,Gu,Xu,oo,Ju,mv,Fo,jn,on,Vs,gv,Fs,rn,Ku,qu,No,Zu,Qu,ef,js,tf,rf,of,nn,Fe,Yu,Bo,yv,an,Ds,Gn,Si,Ms,zs,Us,Hs,bv,Gs=p(()=>{Ws=globalThis,Vn=Ws.trustedTypes,Gu=Vn?Vn.createPolicy("lit-html",{createHTML:t=>t}):void 0,Xu="$lit$",oo=`lit$${Math.random().toFixed(9).slice(2)}$`,Ju="?"+oo,mv=`<${Ju}>`,Fo=document,jn=()=>Fo.createComment(""),on=t=>t===null||typeof t!="object"&&typeof t!="function",Vs=Array.isArray,gv=t=>Vs(t)||typeof t?.[Symbol.iterator]=="function",Fs=`[
484
+ `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var r,i;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(i=this.target)===null||i===void 0||i.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,r;let i=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;i&&this.setupFor((r=this.target)!==null&&r!==void 0?r:i)}forceFocusUpdate(){var e;!((e=this.target)===null||e===void 0)&&e.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let r=(...l)=>f=>{l.forEach(h=>window.addEventListener(h,this.endPress,{once:!0})),this.startPress(f)},i=r("mouseup","contextmenu"),n=r("touchend","touchcancel"),a=l=>{["Enter"," "].includes(l.key)&&r("keyup")(l)},s={passive:!0};e.addEventListener("mouseover",this.startHover,s),e.addEventListener("mousemove",this.moveRipple,s),e.addEventListener("mouseleave",this.endHover,s),e.addEventListener("mousedown",i,s),e.addEventListener("touchstart",n,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",a,s),e.addEventListener("focus",this.startFocus,s),e.addEventListener("blur",this.endFocus,s),e.addEventListener("focusin",this.startFocus,s),e.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,s),e.removeEventListener("mousemove",this.moveRipple,s),e.removeEventListener("mouseleave",this.endHover,s),e.removeEventListener("mousedown",i,s),e.removeEventListener("touchstart",n,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",a,s),e.removeEventListener("focus",this.startFocus,s),e.removeEventListener("blur",this.endFocus,s),e.removeEventListener("focusin",this.startFocus,s),e.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let r=e,i=e,n,a;return r.x!=null?{x:n,y:a}=r:i.touches!=null&&(n=i.touches[0].clientX,a=i.touches[0].clientY),{x:n,y:a}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let r of e.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};G.elementDefinitions={};G.styles=pp;Ot([(0,Ye.property)({type:Boolean})],G.prototype,"primary",void 0);Ot([(0,Ye.property)({type:Boolean})],G.prototype,"secondary",void 0);Ot([(0,Ye.property)({type:Boolean})],G.prototype,"unbounded",void 0);Ot([(0,Ye.property)({type:Boolean})],G.prototype,"activated",void 0);Ot([(0,Ye.property)({type:Boolean})],G.prototype,"selected",void 0);Ot([(0,Ye.property)({type:Boolean})],G.prototype,"disabled",void 0);Ot([(0,Ye.state)()],G.prototype,"hovered",void 0);Ot([(0,Ye.state)()],G.prototype,"focused",void 0);Ot([(0,Ye.state)()],G.prototype,"pressed",void 0);Ot([(0,Ye.state)()],G.prototype,"rippling",void 0);Ot([(0,Ye.state)()],G.prototype,"originX",void 0);Ot([(0,Ye.state)()],G.prototype,"originY",void 0);Ot([(0,Ye.query)(".ft-ripple")],G.prototype,"ripple",void 0);Ot([(0,Ye.query)(".ft-ripple--effect")],G.prototype,"rippleEffect",void 0)});var Vu=p(()=>{"use strict"});var ju,ut=p(()=>{"use strict";ju=u(v());Bs();Bs();Fr();Vu();(0,ju.customElement)("ft-ripple")(G)});function nf(t,e){if(!Vs(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Gu!==void 0?Gu.createHTML(e):e}function xi(t,e,r=t,i){if(e===nn)return e;let n=i!==void 0?r._$Co?.[i]:r._$Cl,a=on(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=xi(t,n._$AS(t,e.values),n,i)),e}var Ws,Vn,Gu,Xu,io,Ju,mv,Fo,jn,on,Vs,gv,Fs,rn,Ku,qu,No,Zu,Qu,ef,js,tf,rf,of,nn,Fe,Yu,Bo,yv,an,Ds,Gn,vi,Ms,zs,Us,Hs,bv,Gs=p(()=>{Ws=globalThis,Vn=Ws.trustedTypes,Gu=Vn?Vn.createPolicy("lit-html",{createHTML:t=>t}):void 0,Xu="$lit$",io=`lit$${Math.random().toFixed(9).slice(2)}$`,Ju="?"+io,mv=`<${Ju}>`,Fo=document,jn=()=>Fo.createComment(""),on=t=>t===null||typeof t!="object"&&typeof t!="function",Vs=Array.isArray,gv=t=>Vs(t)||typeof t?.[Symbol.iterator]=="function",Fs=`[
485
485
  \f\r]`,rn=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ku=/-->/g,qu=/>/g,No=RegExp(`>|${Fs}(?:([^\\s"'>=/]+)(${Fs}*=${Fs}*(?:[^
486
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Zu=/'/g,Qu=/"/g,ef=/^(?:script|style|textarea|title)$/i,js=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),tf=js(1),rf=js(2),of=js(3),nn=Symbol.for("lit-noChange"),Fe=Symbol.for("lit-nothing"),Yu=new WeakMap,Bo=Fo.createTreeWalker(Fo,129);yv=(t,e)=>{let r=t.length-1,i=[],n,a=e===2?"<svg>":e===3?"<math>":"",s=rn;for(let l=0;l<r;l++){let u=t[l],h,g,y=-1,x=0;for(;x<u.length&&(s.lastIndex=x,g=s.exec(u),g!==null);)x=s.lastIndex,s===rn?g[1]==="!--"?s=Ku:g[1]!==void 0?s=qu:g[2]!==void 0?(ef.test(g[2])&&(n=RegExp("</"+g[2],"g")),s=No):g[3]!==void 0&&(s=No):s===No?g[0]===">"?(s=n??rn,y=-1):g[1]===void 0?y=-2:(y=s.lastIndex-g[2].length,h=g[1],s=g[3]===void 0?No:g[3]==='"'?Qu:Zu):s===Qu||s===Zu?s=No:s===Ku||s===qu?s=rn:(s=No,n=void 0);let w=s===No&&t[l+1].startsWith("/>")?" ":"";a+=s===rn?u+mv:y>=0?(i.push(h),u.slice(0,y)+Xu+u.slice(y)+oo+w):u+oo+(y===-2?l:w)}return[nf(t,a+(t[r]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),i]},an=class t{constructor({strings:e,_$litType$:r},i){let n;this.parts=[];let a=0,s=0,l=e.length-1,u=this.parts,[h,g]=yv(e,r);if(this.el=t.createElement(h,i),Bo.currentNode=this.el.content,r===2||r===3){let y=this.el.content.firstChild;y.replaceWith(...y.childNodes)}for(;(n=Bo.nextNode())!==null&&u.length<l;){if(n.nodeType===1){if(n.hasAttributes())for(let y of n.getAttributeNames())if(y.endsWith(Xu)){let x=g[s++],w=n.getAttribute(y).split(oo),O=/([.?@])?(.*)/.exec(x);u.push({type:1,index:a,name:O[2],strings:w,ctor:O[1]==="."?Ms:O[1]==="?"?zs:O[1]==="@"?Us:Si}),n.removeAttribute(y)}else y.startsWith(oo)&&(u.push({type:6,index:a}),n.removeAttribute(y));if(ef.test(n.tagName)){let y=n.textContent.split(oo),x=y.length-1;if(x>0){n.textContent=Vn?Vn.emptyScript:"";for(let w=0;w<x;w++)n.append(y[w],jn()),Bo.nextNode(),u.push({type:2,index:++a});n.append(y[x],jn())}}}else if(n.nodeType===8)if(n.data===Ju)u.push({type:2,index:a});else{let y=-1;for(;(y=n.data.indexOf(oo,y+1))!==-1;)u.push({type:7,index:a}),y+=oo.length-1}a++}}static createElement(e,r){let i=Fo.createElement("template");return i.innerHTML=e,i}};Ds=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??Fo).importNode(r,!0);Bo.currentNode=n;let a=Bo.nextNode(),s=0,l=0,u=i[0];for(;u!==void 0;){if(s===u.index){let h;u.type===2?h=new Gn(a,a.nextSibling,this,e):u.type===1?h=new u.ctor(a,u.name,u.strings,this,e):u.type===6&&(h=new Hs(a,this,e)),this._$AV.push(h),u=i[++l]}s!==u?.index&&(a=Bo.nextNode(),s++)}return Bo.currentNode=Fo,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++}},Gn=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,i,n){this.type=2,this._$AH=Fe,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=vi(this,e,r),on(e)?e===Fe||e==null||e===""?(this._$AH!==Fe&&this._$AR(),this._$AH=Fe):e!==this._$AH&&e!==nn&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):gv(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!==Fe&&on(this._$AH)?this._$AA.nextSibling.data=e:this.T(Fo.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=an.createElement(nf(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===n)this._$AH.p(r);else{let a=new Ds(n,this),s=a.u(this.options);a.p(r),this.T(s),this._$AH=a}}_$AC(e){let r=Yu.get(e.strings);return r===void 0&&Yu.set(e.strings,r=new an(e)),r}k(e){Vs(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(jn()),this.O(jn()),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))}},Si=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,i,n,a){this.type=1,this._$AH=Fe,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=Fe}_$AI(e,r=this,i,n){let a=this.strings,s=!1;if(a===void 0)e=vi(this,e,r,0),s=!on(e)||e!==this._$AH&&e!==nn,s&&(this._$AH=e);else{let l=e,u,h;for(e=a[0],u=0;u<a.length-1;u++)h=vi(this,l[i+u],r,u),h===nn&&(h=this._$AH[u]),s||=!on(h)||h!==this._$AH[u],h===Fe?e=Fe:e!==Fe&&(e+=(h??"")+a[u+1]),this._$AH[u]=h}s&&!n&&this.j(e)}j(e){e===Fe?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Ms=class extends Si{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===Fe?void 0:e}},zs=class extends Si{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==Fe)}},Us=class extends Si{constructor(e,r,i,n,a){super(e,r,i,n,a),this.type=5}_$AI(e,r=this){if((e=vi(this,e,r,0)??Fe)===nn)return;let i=this._$AH,n=e===Fe&&i!==Fe||e.capture!==i.capture||e.once!==i.once||e.passive!==i.passive,a=e!==Fe&&(i===Fe||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)}},Hs=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){vi(this,e)}},bv=Ws.litHtmlPolyfillSupport;bv?.(an,Gn),(Ws.litHtmlVersions??=[]).push("3.3.0")});var sf,xv,Ks,af,qs,Zs,HE,WE,lf=p(()=>{Gs();sf=Symbol.for(""),xv=t=>{if(t?.r===sf)return t?._$litStatic$},Ks=t=>({_$litStatic$:t,r:sf}),af=new Map,qs=t=>(e,...r)=>{let i=r.length,n,a,s=[],l=[],u,h=0,g=!1;for(;h<i;){for(u=e[h];h<i&&(a=r[h],(n=xv(a))!==void 0);)u+=n+e[++h],g=!0;h!==i&&l.push(a),s.push(u),h++}if(h===i&&s.push(e[i]),g){let y=s.join("$$lit$$");(e=af.get(y))===void 0&&(s.raw=s,af.set(y,e=s)),r=l}return t(e,...r)},Zs=qs(tf),HE=qs(rf),WE=qs(of)});var cf=p(()=>{lf()});var ft,Ci=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"})(ft||(ft={}))});var Qs,pf,df,Z,Ys=p(()=>{"use strict";cf();Qs=f(W()),pf=f(v());Ci();Vt();df=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Z=class extends pf.FtLitElement{constructor(){super(...arguments),this.variant=ft.body1}render(){return this.element?Zs`
486
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Zu=/'/g,Qu=/"/g,ef=/^(?:script|style|textarea|title)$/i,js=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),tf=js(1),rf=js(2),of=js(3),nn=Symbol.for("lit-noChange"),Fe=Symbol.for("lit-nothing"),Yu=new WeakMap,Bo=Fo.createTreeWalker(Fo,129);yv=(t,e)=>{let r=t.length-1,i=[],n,a=e===2?"<svg>":e===3?"<math>":"",s=rn;for(let l=0;l<r;l++){let f=t[l],h,g,y=-1,x=0;for(;x<f.length&&(s.lastIndex=x,g=s.exec(f),g!==null);)x=s.lastIndex,s===rn?g[1]==="!--"?s=Ku:g[1]!==void 0?s=qu:g[2]!==void 0?(ef.test(g[2])&&(n=RegExp("</"+g[2],"g")),s=No):g[3]!==void 0&&(s=No):s===No?g[0]===">"?(s=n??rn,y=-1):g[1]===void 0?y=-2:(y=s.lastIndex-g[2].length,h=g[1],s=g[3]===void 0?No:g[3]==='"'?Qu:Zu):s===Qu||s===Zu?s=No:s===Ku||s===qu?s=rn:(s=No,n=void 0);let w=s===No&&t[l+1].startsWith("/>")?" ":"";a+=s===rn?f+mv:y>=0?(i.push(h),f.slice(0,y)+Xu+f.slice(y)+io+w):f+io+(y===-2?l:w)}return[nf(t,a+(t[r]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),i]},an=class t{constructor({strings:e,_$litType$:r},i){let n;this.parts=[];let a=0,s=0,l=e.length-1,f=this.parts,[h,g]=yv(e,r);if(this.el=t.createElement(h,i),Bo.currentNode=this.el.content,r===2||r===3){let y=this.el.content.firstChild;y.replaceWith(...y.childNodes)}for(;(n=Bo.nextNode())!==null&&f.length<l;){if(n.nodeType===1){if(n.hasAttributes())for(let y of n.getAttributeNames())if(y.endsWith(Xu)){let x=g[s++],w=n.getAttribute(y).split(io),O=/([.?@])?(.*)/.exec(x);f.push({type:1,index:a,name:O[2],strings:w,ctor:O[1]==="."?Ms:O[1]==="?"?zs:O[1]==="@"?Us:vi}),n.removeAttribute(y)}else y.startsWith(io)&&(f.push({type:6,index:a}),n.removeAttribute(y));if(ef.test(n.tagName)){let y=n.textContent.split(io),x=y.length-1;if(x>0){n.textContent=Vn?Vn.emptyScript:"";for(let w=0;w<x;w++)n.append(y[w],jn()),Bo.nextNode(),f.push({type:2,index:++a});n.append(y[x],jn())}}}else if(n.nodeType===8)if(n.data===Ju)f.push({type:2,index:a});else{let y=-1;for(;(y=n.data.indexOf(io,y+1))!==-1;)f.push({type:7,index:a}),y+=io.length-1}a++}}static createElement(e,r){let i=Fo.createElement("template");return i.innerHTML=e,i}};Ds=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??Fo).importNode(r,!0);Bo.currentNode=n;let a=Bo.nextNode(),s=0,l=0,f=i[0];for(;f!==void 0;){if(s===f.index){let h;f.type===2?h=new Gn(a,a.nextSibling,this,e):f.type===1?h=new f.ctor(a,f.name,f.strings,this,e):f.type===6&&(h=new Hs(a,this,e)),this._$AV.push(h),f=i[++l]}s!==f?.index&&(a=Bo.nextNode(),s++)}return Bo.currentNode=Fo,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++}},Gn=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,i,n){this.type=2,this._$AH=Fe,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=xi(this,e,r),on(e)?e===Fe||e==null||e===""?(this._$AH!==Fe&&this._$AR(),this._$AH=Fe):e!==this._$AH&&e!==nn&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):gv(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!==Fe&&on(this._$AH)?this._$AA.nextSibling.data=e:this.T(Fo.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=an.createElement(nf(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===n)this._$AH.p(r);else{let a=new Ds(n,this),s=a.u(this.options);a.p(r),this.T(s),this._$AH=a}}_$AC(e){let r=Yu.get(e.strings);return r===void 0&&Yu.set(e.strings,r=new an(e)),r}k(e){Vs(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(jn()),this.O(jn()),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))}},vi=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,i,n,a){this.type=1,this._$AH=Fe,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=Fe}_$AI(e,r=this,i,n){let a=this.strings,s=!1;if(a===void 0)e=xi(this,e,r,0),s=!on(e)||e!==this._$AH&&e!==nn,s&&(this._$AH=e);else{let l=e,f,h;for(e=a[0],f=0;f<a.length-1;f++)h=xi(this,l[i+f],r,f),h===nn&&(h=this._$AH[f]),s||=!on(h)||h!==this._$AH[f],h===Fe?e=Fe:e!==Fe&&(e+=(h??"")+a[f+1]),this._$AH[f]=h}s&&!n&&this.j(e)}j(e){e===Fe?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Ms=class extends vi{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===Fe?void 0:e}},zs=class extends vi{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==Fe)}},Us=class extends vi{constructor(e,r,i,n,a){super(e,r,i,n,a),this.type=5}_$AI(e,r=this){if((e=xi(this,e,r,0)??Fe)===nn)return;let i=this._$AH,n=e===Fe&&i!==Fe||e.capture!==i.capture||e.once!==i.once||e.passive!==i.passive,a=e!==Fe&&(i===Fe||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)}},Hs=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){xi(this,e)}},bv=Ws.litHtmlPolyfillSupport;bv?.(an,Gn),(Ws.litHtmlVersions??=[]).push("3.3.0")});var sf,xv,Ks,af,qs,Zs,HE,WE,lf=p(()=>{Gs();sf=Symbol.for(""),xv=t=>{if(t?.r===sf)return t?._$litStatic$},Ks=t=>({_$litStatic$:t,r:sf}),af=new Map,qs=t=>(e,...r)=>{let i=r.length,n,a,s=[],l=[],f,h=0,g=!1;for(;h<i;){for(f=e[h];h<i&&(a=r[h],(n=xv(a))!==void 0);)f+=n+e[++h],g=!0;h!==i&&l.push(a),s.push(f),h++}if(h===i&&s.push(e[i]),g){let y=s.join("$$lit$$");(e=af.get(y))===void 0&&(s.raw=s,af.set(y,e=s)),r=l}return t(e,...r)},Zs=qs(tf),HE=qs(rf),WE=qs(of)});var cf=p(()=>{lf()});var ft,Si=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"})(ft||(ft={}))});var Qs,pf,df,Z,Ys=p(()=>{"use strict";cf();Qs=u(W()),pf=u(v());Si();Vt();df=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Z=class extends pf.FtLitElement{constructor(){super(...arguments),this.variant=ft.body1}render(){return this.element?Zs`
487
487
  <${Ks(this.element)}
488
488
  part="text"
489
489
  class="ft-typography ft-typography--${this.variant}">
@@ -491,7 +491,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
491
491
  </${Ks(this.element)}>
492
492
  `:Zs`
493
493
  <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
494
- `}};Z.styles=[Ou,wu,Eu,Au,Ru,ro,br,Iu,Lu,ku,$u,...Tu];df([(0,Qs.property)()],Z.prototype,"element",void 0);df([(0,Qs.property)()],Z.prototype,"variant",void 0)});var uf,_e=p(()=>{"use strict";uf=f(v());Ys();Ys();Vt();Ci();(0,uf.customElement)("ft-typography")(Z)});var ff,zr,vr,hf,Kn=p(()=>{"use strict";ff=f(R()),zr=f(v()),vr={distance:zr.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:zr.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:zr.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:zr.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:zr.FtCssVariableFactory.external(zr.designSystemVariables.borderRadiusS,"Design system"),maxWidth:zr.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},hf=ff.css`
494
+ `}};Z.styles=[Ou,wu,Eu,Au,Ru,oo,xr,Iu,Lu,ku,$u,...Tu];df([(0,Qs.property)()],Z.prototype,"element",void 0);df([(0,Qs.property)()],Z.prototype,"variant",void 0)});var uf,_e=p(()=>{"use strict";uf=u(v());Ys();Ys();Vt();Si();(0,uf.customElement)("ft-typography")(Z)});var ff,Ur,Sr,hf,Kn=p(()=>{"use strict";ff=u(R()),Ur=u(v()),Sr={distance:Ur.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:Ur.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:Ur.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:Ur.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:Ur.FtCssVariableFactory.external(Ur.designSystemVariables.borderRadiusS,"Design system"),maxWidth:Ur.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},hf=ff.css`
495
495
  .ft-tooltip--container {
496
496
  display: block;
497
497
  }
@@ -506,21 +506,21 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
506
506
  box-sizing: border-box;
507
507
  overflow: hidden;
508
508
  width: max-content;
509
- max-width: ${vr.maxWidth};
509
+ max-width: ${Sr.maxWidth};
510
510
  text-align: center;
511
- padding: ${vr.distance};
512
- z-index: ${vr.zIndex};
511
+ padding: ${Sr.distance};
512
+ z-index: ${Sr.zIndex};
513
513
  }
514
514
 
515
515
  .ft-tooltip--content {
516
516
  padding: 4px 8px;
517
- border-radius: ${vr.borderRadiusS};
518
- background-color: ${vr.backgroundColor};
519
- color: ${vr.color};
517
+ border-radius: ${Sr.borderRadiusS};
518
+ background-color: ${Sr.backgroundColor};
519
+ color: ${Sr.color};
520
520
  position: relative;
521
521
  word-break: break-word;
522
522
  }
523
- `});function el(t,e,r){return bf(t,yf(e,r))}function qn(t,e){return typeof t=="function"?t(e):t}function Oi(t){return t.split("-")[0]}function io(t){return t.split("-")[1]}function tl(t){return t==="x"?"y":"x"}function rl(t){return t==="y"?"height":"width"}function Zn(t){return["top","bottom"].includes(Oi(t))?"y":"x"}function ol(t){return tl(Zn(t))}function xf(t,e,r){r===void 0&&(r=!1);let i=io(t),n=ol(t),a=rl(n),s=n==="x"?i===(r?"end":"start")?"right":"left":i==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=Xs(s)),[s,Xs(s)]}function vf(t){return t.replace(/start|end/g,e=>Sv[e])}function Xs(t){return t.replace(/left|right|bottom|top/g,e=>vv[e])}function Cv(t){return{top:0,right:0,bottom:0,left:0,...t}}function Sf(t){return typeof t!="number"?Cv(t):{top:t,right:t,bottom:t,left:t}}function Do(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 gf,mf,Js,yf,bf,vv,Sv,il=p(()=>{gf=["top","right","bottom","left"],mf=["start","end"],Js=gf.reduce((t,e)=>t.concat(e,e+"-"+mf[0],e+"-"+mf[1]),[]),yf=Math.min,bf=Math.max,vv={left:"right",right:"left",bottom:"top",top:"bottom"},Sv={start:"end",end:"start"}});function Cf(t,e,r){let{reference:i,floating:n}=t,a=Zn(e),s=ol(e),l=rl(s),u=Oi(e),h=a==="y",g=i.x+i.width/2-n.width/2,y=i.y+i.height/2-n.height/2,x=i[l]/2-n[l]/2,w;switch(u){case"top":w={x:g,y:i.y-n.height};break;case"bottom":w={x:g,y:i.y+i.height};break;case"right":w={x:i.x+i.width,y};break;case"left":w={x:i.x-n.width,y};break;default:w={x:i.x,y:i.y}}switch(io(e)){case"start":w[s]-=x*(r&&h?-1:1);break;case"end":w[s]+=x*(r&&h?-1:1);break}return w}async function nl(t,e){var r;e===void 0&&(e={});let{x:i,y:n,platform:a,rects:s,elements:l,strategy:u}=t,{boundary:h="clippingAncestors",rootBoundary:g="viewport",elementContext:y="floating",altBoundary:x=!1,padding:w=0}=qn(e,t),O=Sf(w),_=l[x?y==="floating"?"reference":"floating":y],T=Do(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(_)))==null||r?_:_.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:h,rootBoundary:g,strategy:u})),P=y==="floating"?{x:i,y:n,width:s.floating.width,height:s.floating.height}:s.reference,H=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),te=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},ie=Do(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:P,offsetParent:H,strategy:u}):P);return{top:(T.top-ie.top+O.top)/te.y,bottom:(ie.bottom-T.bottom+O.bottom)/te.y,left:(T.left-ie.left+O.left)/te.x,right:(ie.right-T.right+O.right)/te.x}}function Ov(t,e,r){return(t?[...r.filter(n=>io(n)===t),...r.filter(n=>io(n)!==t)]:r.filter(n=>Oi(n)===n)).filter(n=>t?io(n)===t||(e?vf(n)!==n:!1):!0)}var Of,al,sl,ll=p(()=>{il();il();Of=async(t,e,r)=>{let{placement:i="bottom",strategy:n="absolute",middleware:a=[],platform:s}=r,l=a.filter(Boolean),u=await(s.isRTL==null?void 0:s.isRTL(e)),h=await s.getElementRects({reference:t,floating:e,strategy:n}),{x:g,y}=Cf(h,i,u),x=i,w={},O=0;for(let A=0;A<l.length;A++){let{name:_,fn:T}=l[A],{x:P,y:H,data:te,reset:ie}=await T({x:g,y,initialPlacement:i,placement:x,strategy:n,middlewareData:w,rects:h,platform:s,elements:{reference:t,floating:e}});g=P??g,y=H??y,w={...w,[_]:{...w[_],...te}},ie&&O<=50&&(O++,typeof ie=="object"&&(ie.placement&&(x=ie.placement),ie.rects&&(h=ie.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:n}):ie.rects),{x:g,y}=Cf(h,x,u)),A=-1)}return{x:g,y,placement:x,strategy:n,middlewareData:w}};al=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,i,n;let{rects:a,middlewareData:s,placement:l,platform:u,elements:h}=e,{crossAxis:g=!1,alignment:y,allowedPlacements:x=Js,autoAlignment:w=!0,...O}=qn(t,e),A=y!==void 0||x===Js?Ov(y||null,w,x):x,_=await nl(e,O),T=((r=s.autoPlacement)==null?void 0:r.index)||0,P=A[T];if(P==null)return{};let H=xf(P,a,await(u.isRTL==null?void 0:u.isRTL(h.floating)));if(l!==P)return{reset:{placement:A[0]}};let te=[_[Oi(P)],_[H[0]],_[H[1]]],ie=[...((i=s.autoPlacement)==null?void 0:i.overflows)||[],{placement:P,overflows:te}],St=A[T+1];if(St)return{data:{index:T+1,overflows:ie},reset:{placement:St}};let mr=ie.map(Ze=>{let b=io(Ze.placement);return[Ze.placement,b&&g?Ze.overflows.slice(0,2).reduce((C,F)=>C+F,0):Ze.overflows[0],Ze.overflows]}).sort((Ze,b)=>Ze[1]-b[1]),gr=((n=mr.filter(Ze=>Ze[2].slice(0,io(Ze[0])?2:3).every(b=>b<=0))[0])==null?void 0:n[0])||mr[0][0];return gr!==l?{data:{index:T+1,overflows:ie},reset:{placement:gr}}:{}}}},sl=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:i,placement:n}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:_=>{let{x:T,y:P}=_;return{x:T,y:P}}},...u}=qn(t,e),h={x:r,y:i},g=await nl(e,u),y=Zn(Oi(n)),x=tl(y),w=h[x],O=h[y];if(a){let _=x==="y"?"top":"left",T=x==="y"?"bottom":"right",P=w+g[_],H=w-g[T];w=el(P,w,H)}if(s){let _=y==="y"?"top":"left",T=y==="y"?"bottom":"right",P=O+g[_],H=O-g[T];O=el(P,O,H)}let A=l.fn({...e,[x]:w,[y]:O});return{...A,data:{x:A.x-r,y:A.y-i,enabled:{[x]:a,[y]:s}}}}}}});var cl,wi,sn,Ur,wf=p(()=>{cl=Math.min,wi=Math.max,sn=Math.round,Ur=t=>({x:t,y:t})});function Hr(t){return Af(t)?(t.nodeName||"").toLowerCase():"#document"}function wt(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Wr(t){var e;return(e=(Af(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Af(t){return t instanceof Node||t instanceof wt(t).Node}function Sr(t){return t instanceof Element||t instanceof wt(t).Element}function ir(t){return t instanceof HTMLElement||t instanceof wt(t).HTMLElement}function Ef(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof wt(t).ShadowRoot}function Ei(t){let{overflow:e,overflowX:r,overflowY:i,display:n}=Tt(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+r)&&!["inline","contents"].includes(n)}function Rf(t){return["table","td","th"].includes(Hr(t))}function Yn(t){let e=Xn(),r=Tt(t);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(i=>(r.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(r.contain||"").includes(i))}function If(t){let e=Mo(t);for(;ir(e)&&!ln(e);){if(Yn(e))return e;e=Mo(e)}return null}function Xn(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function ln(t){return["html","body","#document"].includes(Hr(t))}function Tt(t){return wt(t).getComputedStyle(t)}function cn(t){return Sr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Mo(t){if(Hr(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Ef(t)&&t.host||Wr(t);return Ef(e)?e.host:e}function Lf(t){let e=Mo(t);return ln(e)?t.ownerDocument?t.ownerDocument.body:t.body:ir(e)&&Ei(e)?e:Lf(e)}function Qn(t,e,r){var i;e===void 0&&(e=[]),r===void 0&&(r=!0);let n=Lf(t),a=n===((i=t.ownerDocument)==null?void 0:i.body),s=wt(n);return a?e.concat(s,s.visualViewport||[],Ei(n)?n:[],s.frameElement&&r?Qn(s.frameElement):[]):e.concat(n,Qn(n,[],r))}var kf=p(()=>{});function Pf(t){let e=Tt(t),r=parseFloat(e.width)||0,i=parseFloat(e.height)||0,n=ir(t),a=n?t.offsetWidth:r,s=n?t.offsetHeight:i,l=sn(r)!==a||sn(i)!==s;return l&&(r=a,i=s),{width:r,height:i,$:l}}function _f(t){return Sr(t)?t:t.contextElement}function Ai(t){let e=_f(t);if(!ir(e))return Ur(1);let r=e.getBoundingClientRect(),{width:i,height:n,$:a}=Pf(e),s=(a?sn(r.width):r.width)/i,l=(a?sn(r.height):r.height)/n;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}function Nf(t){let e=wt(t);return!Xn()||!e.visualViewport?Av:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Rv(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==wt(t)?!1:e}function dn(t,e,r,i){e===void 0&&(e=!1),r===void 0&&(r=!1);let n=t.getBoundingClientRect(),a=_f(t),s=Ur(1);e&&(i?Sr(i)&&(s=Ai(i)):s=Ai(t));let l=Rv(a,r,i)?Nf(a):Ur(0),u=(n.left+l.x)/s.x,h=(n.top+l.y)/s.y,g=n.width/s.x,y=n.height/s.y;if(a){let x=wt(a),w=i&&Sr(i)?wt(i):i,O=x.frameElement;for(;O&&i&&w!==x;){let A=Ai(O),_=O.getBoundingClientRect(),T=Tt(O),P=_.left+(O.clientLeft+parseFloat(T.paddingLeft))*A.x,H=_.top+(O.clientTop+parseFloat(T.paddingTop))*A.y;u*=A.x,h*=A.y,g*=A.x,y*=A.y,u+=P,h+=H,O=wt(O).frameElement}}return Do({width:g,height:y,x:u,y:h})}function Iv(t){let{rect:e,offsetParent:r,strategy:i}=t,n=ir(r),a=Wr(r);if(r===a)return e;let s={scrollLeft:0,scrollTop:0},l=Ur(1),u=Ur(0);if((n||!n&&i!=="fixed")&&((Hr(r)!=="body"||Ei(a))&&(s=cn(r)),ir(r))){let h=dn(r);l=Ai(r),u.x=h.x+r.clientLeft,u.y=h.y+r.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-s.scrollLeft*l.x+u.x,y:e.y*l.y-s.scrollTop*l.y+u.y}}function Lv(t){return Array.from(t.getClientRects())}function Bf(t){return dn(Wr(t)).left+cn(t).scrollLeft}function kv(t){let e=Wr(t),r=cn(t),i=t.ownerDocument.body,n=wi(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),a=wi(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight),s=-r.scrollLeft+Bf(t),l=-r.scrollTop;return Tt(i).direction==="rtl"&&(s+=wi(e.clientWidth,i.clientWidth)-n),{width:n,height:a,x:s,y:l}}function $v(t,e){let r=wt(t),i=Wr(t),n=r.visualViewport,a=i.clientWidth,s=i.clientHeight,l=0,u=0;if(n){a=n.width,s=n.height;let h=Xn();(!h||h&&e==="fixed")&&(l=n.offsetLeft,u=n.offsetTop)}return{width:a,height:s,x:l,y:u}}function Tv(t,e){let r=dn(t,!0,e==="fixed"),i=r.top+t.clientTop,n=r.left+t.clientLeft,a=ir(t)?Ai(t):Ur(1),s=t.clientWidth*a.x,l=t.clientHeight*a.y,u=n*a.x,h=i*a.y;return{width:s,height:l,x:u,y:h}}function $f(t,e,r){let i;if(e==="viewport")i=$v(t,r);else if(e==="document")i=kv(Wr(t));else if(Sr(e))i=Tv(e,r);else{let n=Nf(t);i={...e,x:e.x-n.x,y:e.y-n.y}}return Do(i)}function Ff(t,e){let r=Mo(t);return r===e||!Sr(r)||ln(r)?!1:Tt(r).position==="fixed"||Ff(r,e)}function Pv(t,e){let r=e.get(t);if(r)return r;let i=Qn(t,[],!1).filter(l=>Sr(l)&&Hr(l)!=="body"),n=null,a=Tt(t).position==="fixed",s=a?Mo(t):t;for(;Sr(s)&&!ln(s);){let l=Tt(s),u=Yn(s);!u&&l.position==="fixed"&&(n=null),(a?!u&&!n:!u&&l.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||Ei(s)&&!u&&Ff(t,s))?i=i.filter(g=>g!==s):n=l,s=Mo(s)}return e.set(t,i),i}function _v(t){let{element:e,boundary:r,rootBoundary:i,strategy:n}=t,s=[...r==="clippingAncestors"?Pv(e,this._c):[].concat(r),i],l=s[0],u=s.reduce((h,g)=>{let y=$f(e,g,n);return h.top=wi(y.top,h.top),h.right=cl(y.right,h.right),h.bottom=cl(y.bottom,h.bottom),h.left=wi(y.left,h.left),h},$f(e,l,n));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function Nv(t){return Pf(t)}function Bv(t,e,r){let i=ir(e),n=Wr(e),a=r==="fixed",s=dn(t,!0,a,e),l={scrollLeft:0,scrollTop:0},u=Ur(0);if(i||!i&&!a)if((Hr(e)!=="body"||Ei(n))&&(l=cn(e)),i){let h=dn(e,!0,a,e);u.x=h.x+e.clientLeft,u.y=h.y+e.clientTop}else n&&(u.x=Bf(n));return{x:s.left+l.scrollLeft-u.x,y:s.top+l.scrollTop-u.y,width:s.width,height:s.height}}function Tf(t,e){return!ir(t)||Tt(t).position==="fixed"?null:e?e(t):t.offsetParent}function Df(t,e){let r=wt(t);if(!ir(t))return r;let i=Tf(t,e);for(;i&&Rf(i)&&Tt(i).position==="static";)i=Tf(i,e);return i&&(Hr(i)==="html"||Hr(i)==="body"&&Tt(i).position==="static"&&!Yn(i))?r:i||If(t)||r}function Dv(t){return Tt(t).direction==="rtl"}var Av,Fv,Jn,Mf,zf=p(()=>{ll();ll();wf();kf();Av=Ur(0);Fv=async function(t){let{reference:e,floating:r,strategy:i}=t,n=this.getOffsetParent||Df,a=this.getDimensions;return{reference:Bv(e,await n(r),i),floating:{x:0,y:0,...await a(r)}}};Jn={convertOffsetParentRelativeRectToViewportRelativeRect:Iv,getDocumentElement:Wr,getClippingRect:_v,getOffsetParent:Df,getElementRects:Fv,getClientRects:Lv,getDimensions:Nv,getScale:Ai,isElement:Sr,isRTL:Dv},Mf=(t,e,r)=>{let i=new Map,n={platform:Jn,...r},a={...n.platform,_c:i};return Of(t,e,{...n,platform:a})}});function Uf(t){return Mv(t)}function dl(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function Mv(t){for(let e=t;e;e=dl(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=dl(t);e;e=dl(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 Hf=p(()=>{});async function Wf(t,e,r){return Mf(t,e,{platform:{...Jn,getOffsetParent:i=>Jn.getOffsetParent(i,Uf)},middleware:[sl({crossAxis:!0}),al({allowedPlacements:[r]})]})}var Vf=p(()=>{"use strict";zf();Hf()});var jf,Ue,no,Et,we,pl=p(()=>{"use strict";jf=f(R()),Ue=f(W()),no=f(v());_e();Kn();Vf();Et=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},we=class extends no.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 no.Debouncer,this.revealDebouncer=new no.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return jf.html`
523
+ `});function el(t,e,r){return bf(t,yf(e,r))}function qn(t,e){return typeof t=="function"?t(e):t}function Ci(t){return t.split("-")[0]}function no(t){return t.split("-")[1]}function tl(t){return t==="x"?"y":"x"}function rl(t){return t==="y"?"height":"width"}function Zn(t){return["top","bottom"].includes(Ci(t))?"y":"x"}function ol(t){return tl(Zn(t))}function xf(t,e,r){r===void 0&&(r=!1);let i=no(t),n=ol(t),a=rl(n),s=n==="x"?i===(r?"end":"start")?"right":"left":i==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=Xs(s)),[s,Xs(s)]}function vf(t){return t.replace(/start|end/g,e=>Sv[e])}function Xs(t){return t.replace(/left|right|bottom|top/g,e=>vv[e])}function Cv(t){return{top:0,right:0,bottom:0,left:0,...t}}function Sf(t){return typeof t!="number"?Cv(t):{top:t,right:t,bottom:t,left:t}}function Do(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 gf,mf,Js,yf,bf,vv,Sv,il=p(()=>{gf=["top","right","bottom","left"],mf=["start","end"],Js=gf.reduce((t,e)=>t.concat(e,e+"-"+mf[0],e+"-"+mf[1]),[]),yf=Math.min,bf=Math.max,vv={left:"right",right:"left",bottom:"top",top:"bottom"},Sv={start:"end",end:"start"}});function Cf(t,e,r){let{reference:i,floating:n}=t,a=Zn(e),s=ol(e),l=rl(s),f=Ci(e),h=a==="y",g=i.x+i.width/2-n.width/2,y=i.y+i.height/2-n.height/2,x=i[l]/2-n[l]/2,w;switch(f){case"top":w={x:g,y:i.y-n.height};break;case"bottom":w={x:g,y:i.y+i.height};break;case"right":w={x:i.x+i.width,y};break;case"left":w={x:i.x-n.width,y};break;default:w={x:i.x,y:i.y}}switch(no(e)){case"start":w[s]-=x*(r&&h?-1:1);break;case"end":w[s]+=x*(r&&h?-1:1);break}return w}async function nl(t,e){var r;e===void 0&&(e={});let{x:i,y:n,platform:a,rects:s,elements:l,strategy:f}=t,{boundary:h="clippingAncestors",rootBoundary:g="viewport",elementContext:y="floating",altBoundary:x=!1,padding:w=0}=qn(e,t),O=Sf(w),_=l[x?y==="floating"?"reference":"floating":y],T=Do(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(_)))==null||r?_:_.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:h,rootBoundary:g,strategy:f})),P=y==="floating"?{x:i,y:n,width:s.floating.width,height:s.floating.height}:s.reference,H=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),te=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},ie=Do(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:P,offsetParent:H,strategy:f}):P);return{top:(T.top-ie.top+O.top)/te.y,bottom:(ie.bottom-T.bottom+O.bottom)/te.y,left:(T.left-ie.left+O.left)/te.x,right:(ie.right-T.right+O.right)/te.x}}function Ov(t,e,r){return(t?[...r.filter(n=>no(n)===t),...r.filter(n=>no(n)!==t)]:r.filter(n=>Ci(n)===n)).filter(n=>t?no(n)===t||(e?vf(n)!==n:!1):!0)}var Of,al,sl,ll=p(()=>{il();il();Of=async(t,e,r)=>{let{placement:i="bottom",strategy:n="absolute",middleware:a=[],platform:s}=r,l=a.filter(Boolean),f=await(s.isRTL==null?void 0:s.isRTL(e)),h=await s.getElementRects({reference:t,floating:e,strategy:n}),{x:g,y}=Cf(h,i,f),x=i,w={},O=0;for(let A=0;A<l.length;A++){let{name:_,fn:T}=l[A],{x:P,y:H,data:te,reset:ie}=await T({x:g,y,initialPlacement:i,placement:x,strategy:n,middlewareData:w,rects:h,platform:s,elements:{reference:t,floating:e}});g=P??g,y=H??y,w={...w,[_]:{...w[_],...te}},ie&&O<=50&&(O++,typeof ie=="object"&&(ie.placement&&(x=ie.placement),ie.rects&&(h=ie.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:n}):ie.rects),{x:g,y}=Cf(h,x,f)),A=-1)}return{x:g,y,placement:x,strategy:n,middlewareData:w}};al=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,i,n;let{rects:a,middlewareData:s,placement:l,platform:f,elements:h}=e,{crossAxis:g=!1,alignment:y,allowedPlacements:x=Js,autoAlignment:w=!0,...O}=qn(t,e),A=y!==void 0||x===Js?Ov(y||null,w,x):x,_=await nl(e,O),T=((r=s.autoPlacement)==null?void 0:r.index)||0,P=A[T];if(P==null)return{};let H=xf(P,a,await(f.isRTL==null?void 0:f.isRTL(h.floating)));if(l!==P)return{reset:{placement:A[0]}};let te=[_[Ci(P)],_[H[0]],_[H[1]]],ie=[...((i=s.autoPlacement)==null?void 0:i.overflows)||[],{placement:P,overflows:te}],St=A[T+1];if(St)return{data:{index:T+1,overflows:ie},reset:{placement:St}};let gr=ie.map(Ze=>{let b=no(Ze.placement);return[Ze.placement,b&&g?Ze.overflows.slice(0,2).reduce((C,F)=>C+F,0):Ze.overflows[0],Ze.overflows]}).sort((Ze,b)=>Ze[1]-b[1]),yr=((n=gr.filter(Ze=>Ze[2].slice(0,no(Ze[0])?2:3).every(b=>b<=0))[0])==null?void 0:n[0])||gr[0][0];return yr!==l?{data:{index:T+1,overflows:ie},reset:{placement:yr}}:{}}}},sl=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:i,placement:n}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:_=>{let{x:T,y:P}=_;return{x:T,y:P}}},...f}=qn(t,e),h={x:r,y:i},g=await nl(e,f),y=Zn(Ci(n)),x=tl(y),w=h[x],O=h[y];if(a){let _=x==="y"?"top":"left",T=x==="y"?"bottom":"right",P=w+g[_],H=w-g[T];w=el(P,w,H)}if(s){let _=y==="y"?"top":"left",T=y==="y"?"bottom":"right",P=O+g[_],H=O-g[T];O=el(P,O,H)}let A=l.fn({...e,[x]:w,[y]:O});return{...A,data:{x:A.x-r,y:A.y-i,enabled:{[x]:a,[y]:s}}}}}}});var cl,Oi,sn,Hr,wf=p(()=>{cl=Math.min,Oi=Math.max,sn=Math.round,Hr=t=>({x:t,y:t})});function Wr(t){return Af(t)?(t.nodeName||"").toLowerCase():"#document"}function wt(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Vr(t){var e;return(e=(Af(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Af(t){return t instanceof Node||t instanceof wt(t).Node}function Cr(t){return t instanceof Element||t instanceof wt(t).Element}function sr(t){return t instanceof HTMLElement||t instanceof wt(t).HTMLElement}function Ef(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof wt(t).ShadowRoot}function wi(t){let{overflow:e,overflowX:r,overflowY:i,display:n}=Tt(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+r)&&!["inline","contents"].includes(n)}function Rf(t){return["table","td","th"].includes(Wr(t))}function Yn(t){let e=Xn(),r=Tt(t);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(i=>(r.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(r.contain||"").includes(i))}function If(t){let e=Mo(t);for(;sr(e)&&!ln(e);){if(Yn(e))return e;e=Mo(e)}return null}function Xn(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function ln(t){return["html","body","#document"].includes(Wr(t))}function Tt(t){return wt(t).getComputedStyle(t)}function cn(t){return Cr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Mo(t){if(Wr(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Ef(t)&&t.host||Vr(t);return Ef(e)?e.host:e}function Lf(t){let e=Mo(t);return ln(e)?t.ownerDocument?t.ownerDocument.body:t.body:sr(e)&&wi(e)?e:Lf(e)}function Qn(t,e,r){var i;e===void 0&&(e=[]),r===void 0&&(r=!0);let n=Lf(t),a=n===((i=t.ownerDocument)==null?void 0:i.body),s=wt(n);return a?e.concat(s,s.visualViewport||[],wi(n)?n:[],s.frameElement&&r?Qn(s.frameElement):[]):e.concat(n,Qn(n,[],r))}var kf=p(()=>{});function Pf(t){let e=Tt(t),r=parseFloat(e.width)||0,i=parseFloat(e.height)||0,n=sr(t),a=n?t.offsetWidth:r,s=n?t.offsetHeight:i,l=sn(r)!==a||sn(i)!==s;return l&&(r=a,i=s),{width:r,height:i,$:l}}function _f(t){return Cr(t)?t:t.contextElement}function Ei(t){let e=_f(t);if(!sr(e))return Hr(1);let r=e.getBoundingClientRect(),{width:i,height:n,$:a}=Pf(e),s=(a?sn(r.width):r.width)/i,l=(a?sn(r.height):r.height)/n;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}function Nf(t){let e=wt(t);return!Xn()||!e.visualViewport?Av:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Rv(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==wt(t)?!1:e}function dn(t,e,r,i){e===void 0&&(e=!1),r===void 0&&(r=!1);let n=t.getBoundingClientRect(),a=_f(t),s=Hr(1);e&&(i?Cr(i)&&(s=Ei(i)):s=Ei(t));let l=Rv(a,r,i)?Nf(a):Hr(0),f=(n.left+l.x)/s.x,h=(n.top+l.y)/s.y,g=n.width/s.x,y=n.height/s.y;if(a){let x=wt(a),w=i&&Cr(i)?wt(i):i,O=x.frameElement;for(;O&&i&&w!==x;){let A=Ei(O),_=O.getBoundingClientRect(),T=Tt(O),P=_.left+(O.clientLeft+parseFloat(T.paddingLeft))*A.x,H=_.top+(O.clientTop+parseFloat(T.paddingTop))*A.y;f*=A.x,h*=A.y,g*=A.x,y*=A.y,f+=P,h+=H,O=wt(O).frameElement}}return Do({width:g,height:y,x:f,y:h})}function Iv(t){let{rect:e,offsetParent:r,strategy:i}=t,n=sr(r),a=Vr(r);if(r===a)return e;let s={scrollLeft:0,scrollTop:0},l=Hr(1),f=Hr(0);if((n||!n&&i!=="fixed")&&((Wr(r)!=="body"||wi(a))&&(s=cn(r)),sr(r))){let h=dn(r);l=Ei(r),f.x=h.x+r.clientLeft,f.y=h.y+r.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-s.scrollLeft*l.x+f.x,y:e.y*l.y-s.scrollTop*l.y+f.y}}function Lv(t){return Array.from(t.getClientRects())}function Bf(t){return dn(Vr(t)).left+cn(t).scrollLeft}function kv(t){let e=Vr(t),r=cn(t),i=t.ownerDocument.body,n=Oi(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),a=Oi(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight),s=-r.scrollLeft+Bf(t),l=-r.scrollTop;return Tt(i).direction==="rtl"&&(s+=Oi(e.clientWidth,i.clientWidth)-n),{width:n,height:a,x:s,y:l}}function $v(t,e){let r=wt(t),i=Vr(t),n=r.visualViewport,a=i.clientWidth,s=i.clientHeight,l=0,f=0;if(n){a=n.width,s=n.height;let h=Xn();(!h||h&&e==="fixed")&&(l=n.offsetLeft,f=n.offsetTop)}return{width:a,height:s,x:l,y:f}}function Tv(t,e){let r=dn(t,!0,e==="fixed"),i=r.top+t.clientTop,n=r.left+t.clientLeft,a=sr(t)?Ei(t):Hr(1),s=t.clientWidth*a.x,l=t.clientHeight*a.y,f=n*a.x,h=i*a.y;return{width:s,height:l,x:f,y:h}}function $f(t,e,r){let i;if(e==="viewport")i=$v(t,r);else if(e==="document")i=kv(Vr(t));else if(Cr(e))i=Tv(e,r);else{let n=Nf(t);i={...e,x:e.x-n.x,y:e.y-n.y}}return Do(i)}function Ff(t,e){let r=Mo(t);return r===e||!Cr(r)||ln(r)?!1:Tt(r).position==="fixed"||Ff(r,e)}function Pv(t,e){let r=e.get(t);if(r)return r;let i=Qn(t,[],!1).filter(l=>Cr(l)&&Wr(l)!=="body"),n=null,a=Tt(t).position==="fixed",s=a?Mo(t):t;for(;Cr(s)&&!ln(s);){let l=Tt(s),f=Yn(s);!f&&l.position==="fixed"&&(n=null),(a?!f&&!n:!f&&l.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||wi(s)&&!f&&Ff(t,s))?i=i.filter(g=>g!==s):n=l,s=Mo(s)}return e.set(t,i),i}function _v(t){let{element:e,boundary:r,rootBoundary:i,strategy:n}=t,s=[...r==="clippingAncestors"?Pv(e,this._c):[].concat(r),i],l=s[0],f=s.reduce((h,g)=>{let y=$f(e,g,n);return h.top=Oi(y.top,h.top),h.right=cl(y.right,h.right),h.bottom=cl(y.bottom,h.bottom),h.left=Oi(y.left,h.left),h},$f(e,l,n));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function Nv(t){return Pf(t)}function Bv(t,e,r){let i=sr(e),n=Vr(e),a=r==="fixed",s=dn(t,!0,a,e),l={scrollLeft:0,scrollTop:0},f=Hr(0);if(i||!i&&!a)if((Wr(e)!=="body"||wi(n))&&(l=cn(e)),i){let h=dn(e,!0,a,e);f.x=h.x+e.clientLeft,f.y=h.y+e.clientTop}else n&&(f.x=Bf(n));return{x:s.left+l.scrollLeft-f.x,y:s.top+l.scrollTop-f.y,width:s.width,height:s.height}}function Tf(t,e){return!sr(t)||Tt(t).position==="fixed"?null:e?e(t):t.offsetParent}function Df(t,e){let r=wt(t);if(!sr(t))return r;let i=Tf(t,e);for(;i&&Rf(i)&&Tt(i).position==="static";)i=Tf(i,e);return i&&(Wr(i)==="html"||Wr(i)==="body"&&Tt(i).position==="static"&&!Yn(i))?r:i||If(t)||r}function Dv(t){return Tt(t).direction==="rtl"}var Av,Fv,Jn,Mf,zf=p(()=>{ll();ll();wf();kf();Av=Hr(0);Fv=async function(t){let{reference:e,floating:r,strategy:i}=t,n=this.getOffsetParent||Df,a=this.getDimensions;return{reference:Bv(e,await n(r),i),floating:{x:0,y:0,...await a(r)}}};Jn={convertOffsetParentRelativeRectToViewportRelativeRect:Iv,getDocumentElement:Vr,getClippingRect:_v,getOffsetParent:Df,getElementRects:Fv,getClientRects:Lv,getDimensions:Nv,getScale:Ei,isElement:Cr,isRTL:Dv},Mf=(t,e,r)=>{let i=new Map,n={platform:Jn,...r},a={...n.platform,_c:i};return Of(t,e,{...n,platform:a})}});function Uf(t){return Mv(t)}function dl(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function Mv(t){for(let e=t;e;e=dl(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=dl(t);e;e=dl(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 Hf=p(()=>{});async function Wf(t,e,r){return Mf(t,e,{platform:{...Jn,getOffsetParent:i=>Jn.getOffsetParent(i,Uf)},middleware:[sl({crossAxis:!0}),al({allowedPlacements:[r]})]})}var Vf=p(()=>{"use strict";zf();Hf()});var jf,Ue,ao,Et,we,pl=p(()=>{"use strict";jf=u(R()),Ue=u(W()),ao=u(v());_e();Kn();Vf();Et=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},we=class extends ao.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 ao.Debouncer,this.revealDebouncer=new ao.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return jf.html`
524
524
  <div part="container"
525
525
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
526
526
  @mouseenter=${this.onHover}
@@ -538,19 +538,19 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
538
538
  </div>
539
539
  </div>
540
540
  </div>
541
- `}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="",Wf(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 ${no.designSystemVariables.transitionDuration}, left ${no.designSystemVariables.transitionDuration}`,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))}};we.elementDefinitions={"ft-typography":Z};we.styles=hf;Et([(0,Ue.property)()],we.prototype,"text",void 0);Et([(0,Ue.property)({type:Boolean})],we.prototype,"manual",void 0);Et([(0,Ue.property)({type:Boolean})],we.prototype,"inline",void 0);Et([(0,Ue.property)({type:Number})],we.prototype,"delay",void 0);Et([(0,Ue.property)()],we.prototype,"position",void 0);Et([(0,Ue.queryAssignedNodes)()],we.prototype,"slotNodes",void 0);Et([(0,Ue.query)(".ft-tooltip--container")],we.prototype,"container",void 0);Et([(0,Ue.query)(".ft-tooltip")],we.prototype,"tooltip",void 0);Et([(0,Ue.query)(".ft-tooltip--content")],we.prototype,"tooltipContent",void 0);Et([(0,Ue.state)()],we.prototype,"visible",void 0);Et([(0,Ue.eventOptions)({passive:!0})],we.prototype,"onTouch",null);Et([(0,Ue.eventOptions)({passive:!0})],we.prototype,"onHover",null);Et([(0,Ue.eventOptions)({passive:!0})],we.prototype,"onOut",null);Et([(0,Ue.eventOptions)({passive:!0})],we.prototype,"onClick",null)});var Gf=p(()=>{"use strict"});var Kf,ea=p(()=>{"use strict";Kf=f(v());pl();pl();Kn();Gf();(0,Kf.customElement)("ft-tooltip")(we)});var ta=ko((BA,qf)=>{qf.exports=ftGlobals.litUnsafeHTML});function ra(t,e){var r,i,n,a;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[s,l]=(((r=zv.get(t))!==null&&r!==void 0?r:t)+"/").split("/");return(a=(n=(i=ul.get(l))!==null&&i!==void 0?i:ul.get(e))!==null&&n!==void 0?n:ul.get(s))!==null&&a!==void 0?a:I.UNKNOWN}var At,I,ul,zv,FA,fl=p(()=>{"use strict";(function(t){t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.BOOKS="&#xe806;",t.MENU="&#xe807;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.HOME="&#xe80b;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.EXPORT="&#xe80f;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.USER="&#xe813;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.OFFLINE="&#xe816;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.STAR_PLAIN="&#xe900;",t.TOPICS="&#xe901;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN="&#xe90f;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_THEME="&#xe911;",t.ADMIN_USERS="&#xe912;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.INFO="&#xe919;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.THIN_ARROW="&#xe921;",t.SIGN_IN="&#xe922;",t.LOGOUT="&#xe923;",t.TRANSLATE="&#xe924;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.ARTICLE="&#xe927;",t.COLUMNS="&#xe928;",t.ANALYTICS="&#xe929;",t.COLLECTIONS="&#xe92a;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.COPY_TO_CLIPBOARD="&#xe930;",t.SHARED_PBK="&#xe931;",t.ATTACHMENTS="&#xe932;",t.STRIPE_ARROW_LEFT="&#xe933;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.FILTERS="&#xe935;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.SAVE="&#xe93a;",t.LOCKER="&#xe93b;",t.ADMIN_INTEGRATION="&#xe93c;",t.SYNC="&#xe93d;",t.TAG="&#xe93e;",t.BOOK_PLAIN="&#xe93f;",t.UPLOAD="&#xe940;",t.ONLINE="&#xe941;",t.TAG_PLAIN="&#xe942;",t.ACCOUNT_SETTINGS="&#xe943;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.SHORTCUT_MENU="&#xe946;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.ADMIN_PORTAL="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.FEEDBACK_PLAIN="&#xe951;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_COLLECTIONS="&#xe955;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.RESET="&#xe958;",t.MY_LIBRARY="&#xe959;",t.UNSTRUCTURED_DOC="&#xe95a;",t.CONTEXTUAL="&#xe95b;",t.THIN_ARROW_UP="&#xe95c;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.DESKTOP="&#xe95e;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_STACKED="&#xe96e;",t.CHART_BAR_GROUPED="&#xe96f;",t.EYE_SLASH="&#xe970;",t.X_MARK="&#xe971;",t.EXPAND_WIDE="&#xe972;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.EXTLINK_LIGHT="&#xe978;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.CONSUMER="&#xe97c;",t.OCTAGON_XMARK="&#xe97d;",t.HOURGLASS_HALF="&#xe97e;",t.CLOCK="&#xe97f;",t.CLOCK_THREE="&#xe97f;",t.CALENDAR_DAY="&#xe980;",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",t.WAND_MAGIC_SPARKLES="&#xe982;",t.PAPER_PLANE="&#xe983;",t.CIRCLE_STOP="&#xe984;",t.ARROW_ROTATE_RIGHT="&#xe985;",t.ARROWS_ROTATE="&#xe986;",t.ALIGN_RIGHT="&#xe987;",t.FORMAT_CLEAR="&#xe988;",t.ALIGN_CENTER="&#xe989;",t.ALIGN_LEFT="&#xe98a;",t.PALETTE="&#xe98b;",t.BOLD="&#xe98c;",t.ITALIC="&#xe98d;",t.UNDERLINE="&#xe98e;",t.STRIKETHROUGH="&#xe98f;",t.LINK_SIMPLE_SLASH="&#xe990;",t.LINK_SIMPLE="&#xe991;",t.ROUTE="&#xe992;",t.CIRCLE_USER_SLASH="&#xe993;",t.CIRCLE_USER_CHECK="&#xe994;",t.LIST_MAGNIFYING_GLASS="&#xe995;",t.MEDAL="&#xe996;",t.THUMBS_UP_THUMBS_DOWN_SOLID="&#xe997;",t.ARROW_TURN_DOWN_RIGHT="&#xe998;",t.FLASK="&#xe999;",t.LOCK_KEYHOLE_OPEN_SOLID="&#xe99a;",t.HOURGLASS_END="&#xe99b;",t.CIRCLE_QUESTION="&#xe99c;",t.GRIP_LINES_SOLID="&#xe99d;",t.TRANSLATE_SPARKLE_SOLID="&#xe99e;",t.CODE="&#xe99f;",t.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="&#xe9a0;",t.PAPER_PLANE_SLASH="&#xe9a1;",t.COMPRESS="&#xe9a2;",t.EXPAND="&#xe9a3;",t.ARROW_ROTATE_LEFT="&#xe9a4;",t.EYE="&#xf06e;",t.SHARE="&#xe80f1;",t.MOBILE_SMALL="&#xe9a5;",t.SPARKLES="&#xe9a6;",t.HAND_SOLID="&#xe9a7;",t.CLOCK_SOLID="&#xe9a8;",t.CONTEXT_MENU_CURSOR="&#xe9a9;",t.LANGUAGE_SLASH="&#xe9aa;",t.MAGNIFYING_GLASS_FLOPPY_DISK="&#xe9ab;",t.CABINET_FILING_FLOPPY_DISK="&#xe9ac;"})(At||(At={}));(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={}));ul=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])]),zv=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"]]);FA={[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 Ge,hl=p(()=>{"use strict";(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(Ge||(Ge={}))});var pn,ao,Zf,Qf,un,he,ml=p(()=>{"use strict";pn=f(R()),ao=f(W()),Zf=f(v()),Qf=f(ta());fl();Po();hl();un=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},he=class extends Zf.FtLitElement{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=pn.nothing}render(){let e=this.variant&&Object.values(Ge).includes(this.variant)?this.variant:Ge.fluid_topics,r=e!==Ge.material||!!this.value;return pn.html`
541
+ `}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="",Wf(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 ${ao.designSystemVariables.transitionDuration}, left ${ao.designSystemVariables.transitionDuration}`,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))}};we.elementDefinitions={"ft-typography":Z};we.styles=hf;Et([(0,Ue.property)()],we.prototype,"text",void 0);Et([(0,Ue.property)({type:Boolean})],we.prototype,"manual",void 0);Et([(0,Ue.property)({type:Boolean})],we.prototype,"inline",void 0);Et([(0,Ue.property)({type:Number})],we.prototype,"delay",void 0);Et([(0,Ue.property)()],we.prototype,"position",void 0);Et([(0,Ue.queryAssignedNodes)()],we.prototype,"slotNodes",void 0);Et([(0,Ue.query)(".ft-tooltip--container")],we.prototype,"container",void 0);Et([(0,Ue.query)(".ft-tooltip")],we.prototype,"tooltip",void 0);Et([(0,Ue.query)(".ft-tooltip--content")],we.prototype,"tooltipContent",void 0);Et([(0,Ue.state)()],we.prototype,"visible",void 0);Et([(0,Ue.eventOptions)({passive:!0})],we.prototype,"onTouch",null);Et([(0,Ue.eventOptions)({passive:!0})],we.prototype,"onHover",null);Et([(0,Ue.eventOptions)({passive:!0})],we.prototype,"onOut",null);Et([(0,Ue.eventOptions)({passive:!0})],we.prototype,"onClick",null)});var Gf=p(()=>{"use strict"});var Kf,ea=p(()=>{"use strict";Kf=u(v());pl();pl();Kn();Gf();(0,Kf.customElement)("ft-tooltip")(we)});var ta=ko((BA,qf)=>{qf.exports=ftGlobals.litUnsafeHTML});function ra(t,e){var r,i,n,a;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[s,l]=(((r=zv.get(t))!==null&&r!==void 0?r:t)+"/").split("/");return(a=(n=(i=ul.get(l))!==null&&i!==void 0?i:ul.get(e))!==null&&n!==void 0?n:ul.get(s))!==null&&a!==void 0?a:I.UNKNOWN}var At,I,ul,zv,FA,fl=p(()=>{"use strict";(function(t){t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.BOOKS="&#xe806;",t.MENU="&#xe807;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.HOME="&#xe80b;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.EXPORT="&#xe80f;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.USER="&#xe813;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.OFFLINE="&#xe816;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.STAR_PLAIN="&#xe900;",t.TOPICS="&#xe901;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN="&#xe90f;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_THEME="&#xe911;",t.ADMIN_USERS="&#xe912;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.INFO="&#xe919;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.THIN_ARROW="&#xe921;",t.SIGN_IN="&#xe922;",t.LOGOUT="&#xe923;",t.TRANSLATE="&#xe924;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.ARTICLE="&#xe927;",t.COLUMNS="&#xe928;",t.ANALYTICS="&#xe929;",t.COLLECTIONS="&#xe92a;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.COPY_TO_CLIPBOARD="&#xe930;",t.SHARED_PBK="&#xe931;",t.ATTACHMENTS="&#xe932;",t.STRIPE_ARROW_LEFT="&#xe933;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.FILTERS="&#xe935;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.SAVE="&#xe93a;",t.LOCKER="&#xe93b;",t.ADMIN_INTEGRATION="&#xe93c;",t.SYNC="&#xe93d;",t.TAG="&#xe93e;",t.BOOK_PLAIN="&#xe93f;",t.UPLOAD="&#xe940;",t.ONLINE="&#xe941;",t.TAG_PLAIN="&#xe942;",t.ACCOUNT_SETTINGS="&#xe943;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.SHORTCUT_MENU="&#xe946;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.ADMIN_PORTAL="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.FEEDBACK_PLAIN="&#xe951;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_COLLECTIONS="&#xe955;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.RESET="&#xe958;",t.MY_LIBRARY="&#xe959;",t.UNSTRUCTURED_DOC="&#xe95a;",t.CONTEXTUAL="&#xe95b;",t.THIN_ARROW_UP="&#xe95c;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.DESKTOP="&#xe95e;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_STACKED="&#xe96e;",t.CHART_BAR_GROUPED="&#xe96f;",t.EYE_SLASH="&#xe970;",t.X_MARK="&#xe971;",t.EXPAND_WIDE="&#xe972;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.EXTLINK_LIGHT="&#xe978;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.CONSUMER="&#xe97c;",t.OCTAGON_XMARK="&#xe97d;",t.HOURGLASS_HALF="&#xe97e;",t.CLOCK="&#xe97f;",t.CLOCK_THREE="&#xe97f;",t.CALENDAR_DAY="&#xe980;",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",t.WAND_MAGIC_SPARKLES="&#xe982;",t.PAPER_PLANE="&#xe983;",t.CIRCLE_STOP="&#xe984;",t.ARROW_ROTATE_RIGHT="&#xe985;",t.ARROWS_ROTATE="&#xe986;",t.ALIGN_RIGHT="&#xe987;",t.FORMAT_CLEAR="&#xe988;",t.ALIGN_CENTER="&#xe989;",t.ALIGN_LEFT="&#xe98a;",t.PALETTE="&#xe98b;",t.BOLD="&#xe98c;",t.ITALIC="&#xe98d;",t.UNDERLINE="&#xe98e;",t.STRIKETHROUGH="&#xe98f;",t.LINK_SIMPLE_SLASH="&#xe990;",t.LINK_SIMPLE="&#xe991;",t.ROUTE="&#xe992;",t.CIRCLE_USER_SLASH="&#xe993;",t.CIRCLE_USER_CHECK="&#xe994;",t.LIST_MAGNIFYING_GLASS="&#xe995;",t.MEDAL="&#xe996;",t.THUMBS_UP_THUMBS_DOWN_SOLID="&#xe997;",t.ARROW_TURN_DOWN_RIGHT="&#xe998;",t.FLASK="&#xe999;",t.LOCK_KEYHOLE_OPEN_SOLID="&#xe99a;",t.HOURGLASS_END="&#xe99b;",t.CIRCLE_QUESTION="&#xe99c;",t.GRIP_LINES_SOLID="&#xe99d;",t.TRANSLATE_SPARKLE_SOLID="&#xe99e;",t.CODE="&#xe99f;",t.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="&#xe9a0;",t.PAPER_PLANE_SLASH="&#xe9a1;",t.COMPRESS="&#xe9a2;",t.EXPAND="&#xe9a3;",t.ARROW_ROTATE_LEFT="&#xe9a4;",t.EYE="&#xf06e;",t.SHARE="&#xe80f1;",t.MOBILE_SMALL="&#xe9a5;",t.SPARKLES="&#xe9a6;",t.HAND_SOLID="&#xe9a7;",t.CLOCK_SOLID="&#xe9a8;",t.CONTEXT_MENU_CURSOR="&#xe9a9;",t.LANGUAGE_SLASH="&#xe9aa;",t.MAGNIFYING_GLASS_FLOPPY_DISK="&#xe9ab;",t.CABINET_FILING_FLOPPY_DISK="&#xe9ac;"})(At||(At={}));(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={}));ul=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])]),zv=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"]]);FA={[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 Ke,hl=p(()=>{"use strict";(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(Ke||(Ke={}))});var pn,so,Zf,Qf,un,he,ml=p(()=>{"use strict";pn=u(R()),so=u(W()),Zf=u(v()),Qf=u(ta());fl();Po();hl();un=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},he=class extends Zf.FtLitElement{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=pn.nothing}render(){let e=this.variant&&Object.values(Ke).includes(this.variant)?this.variant:Ke.fluid_topics,r=e!==Ke.material||!!this.value;return pn.html`
542
542
  <i class="ft-icon ft-icon--${e} ft-no-text-select" part="icon icon-${e}">
543
543
  ${(0,Qf.unsafeHTML)(this.resolvedIcon)}
544
544
  <slot ?hidden=${r}></slot>
545
545
  </i>
546
- `}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 Ge.file_format:this.resolvedIcon=(e=I[i.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:i;break;case Ge.material:this.resolvedIcon=this.value||pn.nothing;break;default:this.resolvedIcon=(r=At[i.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:i;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};he.elementDefinitions={};he.styles=Bu;un([(0,ao.property)()],he.prototype,"variant",void 0);un([(0,ao.property)()],he.prototype,"value",void 0);un([(0,ao.property)({reflect:!0,attribute:"aria-hidden"})],he.prototype,"ariaHidden",void 0);un([(0,ao.state)()],he.prototype,"resolvedIcon",void 0);un([(0,ao.query)("slot")],he.prototype,"slottedContent",void 0)});var Yf,jt=p(()=>{"use strict";Yf=f(v());ml();Po();hl();ml();fl();(0,Yf.customElement)("ft-icon")(he)});var Xf,Jf,zo,gl=p(()=>{"use strict";Xf=f(R()),Jf=f(v());en();zo=class extends Jf.FtLitElement{render(){return Xf.html`
546
+ `}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 Ke.file_format:this.resolvedIcon=(e=I[i.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:i;break;case Ke.material:this.resolvedIcon=this.value||pn.nothing;break;default:this.resolvedIcon=(r=At[i.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:i;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};he.elementDefinitions={};he.styles=Bu;un([(0,so.property)()],he.prototype,"variant",void 0);un([(0,so.property)()],he.prototype,"value",void 0);un([(0,so.property)({reflect:!0,attribute:"aria-hidden"})],he.prototype,"ariaHidden",void 0);un([(0,so.state)()],he.prototype,"resolvedIcon",void 0);un([(0,so.query)("slot")],he.prototype,"slottedContent",void 0)});var Yf,jt=p(()=>{"use strict";Yf=u(v());ml();Po();hl();ml();fl();(0,Yf.customElement)("ft-icon")(he)});var Xf,Jf,zo,gl=p(()=>{"use strict";Xf=u(R()),Jf=u(v());en();zo=class extends Jf.FtLitElement{render(){return Xf.html`
547
547
  <div class="ft-loader">
548
548
  <div></div>
549
549
  <div></div>
550
550
  <div></div>
551
551
  <div></div>
552
552
  </div>
553
- `}};zo.styles=_u});var eh=p(()=>{"use strict"});var th,rh=p(()=>{"use strict";th=f(v());gl();en();eh();gl();(0,th.customElement)("ft-loader")(zo)});var lo,so,yl,He,Xe,Ee,bl=p(()=>{"use strict";lo=f(v());ut();ea();_e();jt();rh();so=f(R()),yl=f(Ct()),He=f(W()),Xe=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Ee=class extends(0,lo.toFtFormComponent)(lo.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=so.html`
553
+ `}};zo.styles=_u});var eh=p(()=>{"use strict"});var th,rh=p(()=>{"use strict";th=u(v());gl();en();eh();gl();(0,th.customElement)("ft-loader")(zo)});var co,lo,yl,He,Xe,Ee,bl=p(()=>{"use strict";co=u(v());ut();ea();_e();jt();rh();lo=u(R()),yl=u(Ct()),He=u(W()),Xe=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Ee=class extends(0,co.toFtFormComponent)(co.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=lo.html`
554
554
  <ft-ripple part="ripple"
555
555
  ?disabled=${this.isDisabled()}
556
556
  ?activated=${this.activated}
@@ -558,12 +558,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
558
558
  <ft-typography part="label"
559
559
  variant=${this.typographyVariant}
560
560
  element="span"
561
- class="ft-button--label ${lo.isSafari?"ft-safari-ellipsis-fix":""}"
561
+ class="ft-button--label ${co.isSafari?"ft-safari-ellipsis-fix":""}"
562
562
  ?hidden=${!this.hasTextContent()}>
563
563
  <slot @slotchange=${this.onSlotchange}></slot>
564
564
  </ft-typography>
565
565
  ${this.resolveIcon()}
566
- `,a=this.href!=null&&this.href.trim().length>0?this.href:void 0;return this.addTooltipIfNeeded(a?so.html`
566
+ `,a=this.href!=null&&this.href.trim().length>0?this.href:void 0;return this.addTooltipIfNeeded(a?lo.html`
567
567
  <a href="${a}"
568
568
  target="${(e=this.target)!==null&&e!==void 0?e:"_self"}"
569
569
  part="button"
@@ -572,25 +572,25 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
572
572
  ?disabled=${this.isDisabled()}>
573
573
  ${n}
574
574
  </a>
575
- `:so.html`
575
+ `:lo.html`
576
576
  <button part="button"
577
577
  class="${(0,yl.classMap)(this.buttonClasses)}"
578
578
  aria-label="${(i=this.ariaLabel)!==null&&i!==void 0?i:this.getLabel()}"
579
579
  ?disabled=${this.isDisabled()}>
580
580
  ${n}
581
581
  </button>
582
- `)}addTooltipIfNeeded(e){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?so.html`
582
+ `)}addTooltipIfNeeded(e){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?lo.html`
583
583
  <ft-tooltip part="tooltip"
584
584
  text="${this.getLabel()}"
585
585
  position="${this.tooltipPosition}">
586
586
  ${e}
587
587
  </ft-tooltip>
588
- `:e}resolveIcon(){return this.loading?so.html`
589
- <ft-loader part="loader icon"></ft-loader> `:this.icon?so.html`
588
+ `:e}resolveIcon(){return this.loading?lo.html`
589
+ <ft-loader part="loader icon"></ft-loader> `:this.icon?lo.html`
590
590
  <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
591
- `:so.html`
591
+ `:lo.html`
592
592
  <slot part="icon" name="icon"></slot>
593
- `}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,lo.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};Ee.elementDefinitions={"ft-ripple":G,"ft-tooltip":we,"ft-typography":Z,"ft-icon":he,"ft-loader":zo};Xe([(0,He.property)()],Ee.prototype,"href",void 0);Xe([(0,He.property)()],Ee.prototype,"target",void 0);Xe([(0,He.property)()],Ee.prototype,"type",void 0);Xe([(0,He.property)({type:Boolean})],Ee.prototype,"disabled",void 0);Xe([(0,He.property)()],Ee.prototype,"label",void 0);Xe([(0,He.property)()],Ee.prototype,"icon",void 0);Xe([(0,He.property)()],Ee.prototype,"iconVariant",void 0);Xe([(0,He.property)({type:Boolean})],Ee.prototype,"trailingIcon",void 0);Xe([(0,He.property)({type:Boolean})],Ee.prototype,"loading",void 0);Xe([(0,He.property)({attribute:"aria-label"})],Ee.prototype,"ariaLabel",void 0);Xe([(0,He.property)()],Ee.prototype,"tooltipPosition",void 0);Xe([(0,He.property)({type:Boolean})],Ee.prototype,"hideTooltip",void 0);Xe([(0,He.property)({type:Boolean})],Ee.prototype,"forceTooltip",void 0);Xe([(0,He.property)({type:Boolean})],Ee.prototype,"activated",void 0);Xe([(0,He.query)(".ft-button")],Ee.prototype,"button",void 0);Xe([(0,He.query)(".ft-button--label slot")],Ee.prototype,"slottedContent",void 0);Xe([(0,He.query)("[part=tooltip]")],Ee.prototype,"tooltip",void 0)});var fn,oh,oa,Te,xl=p(()=>{"use strict";fn=f(W()),oh=f(v());_o();bl();oa=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Te=class extends Ee{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"}};Te.styles=[oh.safariEllipsisFix,zu];oa([(0,fn.property)({type:Boolean})],Te.prototype,"primary",void 0);oa([(0,fn.property)({type:Boolean})],Te.prototype,"outlined",void 0);oa([(0,fn.property)({type:Boolean})],Te.prototype,"dense",void 0);oa([(0,fn.property)({type:Boolean})],Te.prototype,"round",void 0)});var ih,E,vl,nh,Sl=p(()=>{"use strict";ih=f(R()),E=f(v());Br();en();Po();oe();vl={...m,iconOnlyScale:E.FtCssVariableFactory.create("--ft-button-icon-only-scale","","NUMBER","1")},nh=[ih.css`
593
+ `}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,co.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};Ee.elementDefinitions={"ft-ripple":G,"ft-tooltip":we,"ft-typography":Z,"ft-icon":he,"ft-loader":zo};Xe([(0,He.property)()],Ee.prototype,"href",void 0);Xe([(0,He.property)()],Ee.prototype,"target",void 0);Xe([(0,He.property)()],Ee.prototype,"type",void 0);Xe([(0,He.property)({type:Boolean})],Ee.prototype,"disabled",void 0);Xe([(0,He.property)()],Ee.prototype,"label",void 0);Xe([(0,He.property)()],Ee.prototype,"icon",void 0);Xe([(0,He.property)()],Ee.prototype,"iconVariant",void 0);Xe([(0,He.property)({type:Boolean})],Ee.prototype,"trailingIcon",void 0);Xe([(0,He.property)({type:Boolean})],Ee.prototype,"loading",void 0);Xe([(0,He.property)({attribute:"aria-label"})],Ee.prototype,"ariaLabel",void 0);Xe([(0,He.property)()],Ee.prototype,"tooltipPosition",void 0);Xe([(0,He.property)({type:Boolean})],Ee.prototype,"hideTooltip",void 0);Xe([(0,He.property)({type:Boolean})],Ee.prototype,"forceTooltip",void 0);Xe([(0,He.property)({type:Boolean})],Ee.prototype,"activated",void 0);Xe([(0,He.query)(".ft-button")],Ee.prototype,"button",void 0);Xe([(0,He.query)(".ft-button--label slot")],Ee.prototype,"slottedContent",void 0);Xe([(0,He.query)("[part=tooltip]")],Ee.prototype,"tooltip",void 0)});var fn,oh,oa,Te,xl=p(()=>{"use strict";fn=u(W()),oh=u(v());_o();bl();oa=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Te=class extends Ee{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"}};Te.styles=[oh.safariEllipsisFix,zu];oa([(0,fn.property)({type:Boolean})],Te.prototype,"primary",void 0);oa([(0,fn.property)({type:Boolean})],Te.prototype,"outlined",void 0);oa([(0,fn.property)({type:Boolean})],Te.prototype,"dense",void 0);oa([(0,fn.property)({type:Boolean})],Te.prototype,"round",void 0)});var ih,E,vl,nh,Sl=p(()=>{"use strict";ih=u(R()),E=u(v());Fr();en();Po();oe();vl={...m,iconOnlyScale:E.FtCssVariableFactory.create("--ft-button-icon-only-scale","","NUMBER","1")},nh=[ih.css`
594
594
  :host {
595
595
  display: inline-block;
596
596
  max-width: 100%;
@@ -1060,7 +1060,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1060
1060
  .ftds--size-small.ft-button--icon-only {
1061
1061
  width: ${m.smallIconOnlyWidth};
1062
1062
  }
1063
- `,E.noTextSelect]});var hn,na,ia,nr,Cl=p(()=>{"use strict";bl();hn=f(W());Ci();na=f(v());Sl();oe();jt();ia=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},nr=class extends(0,na.toFtdsBase)(Ee){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=to.brand,this.iconVariant=Ge.fluid_topics}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon,"ft-button--round":this.round,...this.getDesignSystemBaseClasses()}}get typographyVariant(){switch(this.size){case pt.large:return ft.body2medium;case pt.medium:return ft.caption1medium;case pt.small:return ft.caption2medium}}};nr.styles=[na.safariEllipsisFix,nh];ia([(0,hn.property)({type:Boolean})],nr.prototype,"primary",void 0);ia([(0,hn.property)({type:Boolean})],nr.prototype,"secondary",void 0);ia([(0,hn.property)({type:Boolean})],nr.prototype,"tertiary",void 0);ia([(0,hn.property)({type:Boolean})],nr.prototype,"round",void 0)});var ah=p(()=>{"use strict"});var sh=p(()=>{"use strict"});var Ol,Gt=p(()=>{"use strict";Ol=f(v());xl();Cl();xl();_o();ah();Cl();Sl();sh();(0,Ol.customElement)("ft-button")(Te);(0,Ol.customElement)("ftds-button")(nr)});var lh,ue,me,wl,mn=p(()=>{"use strict";lh=f(R()),ue=f(v());Gt();ea();me={height:ue.FtCssVariableFactory.create("--ft-search-input-height","","SIZE","38px"),borderRadius:ue.FtCssVariableFactory.extend("--ft-search-input-border-radius","",ue.designSystemVariables.borderRadiusS),desktopFiltersHeight:ue.FtCssVariableFactory.create("--ft-search-input-desktop-filters-height","","SIZE","350px"),floatingZIndex:ue.FtCssVariableFactory.create("--ft-search-input-floating-components-z-index","","NUMBER","3"),colorSurface:ue.FtCssVariableFactory.extend("--ft-search-input-background-color","",ue.designSystemVariables.colorSurface),colorOnSurface:ue.FtCssVariableFactory.extend("--ft-search-input-color","",ue.designSystemVariables.colorOnSurface),colorOnSurfaceMedium:ue.FtCssVariableFactory.extend("--ft-search-input-placeholder-color","",ue.designSystemVariables.colorOnSurfaceMedium),colorOutline:ue.FtCssVariableFactory.extend("--ft-search-input-outline-color","",ue.designSystemVariables.colorOutline),elevation02:ue.FtCssVariableFactory.extend("--ft-search-input-elevation","",ue.designSystemVariables.elevation02),focusOutlineColor:ue.FtCssVariableFactory.extend("--ft-search-input-focused-outline-color","",ue.designSystemVariables.colorPrimary),buttonColor:ue.FtCssVariableFactory.extend("--ft-search-input-button-color","",ue.designSystemVariables.colorPrimary),buttonRippleColor:ue.FtCssVariableFactory.extend("--ft-search-input-button-ripple-color","",ue.designSystemVariables.colorPrimary)},wl=lh.css`
1063
+ `,E.noTextSelect]});var hn,na,ia,lr,Cl=p(()=>{"use strict";bl();hn=u(W());Si();na=u(v());Sl();oe();jt();ia=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},lr=class extends(0,na.toFtdsBase)(Ee){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=ro.brand,this.iconVariant=Ke.fluid_topics}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon,"ft-button--round":this.round,...this.getDesignSystemBaseClasses()}}get typographyVariant(){switch(this.size){case pt.large:return ft.body2medium;case pt.medium:return ft.caption1medium;case pt.small:return ft.caption2medium}}};lr.styles=[na.safariEllipsisFix,nh];ia([(0,hn.property)({type:Boolean})],lr.prototype,"primary",void 0);ia([(0,hn.property)({type:Boolean})],lr.prototype,"secondary",void 0);ia([(0,hn.property)({type:Boolean})],lr.prototype,"tertiary",void 0);ia([(0,hn.property)({type:Boolean})],lr.prototype,"round",void 0)});var ah=p(()=>{"use strict"});var sh=p(()=>{"use strict"});var Ol,Gt=p(()=>{"use strict";Ol=u(v());xl();Cl();xl();_o();ah();Cl();Sl();sh();(0,Ol.customElement)("ft-button")(Te);(0,Ol.customElement)("ftds-button")(lr)});var lh,ue,me,wl,mn=p(()=>{"use strict";lh=u(R()),ue=u(v());Gt();ea();me={height:ue.FtCssVariableFactory.create("--ft-search-input-height","","SIZE","38px"),borderRadius:ue.FtCssVariableFactory.extend("--ft-search-input-border-radius","",ue.designSystemVariables.borderRadiusS),desktopFiltersHeight:ue.FtCssVariableFactory.create("--ft-search-input-desktop-filters-height","","SIZE","350px"),floatingZIndex:ue.FtCssVariableFactory.create("--ft-search-input-floating-components-z-index","","NUMBER","3"),colorSurface:ue.FtCssVariableFactory.extend("--ft-search-input-background-color","",ue.designSystemVariables.colorSurface),colorOnSurface:ue.FtCssVariableFactory.extend("--ft-search-input-color","",ue.designSystemVariables.colorOnSurface),colorOnSurfaceMedium:ue.FtCssVariableFactory.extend("--ft-search-input-placeholder-color","",ue.designSystemVariables.colorOnSurfaceMedium),colorOutline:ue.FtCssVariableFactory.extend("--ft-search-input-outline-color","",ue.designSystemVariables.colorOutline),elevation02:ue.FtCssVariableFactory.extend("--ft-search-input-elevation","",ue.designSystemVariables.elevation02),focusOutlineColor:ue.FtCssVariableFactory.extend("--ft-search-input-focused-outline-color","",ue.designSystemVariables.colorPrimary),buttonColor:ue.FtCssVariableFactory.extend("--ft-search-input-button-color","",ue.designSystemVariables.colorPrimary),buttonRippleColor:ue.FtCssVariableFactory.extend("--ft-search-input-button-ripple-color","",ue.designSystemVariables.colorPrimary)},wl=lh.css`
1064
1064
  * {
1065
1065
  box-sizing: border-box;
1066
1066
  ${(0,ue.setVariable)(j.color,me.buttonColor)};
@@ -1118,7 +1118,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1118
1118
  align-items: center;
1119
1119
  height: 100%;
1120
1120
 
1121
- ${(0,ue.setVariable)(vr.zIndex,`calc(${me.floatingZIndex} + 1)`)};
1121
+ ${(0,ue.setVariable)(Sr.zIndex,`calc(${me.floatingZIndex} + 1)`)};
1122
1122
  }
1123
1123
 
1124
1124
  .ft-search-input > ft-button,
@@ -1136,12 +1136,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1136
1136
  height: 20px;
1137
1137
  border-right: 1px solid ${me.colorOutline};
1138
1138
  }
1139
- `});var ch,dh,aa,El,sa=p(()=>{"use strict";ch=f(R()),dh=f(v()),aa={highlightBackgroundColor:dh.FtCssVariableFactory.create("--ft-sra-highlight-background-color","","COLOR","transparent")},El=ch.css`
1139
+ `});var ch,dh,aa,El,sa=p(()=>{"use strict";ch=u(R()),dh=u(v()),aa={highlightBackgroundColor:dh.FtCssVariableFactory.create("--ft-sra-highlight-background-color","","COLOR","transparent")},El=ch.css`
1140
1140
  .kwicmatch {
1141
1141
  font-weight: 700;
1142
1142
  background-color: ${aa.highlightBackgroundColor};
1143
1143
  }
1144
- `});var ph,uh,la,Al,ca=p(()=>{"use strict";ph=f(R()),uh=f(v()),la={highlightBackgroundColor:uh.FtCssVariableFactory.create("--ft-srt-highlight-background-color","","COLOR","transparent")},Al=ph.css`
1144
+ `});var ph,uh,la,Al,ca=p(()=>{"use strict";ph=u(R()),uh=u(v()),la={highlightBackgroundColor:uh.FtCssVariableFactory.create("--ft-srt-highlight-background-color","","COLOR","transparent")},Al=ph.css`
1145
1145
  .kwicmatch {
1146
1146
  font-weight: 700;
1147
1147
  background-color: ${la.highlightBackgroundColor};
@@ -1155,20 +1155,20 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1155
1155
  a:focus {
1156
1156
  outline: revert;
1157
1157
  }
1158
- `});var mh,gh,Il=p(()=>{"use strict";mh=f(R()),gh=mh.css`
1159
- `});var yh,bh,Ll=p(()=>{"use strict";yh=f(R()),bh=yh.css`
1160
- `});var da,Uv,Uo,Hv,$,ht=p(()=>{"use strict";da=f(v()),Uv="ft-app-info",Uo=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};Uo.eventName="authentication-change";Hv={session:(t,e)=>{(0,da.deepEqual)(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>$.dispatchEvent(new Uo(e.payload)),0))}},$=da.FtReduxStore.get({name:Uv,reducers:Hv,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,apiIntegrationAppVersion:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],availableContentLocales:[],defaultLocales:void 0,searchInAllLanguagesAllowed:!1,metadataConfiguration:void 0,privacyPolicyConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1,authenticationRequired:!1}})});var Ho,kl=p(()=>{"use strict";ht();Ho=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 pa,xh=p(()=>{"use strict";kl();pa=class{constructor(e){this.overrideApi=e}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:Ho.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Ho.await()}}});var $l,Rt,Wo=p(()=>{"use strict";$l=f(v());xh();Rt=class extends pa{constructor(e=!0,r){var i;super(r),this.sortObjectFields=(a,s)=>typeof s!="object"||s==null||Array.isArray(s)?s:Object.fromEntries(Object.entries(s).sort(([l],[u])=>l.localeCompare(u)));let n=this.constructor;n.commonCache=(i=n.commonCache)!==null&&i!==void 0?i:new $l.CacheRegistry,this.cache=e?n.commonCache:new $l.CacheRegistry}clearCache(){this.cache.clearAll()}hash(e){return String(Array.from(JSON.stringify(e,this.sortObjectFields)).reduce((r,i)=>0|31*r+i.charCodeAt(0),0))}}});var ua,Tl=p(()=>{"use strict";ht();Wo();ua=class extends Rt{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 Pl,vh=p(()=>{"use strict";ht();Pl=class{addCommand(e,r=!1){$.commands.add(e,r)}consumeCommand(e){return $.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new Pl});var Kt,Sh,Ri,Wv,fa,Ii,ha,Ch=p(()=>{"use strict";ht();Kt=f(v());Wo();Ri=class extends CustomEvent{constructor(e){super("ft-i18n-context-loaded",{detail:e})}},Wv=Symbol("clearAfterUnitTest"),fa=class extends(0,Kt.withEventBus)(Rt){constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Sh]=()=>{this.defaultMessages={},this.cache=new Kt.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,Kt.deepEqual)(this.defaultMessages[e],n)||(this.defaultMessages[e]=n,await this.notify(e))}return this.fetchContext(e)}resolveContext(e){var r,i;return this.fetchContext(e),(i=(r=this.cache.getNow(e))===null||r===void 0?void 0:r.messages)!==null&&i!==void 0?i:{}}resolveRawMessage(e,r){let i=e.toLowerCase();return this.resolveContext(i)[r]}resolveMessage(e,r,...i){var n;let a=e.toLowerCase(),s=this.resolveContext(a);return new Kt.ParametrizedLabelResolver((n=this.defaultMessages[a])!==null&&n!==void 0?n:{},s).resolve(r,...i)}async fetchContext(e){let r=!this.cache.has(e),i;try{i=await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),r&&await this.notify(e)}catch(n){!(n instanceof Kt.CanceledPromiseError)&&r&&console.error(n)}return i}subscribe(e,r){var i;return e=e.toLowerCase(),this.listeners[e]=(i=this.listeners[e])!==null&&i!==void 0?i:new Set,this.listeners[e].add(r),()=>{var n;return(n=this.listeners[e])===null||n===void 0?void 0:n.delete(r)}}async notifyAll(){let e=Object.keys(this.listeners);document.body.dispatchEvent(new Ri({loadedContexts:e})),this.dispatchEvent(new Ri({loadedContexts:e})),await Promise.all(e.map(r=>this.notify(r,!1)))}async notify(e,r=!0){r&&(document.body.dispatchEvent(new Ri({loadedContexts:[e]})),this.dispatchEvent(new Ri({loadedContexts:[e]}))),this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(i=>(0,Kt.delay)(0).then(()=>i()).catch(()=>null)))}};Sh=Wv;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends fa{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends fa{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});Ii=window.FluidTopicsI18nService,ha=window.FluidTopicsCustomI18nService});var Oh,_l,wh=p(()=>{"use strict";Oh=f(v()),_l=class{highlightHtml(e,r,i){(0,Oh.highlightHtml)(e,r,i)}};window.FluidTopicsHighlightHtmlService=new _l});var Ah=ko((co,Eh)=>{var ma=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,ga=function(){function t(){this.fetch=!1,this.DOMException=ma.DOMException}return t.prototype=ma,new t}();(function(t){var e=function(r){var i=typeof t<"u"&&t||typeof self<"u"&&self||typeof global<"u"&&global||{},n={searchParams:"URLSearchParams"in i,iterable:"Symbol"in i&&"iterator"in Symbol,blob:"FileReader"in i&&"Blob"in i&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in i,arrayBuffer:"ArrayBuffer"in i};function a(b){return b&&DataView.prototype.isPrototypeOf(b)}if(n.arrayBuffer)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(b){return b&&s.indexOf(Object.prototype.toString.call(b))>-1};function u(b){if(typeof b!="string"&&(b=String(b)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(b)||b==="")throw new TypeError('Invalid character in header field name: "'+b+'"');return b.toLowerCase()}function h(b){return typeof b!="string"&&(b=String(b)),b}function g(b){var C={next:function(){var F=b.shift();return{done:F===void 0,value:F}}};return n.iterable&&(C[Symbol.iterator]=function(){return C}),C}function y(b){this.map={},b instanceof y?b.forEach(function(C,F){this.append(F,C)},this):Array.isArray(b)?b.forEach(function(C){if(C.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+C.length);this.append(C[0],C[1])},this):b&&Object.getOwnPropertyNames(b).forEach(function(C){this.append(C,b[C])},this)}y.prototype.append=function(b,C){b=u(b),C=h(C);var F=this.map[b];this.map[b]=F?F+", "+C:C},y.prototype.delete=function(b){delete this.map[u(b)]},y.prototype.get=function(b){return b=u(b),this.has(b)?this.map[b]:null},y.prototype.has=function(b){return this.map.hasOwnProperty(u(b))},y.prototype.set=function(b,C){this.map[u(b)]=h(C)},y.prototype.forEach=function(b,C){for(var F in this.map)this.map.hasOwnProperty(F)&&b.call(C,this.map[F],F,this)},y.prototype.keys=function(){var b=[];return this.forEach(function(C,F){b.push(F)}),g(b)},y.prototype.values=function(){var b=[];return this.forEach(function(C){b.push(C)}),g(b)},y.prototype.entries=function(){var b=[];return this.forEach(function(C,F){b.push([F,C])}),g(b)},n.iterable&&(y.prototype[Symbol.iterator]=y.prototype.entries);function x(b){if(!b._noBody){if(b.bodyUsed)return Promise.reject(new TypeError("Already read"));b.bodyUsed=!0}}function w(b){return new Promise(function(C,F){b.onload=function(){C(b.result)},b.onerror=function(){F(b.error)}})}function O(b){var C=new FileReader,F=w(C);return C.readAsArrayBuffer(b),F}function A(b){var C=new FileReader,F=w(C),fe=/charset=([A-Za-z0-9_-]+)/.exec(b.type),ke=fe?fe[1]:"utf-8";return C.readAsText(b,ke),F}function _(b){for(var C=new Uint8Array(b),F=new Array(C.length),fe=0;fe<C.length;fe++)F[fe]=String.fromCharCode(C[fe]);return F.join("")}function T(b){if(b.slice)return b.slice(0);var C=new Uint8Array(b.byteLength);return C.set(new Uint8Array(b)),C.buffer}function P(){return this.bodyUsed=!1,this._initBody=function(b){this.bodyUsed=this.bodyUsed,this._bodyInit=b,b?typeof b=="string"?this._bodyText=b:n.blob&&Blob.prototype.isPrototypeOf(b)?this._bodyBlob=b:n.formData&&FormData.prototype.isPrototypeOf(b)?this._bodyFormData=b:n.searchParams&&URLSearchParams.prototype.isPrototypeOf(b)?this._bodyText=b.toString():n.arrayBuffer&&n.blob&&a(b)?(this._bodyArrayBuffer=T(b.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(b)||l(b))?this._bodyArrayBuffer=T(b):this._bodyText=b=Object.prototype.toString.call(b):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof b=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n.searchParams&&URLSearchParams.prototype.isPrototypeOf(b)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n.blob&&(this.blob=function(){var b=x(this);if(b)return b;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var b=x(this);return b||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(n.blob)return this.blob().then(O);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var b=x(this);if(b)return b;if(this._bodyBlob)return A(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(_(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},n.formData&&(this.formData=function(){return this.text().then(St)}),this.json=function(){return this.text().then(JSON.parse)},this}var H=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function te(b){var C=b.toUpperCase();return H.indexOf(C)>-1?C:b}function ie(b,C){if(!(this instanceof ie))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');C=C||{};var F=C.body;if(b instanceof ie){if(b.bodyUsed)throw new TypeError("Already read");this.url=b.url,this.credentials=b.credentials,C.headers||(this.headers=new y(b.headers)),this.method=b.method,this.mode=b.mode,this.signal=b.signal,!F&&b._bodyInit!=null&&(F=b._bodyInit,b.bodyUsed=!0)}else this.url=String(b);if(this.credentials=C.credentials||this.credentials||"same-origin",(C.headers||!this.headers)&&(this.headers=new y(C.headers)),this.method=te(C.method||this.method||"GET"),this.mode=C.mode||this.mode||null,this.signal=C.signal||this.signal||function(){if("AbortController"in i){var ne=new AbortController;return ne.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&F)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(F),(this.method==="GET"||this.method==="HEAD")&&(C.cache==="no-store"||C.cache==="no-cache")){var fe=/([?&])_=[^&]*/;if(fe.test(this.url))this.url=this.url.replace(fe,"$1_="+new Date().getTime());else{var ke=/\?/;this.url+=(ke.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}ie.prototype.clone=function(){return new ie(this,{body:this._bodyInit})};function St(b){var C=new FormData;return b.trim().split("&").forEach(function(F){if(F){var fe=F.split("="),ke=fe.shift().replace(/\+/g," "),ne=fe.join("=").replace(/\+/g," ");C.append(decodeURIComponent(ke),decodeURIComponent(ne))}}),C}function mr(b){var C=new y,F=b.replace(/\r?\n[\t ]+/g," ");return F.split("\r").map(function(fe){return fe.indexOf(`
1161
- `)===0?fe.substr(1,fe.length):fe}).forEach(function(fe){var ke=fe.split(":"),ne=ke.shift().trim();if(ne){var Hn=ke.join(":").trim();try{C.append(ne,Hn)}catch(Ps){console.warn("Response "+Ps.message)}}}),C}P.call(ie.prototype);function dt(b,C){if(!(this instanceof dt))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(C||(C={}),this.type="default",this.status=C.status===void 0?200:C.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=C.statusText===void 0?"":""+C.statusText,this.headers=new y(C.headers),this.url=C.url||"",this._initBody(b)}P.call(dt.prototype),dt.prototype.clone=function(){return new dt(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new y(this.headers),url:this.url})},dt.error=function(){var b=new dt(null,{status:200,statusText:""});return b.ok=!1,b.status=0,b.type="error",b};var gr=[301,302,303,307,308];dt.redirect=function(b,C){if(gr.indexOf(C)===-1)throw new RangeError("Invalid status code");return new dt(null,{status:C,headers:{location:b}})},r.DOMException=i.DOMException;try{new r.DOMException}catch{r.DOMException=function(C,F){this.message=C,this.name=F;var fe=Error(C);this.stack=fe.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function Ze(b,C){return new Promise(function(F,fe){var ke=new ie(b,C);if(ke.signal&&ke.signal.aborted)return fe(new r.DOMException("Aborted","AbortError"));var ne=new XMLHttpRequest;function Hn(){ne.abort()}ne.onload=function(){var Qe={statusText:ne.statusText,headers:mr(ne.getAllResponseHeaders()||"")};ke.url.indexOf("file://")===0&&(ne.status<200||ne.status>599)?Qe.status=200:Qe.status=ne.status,Qe.url="responseURL"in ne?ne.responseURL:Qe.headers.get("X-Request-URL");var Lo="response"in ne?ne.response:ne.responseText;setTimeout(function(){F(new dt(Lo,Qe))},0)},ne.onerror=function(){setTimeout(function(){fe(new TypeError("Network request failed"))},0)},ne.ontimeout=function(){setTimeout(function(){fe(new TypeError("Network request timed out"))},0)},ne.onabort=function(){setTimeout(function(){fe(new r.DOMException("Aborted","AbortError"))},0)};function Ps(Qe){try{return Qe===""&&i.location.href?i.location.href:Qe}catch{return Qe}}if(ne.open(ke.method,Ps(ke.url),!0),ke.credentials==="include"?ne.withCredentials=!0:ke.credentials==="omit"&&(ne.withCredentials=!1),"responseType"in ne&&(n.blob?ne.responseType="blob":n.arrayBuffer&&(ne.responseType="arraybuffer")),C&&typeof C.headers=="object"&&!(C.headers instanceof y||i.Headers&&C.headers instanceof i.Headers)){var rp=[];Object.getOwnPropertyNames(C.headers).forEach(function(Qe){rp.push(u(Qe)),ne.setRequestHeader(Qe,h(C.headers[Qe]))}),ke.headers.forEach(function(Qe,Lo){rp.indexOf(Lo)===-1&&ne.setRequestHeader(Lo,Qe)})}else ke.headers.forEach(function(Qe,Lo){ne.setRequestHeader(Lo,Qe)});ke.signal&&(ke.signal.addEventListener("abort",Hn),ne.onreadystatechange=function(){ne.readyState===4&&ke.signal.removeEventListener("abort",Hn)}),ne.send(typeof ke._bodyInit>"u"?null:ke._bodyInit)})}return Ze.polyfill=!0,i.fetch||(i.fetch=Ze,i.Headers=y,i.Request=ie,i.Response=dt),r.Headers=y,r.Request=ie,r.Response=dt,r.fetch=Ze,r}({})})(ga);ga.fetch.ponyfill=!0;delete ga.fetch.polyfill;var Li=ma.fetch?ma:ga;co=Li.fetch;co.default=Li.fetch;co.fetch=Li.fetch;co.Headers=Li.Headers;co.Request=Li.Request;co.Response=Li.Response;Eh.exports=co});var Nl=p(()=>{});var Rh,Ih,Lh,ki,kh,$h,Vo,Th,Ph,_h,Nh,Bh,Fh,Dh,Mh,zh,$i,Uh,ya,Hh,Wh,qt,Ti,Vh,We,jo,Bl=p(()=>{(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(Rh||(Rh={}));(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(Ih||(Ih={}));(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.ATTACHMENT="ATTACHMENT",t.RESOURCE="RESOURCE"})(Lh||(Lh={}));(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.ATTACHMENT="ATTACHMENT",t.RESOURCE="RESOURCE"})(ki||(ki={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(kh||(kh={}));(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})($h||($h={}));(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.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",t.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",t.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",t.DOCUMENT__PRINT="DOCUMENT__PRINT",t.DOCUMENT__PROCESS="DOCUMENT__PROCESS",t.DOCUMENT__RATE="DOCUMENT__RATE",t.DOCUMENT__SEARCH="DOCUMENT__SEARCH",t.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",t.DOCUMENT__UNRATE="DOCUMENT__UNRATE",t.FEEDBACK__SEND="FEEDBACK__SEND",t.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",t.AI__RATE="AI__RATE",t.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",t.AI_CASE_DEFLECTION__OPEN_TICKET="AI_CASE_DEFLECTION__OPEN_TICKET",t.KHUB__PROCESS="KHUB__PROCESS",t.KHUB__SEARCH="KHUB__SEARCH",t.LABELS__DOWNLOAD="LABELS__DOWNLOAD",t.LINK__SHARE="LINK__SHARE",t.PAGE__DISPLAY="PAGE__DISPLAY",t.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",t.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",t.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",t.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",t.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",t.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",t.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",t.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",t.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",t.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",t.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",t.TOPIC__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"})(Vo||(Vo={}));(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"})(Th||(Th={}));(function(t){t.HOMEPAGE="HOMEPAGE",t.CUSTOM="CUSTOM",t.HEADER="HEADER",t.READER="READER",t.TOPIC_TEMPLATE="TOPIC_TEMPLATE",t.SEARCH="SEARCH",t.SEARCH_RESULT="SEARCH_RESULT",t.SEARCH_ANNOUNCEMENT="SEARCH_ANNOUNCEMENT"})(Ph||(Ph={}));(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(_h||(_h={}));(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(Nh||(Nh={}));(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(Bh||(Bh={}));(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(Fh||(Fh={}));(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"})(Dh||(Dh={}));(function(t){t.ASC="ASC",t.DESC="DESC"})(Mh||(Mh={}));(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(zh||(zh={}));(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})($i||($i={}));(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Uh||(Uh={}));(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(ya||(ya={}));(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Hh||(Hh={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Wh||(Wh={}));(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(qt||(qt={}));(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(Ti||(Ti={}));(function(t){t.PLAIN_TEXT="PLAIN_TEXT",t.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",t.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(Vh||(Vh={}));(function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN"})(We||(We={}));(function(t){t.SEARCHES="SEARCHES",t.BOOKMARKS="BOOKMARKS",t.BOOKS="BOOKS",t.COLLECTIONS="COLLECTIONS"})(jo||(jo={}))});var jh,Gh,Kh,qh=p(()=>{(function(t){t.VALID="VALID",t.INVALID="INVALID"})(jh||(jh={}));(function(t){t.JSON="JSON",t.TEXT="TEXT"})(Gh||(Gh={}));(function(t){t.TEXT="TEXT",t.HTML="HTML"})(Kh||(Kh={}))});function Zh(t,e){return t===e||(Vv[t]??[]).some(r=>Zh(r,e))}function Qh(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=>Zh(i,e))}var Vv,Yh=p(()=>{Bl();Vv={[We.PERSONAL_BOOK_SHARE_USER]:[We.PERSONAL_BOOK_USER],[We.HTML_EXPORT_USER]:[We.PERSONAL_BOOK_USER],[We.PDF_EXPORT_USER]:[We.PERSONAL_BOOK_USER],[We.KHUB_ADMIN]:[We.CONTENT_PUBLISHER],[We.ADMIN]:[We.KHUB_ADMIN,We.USERS_ADMIN,We.PORTAL_ADMIN],[We.GENERATIVE_AI_EXPORT_USER]:[We.GENERATIVE_AI_USER]}});var Xh=p(()=>{});var jv,Go=p(()=>{jv=f(Ah(),1);Nl();Bl();qh();Yh();Xh();Nl()});var ba,Fl=p(()=>{"use strict";ht();Go();Wo();ba=class extends Rt{async listMySearches(){let{session:e}=$.getState();return Qh(e,We.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}}});var Jh,Dl,em=p(()=>{"use strict";Jh=f(v());ht();Dl=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(l=>l.key===e))===null||n===void 0?void 0:n.date)!==null&&a!==void 0?a:!1}format(e,r){var i,n,a;return Jh.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 Dl});var tm,Vr,Ml=p(()=>{"use strict";tm=f(v());ht();Vr=class{static get(e,r){var i,n;let a=$.getState(),{lang:s,region:l}=(n=(i=a.defaultLocales)===null||i===void 0?void 0:i.defaultContentLocale)!==null&&n!==void 0?n:{lang:"en",region:"US"};return new tm.SearchPlaceConverter(a.baseUrl,e??20,a.searchInAllLanguagesAllowed,r??`${s}-${l}`)}}});var xa,rm=p(()=>{"use strict";Wo();xa=class extends Rt{async sendDocumentStartDisplayEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send document.start_display event")}async sendTopicStartDisplayEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send topic.start_display event")}async sendKhubSearchEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send khub.search event")}async sendDocumentSearchEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send document.search event")}async sendSearchPageSelectEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send search_page.select event")}async sendSearchResultOpenContextMenuEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send search_result.open_context_menu event")}sortEventArrays(e){let r=Object.entries(e).map(([i,n])=>Array.isArray(n)?[i,n.map(a=>typeof a=="object"&&a!=null&&!Array.isArray(a)?this.sortEventArrays(a):a).sort((a,s)=>typeof a=="object"&&a!==null&&"key"in a?a.key.localeCompare(s.key):typeof a=="string"&&typeof s=="string"?a.localeCompare(s):String(a).localeCompare(String(s)))]:typeof n=="object"&&n!==null?[i,this.sortEventArrays(n)]:[i,n]);return Object.fromEntries(r)}sendEvents(e,r){let i="anything not undefined";return this.cache.get("analytics-event-"+this.hash(e),async()=>(await this.awaitApi).sendEvents(e).then(()=>i).catch(n=>(console.info(r),console.debug(n),i)),1e3)}}});var zl,om=p(()=>{"use strict";Ml();zl=class{urlToSearchRequest(e){return Vr.get().parse(e)}searchRequestToUrl(e){return Vr.get().serialize(e)}};window.FluidTopicsUrlService=new zl});var Ko,im=p(()=>{"use strict";Ko=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:{currentItem:e}})}};Ko.eventName="change"});var Ul,nm,am=p(()=>{"use strict";Ul=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))}},nm=new Ul});var po,va,sm=p(()=>{"use strict";po=f(v());im();am();va=class t extends po.WithEventBus{static build(){return new t(window.history,nm,()=>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,po.deepEqual)(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new Ko(this.currentItem())),0)}installProxies(){let e=r=>(i,n,[a,s,l])=>{let u=r(),h={...u===this.currentIndex?this.currentState:void 0,...a,index:u,href:typeof l=="string"?l:(l??this.windowLocation()).href};i.apply(n,[h,s,l]),this.setCurrentState(h,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:e(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:e(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",e=>this.setCurrentState(e.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(e){for(let r=this.history.length-1;r>=0;r--)e?this.states[r]=this.historyStorage.get(r):setTimeout(()=>this.states[r]=this.historyStorage.get(r),this.history.length-r)}updateCurrentState(e){var r;let i={...this.buildCurrentState(),...e,index:this.currentIndex,title:(r=e?.title)!==null&&r!==void 0?r:this.currentState.title};this.setCurrentState(i)}addHistoryChangeListener(e){this.addEventListener(Ko.eventName,e)}removeHistoryChangeListener(e){this.removeEventListener(Ko.eventName,e)}currentItem(){return(0,po.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,po.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,po.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 lm=p(()=>{"use strict";sm();window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=va.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 cm=p(()=>{"use strict";ht()});var Hl=p(()=>{"use strict";Tl();kl();vh();Ch();Wo();wh();Fl();em();Ml();rm();om();lm();cm()});function pm(t,e){var r;return dm.getState().authenticationRequired&&!(!((r=dm.getState().session)===null||r===void 0)&&r.sessionAuthenticated)?Promise.resolve(e):t()}var dm,um=p(()=>{"use strict";ht();dm=$});var fm,Je,ar,Ve,ve,Wl=p(()=>{"use strict";fm=f(R()),Je=f(W()),ar=f(v());Ll();ht();Hl();um();Ve=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ve=class extends ar.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.apiIntegrationAppVersion="ft-integration-app-version",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>Ho.get(),this.authenticationRequired=!1,this.messageContexts=[],this.cache=new ar.CacheRegistry,this.cleanSessionDebouncer=new ar.Debouncer,this.reloadConfiguration=()=>{this.cache.clear("availableContentLocales"),this.updateAvailableContentLocales()}}render(){return fm.html`
1158
+ `});var mh,gh,Il=p(()=>{"use strict";mh=u(R()),gh=mh.css`
1159
+ `});var yh,bh,Ll=p(()=>{"use strict";yh=u(R()),bh=yh.css`
1160
+ `});var da,Uv,Uo,Hv,$,ht=p(()=>{"use strict";da=u(v()),Uv="ft-app-info",Uo=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};Uo.eventName="authentication-change";Hv={session:(t,e)=>{(0,da.deepEqual)(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>$.dispatchEvent(new Uo(e.payload)),0))}},$=da.FtReduxStore.get({name:Uv,reducers:Hv,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,apiIntegrationAppVersion:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],availableContentLocales:[],defaultLocales:void 0,searchInAllLanguagesAllowed:!1,metadataConfiguration:void 0,privacyPolicyConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1,authenticationRequired:!1}})});var Ho,kl=p(()=>{"use strict";ht();Ho=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 pa,xh=p(()=>{"use strict";kl();pa=class{constructor(e){this.overrideApi=e}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:Ho.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Ho.await()}}});var $l,Rt,Wo=p(()=>{"use strict";$l=u(v());xh();Rt=class extends pa{constructor(e=!0,r){var i;super(r),this.sortObjectFields=(a,s)=>typeof s!="object"||s==null||Array.isArray(s)?s:Object.fromEntries(Object.entries(s).sort(([l],[f])=>l.localeCompare(f)));let n=this.constructor;n.commonCache=(i=n.commonCache)!==null&&i!==void 0?i:new $l.CacheRegistry,this.cache=e?n.commonCache:new $l.CacheRegistry}clearCache(){this.cache.clearAll()}hash(e){return String(Array.from(JSON.stringify(e,this.sortObjectFields)).reduce((r,i)=>0|31*r+i.charCodeAt(0),0))}}});var ua,Tl=p(()=>{"use strict";ht();Wo();ua=class extends Rt{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 Pl,vh=p(()=>{"use strict";ht();Pl=class{addCommand(e,r=!1){$.commands.add(e,r)}consumeCommand(e){return $.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new Pl});var Kt,Sh,Ai,Wv,fa,Ri,ha,Ch=p(()=>{"use strict";ht();Kt=u(v());Wo();Ai=class extends CustomEvent{constructor(e){super("ft-i18n-context-loaded",{detail:e})}},Wv=Symbol("clearAfterUnitTest"),fa=class extends(0,Kt.withEventBus)(Rt){constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Sh]=()=>{this.defaultMessages={},this.cache=new Kt.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,Kt.deepEqual)(this.defaultMessages[e],n)||(this.defaultMessages[e]=n,await this.notify(e))}return this.fetchContext(e)}resolveContext(e){var r,i;return this.fetchContext(e),(i=(r=this.cache.getNow(e))===null||r===void 0?void 0:r.messages)!==null&&i!==void 0?i:{}}resolveRawMessage(e,r){let i=e.toLowerCase();return this.resolveContext(i)[r]}resolveMessage(e,r,...i){var n;let a=e.toLowerCase(),s=this.resolveContext(a);return new Kt.ParametrizedLabelResolver((n=this.defaultMessages[a])!==null&&n!==void 0?n:{},s).resolve(r,...i)}async fetchContext(e){let r=!this.cache.has(e),i;try{i=await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),r&&await this.notify(e)}catch(n){!(n instanceof Kt.CanceledPromiseError)&&r&&console.error(n)}return i}subscribe(e,r){var i;return e=e.toLowerCase(),this.listeners[e]=(i=this.listeners[e])!==null&&i!==void 0?i:new Set,this.listeners[e].add(r),()=>{var n;return(n=this.listeners[e])===null||n===void 0?void 0:n.delete(r)}}async notifyAll(){let e=Object.keys(this.listeners);document.body.dispatchEvent(new Ai({loadedContexts:e})),this.dispatchEvent(new Ai({loadedContexts:e})),await Promise.all(e.map(r=>this.notify(r,!1)))}async notify(e,r=!0){r&&(document.body.dispatchEvent(new Ai({loadedContexts:[e]})),this.dispatchEvent(new Ai({loadedContexts:[e]}))),this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(i=>(0,Kt.delay)(0).then(()=>i()).catch(()=>null)))}};Sh=Wv;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends fa{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends fa{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});Ri=window.FluidTopicsI18nService,ha=window.FluidTopicsCustomI18nService});var Oh,_l,wh=p(()=>{"use strict";Oh=u(v()),_l=class{highlightHtml(e,r,i){(0,Oh.highlightHtml)(e,r,i)}};window.FluidTopicsHighlightHtmlService=new _l});var Ah=ko((po,Eh)=>{var ma=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,ga=function(){function t(){this.fetch=!1,this.DOMException=ma.DOMException}return t.prototype=ma,new t}();(function(t){var e=function(r){var i=typeof t<"u"&&t||typeof self<"u"&&self||typeof global<"u"&&global||{},n={searchParams:"URLSearchParams"in i,iterable:"Symbol"in i&&"iterator"in Symbol,blob:"FileReader"in i&&"Blob"in i&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in i,arrayBuffer:"ArrayBuffer"in i};function a(b){return b&&DataView.prototype.isPrototypeOf(b)}if(n.arrayBuffer)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(b){return b&&s.indexOf(Object.prototype.toString.call(b))>-1};function f(b){if(typeof b!="string"&&(b=String(b)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(b)||b==="")throw new TypeError('Invalid character in header field name: "'+b+'"');return b.toLowerCase()}function h(b){return typeof b!="string"&&(b=String(b)),b}function g(b){var C={next:function(){var F=b.shift();return{done:F===void 0,value:F}}};return n.iterable&&(C[Symbol.iterator]=function(){return C}),C}function y(b){this.map={},b instanceof y?b.forEach(function(C,F){this.append(F,C)},this):Array.isArray(b)?b.forEach(function(C){if(C.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+C.length);this.append(C[0],C[1])},this):b&&Object.getOwnPropertyNames(b).forEach(function(C){this.append(C,b[C])},this)}y.prototype.append=function(b,C){b=f(b),C=h(C);var F=this.map[b];this.map[b]=F?F+", "+C:C},y.prototype.delete=function(b){delete this.map[f(b)]},y.prototype.get=function(b){return b=f(b),this.has(b)?this.map[b]:null},y.prototype.has=function(b){return this.map.hasOwnProperty(f(b))},y.prototype.set=function(b,C){this.map[f(b)]=h(C)},y.prototype.forEach=function(b,C){for(var F in this.map)this.map.hasOwnProperty(F)&&b.call(C,this.map[F],F,this)},y.prototype.keys=function(){var b=[];return this.forEach(function(C,F){b.push(F)}),g(b)},y.prototype.values=function(){var b=[];return this.forEach(function(C){b.push(C)}),g(b)},y.prototype.entries=function(){var b=[];return this.forEach(function(C,F){b.push([F,C])}),g(b)},n.iterable&&(y.prototype[Symbol.iterator]=y.prototype.entries);function x(b){if(!b._noBody){if(b.bodyUsed)return Promise.reject(new TypeError("Already read"));b.bodyUsed=!0}}function w(b){return new Promise(function(C,F){b.onload=function(){C(b.result)},b.onerror=function(){F(b.error)}})}function O(b){var C=new FileReader,F=w(C);return C.readAsArrayBuffer(b),F}function A(b){var C=new FileReader,F=w(C),fe=/charset=([A-Za-z0-9_-]+)/.exec(b.type),ke=fe?fe[1]:"utf-8";return C.readAsText(b,ke),F}function _(b){for(var C=new Uint8Array(b),F=new Array(C.length),fe=0;fe<C.length;fe++)F[fe]=String.fromCharCode(C[fe]);return F.join("")}function T(b){if(b.slice)return b.slice(0);var C=new Uint8Array(b.byteLength);return C.set(new Uint8Array(b)),C.buffer}function P(){return this.bodyUsed=!1,this._initBody=function(b){this.bodyUsed=this.bodyUsed,this._bodyInit=b,b?typeof b=="string"?this._bodyText=b:n.blob&&Blob.prototype.isPrototypeOf(b)?this._bodyBlob=b:n.formData&&FormData.prototype.isPrototypeOf(b)?this._bodyFormData=b:n.searchParams&&URLSearchParams.prototype.isPrototypeOf(b)?this._bodyText=b.toString():n.arrayBuffer&&n.blob&&a(b)?(this._bodyArrayBuffer=T(b.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(b)||l(b))?this._bodyArrayBuffer=T(b):this._bodyText=b=Object.prototype.toString.call(b):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof b=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n.searchParams&&URLSearchParams.prototype.isPrototypeOf(b)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n.blob&&(this.blob=function(){var b=x(this);if(b)return b;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var b=x(this);return b||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(n.blob)return this.blob().then(O);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var b=x(this);if(b)return b;if(this._bodyBlob)return A(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(_(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},n.formData&&(this.formData=function(){return this.text().then(St)}),this.json=function(){return this.text().then(JSON.parse)},this}var H=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function te(b){var C=b.toUpperCase();return H.indexOf(C)>-1?C:b}function ie(b,C){if(!(this instanceof ie))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');C=C||{};var F=C.body;if(b instanceof ie){if(b.bodyUsed)throw new TypeError("Already read");this.url=b.url,this.credentials=b.credentials,C.headers||(this.headers=new y(b.headers)),this.method=b.method,this.mode=b.mode,this.signal=b.signal,!F&&b._bodyInit!=null&&(F=b._bodyInit,b.bodyUsed=!0)}else this.url=String(b);if(this.credentials=C.credentials||this.credentials||"same-origin",(C.headers||!this.headers)&&(this.headers=new y(C.headers)),this.method=te(C.method||this.method||"GET"),this.mode=C.mode||this.mode||null,this.signal=C.signal||this.signal||function(){if("AbortController"in i){var ne=new AbortController;return ne.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&F)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(F),(this.method==="GET"||this.method==="HEAD")&&(C.cache==="no-store"||C.cache==="no-cache")){var fe=/([?&])_=[^&]*/;if(fe.test(this.url))this.url=this.url.replace(fe,"$1_="+new Date().getTime());else{var ke=/\?/;this.url+=(ke.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}ie.prototype.clone=function(){return new ie(this,{body:this._bodyInit})};function St(b){var C=new FormData;return b.trim().split("&").forEach(function(F){if(F){var fe=F.split("="),ke=fe.shift().replace(/\+/g," "),ne=fe.join("=").replace(/\+/g," ");C.append(decodeURIComponent(ke),decodeURIComponent(ne))}}),C}function gr(b){var C=new y,F=b.replace(/\r?\n[\t ]+/g," ");return F.split("\r").map(function(fe){return fe.indexOf(`
1161
+ `)===0?fe.substr(1,fe.length):fe}).forEach(function(fe){var ke=fe.split(":"),ne=ke.shift().trim();if(ne){var Hn=ke.join(":").trim();try{C.append(ne,Hn)}catch(Ps){console.warn("Response "+Ps.message)}}}),C}P.call(ie.prototype);function dt(b,C){if(!(this instanceof dt))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(C||(C={}),this.type="default",this.status=C.status===void 0?200:C.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=C.statusText===void 0?"":""+C.statusText,this.headers=new y(C.headers),this.url=C.url||"",this._initBody(b)}P.call(dt.prototype),dt.prototype.clone=function(){return new dt(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new y(this.headers),url:this.url})},dt.error=function(){var b=new dt(null,{status:200,statusText:""});return b.ok=!1,b.status=0,b.type="error",b};var yr=[301,302,303,307,308];dt.redirect=function(b,C){if(yr.indexOf(C)===-1)throw new RangeError("Invalid status code");return new dt(null,{status:C,headers:{location:b}})},r.DOMException=i.DOMException;try{new r.DOMException}catch{r.DOMException=function(C,F){this.message=C,this.name=F;var fe=Error(C);this.stack=fe.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function Ze(b,C){return new Promise(function(F,fe){var ke=new ie(b,C);if(ke.signal&&ke.signal.aborted)return fe(new r.DOMException("Aborted","AbortError"));var ne=new XMLHttpRequest;function Hn(){ne.abort()}ne.onload=function(){var Qe={statusText:ne.statusText,headers:gr(ne.getAllResponseHeaders()||"")};ke.url.indexOf("file://")===0&&(ne.status<200||ne.status>599)?Qe.status=200:Qe.status=ne.status,Qe.url="responseURL"in ne?ne.responseURL:Qe.headers.get("X-Request-URL");var Lo="response"in ne?ne.response:ne.responseText;setTimeout(function(){F(new dt(Lo,Qe))},0)},ne.onerror=function(){setTimeout(function(){fe(new TypeError("Network request failed"))},0)},ne.ontimeout=function(){setTimeout(function(){fe(new TypeError("Network request timed out"))},0)},ne.onabort=function(){setTimeout(function(){fe(new r.DOMException("Aborted","AbortError"))},0)};function Ps(Qe){try{return Qe===""&&i.location.href?i.location.href:Qe}catch{return Qe}}if(ne.open(ke.method,Ps(ke.url),!0),ke.credentials==="include"?ne.withCredentials=!0:ke.credentials==="omit"&&(ne.withCredentials=!1),"responseType"in ne&&(n.blob?ne.responseType="blob":n.arrayBuffer&&(ne.responseType="arraybuffer")),C&&typeof C.headers=="object"&&!(C.headers instanceof y||i.Headers&&C.headers instanceof i.Headers)){var rp=[];Object.getOwnPropertyNames(C.headers).forEach(function(Qe){rp.push(f(Qe)),ne.setRequestHeader(Qe,h(C.headers[Qe]))}),ke.headers.forEach(function(Qe,Lo){rp.indexOf(Lo)===-1&&ne.setRequestHeader(Lo,Qe)})}else ke.headers.forEach(function(Qe,Lo){ne.setRequestHeader(Lo,Qe)});ke.signal&&(ke.signal.addEventListener("abort",Hn),ne.onreadystatechange=function(){ne.readyState===4&&ke.signal.removeEventListener("abort",Hn)}),ne.send(typeof ke._bodyInit>"u"?null:ke._bodyInit)})}return Ze.polyfill=!0,i.fetch||(i.fetch=Ze,i.Headers=y,i.Request=ie,i.Response=dt),r.Headers=y,r.Request=ie,r.Response=dt,r.fetch=Ze,r}({})})(ga);ga.fetch.ponyfill=!0;delete ga.fetch.polyfill;var Ii=ma.fetch?ma:ga;po=Ii.fetch;po.default=Ii.fetch;po.fetch=Ii.fetch;po.Headers=Ii.Headers;po.Request=Ii.Request;po.Response=Ii.Response;Eh.exports=po});var Nl=p(()=>{});var Rh,Ih,Lh,Li,kh,$h,Vo,Th,Ph,_h,Nh,Bh,Fh,Dh,Mh,zh,ki,Uh,ya,Hh,Wh,qt,$i,Vh,We,jo,Bl=p(()=>{(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(Rh||(Rh={}));(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(Ih||(Ih={}));(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.ATTACHMENT="ATTACHMENT",t.RESOURCE="RESOURCE"})(Lh||(Lh={}));(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.ATTACHMENT="ATTACHMENT",t.RESOURCE="RESOURCE"})(Li||(Li={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(kh||(kh={}));(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})($h||($h={}));(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.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",t.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",t.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",t.DOCUMENT__PRINT="DOCUMENT__PRINT",t.DOCUMENT__PROCESS="DOCUMENT__PROCESS",t.DOCUMENT__RATE="DOCUMENT__RATE",t.DOCUMENT__SEARCH="DOCUMENT__SEARCH",t.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",t.DOCUMENT__UNRATE="DOCUMENT__UNRATE",t.FEEDBACK__SEND="FEEDBACK__SEND",t.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",t.AI__RATE="AI__RATE",t.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",t.AI_CASE_DEFLECTION__OPEN_TICKET="AI_CASE_DEFLECTION__OPEN_TICKET",t.KHUB__PROCESS="KHUB__PROCESS",t.KHUB__SEARCH="KHUB__SEARCH",t.LABELS__DOWNLOAD="LABELS__DOWNLOAD",t.LINK__SHARE="LINK__SHARE",t.PAGE__DISPLAY="PAGE__DISPLAY",t.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",t.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",t.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",t.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",t.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",t.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",t.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",t.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",t.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",t.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",t.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",t.TOPIC__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"})(Vo||(Vo={}));(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"})(Th||(Th={}));(function(t){t.HOMEPAGE="HOMEPAGE",t.CUSTOM="CUSTOM",t.HEADER="HEADER",t.READER="READER",t.TOPIC_TEMPLATE="TOPIC_TEMPLATE",t.SEARCH="SEARCH",t.SEARCH_RESULT="SEARCH_RESULT",t.SEARCH_ANNOUNCEMENT="SEARCH_ANNOUNCEMENT"})(Ph||(Ph={}));(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(_h||(_h={}));(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(Nh||(Nh={}));(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(Bh||(Bh={}));(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(Fh||(Fh={}));(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"})(Dh||(Dh={}));(function(t){t.ASC="ASC",t.DESC="DESC"})(Mh||(Mh={}));(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(zh||(zh={}));(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(ki||(ki={}));(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Uh||(Uh={}));(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(ya||(ya={}));(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Hh||(Hh={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Wh||(Wh={}));(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(qt||(qt={}));(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})($i||($i={}));(function(t){t.PLAIN_TEXT="PLAIN_TEXT",t.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",t.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(Vh||(Vh={}));(function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN"})(We||(We={}));(function(t){t.SEARCHES="SEARCHES",t.BOOKMARKS="BOOKMARKS",t.BOOKS="BOOKS",t.COLLECTIONS="COLLECTIONS"})(jo||(jo={}))});var jh,Gh,Kh,qh=p(()=>{(function(t){t.VALID="VALID",t.INVALID="INVALID"})(jh||(jh={}));(function(t){t.JSON="JSON",t.TEXT="TEXT"})(Gh||(Gh={}));(function(t){t.TEXT="TEXT",t.HTML="HTML"})(Kh||(Kh={}))});function Zh(t,e){return t===e||(Vv[t]??[]).some(r=>Zh(r,e))}function Qh(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=>Zh(i,e))}var Vv,Yh=p(()=>{Bl();Vv={[We.PERSONAL_BOOK_SHARE_USER]:[We.PERSONAL_BOOK_USER],[We.HTML_EXPORT_USER]:[We.PERSONAL_BOOK_USER],[We.PDF_EXPORT_USER]:[We.PERSONAL_BOOK_USER],[We.KHUB_ADMIN]:[We.CONTENT_PUBLISHER],[We.ADMIN]:[We.KHUB_ADMIN,We.USERS_ADMIN,We.PORTAL_ADMIN],[We.GENERATIVE_AI_EXPORT_USER]:[We.GENERATIVE_AI_USER]}});var Xh=p(()=>{});var jv,Go=p(()=>{jv=u(Ah(),1);Nl();Bl();qh();Yh();Xh();Nl()});var ba,Fl=p(()=>{"use strict";ht();Go();Wo();ba=class extends Rt{async listMySearches(){let{session:e}=$.getState();return Qh(e,We.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}}});var Jh,Dl,em=p(()=>{"use strict";Jh=u(v());ht();Dl=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(l=>l.key===e))===null||n===void 0?void 0:n.date)!==null&&a!==void 0?a:!1}format(e,r){var i,n,a;return Jh.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 Dl});var tm,jr,Ml=p(()=>{"use strict";tm=u(v());ht();jr=class{static get(e,r){var i,n;let a=$.getState(),{lang:s,region:l}=(n=(i=a.defaultLocales)===null||i===void 0?void 0:i.defaultContentLocale)!==null&&n!==void 0?n:{lang:"en",region:"US"};return new tm.SearchPlaceConverter(a.baseUrl,e??20,a.searchInAllLanguagesAllowed,r??`${s}-${l}`)}}});var xa,rm=p(()=>{"use strict";Wo();xa=class extends Rt{async sendDocumentStartDisplayEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send document.start_display event")}async sendTopicStartDisplayEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send topic.start_display event")}async sendKhubSearchEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send khub.search event")}async sendDocumentSearchEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send document.search event")}async sendSearchPageSelectEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send search_page.select event")}async sendSearchResultOpenContextMenuEvent(e){return this.sendEvents([this.sortEventArrays(e)],"Failed to send search_result.open_context_menu event")}sortEventArrays(e){let r=Object.entries(e).map(([i,n])=>Array.isArray(n)?[i,n.map(a=>typeof a=="object"&&a!=null&&!Array.isArray(a)?this.sortEventArrays(a):a).sort((a,s)=>typeof a=="object"&&a!==null&&"key"in a?a.key.localeCompare(s.key):typeof a=="string"&&typeof s=="string"?a.localeCompare(s):String(a).localeCompare(String(s)))]:typeof n=="object"&&n!==null?[i,this.sortEventArrays(n)]:[i,n]);return Object.fromEntries(r)}sendEvents(e,r){let i="anything not undefined";return this.cache.get("analytics-event-"+this.hash(e),async()=>(await this.awaitApi).sendEvents(e).then(()=>i).catch(n=>(console.info(r),console.debug(n),i)),1e3)}}});var zl,om=p(()=>{"use strict";Ml();zl=class{urlToSearchRequest(e){return jr.get().parse(e)}searchRequestToUrl(e){return jr.get().serialize(e)}};window.FluidTopicsUrlService=new zl});var Ko,im=p(()=>{"use strict";Ko=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:{currentItem:e}})}};Ko.eventName="change"});var Ul,nm,am=p(()=>{"use strict";Ul=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))}},nm=new Ul});var uo,va,sm=p(()=>{"use strict";uo=u(v());im();am();va=class t extends uo.WithEventBus{static build(){return new t(window.history,nm,()=>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,uo.deepEqual)(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,window.location.href]),setTimeout(()=>this.dispatchEvent(new Ko(this.currentItem())),0)}installProxies(){let e=r=>(i,n,[a,s,l])=>{let f=r(),h={...f===this.currentIndex?this.currentState:void 0,...a,index:f,href:typeof l=="string"?l:(l??this.windowLocation()).href};i.apply(n,[h,s,l]),this.setCurrentState(h,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:e(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:e(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",e=>this.setCurrentState(e.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(e){for(let r=this.history.length-1;r>=0;r--)e?this.states[r]=this.historyStorage.get(r):setTimeout(()=>this.states[r]=this.historyStorage.get(r),this.history.length-r)}updateCurrentState(e){var r;let i={...this.buildCurrentState(),...e,index:this.currentIndex,title:(r=e?.title)!==null&&r!==void 0?r:this.currentState.title};this.setCurrentState(i)}addHistoryChangeListener(e){this.addEventListener(Ko.eventName,e)}removeHistoryChangeListener(e){this.removeEventListener(Ko.eventName,e)}currentItem(){return(0,uo.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,uo.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,uo.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 lm=p(()=>{"use strict";sm();window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=va.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 cm=p(()=>{"use strict";ht()});var Hl=p(()=>{"use strict";Tl();kl();vh();Ch();Wo();wh();Fl();em();Ml();rm();om();lm();cm()});function pm(t,e){var r;return dm.getState().authenticationRequired&&!(!((r=dm.getState().session)===null||r===void 0)&&r.sessionAuthenticated)?Promise.resolve(e):t()}var dm,um=p(()=>{"use strict";ht();dm=$});var fm,Je,cr,Ve,ve,Wl=p(()=>{"use strict";fm=u(R()),Je=u(W()),cr=u(v());Ll();ht();Hl();um();Ve=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ve=class extends cr.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.apiIntegrationAppVersion="ft-integration-app-version",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>Ho.get(),this.authenticationRequired=!1,this.messageContexts=[],this.cache=new cr.CacheRegistry,this.cleanSessionDebouncer=new cr.Debouncer,this.reloadConfiguration=()=>{this.cache.clear("availableContentLocales"),this.updateAvailableContentLocales()}}render(){return fm.html`
1162
1162
  <slot></slot>
1163
- `}connectedCallback(){super.connectedCallback(),$.addEventListener(Uo.eventName,this.reloadConfiguration)}disconnectedCallback(){$.addEventListener(Uo.eventName,this.reloadConfiguration),super.disconnectedCallback()}update(e){var r,i,n,a,s,l,u;super.update(e),e.has("baseUrl")&&($.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&$.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("apiIntegrationAppVersion")&&$.actions.apiIntegrationAppVersion(this.apiIntegrationAppVersion),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(h=>Ii.addContext(h)),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)),e.has("authenticationRequired")&&$.actions.authenticationRequired(this.authenticationRequired),e.has("availableContentLocales")&&$.actions.availableContentLocales((u=(l=this.availableContentLocales)===null||l===void 0?void 0:l.contentLocales)!==null&&u!==void 0?u:[]),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration(),this.availableContentLocales==null&&this.updateAvailableContentLocales())}async updateSession(){this.session=await this.cache.get("session",async()=>{let e=await this.apiProvider().getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},e.idleTimeoutInMillis),e})}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}async updateAvailableContentLocales(){this.availableContentLocales=await this.cache.get("availableContentLocales",()=>pm(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}))}};ve.elementDefinitions={};ve.styles=bh;Ve([(0,Je.property)()],ve.prototype,"baseUrl",void 0);Ve([(0,Je.property)()],ve.prototype,"apiIntegrationIdentifier",void 0);Ve([(0,Je.property)()],ve.prototype,"apiIntegrationAppVersion",void 0);Ve([(0,Je.property)()],ve.prototype,"uiLocale",void 0);Ve([(0,ar.jsonProperty)(null)],ve.prototype,"availableUiLocales",void 0);Ve([(0,ar.jsonProperty)(null)],ve.prototype,"metadataConfiguration",void 0);Ve([(0,Je.property)({type:Boolean})],ve.prototype,"editorMode",void 0);Ve([(0,Je.property)({type:Boolean})],ve.prototype,"noCustom",void 0);Ve([(0,Je.property)({type:Boolean})],ve.prototype,"openExternalDocumentInNewTab",void 0);Ve([(0,Je.property)({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],ve.prototype,"noCustomComponent",void 0);Ve([(0,Je.property)({type:Boolean})],ve.prototype,"withManualResources",void 0);Ve([(0,Je.property)({type:Boolean})],ve.prototype,"navigatorOnline",void 0);Ve([(0,Je.property)({type:Boolean})],ve.prototype,"forcedOffline",void 0);Ve([(0,Je.property)({type:Object})],ve.prototype,"apiProvider",void 0);Ve([(0,Je.property)({type:Boolean})],ve.prototype,"authenticationRequired",void 0);Ve([(0,ar.jsonProperty)([])],ve.prototype,"messageContexts",void 0);Ve([(0,ar.jsonProperty)(void 0)],ve.prototype,"session",void 0);Ve([(0,Je.state)()],ve.prototype,"localesConfiguration",void 0);Ve([(0,Je.state)()],ve.prototype,"availableContentLocales",void 0)});function Gv(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(!Sa(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(!Sa(i[1],e.get(i[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();let a=s=>Object.keys(s).filter(l=>s[l]!=null);if(n=a(t),r=n.length,r!==a(e).length)return!1;for(i=r;i--!==0;)if(!Object.prototype.hasOwnProperty.call(e,n[i]))return!1;for(i=r;i--!==0;){let s=n[i];if(!Sa(t[s],e[s]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function Sa(t,e){try{return Gv(t,e)}catch{return!1}}function Ca(t,e){return!Sa(t,e)}var Oa=p(()=>{"use strict"});var Kv,hm=p(()=>{"use strict";Oa();Kv=f(W(),1)});var wa,Vl=p(()=>{"use strict";wa=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 gm(t,e){let r=()=>JSON.parse(JSON.stringify(t));return(0,mm.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:Ca,...e??{}})}var mm,ym=p(()=>{"use strict";mm=f(W(),1);Oa()});var Ea,bm=p(()=>{"use strict";Ea=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,r){return this.callbacks=[e],this.debounce(r)}queue(e,r){return this.callbacks.push(e),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((r,i)=>{this.resolvePromise=r,this.rejectPromise=i})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let i=[...this.callbacks];this.callbacks=[];let n=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let s of i)try{await s()}catch(l){n(l);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}});var Aa,qv,yL,xm,vm=p(()=>{Aa=globalThis,qv=Aa.ShadowRoot&&(Aa.ShadyCSS===void 0||Aa.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,yL=Symbol(),xm=(t,e)=>{if(qv)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let i=document.createElement("style"),n=Aa.litNonce;n!==void 0&&i.setAttribute("nonce",n),i.textContent=r.cssText,t.appendChild(i)}}});var Sm,Ra,Cm=p(()=>{"use strict";Sm=f(R(),1);vm();Ra=class extends Sm.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 xm(i,e.elementStyles),i}}});function Om(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 wm=p(()=>{"use strict"});var Pi,gn,Im,Em,Am,Lm,Rm,jr,km=p(()=>{"use strict";Pi=f(W(),1);ym();bm();Cm();wm();gn=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Em=Symbol("constructorPrototype"),Am=Symbol("constructorName"),Lm=Symbol("exportpartsDebouncer"),Rm=Symbol("dynamicDependenciesLoaded"),jr=class extends Ra{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Im]=new Ea(5),this[Am]=this.constructor.name,this[Em]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Am]&&Object.setPrototypeOf(this,this[Em])}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[Rm]||(e[Rm]=!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=Om(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[Lm].run(()=>{var n,a;!((n=this.exportpartsPrefix)===null||n===void 0)&&n.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var r,i,n,a,s,l;let u=x=>x!=null&&x.trim().length>0,h=e.filter(u).map(x=>x.trim());if(h.length===0){this.removeAttribute("exportparts");return}let g=new Set;for(let x of(i=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&i!==void 0?i:[]){let w=(a=(n=x.getAttribute("part"))===null||n===void 0?void 0:n.split(" "))!==null&&a!==void 0?a:[],O=(l=(s=x.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(A=>A.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...w,...O).filter(u).map(A=>A.trim()).forEach(A=>g.add(A))}if(g.size===0){this.removeAttribute("exportparts");return}let y=[...g.values()].flatMap(x=>h.map(w=>`${x}:${w}--${x}`));this.setAttribute("exportparts",[...this.part,...y].join(", "))}};Im=Lm;gn([(0,Pi.property)()],jr.prototype,"exportpartsPrefix",void 0);gn([gm([])],jr.prototype,"exportpartsPrefixes",void 0);gn([(0,Pi.property)()],jr.prototype,"customStylesheet",void 0);gn([(0,Pi.property)()],jr.prototype,"elementToFocus",void 0);gn([(0,Pi.state)()],jr.prototype,"useAdoptedStyleSheets",void 0)});function Ia(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var La=p(()=>{"use strict"});function Zv(t){var e,r,i;class n extends t{constructor(){super(...arguments),this[e]=new Map,this[r]=new Map,this[i]=new Map}get reduxConstructor(){return this.constructor}willUpdate(s){super.willUpdate(s),[...this.reduxConstructor.reduxReactiveProperties].some(l=>s.has(l))&&this.updateFromStores()}getUnnamedStore(){if(this[qo].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[qo].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[qo].get(s)}addStore(s,l){var u;l=(u=l??s.name)!==null&&u!==void 0?u:"default-store",this.unsubscribeFromStore(l),this[qo].set(l,s),this.subscribeToStore(l,s),this.updateFromStores()}removeStore(s){let l=typeof s=="string"?s:s.name;this.unsubscribeFromStore(l),this[qo].delete(l)}setupStores(){this.unsubscribeFromStores(),this[qo].forEach((s,l)=>this.subscribeToStore(l,s)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((s,l)=>{let u=this.constructor.getPropertyOptions(l);if(!u?.attribute||!this.hasAttribute(typeof u?.attribute=="string"?u.attribute:l)){let h=this.getStore(s.store);h&&(s.store?this[uo].has(s.store):this[uo].size>0)&&(this[l]=s.selector(h.getState(),this))}})}subscribeToStore(s,l){var u;this[uo].set(s,l.subscribe(()=>this.updateFromStores())),this[yn].set(s,[]),Ia(l)&&l.eventBus&&((u=this.reduxConstructor.reduxEventListeners)===null||u===void 0||u.forEach((h,g)=>{if(typeof this[g]=="function"&&(!h.store||l.name===h.store)){let y=x=>this[g](x);l.addEventListener(h.eventName,y),this[yn].get(s).push(()=>l.removeEventListener(h.eventName,y))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[uo].forEach((s,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(s){var l;this[uo].has(s)&&this[uo].get(s)(),this[uo].delete(s),(l=this[yn].get(s))===null||l===void 0||l.forEach(u=>u()),this[yn].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return e=uo,r=qo,i=yn,n.reduxProperties=new Map,n.reduxReactiveProperties=new Set,n.reduxEventListeners=new Map,n}var yn,uo,qo,$m,Tm=p(()=>{"use strict";km();La();yn=Symbol("internalReduxEventsUnsubscribers"),uo=Symbol("internalStoresUnsubscribers"),qo=Symbol("internalStores");$m=class extends Zv(jr){}});function Zt(t){for(var e=arguments.length,r=Array(e>1?e-1:0),i=1;i<e;i++)r[i-1]=arguments[i];if(0)var n,a;throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Gr(t){return!!t&&!!t[Ae]}function sr(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)===o0}(t)||Array.isArray(t)||!!t[Mm]||!!(!((e=t.constructor)===null||e===void 0)&&e[Mm])||Jl(t)||ec(t))}function Zo(t,e,r){r===void 0&&(r=!1),Bi(t)===0?(r?Object.keys:Ni)(t).forEach(function(i){r&&typeof i=="symbol"||e(i,t[i],t)}):t.forEach(function(i,n){return e(n,i,t)})}function Bi(t){var e=t[Ae];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Jl(t)?2:ec(t)?3:0}function _i(t,e){return Bi(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Qv(t,e){return Bi(t)===2?t.get(e):t[e]}function zm(t,e,r){var i=Bi(t);i===2?t.set(e,r):i===3?t.add(r):t[e]=r}function Um(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function Jl(t){return t0&&t instanceof Map}function ec(t){return r0&&t instanceof Set}function fo(t){return t.o||t.t}function tc(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Vm(t);delete e[Ae];for(var r=Ni(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 rc(t,e){return e===void 0&&(e=!1),oc(t)||Gr(t)||!sr(t)||(Bi(t)>1&&(t.set=t.add=t.clear=t.delete=Yv),Object.freeze(t),e&&Zo(t,function(r,i){return rc(i,!0)},!0)),t}function Yv(){Zt(2)}function oc(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function Cr(t){var e=Xl[t];return e||Zt(18,t),e}function Xv(t,e){Xl[t]||(Xl[t]=e)}function Zl(){return xn}function jl(t,e){e&&(Cr("Patches"),t.u=[],t.s=[],t.v=e)}function ka(t){Ql(t),t.p.forEach(Jv),t.p=null}function Ql(t){t===xn&&(xn=t.l)}function Pm(t){return xn={p:[],l:xn,h:t,m:!0,_:0}}function Jv(t){var e=t[Ae];e.i===0||e.i===1?e.j():e.g=!0}function Gl(t,e){e._=e.p.length;var r=e.p[0],i=t!==void 0&&t!==r;return e.h.O||Cr("ES5").S(e,t,i),i?(r[Ae].P&&(ka(e),Zt(4)),sr(t)&&(t=$a(e,t),e.l||Ta(e,t)),e.u&&Cr("Patches").M(r[Ae].t,t,e.u,e.s)):t=$a(e,r,[]),ka(e),e.u&&e.v(e.u,e.s),t!==Wm?t:void 0}function $a(t,e,r){if(oc(e))return e;var i=e[Ae];if(!i)return Zo(e,function(l,u){return _m(t,i,e,l,u,r)},!0),e;if(i.A!==t)return e;if(!i.P)return Ta(t,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var n=i.i===4||i.i===5?i.o=tc(i.k):i.o,a=n,s=!1;i.i===3&&(a=new Set(n),n.clear(),s=!0),Zo(a,function(l,u){return _m(t,i,n,l,u,r,s)}),Ta(t,n,!1),r&&t.u&&Cr("Patches").N(i,r,t.u,t.s)}return i.o}function _m(t,e,r,i,n,a,s){if(Gr(n)){var l=$a(t,n,a&&e&&e.i!==3&&!_i(e.R,i)?a.concat(i):void 0);if(zm(r,i,l),!Gr(l))return;t.m=!1}else s&&r.add(n);if(sr(n)&&!oc(n)){if(!t.h.D&&t._<1)return;$a(t,n),e&&e.A.l||Ta(t,n)}}function Ta(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&rc(e,r)}function Kl(t,e){var r=t[Ae];return(r?fo(r):t)[e]}function Nm(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 ho(t){t.P||(t.P=!0,t.l&&ho(t.l))}function ql(t){t.o||(t.o=tc(t.t))}function Yl(t,e,r){var i=Jl(e)?Cr("MapSet").F(e,r):ec(e)?Cr("MapSet").T(e,r):t.O?function(n,a){var s=Array.isArray(n),l={i:s?1:0,A:a?a.A:Zl(),P:!1,I:!1,R:{},l:a,t:n,k:null,o:null,j:null,C:!1},u=l,h=vn;s&&(u=[l],h=bn);var g=Proxy.revocable(u,h),y=g.revoke,x=g.proxy;return l.k=x,l.j=y,x}(e,r):Cr("ES5").J(e,r);return(r?r.A:Zl()).p.push(i),i}function e0(t){return Gr(t)||Zt(22,t),function e(r){if(!sr(r))return r;var i,n=r[Ae],a=Bi(r);if(n){if(!n.P&&(n.i<4||!Cr("ES5").K(n)))return n.t;n.I=!0,i=Bm(r,a),n.I=!1}else i=Bm(r,a);return Zo(i,function(s,l){n&&Qv(n.t,s)===l||zm(i,s,e(l))}),a===3?new Set(i):i}(t)}function Bm(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return tc(t)}function Hm(){function t(s,l){var u=a[s];return u?u.enumerable=l:a[s]=u={configurable:!0,enumerable:l,get:function(){var h=this[Ae];return vn.get(h,s)},set:function(h){var g=this[Ae];vn.set(g,s,h)}},u}function e(s){for(var l=s.length-1;l>=0;l--){var u=s[l][Ae];if(!u.P)switch(u.i){case 5:i(u)&&ho(u);break;case 4:r(u)&&ho(u)}}}function r(s){for(var l=s.t,u=s.k,h=Ni(u),g=h.length-1;g>=0;g--){var y=h[g];if(y!==Ae){var x=l[y];if(x===void 0&&!_i(l,y))return!0;var w=u[y],O=w&&w[Ae];if(O?O.t!==x:!Um(w,x))return!0}}var A=!!l[Ae];return h.length!==Ni(l).length+(A?0:1)}function i(s){var l=s.k;if(l.length!==s.t.length)return!0;var u=Object.getOwnPropertyDescriptor(l,l.length-1);if(u&&!u.get)return!0;for(var h=0;h<l.length;h++)if(!l.hasOwnProperty(h))return!0;return!1}function n(s){s.g&&Zt(3,JSON.stringify(fo(s)))}var a={};Xv("ES5",{J:function(s,l){var u=Array.isArray(s),h=function(y,x){if(y){for(var w=Array(x.length),O=0;O<x.length;O++)Object.defineProperty(w,""+O,t(O,!0));return w}var A=Vm(x);delete A[Ae];for(var _=Ni(A),T=0;T<_.length;T++){var P=_[T];A[P]=t(P,y||!!A[P].enumerable)}return Object.create(Object.getPrototypeOf(x),A)}(u,s),g={i:u?5:4,A:l?l.A:Zl(),P:!1,I:!1,R:{},l,t:s,k:h,o:null,g:!1,C:!1};return Object.defineProperty(h,Ae,{value:g,writable:!0}),h},S:function(s,l,u){u?Gr(l)&&l[Ae].A===s&&e(s.p):(s.u&&function h(g){if(g&&typeof g=="object"){var y=g[Ae];if(y){var x=y.t,w=y.k,O=y.R,A=y.i;if(A===4)Zo(w,function(te){te!==Ae&&(x[te]!==void 0||_i(x,te)?O[te]||h(w[te]):(O[te]=!0,ho(y)))}),Zo(x,function(te){w[te]!==void 0||_i(w,te)||(O[te]=!1,ho(y))});else if(A===5){if(i(y)&&(ho(y),O.length=!0),w.length<x.length)for(var _=w.length;_<x.length;_++)O[_]=!1;else for(var T=x.length;T<w.length;T++)O[T]=!0;for(var P=Math.min(w.length,x.length),H=0;H<P;H++)w.hasOwnProperty(H)||(O[H]=!0),O[H]===void 0&&h(w[H])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?r(s):i(s)}})}var Fm,xn,ic,t0,r0,Dm,Wm,Mm,Ae,o0,Ni,Vm,Xl,vn,bn,i0,Pt,n0,$L,TL,PL,_L,NL,BL,Pa,_a=p(()=>{ic=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",t0=typeof Map<"u",r0=typeof Set<"u",Dm=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Wm=ic?Symbol.for("immer-nothing"):((Fm={})["immer-nothing"]=!0,Fm),Mm=ic?Symbol.for("immer-draftable"):"__$immer_draftable",Ae=ic?Symbol.for("immer-state"):"__$immer_state",o0=""+Object.prototype.constructor,Ni=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Vm=Object.getOwnPropertyDescriptors||function(t){var e={};return Ni(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},Xl={},vn={get:function(t,e){if(e===Ae)return t;var r=fo(t);if(!_i(r,e))return function(n,a,s){var l,u=Nm(a,s);return u?"value"in u?u.value:(l=u.get)===null||l===void 0?void 0:l.call(n.k):void 0}(t,r,e);var i=r[e];return t.I||!sr(i)?i:i===Kl(t.t,e)?(ql(t),t.o[e]=Yl(t.A.h,i,t)):i},has:function(t,e){return e in fo(t)},ownKeys:function(t){return Reflect.ownKeys(fo(t))},set:function(t,e,r){var i=Nm(fo(t),e);if(i?.set)return i.set.call(t.k,r),!0;if(!t.P){var n=Kl(fo(t),e),a=n?.[Ae];if(a&&a.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(Um(r,n)&&(r!==void 0||_i(t.t,e)))return!0;ql(t),ho(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 Kl(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,ql(t),ho(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=fo(t),i=Reflect.getOwnPropertyDescriptor(r,e);return i&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:i.enumerable,value:r[e]}},defineProperty:function(){Zt(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Zt(12)}},bn={};Zo(vn,function(t,e){bn[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),bn.deleteProperty=function(t,e){return bn.set.call(this,t,e,void 0)},bn.set=function(t,e,r){return vn.set.call(this,t[0],e,r,t[0])};i0=function(){function t(r){var i=this;this.O=Dm,this.D=!0,this.produce=function(n,a,s){if(typeof n=="function"&&typeof a!="function"){var l=a;a=n;var u=i;return function(A){var _=this;A===void 0&&(A=l);for(var T=arguments.length,P=Array(T>1?T-1:0),H=1;H<T;H++)P[H-1]=arguments[H];return u.produce(A,function(te){var ie;return(ie=a).call.apply(ie,[_,te].concat(P))})}}var h;if(typeof a!="function"&&Zt(6),s!==void 0&&typeof s!="function"&&Zt(7),sr(n)){var g=Pm(i),y=Yl(i,n,void 0),x=!0;try{h=a(y),x=!1}finally{x?ka(g):Ql(g)}return typeof Promise<"u"&&h instanceof Promise?h.then(function(A){return jl(g,s),Gl(A,g)},function(A){throw ka(g),A}):(jl(g,s),Gl(h,g))}if(!n||typeof n!="object"){if((h=a(n))===void 0&&(h=n),h===Wm&&(h=void 0),i.D&&rc(h,!0),s){var w=[],O=[];Cr("Patches").M(n,h,w,O),s(w,O)}return h}Zt(21,n)},this.produceWithPatches=function(n,a){if(typeof n=="function")return function(h){for(var g=arguments.length,y=Array(g>1?g-1:0),x=1;x<g;x++)y[x-1]=arguments[x];return i.produceWithPatches(h,function(w){return n.apply(void 0,[w].concat(y))})};var s,l,u=i.produce(n,a,function(h,g){s=h,l=g});return typeof Promise<"u"&&u instanceof Promise?u.then(function(h){return[h,s,l]}):[u,s,l]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var e=t.prototype;return e.createDraft=function(r){sr(r)||Zt(8),Gr(r)&&(r=e0(r));var i=Pm(this),n=Yl(this,r,void 0);return n[Ae].C=!0,Ql(i),n},e.finishDraft=function(r,i){var n=r&&r[Ae],a=n.A;return jl(a,i),Gl(void 0,a)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!Dm&&Zt(20),this.O=r},e.applyPatches=function(r,i){var n;for(n=i.length-1;n>=0;n--){var a=i[n];if(a.path.length===0&&a.op==="replace"){r=a.value;break}}n>-1&&(i=i.slice(n+1));var s=Cr("Patches").$;return Gr(r)?s(r,i):this.produce(r,function(l){return s(l,i)})},t}(),Pt=new i0,n0=Pt.produce,$L=Pt.produceWithPatches.bind(Pt),TL=Pt.setAutoFreeze.bind(Pt),PL=Pt.setUseProxies.bind(Pt),_L=Pt.applyPatches.bind(Pt),NL=Pt.createDraft.bind(Pt),BL=Pt.finishDraft.bind(Pt),Pa=n0});function Qo(t){"@babel/helpers - typeof";return Qo=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},Qo(t)}var nc=p(()=>{});function jm(t,e){if(Qo(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var i=r.call(t,e||"default");if(Qo(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var Gm=p(()=>{nc()});function Km(t){var e=jm(t,"string");return Qo(e)=="symbol"?e:e+""}var qm=p(()=>{nc();Gm()});function Zm(t,e,r){return(e=Km(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Qm=p(()=>{qm()});function Ym(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 ac(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Ym(Object(r),!0).forEach(function(i){Zm(t,i,r[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ym(Object(r)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(r,i))})}return t}var Xm=p(()=>{Qm()});function nt(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 a0(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 lc(t,e,r){var i;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(nt(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(nt(1));return r(lc)(t,e)}if(typeof t!="function")throw new Error(nt(2));var n=t,a=e,s=[],l=s,u=!1;function h(){l===s&&(l=s.slice())}function g(){if(u)throw new Error(nt(3));return a}function y(A){if(typeof A!="function")throw new Error(nt(4));if(u)throw new Error(nt(5));var _=!0;return h(),l.push(A),function(){if(_){if(u)throw new Error(nt(6));_=!1,h();var P=l.indexOf(A);l.splice(P,1),s=null}}}function x(A){if(!a0(A))throw new Error(nt(7));if(typeof A.type>"u")throw new Error(nt(8));if(u)throw new Error(nt(9));try{u=!0,a=n(a,A)}finally{u=!1}for(var _=s=l,T=0;T<_.length;T++){var P=_[T];P()}return A}function w(A){if(typeof A!="function")throw new Error(nt(10));n=A,x({type:Na.REPLACE})}function O(){var A,_=y;return A={subscribe:function(P){if(typeof P!="object"||P===null)throw new Error(nt(11));function H(){P.next&&P.next(g())}H();var te=_(H);return{unsubscribe:te}}},A[Jm]=function(){return this},A}return x({type:Na.INIT}),i={dispatch:x,subscribe:y,getState:g,replaceReducer:w},i[Jm]=O,i}function s0(t){Object.keys(t).forEach(function(e){var r=t[e],i=r(void 0,{type:Na.INIT});if(typeof i>"u")throw new Error(nt(12));if(typeof r(void 0,{type:Na.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(nt(13))})}function eg(t){for(var e=Object.keys(t),r={},i=0;i<e.length;i++){var n=e[i];typeof t[n]=="function"&&(r[n]=t[n])}var a=Object.keys(r),s,l;try{s0(r)}catch(u){l=u}return function(h,g){if(h===void 0&&(h={}),l)throw l;if(0)var y;for(var x=!1,w={},O=0;O<a.length;O++){var A=a[O],_=r[A],T=h[A],P=_(T,g);if(typeof P>"u"){var H=g&&g.type;throw new Error(nt(14))}w[A]=P,x=x||P!==T}return x=x||a.length!==Object.keys(h).length,x?w:h}}function Fi(){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 tg(){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(nt(15))},s={getState:n.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=e.map(function(u){return u(s)});return a=Fi.apply(void 0,l)(n.dispatch),ac(ac({},n),{},{dispatch:a})}}}var Jm,sc,Na,Ba=p(()=>{Xm();Jm=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),sc=function(){return Math.random().toString(36).substring(7).split("").join(".")},Na={INIT:"@@redux/INIT"+sc(),REPLACE:"@@redux/REPLACE"+sc(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+sc()}}});function rg(t){var e=function(i){var n=i.dispatch,a=i.getState;return function(s){return function(l){return typeof l=="function"?l(n,a,t):s(l)}}};return e}var og,cc,ig=p(()=>{og=rg();og.withExtraArgument=rg;cc=og});function g0(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 fc(t){return sr(t)?Pa(t,function(){}):t}function x0(t){return typeof t=="boolean"}function v0(){return function(e){return S0(e)}}function S0(t){t===void 0&&(t={});var e=t.thunk,r=e===void 0?!0:e,i=t.immutableCheck,n=i===void 0?!0:i,a=t.serializableCheck,s=a===void 0?!0:a,l=new y0;if(r&&(x0(r)?l.push(cc):l.push(cc.withExtraArgument(r.extraArgument))),0){if(n)var u;if(s)var h}return l}function dg(t){var e=v0(),r=t||{},i=r.reducer,n=i===void 0?void 0:i,a=r.middleware,s=a===void 0?e():a,l=r.devTools,u=l===void 0?!0:l,h=r.preloadedState,g=h===void 0?void 0:h,y=r.enhancers,x=y===void 0?void 0:y,w;if(typeof n=="function")w=n;else if(g0(n))w=eg(n);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var O=s;if(typeof O=="function"&&(O=O(e),!pc&&!Array.isArray(O)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!pc&&O.some(function(te){return typeof te!="function"}))throw new Error("each middleware provided to configureStore must be a function");var A=tg.apply(void 0,O),_=Fi;u&&(_=m0(mo({trace:!pc},typeof u=="object"&&u)));var T=new b0(A),P=T;Array.isArray(x)?P=Di([A],x):typeof x=="function"&&(P=x(T));var H=_.apply(void 0,P);return lc(w,g,H)}function go(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 mo(mo({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 pg(t){var e={},r=[],i,n={addCase:function(a,s){var l=typeof a=="string"?a:a.type;if(l in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[l]=s,n},addMatcher:function(a,s){return r.push({matcher:a,reducer:s}),n},addDefaultCase:function(a){return i=a,n}};return t(n),[e,r,i]}function C0(t){return typeof t=="function"}function O0(t,e,r,i){r===void 0&&(r=[]);var n=typeof e=="function"?pg(e):[e,r,i],a=n[0],s=n[1],l=n[2],u;if(C0(t))u=function(){return fc(t())};else{var h=fc(t);u=function(){return h}}function g(y,x){y===void 0&&(y=u());var w=Di([a[x.type]],s.filter(function(O){var A=O.matcher;return A(x)}).map(function(O){var A=O.reducer;return A}));return w.filter(function(O){return!!O}).length===0&&(w=[l]),w.reduce(function(O,A){if(A)if(Gr(O)){var _=O,T=A(_,x);return T===void 0?O:T}else{if(sr(O))return Pa(O,function(P){return A(P,x)});var T=A(O,x);if(T===void 0){if(O===null)return O;throw Error("A case reducer on a non-draftable value must not return undefined")}return T}return O},y)}return g.getInitialState=u,g}function w0(t,e){return t+"/"+e}function ug(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:fc(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},s={},l={};n.forEach(function(g){var y=i[g],x=w0(e,g),w,O;"reducer"in y?(w=y.reducer,O=y.prepare):w=y,a[g]=w,s[x]=w,l[g]=O?go(x,O):go(x)});function u(){var g=typeof t.extraReducers=="function"?pg(t.extraReducers):[t.extraReducers],y=g[0],x=y===void 0?{}:y,w=g[1],O=w===void 0?[]:w,A=g[2],_=A===void 0?void 0:A,T=mo(mo({},x),s);return O0(r,function(P){for(var H in T)P.addCase(H,T[H]);for(var te=0,ie=O;te<ie.length;te++){var St=ie[te];P.addMatcher(St.matcher,St.reducer)}_&&P.addDefaultCase(_)})}var h;return{name:e,reducer:function(g,y){return h||(h=u()),h(g,y)},actions:l,caseReducers:a,getInitialState:function(){return h||(h=u()),h.getInitialState()}}}function L0(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function k0(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var cg,l0,Di,c0,d0,p0,ng,u0,f0,ag,mo,dc,h0,m0,ek,y0,b0,pc,E0,A0,R0,uc,sg,I0,ik,fg,hg,mg,nk,ak,sk,lk,hc,ck,dk,pk,lg,uk,$0,fk,gg=p(()=>{_a();Ba();Ba();Ba();ig();_a();_a();cg=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(i[a]=n[a])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function i(){this.constructor=e}e.prototype=r===null?Object.create(r):(i.prototype=r.prototype,new i)}}(),l0=function(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,n,a,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(h){return function(g){return u([h,g])}}function u(h){if(i)throw new TypeError("Generator is already executing.");for(;r;)try{if(i=1,n&&(a=h[0]&2?n.return:h[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,h[1])).done)return a;switch(n=0,a&&(h=[h[0]&2,a.value]),h[0]){case 0:case 1:a=h;break;case 4:return r.label++,{value:h[1],done:!1};case 5:r.label++,n=h[1],h=[0];continue;case 7:h=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(h[0]===6||h[0]===2)){r=0;continue}if(h[0]===3&&(!a||h[1]>a[0]&&h[1]<a[3])){r.label=h[1];break}if(h[0]===6&&r.label<a[1]){r.label=a[1],a=h;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(h);break}a[2]&&r.ops.pop(),r.trys.pop();continue}h=e.call(t,r)}catch(g){h=[6,g],n=0}finally{i=a=0}if(h[0]&5)throw h[1];return{value:h[0]?h[1]:void 0,done:!0}}},Di=function(t,e){for(var r=0,i=e.length,n=t.length;r<i;r++,n++)t[n]=e[r];return t},c0=Object.defineProperty,d0=Object.defineProperties,p0=Object.getOwnPropertyDescriptors,ng=Object.getOwnPropertySymbols,u0=Object.prototype.hasOwnProperty,f0=Object.prototype.propertyIsEnumerable,ag=function(t,e,r){return e in t?c0(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},mo=function(t,e){for(var r in e||(e={}))u0.call(e,r)&&ag(t,r,e[r]);if(ng)for(var i=0,n=ng(e);i<n.length;i++){var r=n[i];f0.call(e,r)&&ag(t,r,e[r])}return t},dc=function(t,e){return d0(t,p0(e))},h0=function(t,e,r){return new Promise(function(i,n){var a=function(u){try{l(r.next(u))}catch(h){n(h)}},s=function(u){try{l(r.throw(u))}catch(h){n(h)}},l=function(u){return u.done?i(u.value):Promise.resolve(u.value).then(a,s)};l((r=r.apply(t,e)).next())})},m0=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Fi:Fi.apply(null,arguments)},ek=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};y0=function(t){cg(e,t);function e(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var n=t.apply(this,r)||this;return Object.setPrototypeOf(n,e.prototype),n}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,Di([void 0],r[0].concat(this)))):new(e.bind.apply(e,Di([void 0],r.concat(this))))},e}(Array),b0=function(t){cg(e,t);function e(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var n=t.apply(this,r)||this;return Object.setPrototypeOf(n,e.prototype),n}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,Di([void 0],r[0].concat(this)))):new(e.bind.apply(e,Di([void 0],r.concat(this))))},e}(Array);pc=!0;E0="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",A0=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=E0[Math.random()*64|0];return e},R0=["name","message","stack","code"],uc=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),sg=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),I0=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,i=R0;r<i.length;r++){var n=i[r];typeof t[n]=="string"&&(e[n]=t[n])}return e}return{message:String(t)}},ik=function(){function t(e,r,i){var n=go(e+"/fulfilled",function(g,y,x,w){return{payload:g,meta:dc(mo({},w||{}),{arg:x,requestId:y,requestStatus:"fulfilled"})}}),a=go(e+"/pending",function(g,y,x){return{payload:void 0,meta:dc(mo({},x||{}),{arg:y,requestId:g,requestStatus:"pending"})}}),s=go(e+"/rejected",function(g,y,x,w,O){return{payload:w,error:(i&&i.serializeError||I0)(g||"Rejected"),meta:dc(mo({},O||{}),{arg:x,requestId:y,rejectedWithValue:!!w,requestStatus:"rejected",aborted:g?.name==="AbortError",condition:g?.name==="ConditionError"})}}),l=!1,u=typeof AbortController<"u"?AbortController:function(){function g(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return g.prototype.abort=function(){},g}();function h(g){return function(y,x,w){var O=i?.idGenerator?i.idGenerator(g):A0(),A=new u,_,T=!1;function P(te){_=te,A.abort()}var H=function(){return h0(this,null,function(){var te,ie,St,mr,dt,gr,Ze;return l0(this,function(b){switch(b.label){case 0:return b.trys.push([0,4,,5]),mr=(te=i?.condition)==null?void 0:te.call(i,g,{getState:x,extra:w}),k0(mr)?[4,mr]:[3,2];case 1:mr=b.sent(),b.label=2;case 2:if(mr===!1||A.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return T=!0,dt=new Promise(function(C,F){return A.signal.addEventListener("abort",function(){return F({name:"AbortError",message:_||"Aborted"})})}),y(a(O,g,(ie=i?.getPendingMeta)==null?void 0:ie.call(i,{requestId:O,arg:g},{getState:x,extra:w}))),[4,Promise.race([dt,Promise.resolve(r(g,{dispatch:y,getState:x,extra:w,requestId:O,signal:A.signal,abort:P,rejectWithValue:function(C,F){return new uc(C,F)},fulfillWithValue:function(C,F){return new sg(C,F)}})).then(function(C){if(C instanceof uc)throw C;return C instanceof sg?n(C.payload,O,g,C.meta):n(C,O,g)})])];case 3:return St=b.sent(),[3,5];case 4:return gr=b.sent(),St=gr instanceof uc?s(null,O,g,gr.payload,gr.meta):s(gr,O,g),[3,5];case 5:return Ze=i&&!i.dispatchConditionRejection&&s.match(St)&&St.meta.condition,Ze||y(St),[2,St]}})})}();return Object.assign(H,{abort:P,requestId:O,arg:g,unwrap:function(){return H.then(L0)}})}}return Object.assign(h,{pending:a,rejected:s,fulfilled:n,typePrefix:e})}return t.withTypes=function(){return t},t}();fg="listener",hg="completed",mg="cancelled",nk="task-"+mg,ak="task-"+hg,sk=fg+"-"+mg,lk=fg+"-"+hg,hc="listenerMiddleware",ck=go(hc+"/add"),dk=go(hc+"/removeAll"),pk=go(hc+"/remove"),uk=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(lg||(lg=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},$0=function(t){return function(e){setTimeout(e,t)}},fk=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:$0(10);Hm()});function T0(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 Fa,yg=p(()=>{"use strict";Fa=class extends T0(Object){}});var bg,xg=p(()=>{"use strict";gg();La();Vl();yg();window.ftReduxStores||(window.ftReduxStores={});bg=class t extends Fa{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(Ia(a))return a;if(n==null)return;let s=ug({...n,reducers:(r=n.reducers)!==null&&r!==void 0?r:{}}),l=dg({reducer:(u,h)=>h.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof h.type=="string"&&h.type.startsWith("DEFAULT_VALUE_SETTER__")?{...u,...h.overwrites}:s.reducer(u,h)});return window.ftReduxStores[n.name]=new t(s,l,n.eventBus)}constructor(e,r,i){super(),this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new wa;let n=a=>a!=null?JSON.parse(JSON.stringify(a)):a;this.actions=new Proxy(this.reduxSlice.actions,{get:(a,s,l)=>{let u=s,h=a[u];return h?(...g)=>{let y=h(...g.map(n));return this.reduxStore.dispatch(y),y}:g=>{this.setState({[u]:n(g)})}}}),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 vg=p(()=>{"use strict";Oa()});var Sg=p(()=>{"use strict";hm();Vl();Tm();xg();La();vg()});var Cg=p(()=>{"use strict"});var P0,Og=p(()=>{"use strict";P0=f(W());Sg();Cg();ht()});var Da,wg=p(()=>{"use strict";ht();Wo();Da=class extends Rt{constructor(){super(...arguments),this.CACHE_DURATION=3*60*1e3}async getUserAssetCount(e){if(this.isAuthenticated())return this.cache.get(`user-asset-count-${e}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/${e}`),this.CACHE_DURATION)}async getUserBookmarkCountByMap(e){if(this.isAuthenticated())return this.cache.get(`user-bookmark-count-by-map-${e}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/BOOKMARKS/${e}`),this.CACHE_DURATION)}isAuthenticated(){let e=$.getState().session;return!!e?.sessionAuthenticated}}});var Ma,_0,N0,Qt,mc,gc,za=p(()=>{"use strict";Go();Ma=f(v());Fl();Tl();ht();wg();_0="ft-user-assets",N0={setAssetCount:(t,e)=>{let{userAssetType:r,count:i}=e.payload.assetCount;t.assetCounts.allAsset[r]=i},clearAssetCount:t=>{Object.values(jo).forEach(e=>{t.assetCounts.allAsset[e]=void 0})},setBookmarkCountByMap:(t,e)=>{let r=e.payload.mapId;t.assetCounts.bookmarkByMap[r]=e.payload.count},clearBookmarkCountByMap:t=>{t.assetCounts.bookmarkByMap={}}},Qt=Ma.FtReduxStore.get({name:_0,reducers:N0,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(jo).map(t=>[t,void 0])),bookmarkByMap:{}}}}),mc=class{constructor(e=new Da){this.assetCountsService=e,this.currentSession=$.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new ua,this.savedSearchesService=new ba,$.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=$.getState();(0,Ma.deepEqual)((e=this.currentSession)===null||e===void 0?void 0:e.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks(),this.clearUserAssetCounts())}clearUserAssetCounts(){Qt.actions.clearAssetCount(),Qt.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Qt.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Qt.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();Qt.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async loadAssetCount(e){let r=await this.assetCountsService.getUserAssetCount(e);r&&Qt.actions.setAssetCount({assetCount:r})}async loadBookmarkByMapId(e){let r=await this.assetCountsService.getUserBookmarkCountByMap(e);r&&Qt.actions.setBookmarkCountByMap({count:r.count,mapId:e})}async reloadAssetCount(e){this.assetCountsService.clearCache();let r=Object.keys(Qt.getState().assetCounts.bookmarkByMap).length!==0;e===jo.BOOKMARKS&&r&&Qt.actions.clearBookmarkCountByMap(),Qt.getState().assetCounts.allAsset[e]!==void 0&&await this.loadAssetCount(e)}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let r=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;Qt.actions.bookmarks(r)}}},gc=new mc;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=gc)});var Eg=p(()=>{"use strict";Go();za()});var Ag=p(()=>{"use strict"});var Rg,Or=p(()=>{"use strict";Rg=f(v());Wl();Og();ht();za();Eg();Hl();Ll();Ag();Wl();(0,Rg.customElement)("ft-app-context")(ve)});function Ig(t){return t.match(/^[\w-]+\.[\w-]+$/)}var B0,Lg=p(()=>{"use strict";Sn();B0=f(v())});function Yt(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?ha:Ii}i18n(a){let{context:s,key:l,message:u}=a,{custom:h,args:g,argsProvider:y}=a;if(s&&l){this.hasI18nContext(s)||this.addI18nContext(s,void 0,h);let x=g??(y?y(this):[]);return this.getI18nService(h).resolveMessage(s,l,...x)}return u}customI18n(a,s){if(Ig(a)){let[l,u]=a.split(".");return this.i18n({custom:!0,context:l,key:u,...s})||a}return a}firstUpdated(a){super.firstUpdated(a),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(a){super.update(a),this.updateI18nAttributes((s,l,u)=>a.has(l)||typeof s.argsProvider=="function"),this.updateI18nProperties(s=>typeof s.argsProvider=="function")}onI18nUpdate(a){this.updateI18nAttributes((s,l,u)=>{var h;return((h=u?.context)===null||h===void 0?void 0:h.toLowerCase())===a}),this.updateI18nProperties(s=>s.context.toLowerCase()===a),this.requestUpdate()}updateI18nAttributes(a){var s,l;let u=this,h=(g,y,x)=>x?.context&&x.key&&a(g,y,x)?{...x,message:this.i18n({context:x.context,key:x.key,custom:x.custom,...g})}:x;(s=this[kg])===null||s===void 0||s.forEach((g,y)=>u[y]=h(g,y,u[y])),(l=this[$g])===null||l===void 0||l.forEach((g,y)=>{var x;return u[y]=(x=u[y])===null||x===void 0?void 0:x.map(w=>h(g,y,w))})}updateI18nProperties(a){var s;(s=this[_g])===null||s===void 0||s.forEach((l,u)=>{a(l,u)&&(this[u]=this.i18n(l))})}addI18nMessages(a,s,l){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(a,s,l)}addI18nContext(a,s,l){let u=(typeof a=="string"?a:a.name).toLowerCase();l=typeof a=="string"?l:a.custom,this[Ua].set(u,{isCustomContext:l}),this[Cn].has(u)||this[Cn].set(u,this.getI18nService(l).subscribe(u,()=>this.onI18nUpdate(u))),this.getI18nService(l).prepareContext(u,s)}hasI18nContext(a){return this[Ua].has(a.toLowerCase())}connectedCallback(){super.connectedCallback(),this[Ua].forEach((a,s)=>this.addI18nContext(s,void 0,a.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[Cn].forEach(a=>a()),this[Cn].clear()}}return e=Ua,r=Cn,F0([(0,Pg.property)({type:Boolean})],i.prototype,"useCustomMessageContexts",void 0),i}var Wa,Pg,F0,kg,$g,_g,Ua,Cn,Tg,Ha,Sn=p(()=>{"use strict";Wa=f(v());Or();Pg=f(W());Lg();F0=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},kg=Symbol("i18nAttributes"),$g=Symbol("i18nListAttributes"),_g=Symbol("i18nProperties"),Ua=Symbol("i18nContexts"),Cn=Symbol("i18nUnsubs");Tg=class extends Yt(Wa.FtLitElement){},Ha=class extends Yt(Wa.FtLitElementRedux){}});var Va,ja,Ga,On,lr,yc=p(()=>{"use strict";Va=f(R()),ja=f(W()),Ga=f(v());Il();Sn();Or();On=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},lr=class extends Ha{constructor(){super(),this.editorMode=!1,this.addStore($)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":Va.nothing:Va.html`
1163
+ `}connectedCallback(){super.connectedCallback(),$.addEventListener(Uo.eventName,this.reloadConfiguration)}disconnectedCallback(){$.addEventListener(Uo.eventName,this.reloadConfiguration),super.disconnectedCallback()}update(e){var r,i,n,a,s,l,f;super.update(e),e.has("baseUrl")&&($.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&$.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("apiIntegrationAppVersion")&&$.actions.apiIntegrationAppVersion(this.apiIntegrationAppVersion),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(h=>Ri.addContext(h)),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)),e.has("authenticationRequired")&&$.actions.authenticationRequired(this.authenticationRequired),e.has("availableContentLocales")&&$.actions.availableContentLocales((f=(l=this.availableContentLocales)===null||l===void 0?void 0:l.contentLocales)!==null&&f!==void 0?f:[]),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration(),this.availableContentLocales==null&&this.updateAvailableContentLocales())}async updateSession(){this.session=await this.cache.get("session",async()=>{let e=await this.apiProvider().getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},e.idleTimeoutInMillis),e})}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}async updateAvailableContentLocales(){this.availableContentLocales=await this.cache.get("availableContentLocales",()=>pm(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}))}};ve.elementDefinitions={};ve.styles=bh;Ve([(0,Je.property)()],ve.prototype,"baseUrl",void 0);Ve([(0,Je.property)()],ve.prototype,"apiIntegrationIdentifier",void 0);Ve([(0,Je.property)()],ve.prototype,"apiIntegrationAppVersion",void 0);Ve([(0,Je.property)()],ve.prototype,"uiLocale",void 0);Ve([(0,cr.jsonProperty)(null)],ve.prototype,"availableUiLocales",void 0);Ve([(0,cr.jsonProperty)(null)],ve.prototype,"metadataConfiguration",void 0);Ve([(0,Je.property)({type:Boolean})],ve.prototype,"editorMode",void 0);Ve([(0,Je.property)({type:Boolean})],ve.prototype,"noCustom",void 0);Ve([(0,Je.property)({type:Boolean})],ve.prototype,"openExternalDocumentInNewTab",void 0);Ve([(0,Je.property)({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],ve.prototype,"noCustomComponent",void 0);Ve([(0,Je.property)({type:Boolean})],ve.prototype,"withManualResources",void 0);Ve([(0,Je.property)({type:Boolean})],ve.prototype,"navigatorOnline",void 0);Ve([(0,Je.property)({type:Boolean})],ve.prototype,"forcedOffline",void 0);Ve([(0,Je.property)({type:Object})],ve.prototype,"apiProvider",void 0);Ve([(0,Je.property)({type:Boolean})],ve.prototype,"authenticationRequired",void 0);Ve([(0,cr.jsonProperty)([])],ve.prototype,"messageContexts",void 0);Ve([(0,cr.jsonProperty)(void 0)],ve.prototype,"session",void 0);Ve([(0,Je.state)()],ve.prototype,"localesConfiguration",void 0);Ve([(0,Je.state)()],ve.prototype,"availableContentLocales",void 0)});function Gv(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(!Sa(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(!Sa(i[1],e.get(i[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();let a=s=>Object.keys(s).filter(l=>s[l]!=null);if(n=a(t),r=n.length,r!==a(e).length)return!1;for(i=r;i--!==0;)if(!Object.prototype.hasOwnProperty.call(e,n[i]))return!1;for(i=r;i--!==0;){let s=n[i];if(!Sa(t[s],e[s]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function Sa(t,e){try{return Gv(t,e)}catch{return!1}}function Ca(t,e){return!Sa(t,e)}var Oa=p(()=>{"use strict"});var Kv,hm=p(()=>{"use strict";Oa();Kv=u(W(),1)});var wa,Vl=p(()=>{"use strict";wa=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 gm(t,e){let r=()=>JSON.parse(JSON.stringify(t));return(0,mm.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:Ca,...e??{}})}var mm,ym=p(()=>{"use strict";mm=u(W(),1);Oa()});var Ea,bm=p(()=>{"use strict";Ea=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,r){return this.callbacks=[e],this.debounce(r)}queue(e,r){return this.callbacks.push(e),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((r,i)=>{this.resolvePromise=r,this.rejectPromise=i})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let i=[...this.callbacks];this.callbacks=[];let n=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let s of i)try{await s()}catch(l){n(l);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}});var Aa,qv,yL,xm,vm=p(()=>{Aa=globalThis,qv=Aa.ShadowRoot&&(Aa.ShadyCSS===void 0||Aa.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,yL=Symbol(),xm=(t,e)=>{if(qv)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let i=document.createElement("style"),n=Aa.litNonce;n!==void 0&&i.setAttribute("nonce",n),i.textContent=r.cssText,t.appendChild(i)}}});var Sm,Ra,Cm=p(()=>{"use strict";Sm=u(R(),1);vm();Ra=class extends Sm.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 xm(i,e.elementStyles),i}}});function Om(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 wm=p(()=>{"use strict"});var Ti,gn,Im,Em,Am,Lm,Rm,Gr,km=p(()=>{"use strict";Ti=u(W(),1);ym();bm();Cm();wm();gn=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Em=Symbol("constructorPrototype"),Am=Symbol("constructorName"),Lm=Symbol("exportpartsDebouncer"),Rm=Symbol("dynamicDependenciesLoaded"),Gr=class extends Ra{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Im]=new Ea(5),this[Am]=this.constructor.name,this[Em]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Am]&&Object.setPrototypeOf(this,this[Em])}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[Rm]||(e[Rm]=!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=Om(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[Lm].run(()=>{var n,a;!((n=this.exportpartsPrefix)===null||n===void 0)&&n.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var r,i,n,a,s,l;let 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 g=new Set;for(let x of(i=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&i!==void 0?i:[]){let w=(a=(n=x.getAttribute("part"))===null||n===void 0?void 0:n.split(" "))!==null&&a!==void 0?a:[],O=(l=(s=x.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(A=>A.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...w,...O).filter(f).map(A=>A.trim()).forEach(A=>g.add(A))}if(g.size===0){this.removeAttribute("exportparts");return}let y=[...g.values()].flatMap(x=>h.map(w=>`${x}:${w}--${x}`));this.setAttribute("exportparts",[...this.part,...y].join(", "))}};Im=Lm;gn([(0,Ti.property)()],Gr.prototype,"exportpartsPrefix",void 0);gn([gm([])],Gr.prototype,"exportpartsPrefixes",void 0);gn([(0,Ti.property)()],Gr.prototype,"customStylesheet",void 0);gn([(0,Ti.property)()],Gr.prototype,"elementToFocus",void 0);gn([(0,Ti.state)()],Gr.prototype,"useAdoptedStyleSheets",void 0)});function Ia(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var La=p(()=>{"use strict"});function Zv(t){var e,r,i;class n extends t{constructor(){super(...arguments),this[e]=new Map,this[r]=new Map,this[i]=new Map}get reduxConstructor(){return this.constructor}willUpdate(s){super.willUpdate(s),[...this.reduxConstructor.reduxReactiveProperties].some(l=>s.has(l))&&this.updateFromStores()}getUnnamedStore(){if(this[qo].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[qo].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[qo].get(s)}addStore(s,l){var f;l=(f=l??s.name)!==null&&f!==void 0?f:"default-store",this.unsubscribeFromStore(l),this[qo].set(l,s),this.subscribeToStore(l,s),this.updateFromStores()}removeStore(s){let l=typeof s=="string"?s:s.name;this.unsubscribeFromStore(l),this[qo].delete(l)}setupStores(){this.unsubscribeFromStores(),this[qo].forEach((s,l)=>this.subscribeToStore(l,s)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((s,l)=>{let f=this.constructor.getPropertyOptions(l);if(!f?.attribute||!this.hasAttribute(typeof f?.attribute=="string"?f.attribute:l)){let h=this.getStore(s.store);h&&(s.store?this[fo].has(s.store):this[fo].size>0)&&(this[l]=s.selector(h.getState(),this))}})}subscribeToStore(s,l){var f;this[fo].set(s,l.subscribe(()=>this.updateFromStores())),this[yn].set(s,[]),Ia(l)&&l.eventBus&&((f=this.reduxConstructor.reduxEventListeners)===null||f===void 0||f.forEach((h,g)=>{if(typeof this[g]=="function"&&(!h.store||l.name===h.store)){let y=x=>this[g](x);l.addEventListener(h.eventName,y),this[yn].get(s).push(()=>l.removeEventListener(h.eventName,y))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[fo].forEach((s,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(s){var l;this[fo].has(s)&&this[fo].get(s)(),this[fo].delete(s),(l=this[yn].get(s))===null||l===void 0||l.forEach(f=>f()),this[yn].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return e=fo,r=qo,i=yn,n.reduxProperties=new Map,n.reduxReactiveProperties=new Set,n.reduxEventListeners=new Map,n}var yn,fo,qo,$m,Tm=p(()=>{"use strict";km();La();yn=Symbol("internalReduxEventsUnsubscribers"),fo=Symbol("internalStoresUnsubscribers"),qo=Symbol("internalStores");$m=class extends Zv(Gr){}});function Zt(t){for(var e=arguments.length,r=Array(e>1?e-1:0),i=1;i<e;i++)r[i-1]=arguments[i];if(0)var n,a;throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Kr(t){return!!t&&!!t[Ae]}function dr(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)===o0}(t)||Array.isArray(t)||!!t[Mm]||!!(!((e=t.constructor)===null||e===void 0)&&e[Mm])||Jl(t)||ec(t))}function Zo(t,e,r){r===void 0&&(r=!1),Ni(t)===0?(r?Object.keys:_i)(t).forEach(function(i){r&&typeof i=="symbol"||e(i,t[i],t)}):t.forEach(function(i,n){return e(n,i,t)})}function Ni(t){var e=t[Ae];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Jl(t)?2:ec(t)?3:0}function Pi(t,e){return Ni(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Qv(t,e){return Ni(t)===2?t.get(e):t[e]}function zm(t,e,r){var i=Ni(t);i===2?t.set(e,r):i===3?t.add(r):t[e]=r}function Um(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function Jl(t){return t0&&t instanceof Map}function ec(t){return r0&&t instanceof Set}function ho(t){return t.o||t.t}function tc(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Vm(t);delete e[Ae];for(var r=_i(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 rc(t,e){return e===void 0&&(e=!1),oc(t)||Kr(t)||!dr(t)||(Ni(t)>1&&(t.set=t.add=t.clear=t.delete=Yv),Object.freeze(t),e&&Zo(t,function(r,i){return rc(i,!0)},!0)),t}function Yv(){Zt(2)}function oc(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function Or(t){var e=Xl[t];return e||Zt(18,t),e}function Xv(t,e){Xl[t]||(Xl[t]=e)}function Zl(){return xn}function jl(t,e){e&&(Or("Patches"),t.u=[],t.s=[],t.v=e)}function ka(t){Ql(t),t.p.forEach(Jv),t.p=null}function Ql(t){t===xn&&(xn=t.l)}function Pm(t){return xn={p:[],l:xn,h:t,m:!0,_:0}}function Jv(t){var e=t[Ae];e.i===0||e.i===1?e.j():e.g=!0}function Gl(t,e){e._=e.p.length;var r=e.p[0],i=t!==void 0&&t!==r;return e.h.O||Or("ES5").S(e,t,i),i?(r[Ae].P&&(ka(e),Zt(4)),dr(t)&&(t=$a(e,t),e.l||Ta(e,t)),e.u&&Or("Patches").M(r[Ae].t,t,e.u,e.s)):t=$a(e,r,[]),ka(e),e.u&&e.v(e.u,e.s),t!==Wm?t:void 0}function $a(t,e,r){if(oc(e))return e;var i=e[Ae];if(!i)return Zo(e,function(l,f){return _m(t,i,e,l,f,r)},!0),e;if(i.A!==t)return e;if(!i.P)return Ta(t,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var n=i.i===4||i.i===5?i.o=tc(i.k):i.o,a=n,s=!1;i.i===3&&(a=new Set(n),n.clear(),s=!0),Zo(a,function(l,f){return _m(t,i,n,l,f,r,s)}),Ta(t,n,!1),r&&t.u&&Or("Patches").N(i,r,t.u,t.s)}return i.o}function _m(t,e,r,i,n,a,s){if(Kr(n)){var l=$a(t,n,a&&e&&e.i!==3&&!Pi(e.R,i)?a.concat(i):void 0);if(zm(r,i,l),!Kr(l))return;t.m=!1}else s&&r.add(n);if(dr(n)&&!oc(n)){if(!t.h.D&&t._<1)return;$a(t,n),e&&e.A.l||Ta(t,n)}}function Ta(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&rc(e,r)}function Kl(t,e){var r=t[Ae];return(r?ho(r):t)[e]}function Nm(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 mo(t){t.P||(t.P=!0,t.l&&mo(t.l))}function ql(t){t.o||(t.o=tc(t.t))}function Yl(t,e,r){var i=Jl(e)?Or("MapSet").F(e,r):ec(e)?Or("MapSet").T(e,r):t.O?function(n,a){var s=Array.isArray(n),l={i:s?1:0,A:a?a.A:Zl(),P:!1,I:!1,R:{},l:a,t:n,k:null,o:null,j:null,C:!1},f=l,h=vn;s&&(f=[l],h=bn);var g=Proxy.revocable(f,h),y=g.revoke,x=g.proxy;return l.k=x,l.j=y,x}(e,r):Or("ES5").J(e,r);return(r?r.A:Zl()).p.push(i),i}function e0(t){return Kr(t)||Zt(22,t),function e(r){if(!dr(r))return r;var i,n=r[Ae],a=Ni(r);if(n){if(!n.P&&(n.i<4||!Or("ES5").K(n)))return n.t;n.I=!0,i=Bm(r,a),n.I=!1}else i=Bm(r,a);return Zo(i,function(s,l){n&&Qv(n.t,s)===l||zm(i,s,e(l))}),a===3?new Set(i):i}(t)}function Bm(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return tc(t)}function Hm(){function t(s,l){var f=a[s];return f?f.enumerable=l:a[s]=f={configurable:!0,enumerable:l,get:function(){var h=this[Ae];return vn.get(h,s)},set:function(h){var g=this[Ae];vn.set(g,s,h)}},f}function e(s){for(var l=s.length-1;l>=0;l--){var f=s[l][Ae];if(!f.P)switch(f.i){case 5:i(f)&&mo(f);break;case 4:r(f)&&mo(f)}}}function r(s){for(var l=s.t,f=s.k,h=_i(f),g=h.length-1;g>=0;g--){var y=h[g];if(y!==Ae){var x=l[y];if(x===void 0&&!Pi(l,y))return!0;var w=f[y],O=w&&w[Ae];if(O?O.t!==x:!Um(w,x))return!0}}var A=!!l[Ae];return h.length!==_i(l).length+(A?0:1)}function i(s){var l=s.k;if(l.length!==s.t.length)return!0;var f=Object.getOwnPropertyDescriptor(l,l.length-1);if(f&&!f.get)return!0;for(var h=0;h<l.length;h++)if(!l.hasOwnProperty(h))return!0;return!1}function n(s){s.g&&Zt(3,JSON.stringify(ho(s)))}var a={};Xv("ES5",{J:function(s,l){var f=Array.isArray(s),h=function(y,x){if(y){for(var w=Array(x.length),O=0;O<x.length;O++)Object.defineProperty(w,""+O,t(O,!0));return w}var A=Vm(x);delete A[Ae];for(var _=_i(A),T=0;T<_.length;T++){var P=_[T];A[P]=t(P,y||!!A[P].enumerable)}return Object.create(Object.getPrototypeOf(x),A)}(f,s),g={i:f?5:4,A:l?l.A:Zl(),P:!1,I:!1,R:{},l,t:s,k:h,o:null,g:!1,C:!1};return Object.defineProperty(h,Ae,{value:g,writable:!0}),h},S:function(s,l,f){f?Kr(l)&&l[Ae].A===s&&e(s.p):(s.u&&function h(g){if(g&&typeof g=="object"){var y=g[Ae];if(y){var x=y.t,w=y.k,O=y.R,A=y.i;if(A===4)Zo(w,function(te){te!==Ae&&(x[te]!==void 0||Pi(x,te)?O[te]||h(w[te]):(O[te]=!0,mo(y)))}),Zo(x,function(te){w[te]!==void 0||Pi(w,te)||(O[te]=!1,mo(y))});else if(A===5){if(i(y)&&(mo(y),O.length=!0),w.length<x.length)for(var _=w.length;_<x.length;_++)O[_]=!1;else for(var T=x.length;T<w.length;T++)O[T]=!0;for(var P=Math.min(w.length,x.length),H=0;H<P;H++)w.hasOwnProperty(H)||(O[H]=!0),O[H]===void 0&&h(w[H])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?r(s):i(s)}})}var Fm,xn,ic,t0,r0,Dm,Wm,Mm,Ae,o0,_i,Vm,Xl,vn,bn,i0,Pt,n0,$L,TL,PL,_L,NL,BL,Pa,_a=p(()=>{ic=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",t0=typeof Map<"u",r0=typeof Set<"u",Dm=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Wm=ic?Symbol.for("immer-nothing"):((Fm={})["immer-nothing"]=!0,Fm),Mm=ic?Symbol.for("immer-draftable"):"__$immer_draftable",Ae=ic?Symbol.for("immer-state"):"__$immer_state",o0=""+Object.prototype.constructor,_i=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Vm=Object.getOwnPropertyDescriptors||function(t){var e={};return _i(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},Xl={},vn={get:function(t,e){if(e===Ae)return t;var r=ho(t);if(!Pi(r,e))return function(n,a,s){var l,f=Nm(a,s);return f?"value"in f?f.value:(l=f.get)===null||l===void 0?void 0:l.call(n.k):void 0}(t,r,e);var i=r[e];return t.I||!dr(i)?i:i===Kl(t.t,e)?(ql(t),t.o[e]=Yl(t.A.h,i,t)):i},has:function(t,e){return e in ho(t)},ownKeys:function(t){return Reflect.ownKeys(ho(t))},set:function(t,e,r){var i=Nm(ho(t),e);if(i?.set)return i.set.call(t.k,r),!0;if(!t.P){var n=Kl(ho(t),e),a=n?.[Ae];if(a&&a.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(Um(r,n)&&(r!==void 0||Pi(t.t,e)))return!0;ql(t),mo(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 Kl(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,ql(t),mo(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=ho(t),i=Reflect.getOwnPropertyDescriptor(r,e);return i&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:i.enumerable,value:r[e]}},defineProperty:function(){Zt(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Zt(12)}},bn={};Zo(vn,function(t,e){bn[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),bn.deleteProperty=function(t,e){return bn.set.call(this,t,e,void 0)},bn.set=function(t,e,r){return vn.set.call(this,t[0],e,r,t[0])};i0=function(){function t(r){var i=this;this.O=Dm,this.D=!0,this.produce=function(n,a,s){if(typeof n=="function"&&typeof a!="function"){var l=a;a=n;var f=i;return function(A){var _=this;A===void 0&&(A=l);for(var T=arguments.length,P=Array(T>1?T-1:0),H=1;H<T;H++)P[H-1]=arguments[H];return f.produce(A,function(te){var ie;return(ie=a).call.apply(ie,[_,te].concat(P))})}}var h;if(typeof a!="function"&&Zt(6),s!==void 0&&typeof s!="function"&&Zt(7),dr(n)){var g=Pm(i),y=Yl(i,n,void 0),x=!0;try{h=a(y),x=!1}finally{x?ka(g):Ql(g)}return typeof Promise<"u"&&h instanceof Promise?h.then(function(A){return jl(g,s),Gl(A,g)},function(A){throw ka(g),A}):(jl(g,s),Gl(h,g))}if(!n||typeof n!="object"){if((h=a(n))===void 0&&(h=n),h===Wm&&(h=void 0),i.D&&rc(h,!0),s){var w=[],O=[];Or("Patches").M(n,h,w,O),s(w,O)}return h}Zt(21,n)},this.produceWithPatches=function(n,a){if(typeof n=="function")return function(h){for(var g=arguments.length,y=Array(g>1?g-1:0),x=1;x<g;x++)y[x-1]=arguments[x];return i.produceWithPatches(h,function(w){return n.apply(void 0,[w].concat(y))})};var s,l,f=i.produce(n,a,function(h,g){s=h,l=g});return typeof Promise<"u"&&f instanceof Promise?f.then(function(h){return[h,s,l]}):[f,s,l]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var e=t.prototype;return e.createDraft=function(r){dr(r)||Zt(8),Kr(r)&&(r=e0(r));var i=Pm(this),n=Yl(this,r,void 0);return n[Ae].C=!0,Ql(i),n},e.finishDraft=function(r,i){var n=r&&r[Ae],a=n.A;return jl(a,i),Gl(void 0,a)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!Dm&&Zt(20),this.O=r},e.applyPatches=function(r,i){var n;for(n=i.length-1;n>=0;n--){var a=i[n];if(a.path.length===0&&a.op==="replace"){r=a.value;break}}n>-1&&(i=i.slice(n+1));var s=Or("Patches").$;return Kr(r)?s(r,i):this.produce(r,function(l){return s(l,i)})},t}(),Pt=new i0,n0=Pt.produce,$L=Pt.produceWithPatches.bind(Pt),TL=Pt.setAutoFreeze.bind(Pt),PL=Pt.setUseProxies.bind(Pt),_L=Pt.applyPatches.bind(Pt),NL=Pt.createDraft.bind(Pt),BL=Pt.finishDraft.bind(Pt),Pa=n0});function Qo(t){"@babel/helpers - typeof";return Qo=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},Qo(t)}var nc=p(()=>{});function jm(t,e){if(Qo(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var i=r.call(t,e||"default");if(Qo(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var Gm=p(()=>{nc()});function Km(t){var e=jm(t,"string");return Qo(e)=="symbol"?e:e+""}var qm=p(()=>{nc();Gm()});function Zm(t,e,r){return(e=Km(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Qm=p(()=>{qm()});function Ym(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 ac(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Ym(Object(r),!0).forEach(function(i){Zm(t,i,r[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ym(Object(r)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(r,i))})}return t}var Xm=p(()=>{Qm()});function nt(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 a0(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 lc(t,e,r){var i;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(nt(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(nt(1));return r(lc)(t,e)}if(typeof t!="function")throw new Error(nt(2));var n=t,a=e,s=[],l=s,f=!1;function h(){l===s&&(l=s.slice())}function g(){if(f)throw new Error(nt(3));return a}function y(A){if(typeof A!="function")throw new Error(nt(4));if(f)throw new Error(nt(5));var _=!0;return h(),l.push(A),function(){if(_){if(f)throw new Error(nt(6));_=!1,h();var P=l.indexOf(A);l.splice(P,1),s=null}}}function x(A){if(!a0(A))throw new Error(nt(7));if(typeof A.type>"u")throw new Error(nt(8));if(f)throw new Error(nt(9));try{f=!0,a=n(a,A)}finally{f=!1}for(var _=s=l,T=0;T<_.length;T++){var P=_[T];P()}return A}function w(A){if(typeof A!="function")throw new Error(nt(10));n=A,x({type:Na.REPLACE})}function O(){var A,_=y;return A={subscribe:function(P){if(typeof P!="object"||P===null)throw new Error(nt(11));function H(){P.next&&P.next(g())}H();var te=_(H);return{unsubscribe:te}}},A[Jm]=function(){return this},A}return x({type:Na.INIT}),i={dispatch:x,subscribe:y,getState:g,replaceReducer:w},i[Jm]=O,i}function s0(t){Object.keys(t).forEach(function(e){var r=t[e],i=r(void 0,{type:Na.INIT});if(typeof i>"u")throw new Error(nt(12));if(typeof r(void 0,{type:Na.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(nt(13))})}function eg(t){for(var e=Object.keys(t),r={},i=0;i<e.length;i++){var n=e[i];typeof t[n]=="function"&&(r[n]=t[n])}var a=Object.keys(r),s,l;try{s0(r)}catch(f){l=f}return function(h,g){if(h===void 0&&(h={}),l)throw l;if(0)var y;for(var x=!1,w={},O=0;O<a.length;O++){var A=a[O],_=r[A],T=h[A],P=_(T,g);if(typeof P>"u"){var H=g&&g.type;throw new Error(nt(14))}w[A]=P,x=x||P!==T}return x=x||a.length!==Object.keys(h).length,x?w:h}}function Bi(){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 tg(){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(nt(15))},s={getState:n.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=e.map(function(f){return f(s)});return a=Bi.apply(void 0,l)(n.dispatch),ac(ac({},n),{},{dispatch:a})}}}var Jm,sc,Na,Ba=p(()=>{Xm();Jm=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),sc=function(){return Math.random().toString(36).substring(7).split("").join(".")},Na={INIT:"@@redux/INIT"+sc(),REPLACE:"@@redux/REPLACE"+sc(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+sc()}}});function rg(t){var e=function(i){var n=i.dispatch,a=i.getState;return function(s){return function(l){return typeof l=="function"?l(n,a,t):s(l)}}};return e}var og,cc,ig=p(()=>{og=rg();og.withExtraArgument=rg;cc=og});function g0(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 fc(t){return dr(t)?Pa(t,function(){}):t}function x0(t){return typeof t=="boolean"}function v0(){return function(e){return S0(e)}}function S0(t){t===void 0&&(t={});var e=t.thunk,r=e===void 0?!0:e,i=t.immutableCheck,n=i===void 0?!0:i,a=t.serializableCheck,s=a===void 0?!0:a,l=new y0;if(r&&(x0(r)?l.push(cc):l.push(cc.withExtraArgument(r.extraArgument))),0){if(n)var f;if(s)var h}return l}function dg(t){var e=v0(),r=t||{},i=r.reducer,n=i===void 0?void 0:i,a=r.middleware,s=a===void 0?e():a,l=r.devTools,f=l===void 0?!0:l,h=r.preloadedState,g=h===void 0?void 0:h,y=r.enhancers,x=y===void 0?void 0:y,w;if(typeof n=="function")w=n;else if(g0(n))w=eg(n);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var O=s;if(typeof O=="function"&&(O=O(e),!pc&&!Array.isArray(O)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!pc&&O.some(function(te){return typeof te!="function"}))throw new Error("each middleware provided to configureStore must be a function");var A=tg.apply(void 0,O),_=Bi;f&&(_=m0(go({trace:!pc},typeof f=="object"&&f)));var T=new b0(A),P=T;Array.isArray(x)?P=Fi([A],x):typeof x=="function"&&(P=x(T));var H=_.apply(void 0,P);return lc(w,g,H)}function yo(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 go(go({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 pg(t){var e={},r=[],i,n={addCase:function(a,s){var l=typeof a=="string"?a:a.type;if(l in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[l]=s,n},addMatcher:function(a,s){return r.push({matcher:a,reducer:s}),n},addDefaultCase:function(a){return i=a,n}};return t(n),[e,r,i]}function C0(t){return typeof t=="function"}function O0(t,e,r,i){r===void 0&&(r=[]);var n=typeof e=="function"?pg(e):[e,r,i],a=n[0],s=n[1],l=n[2],f;if(C0(t))f=function(){return fc(t())};else{var h=fc(t);f=function(){return h}}function g(y,x){y===void 0&&(y=f());var w=Fi([a[x.type]],s.filter(function(O){var A=O.matcher;return A(x)}).map(function(O){var A=O.reducer;return A}));return w.filter(function(O){return!!O}).length===0&&(w=[l]),w.reduce(function(O,A){if(A)if(Kr(O)){var _=O,T=A(_,x);return T===void 0?O:T}else{if(dr(O))return Pa(O,function(P){return A(P,x)});var T=A(O,x);if(T===void 0){if(O===null)return O;throw Error("A case reducer on a non-draftable value must not return undefined")}return T}return O},y)}return g.getInitialState=f,g}function w0(t,e){return t+"/"+e}function ug(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:fc(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},s={},l={};n.forEach(function(g){var y=i[g],x=w0(e,g),w,O;"reducer"in y?(w=y.reducer,O=y.prepare):w=y,a[g]=w,s[x]=w,l[g]=O?yo(x,O):yo(x)});function f(){var g=typeof t.extraReducers=="function"?pg(t.extraReducers):[t.extraReducers],y=g[0],x=y===void 0?{}:y,w=g[1],O=w===void 0?[]:w,A=g[2],_=A===void 0?void 0:A,T=go(go({},x),s);return O0(r,function(P){for(var H in T)P.addCase(H,T[H]);for(var te=0,ie=O;te<ie.length;te++){var St=ie[te];P.addMatcher(St.matcher,St.reducer)}_&&P.addDefaultCase(_)})}var h;return{name:e,reducer:function(g,y){return h||(h=f()),h(g,y)},actions:l,caseReducers:a,getInitialState:function(){return h||(h=f()),h.getInitialState()}}}function L0(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function k0(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var cg,l0,Fi,c0,d0,p0,ng,u0,f0,ag,go,dc,h0,m0,ek,y0,b0,pc,E0,A0,R0,uc,sg,I0,ik,fg,hg,mg,nk,ak,sk,lk,hc,ck,dk,pk,lg,uk,$0,fk,gg=p(()=>{_a();Ba();Ba();Ba();ig();_a();_a();cg=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(i[a]=n[a])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function i(){this.constructor=e}e.prototype=r===null?Object.create(r):(i.prototype=r.prototype,new i)}}(),l0=function(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,n,a,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(h){return function(g){return f([h,g])}}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(g){h=[6,g],n=0}finally{i=a=0}if(h[0]&5)throw h[1];return{value:h[0]?h[1]:void 0,done:!0}}},Fi=function(t,e){for(var r=0,i=e.length,n=t.length;r<i;r++,n++)t[n]=e[r];return t},c0=Object.defineProperty,d0=Object.defineProperties,p0=Object.getOwnPropertyDescriptors,ng=Object.getOwnPropertySymbols,u0=Object.prototype.hasOwnProperty,f0=Object.prototype.propertyIsEnumerable,ag=function(t,e,r){return e in t?c0(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},go=function(t,e){for(var r in e||(e={}))u0.call(e,r)&&ag(t,r,e[r]);if(ng)for(var i=0,n=ng(e);i<n.length;i++){var r=n[i];f0.call(e,r)&&ag(t,r,e[r])}return t},dc=function(t,e){return d0(t,p0(e))},h0=function(t,e,r){return new Promise(function(i,n){var a=function(f){try{l(r.next(f))}catch(h){n(h)}},s=function(f){try{l(r.throw(f))}catch(h){n(h)}},l=function(f){return f.done?i(f.value):Promise.resolve(f.value).then(a,s)};l((r=r.apply(t,e)).next())})},m0=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Bi:Bi.apply(null,arguments)},ek=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};y0=function(t){cg(e,t);function e(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var n=t.apply(this,r)||this;return Object.setPrototypeOf(n,e.prototype),n}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,Fi([void 0],r[0].concat(this)))):new(e.bind.apply(e,Fi([void 0],r.concat(this))))},e}(Array),b0=function(t){cg(e,t);function e(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var n=t.apply(this,r)||this;return Object.setPrototypeOf(n,e.prototype),n}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,Fi([void 0],r[0].concat(this)))):new(e.bind.apply(e,Fi([void 0],r.concat(this))))},e}(Array);pc=!0;E0="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",A0=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=E0[Math.random()*64|0];return e},R0=["name","message","stack","code"],uc=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),sg=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),I0=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,i=R0;r<i.length;r++){var n=i[r];typeof t[n]=="string"&&(e[n]=t[n])}return e}return{message:String(t)}},ik=function(){function t(e,r,i){var n=yo(e+"/fulfilled",function(g,y,x,w){return{payload:g,meta:dc(go({},w||{}),{arg:x,requestId:y,requestStatus:"fulfilled"})}}),a=yo(e+"/pending",function(g,y,x){return{payload:void 0,meta:dc(go({},x||{}),{arg:y,requestId:g,requestStatus:"pending"})}}),s=yo(e+"/rejected",function(g,y,x,w,O){return{payload:w,error:(i&&i.serializeError||I0)(g||"Rejected"),meta:dc(go({},O||{}),{arg:x,requestId:y,rejectedWithValue:!!w,requestStatus:"rejected",aborted:g?.name==="AbortError",condition:g?.name==="ConditionError"})}}),l=!1,f=typeof AbortController<"u"?AbortController:function(){function g(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return g.prototype.abort=function(){},g}();function h(g){return function(y,x,w){var O=i?.idGenerator?i.idGenerator(g):A0(),A=new f,_,T=!1;function P(te){_=te,A.abort()}var H=function(){return h0(this,null,function(){var te,ie,St,gr,dt,yr,Ze;return l0(this,function(b){switch(b.label){case 0:return b.trys.push([0,4,,5]),gr=(te=i?.condition)==null?void 0:te.call(i,g,{getState:x,extra:w}),k0(gr)?[4,gr]:[3,2];case 1:gr=b.sent(),b.label=2;case 2:if(gr===!1||A.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return T=!0,dt=new Promise(function(C,F){return A.signal.addEventListener("abort",function(){return F({name:"AbortError",message:_||"Aborted"})})}),y(a(O,g,(ie=i?.getPendingMeta)==null?void 0:ie.call(i,{requestId:O,arg:g},{getState:x,extra:w}))),[4,Promise.race([dt,Promise.resolve(r(g,{dispatch:y,getState:x,extra:w,requestId:O,signal:A.signal,abort:P,rejectWithValue:function(C,F){return new uc(C,F)},fulfillWithValue:function(C,F){return new sg(C,F)}})).then(function(C){if(C instanceof uc)throw C;return C instanceof sg?n(C.payload,O,g,C.meta):n(C,O,g)})])];case 3:return St=b.sent(),[3,5];case 4:return yr=b.sent(),St=yr instanceof uc?s(null,O,g,yr.payload,yr.meta):s(yr,O,g),[3,5];case 5:return Ze=i&&!i.dispatchConditionRejection&&s.match(St)&&St.meta.condition,Ze||y(St),[2,St]}})})}();return Object.assign(H,{abort:P,requestId:O,arg:g,unwrap:function(){return H.then(L0)}})}}return Object.assign(h,{pending:a,rejected:s,fulfilled:n,typePrefix:e})}return t.withTypes=function(){return t},t}();fg="listener",hg="completed",mg="cancelled",nk="task-"+mg,ak="task-"+hg,sk=fg+"-"+mg,lk=fg+"-"+hg,hc="listenerMiddleware",ck=yo(hc+"/add"),dk=yo(hc+"/removeAll"),pk=yo(hc+"/remove"),uk=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(lg||(lg=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},$0=function(t){return function(e){setTimeout(e,t)}},fk=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:$0(10);Hm()});function T0(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 Fa,yg=p(()=>{"use strict";Fa=class extends T0(Object){}});var bg,xg=p(()=>{"use strict";gg();La();Vl();yg();window.ftReduxStores||(window.ftReduxStores={});bg=class t extends Fa{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(Ia(a))return a;if(n==null)return;let s=ug({...n,reducers:(r=n.reducers)!==null&&r!==void 0?r:{}}),l=dg({reducer:(f,h)=>h.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof h.type=="string"&&h.type.startsWith("DEFAULT_VALUE_SETTER__")?{...f,...h.overwrites}:s.reducer(f,h)});return window.ftReduxStores[n.name]=new t(s,l,n.eventBus)}constructor(e,r,i){super(),this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new wa;let n=a=>a!=null?JSON.parse(JSON.stringify(a)):a;this.actions=new Proxy(this.reduxSlice.actions,{get:(a,s,l)=>{let f=s,h=a[f];return h?(...g)=>{let y=h(...g.map(n));return this.reduxStore.dispatch(y),y}:g=>{this.setState({[f]:n(g)})}}}),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 vg=p(()=>{"use strict";Oa()});var Sg=p(()=>{"use strict";hm();Vl();Tm();xg();La();vg()});var Cg=p(()=>{"use strict"});var P0,Og=p(()=>{"use strict";P0=u(W());Sg();Cg();ht()});var Da,wg=p(()=>{"use strict";ht();Wo();Da=class extends Rt{constructor(){super(...arguments),this.CACHE_DURATION=3*60*1e3}async getUserAssetCount(e){if(this.isAuthenticated())return this.cache.get(`user-asset-count-${e}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/${e}`),this.CACHE_DURATION)}async getUserBookmarkCountByMap(e){if(this.isAuthenticated())return this.cache.get(`user-bookmark-count-by-map-${e}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/BOOKMARKS/${e}`),this.CACHE_DURATION)}isAuthenticated(){let e=$.getState().session;return!!e?.sessionAuthenticated}}});var Ma,_0,N0,Qt,mc,gc,za=p(()=>{"use strict";Go();Ma=u(v());Fl();Tl();ht();wg();_0="ft-user-assets",N0={setAssetCount:(t,e)=>{let{userAssetType:r,count:i}=e.payload.assetCount;t.assetCounts.allAsset[r]=i},clearAssetCount:t=>{Object.values(jo).forEach(e=>{t.assetCounts.allAsset[e]=void 0})},setBookmarkCountByMap:(t,e)=>{let r=e.payload.mapId;t.assetCounts.bookmarkByMap[r]=e.payload.count},clearBookmarkCountByMap:t=>{t.assetCounts.bookmarkByMap={}}},Qt=Ma.FtReduxStore.get({name:_0,reducers:N0,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(jo).map(t=>[t,void 0])),bookmarkByMap:{}}}}),mc=class{constructor(e=new Da){this.assetCountsService=e,this.currentSession=$.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new ua,this.savedSearchesService=new ba,$.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=$.getState();(0,Ma.deepEqual)((e=this.currentSession)===null||e===void 0?void 0:e.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks(),this.clearUserAssetCounts())}clearUserAssetCounts(){Qt.actions.clearAssetCount(),Qt.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Qt.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Qt.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();Qt.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async loadAssetCount(e){let r=await this.assetCountsService.getUserAssetCount(e);r&&Qt.actions.setAssetCount({assetCount:r})}async loadBookmarkByMapId(e){let r=await this.assetCountsService.getUserBookmarkCountByMap(e);r&&Qt.actions.setBookmarkCountByMap({count:r.count,mapId:e})}async reloadAssetCount(e){this.assetCountsService.clearCache();let r=Object.keys(Qt.getState().assetCounts.bookmarkByMap).length!==0;e===jo.BOOKMARKS&&r&&Qt.actions.clearBookmarkCountByMap(),Qt.getState().assetCounts.allAsset[e]!==void 0&&await this.loadAssetCount(e)}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let r=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;Qt.actions.bookmarks(r)}}},gc=new mc;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=gc)});var Eg=p(()=>{"use strict";Go();za()});var Ag=p(()=>{"use strict"});var Rg,wr=p(()=>{"use strict";Rg=u(v());Wl();Og();ht();za();Eg();Hl();Ll();Ag();Wl();(0,Rg.customElement)("ft-app-context")(ve)});function Ig(t){return t.match(/^[\w-]+\.[\w-]+$/)}var B0,Lg=p(()=>{"use strict";Sn();B0=u(v())});function Yt(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?ha:Ri}i18n(a){let{context:s,key:l,message:f}=a,{custom:h,args:g,argsProvider:y}=a;if(s&&l){this.hasI18nContext(s)||this.addI18nContext(s,void 0,h);let x=g??(y?y(this):[]);return this.getI18nService(h).resolveMessage(s,l,...x)}return f}customI18n(a,s){if(Ig(a)){let[l,f]=a.split(".");return this.i18n({custom:!0,context:l,key:f,...s})||a}return a}firstUpdated(a){super.firstUpdated(a),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(a){super.update(a),this.updateI18nAttributes((s,l,f)=>a.has(l)||typeof s.argsProvider=="function"),this.updateI18nProperties(s=>typeof s.argsProvider=="function")}onI18nUpdate(a){this.updateI18nAttributes((s,l,f)=>{var h;return((h=f?.context)===null||h===void 0?void 0:h.toLowerCase())===a}),this.updateI18nProperties(s=>s.context.toLowerCase()===a),this.requestUpdate()}updateI18nAttributes(a){var s,l;let f=this,h=(g,y,x)=>x?.context&&x.key&&a(g,y,x)?{...x,message:this.i18n({context:x.context,key:x.key,custom:x.custom,...g})}:x;(s=this[kg])===null||s===void 0||s.forEach((g,y)=>f[y]=h(g,y,f[y])),(l=this[$g])===null||l===void 0||l.forEach((g,y)=>{var x;return f[y]=(x=f[y])===null||x===void 0?void 0:x.map(w=>h(g,y,w))})}updateI18nProperties(a){var s;(s=this[_g])===null||s===void 0||s.forEach((l,f)=>{a(l,f)&&(this[f]=this.i18n(l))})}addI18nMessages(a,s,l){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(a,s,l)}addI18nContext(a,s,l){let f=(typeof a=="string"?a:a.name).toLowerCase();l=typeof a=="string"?l:a.custom,this[Ua].set(f,{isCustomContext:l}),this[Cn].has(f)||this[Cn].set(f,this.getI18nService(l).subscribe(f,()=>this.onI18nUpdate(f))),this.getI18nService(l).prepareContext(f,s)}hasI18nContext(a){return this[Ua].has(a.toLowerCase())}connectedCallback(){super.connectedCallback(),this[Ua].forEach((a,s)=>this.addI18nContext(s,void 0,a.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[Cn].forEach(a=>a()),this[Cn].clear()}}return e=Ua,r=Cn,F0([(0,Pg.property)({type:Boolean})],i.prototype,"useCustomMessageContexts",void 0),i}var Wa,Pg,F0,kg,$g,_g,Ua,Cn,Tg,Ha,Sn=p(()=>{"use strict";Wa=u(v());wr();Pg=u(W());Lg();F0=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},kg=Symbol("i18nAttributes"),$g=Symbol("i18nListAttributes"),_g=Symbol("i18nProperties"),Ua=Symbol("i18nContexts"),Cn=Symbol("i18nUnsubs");Tg=class extends Yt(Wa.FtLitElement){},Ha=class extends Yt(Wa.FtLitElementRedux){}});var Va,ja,Ga,On,pr,yc=p(()=>{"use strict";Va=u(R()),ja=u(W()),Ga=u(v());Il();Sn();wr();On=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},pr=class extends Ha{constructor(){super(),this.editorMode=!1,this.addStore($)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":Va.nothing:Va.html`
1164
1164
  <span class="ft-i18n">
1165
1165
  ${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
1166
1166
  </span>
1167
- `}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:""})}};lr.elementDefinitions={};lr.styles=gh;On([(0,Ga.redux)()],lr.prototype,"editorMode",void 0);On([(0,ja.property)()],lr.prototype,"context",void 0);On([(0,ja.property)()],lr.prototype,"key",void 0);On([(0,Ga.jsonProperty)([])],lr.prototype,"args",void 0);On([(0,ja.property)()],lr.prototype,"defaultMessage",void 0)});var wr,Ng=p(()=>{"use strict";Or();wr=class t{static build(e){return new t(e)}static buildCustom(e){return new t(e,!0)}static fromGwt(e){return new t(e)}get service(){return this.custom?ha:Ii}constructor(e,r=!1){this.name=e,this.custom=r,this.properties=new Proxy({},{get:(i,n)=>{let a=n;return s=>({context:this.name,key:a,custom:this.custom,args:typeof s=="function"?void 0:s,argsProvider:typeof s=="function"?s:void 0})}}),this.messages=new Proxy({},{get:(i,n)=>(...a)=>this.service.resolveMessage(this.name,n,...a)}),this.rawMessages=new Proxy({},{get:(i,n)=>this.service.resolveRawMessage(this.name,n)})}}});var Bg=p(()=>{"use strict";Sn()});var Fg=p(()=>{"use strict"});var Dg,Er=p(()=>{"use strict";Dg=f(v());yc();Ng();Sn();Bg();Il();Fg();yc();(0,Dg.customElement)("ft-i18n")(lr)});var Wg,Vg=p(()=>{Gs();Wg=t=>t??Fe});var jg=p(()=>{Vg()});function Gg(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)===ya.EXTERNAL}function qa(t){var e,r,i,n,a;if(Gg(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 qt.MAP:return t.map.readerUrl;case qt.DOCUMENT:return t.document.viewerUrl;case qt.TOPIC:return t.topic.readerUrl}return""}function Kg(t,e){return Wg(e&&Gg(t)?"_blank":void 0)}var vc=p(()=>{"use strict";Go();jg()});var zi,Ui,Cc=p(()=>{"use strict";zi=class extends CustomEvent{constructor(e,r){super("ft-search-result-click",{detail:{result:e,rank:r},bubbles:!0,composed:!0})}},Ui=class extends CustomEvent{constructor(e,r){super("ft-search-result-open-context-menu",{detail:{result:e,rank:r},bubbles:!0,composed:!0})}}});var Yg,z0,Oc,wc=p(()=>{"use strict";Yg=f(R()),z0={},Oc=Yg.css`
1168
- `});var Xg=p(()=>{"use strict"});var Za,U0,Jg,ey=p(()=>{"use strict";Za=f(v()),U0={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},setRequestSortId:(t,e)=>{t.request.sortId=e.payload},setRequestFilters:(t,e)=>{t.request.metadataFilters=e.payload},setRequestFacets:(t,e)=>{t.request.facets=e.payload},setRequestVirtualField:(t,e)=>{t.request.virtualField=e.payload},setRequestScope:(t,e)=>{t.request.scope=e.payload},setOtherQueryParams:(t,e)=>{t.request.otherQueryParams=e.payload},setRequestClusterSortCriterion:(t,e)=>{var r;t.request.clusterSortCriterions=(r=e.payload)!==null&&r!==void 0?r:[]}},Jg=t=>Za.FtReduxStore.get({name:"ft-search-"+t,initialState:{request:{query:"",clusterSortCriterions:[],metadataFilters:[],facets:[],sort:[],sortId:void 0,paging:{page:1,perPage:20}},liveQuery:"",paging:void 0,facets:void 0,spellcheck:void 0,locales:[],results:void 0,announcements:void 0,suggestResults:void 0,configuration:void 0},reducers:U0})});var Qa,ty=p(()=>{"use strict";Or();Qa=class extends Rt{constructor(e){super(!0,e),this.cache.registerFinal("search-configuration",async()=>(await this.awaitApi).getSearchConfiguration())}async launchSearch(e){let r={...e,metadataFilters:this.sortFilters(e.metadataFilters),facets:[...e.facets].sort((i,n)=>i.id.localeCompare(n.id))};return this.cache.get("search-"+this.hash(r),async()=>(await this.awaitApi).search(e),2*60*1e3)}async launchSuggest(e){let r={...e,metadataFilters:this.sortFilters(e.metadataFilters)};return this.cache.get("suggest-"+this.hash(r),async()=>(await this.awaitApi).getSuggestions(e),2*60*1e3)}async getAvailableSearchLocales(){return this.cache.get("available-locales",async()=>(await this.awaitApi).getAvailableSearchLocales())}async getConfiguration(){return this.cache.get("search-configuration")}sortFilters(e){return e.map(r=>r.valueFilter==null?r:{...r,valueFilter:{...r.valueFilter,values:[...r.valueFilter.values].sort((i,n)=>i.localeCompare(n))}}).sort((r,i)=>r.key.localeCompare(i.key))}}});var _t,ry,En,Hi,Ec=p(()=>{"use strict";_t=f(v());ey();Go();ty();ry=t=>t.request.virtualField===$i.TITLE_ONLY&&t.request.scope===Ti.DOCUMENTS,En=class t extends Event{constructor(){super(t.eventName)}};En.eventName="search-context-clear-all-filters";Hi=class t{static build(e,r){return new t(Jg(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=>{var n;return{input:i.liveQuery,metadataFilters:i.request.metadataFilters,sort:(n=i.request.sort)!==null&&n!==void 0?n:[],sortId:i.request.sortId,contentLocale:i.request.contentLocale,scope:i.request.scope}},this.service=r??new Qa,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.service.getConfiguration().then(e=>this.store.actions.configuration(e)),this.launchSearch()}setQuery(e){this.store.actions.setRequestQuery(e),this.store.actions.liveQuery(e),this.store.actions.setPageNumber(1)}setContentLocale(e){var r;let i=(r=this.store.getState().locales)!==null&&r!==void 0?r:[],n=this.store.getState().request.contentLocale;if(e!=n){if(i.length>0){let a=s=>i.some(l=>l.lang==s);a(e)||(e=a(n)?n:i[0].lang)}this.store.actions.setRequestContentLocale(e),this.store.actions.setPageNumber(1),this.store.actions.setRequestFilters([])}return e}forceContentLocale(e){this.store.actions.setRequestContentLocale(e)}setPageSize(e){this.store.actions.setPageSize(e)}setPageNumber(e){this.store.actions.setPageNumber(e)}get sortOptions(){var e,r;return(r=(e=this.store.getState().configuration)===null||e===void 0?void 0:e.sortOptions)!==null&&r!==void 0?r:[]}setSort(e){this.store.actions.setRequestSort(e),this.store.actions.setPageNumber(1)}setSortId(e){var r;if(this.store.actions.setPageNumber(1),e==null||this.sortOptions.length==0)return this.store.actions.setRequestSortId(e),e;let i=(r=this.sortOptions.find(n=>n.id==e))!==null&&r!==void 0?r:this.sortOptions[0];return this.store.actions.setRequestSortId(i.id),i.id}setFilters(e){let r=e.filter(i=>!i.valueFilter||i.valueFilter.values.length>0);this.store.actions.setRequestFilters(r),this.store.actions.setPageNumber(1)}setClusterSortCriterion(e){this.store.actions.setRequestClusterSortCriterion(e)}setSearchInDocumentTitlesOnly(e){e?(this.store.actions.setRequestVirtualField($i.TITLE_ONLY),this.store.actions.setRequestScope(Ti.DOCUMENTS)):(this.store.actions.setRequestVirtualField($i.EVERYWHERE),this.store.actions.setRequestScope(Ti.DEFAULT))}setVirtualField(e){this.store.actions.setRequestVirtualField(e)}get searchInDocumentTitlesOnly(){return ry(this.store.getState())}clearAllFilters(){this.setFilters([]),this.store.dispatchEvent(new En)}addFacet(e){this.facetIds=[...this.facetIds,e]}replaceFacet(e,r){let i=this.facetIds.filter(n=>n!=e);r&&i.push(r),this.facetIds=i}get facetIds(){var e;let r=this.store.getState().request;return[...new Set([...r.facets.map(i=>i.id),...((e=r.metadataFilters)!==null&&e!==void 0?e:[]).map(i=>i.key)])]}set facetIds(e){let i=[...new Set(e)].map(n=>({id:n}));this.store.actions.setRequestFacets(i)}setFilter(e,r){this.setValueFilter(e,r)}setValueFilter(e,r){let i=this.store.getState().request.metadataFilters,n={key:e,valueFilter:{values:r,negative:!1}},a=[...i.filter(s=>!s.valueFilter),...i.filter(s=>s.valueFilter&&s.key!==n.key),n];this.setFilters(a)}setDateFilter(e,r){let i=this.store.getState().request.metadataFilters,n={key:e,dateFilter:{type:r}},a=[...i.filter(s=>!s.dateFilter),...i.filter(s=>s.dateFilter&&s.key!==n.key),n];this.setFilters(a)}removeDateFilter(e){let r=this.store.getState().request.metadataFilters,i=[...r.filter(n=>!n.dateFilter),...r.filter(n=>n.dateFilter&&n.key!==e)];this.setFilters(i)}setRangeFilter(e,r,i){let n=this.store.getState().request.metadataFilters,a={key:e,rangeFilter:{from:r,to:i}},s=[...n.filter(l=>!l.rangeFilter),...n.filter(l=>l.rangeFilter&&l.key!==a.key),a];this.setFilters(s)}removeRangeFilter(e){let r=this.store.getState().request.metadataFilters,i=[...r.filter(n=>!n.rangeFilter),...r.filter(n=>n.rangeFilter&&n.key!==e)];this.setFilters(i)}setLiveQuery(e){this.store.actions.liveQuery(e)}setRequest(e){this.store.actions.setRequest({...e,facets:this.store.getState().request.facets}),this.store.actions.liveQuery(e.query),this.store.actions.setPageNumber(1)}setScope(e){this.store.actions.setRequestScope(e)}setOtherQueryParams(e){this.store.actions.setOtherQueryParams(e)}setIgnoreEmptyQuery(e){this.ignoreEmptyQuery=e}setOpenExternalDocumentInNewTab(e){this.openExternalDocumentInNewTab=e}updateLocales(){return this.localesDebouncer.run(async()=>this.store.actions.locales((await this.service.getAvailableSearchLocales()).contentLocales))}async fetchSearchData(e){var r,i,n,a;try{if((r=this.cancelableSearch)===null||r===void 0||r.cancel(),this.store.actions.paging(void 0),this.ignoreEmptyQuery&&e.query.length==0)this.store.actions.results(void 0),this.store.actions.announcements(void 0),this.store.actions.facets(void 0),this.store.actions.spellcheck(void 0);else{this.cancelableSearch=(0,_t.cancelable)(this.service.launchSearch(e));let s=await this.cancelableSearch;if(this.store.actions.announcements(s.announcements),s.paging.currentPage<=1)this.store.actions.results(s.results),this.store.actions.facets(s.facets),this.store.actions.spellcheck(s.spellcheck);else{let l=((i=this.store.getState().results)!==null&&i!==void 0?i:[]).concat(s.results);this.store.actions.results(l),this.store.commands.clear(/^focus-result-/),this.store.commands.add({type:`focus-result-${(s.paging.currentPage-1)*((n=e.paging.perPage)!==null&&n!==void 0?n:20)+1}`})}this.store.actions.paging(s.paging)}}catch(s){s instanceof _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.announcements(void 0),this.store.actions.facets(void 0),this.store.actions.spellcheck(void 0)}}});function V0(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[Ac]=0,this[oy]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null||this[Ac]>W0?window.clearInterval(this[oy]):(this[Ac]++,this.dispatchEvent(new Rc))}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return H0([(0,ny.state)()],e.prototype,"stateManager",void 0),e}var iy,ny,H0,Rc,oy,Ac,W0,Xt,Xo=p(()=>{"use strict";iy=f(v()),ny=f(W());Xg();Ec();H0=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Rc=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},oy=Symbol("registerInterval"),Ac=Symbol("registerAttempts"),W0=40;Xt=class extends V0(iy.FtLitElementRedux){}});function An(t){return t.filter(e=>e.key==="ft:lastEdition").filter(e=>!e.valueFilter).map(e=>e.dateFilter?e.dateFilter.type:"CUSTOM").shift()}function Rn(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 Ic=p(()=>{"use strict"});var ay,Ya,sy=p(()=>{"use strict";ay=f(v());Go();Or();Ic();Ya=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 xa,this.resultsWatcher=(0,ay.watch)(e,i=>i.results,this.sendEvent)}setEnableAnalyticsEvents(e){this.enableAnalyticsEvents=e}setAppName(e){this.appName=e}setAppVersion(e){this.appVersion=e}setDocumentSearch(e){this.document=e}setDocumentSearchFromMap(e){this.setDocumentSearch(this.convertToAnalyticsMap(e))}initAppInfo(){let{apiIntegrationIdentifier:e,apiIntegrationAppVersion:r}=$.getState();this.setAppName(e??"unknown"),this.setAppVersion(r??"unknown")}convertToAnalyticsMap(e){let r;switch(e.editorialType){case"BOOK":r="STRUCTURED_DOCUMENT";break;case"SHARED_BOOK":r="SHARED_PERSONAL_BOOK";break;case"ARTICLE":r="RESOURCE";break}return{id:e.id,title:e.title,type:r,metadata:e.metadata}}canSendEvent(){if(this.appName==null||this.appVersion==null)return console.debug("ft-search-context.eventManager is not initialized. No events will be sent!"),!1;let{editorMode:e}=$.getState();return this.enableAnalyticsEvents&&!e}sendKhubSearchEvent(e,r){let i={offline:!1,appVersion:this.appVersion,appName:this.appName,name:Vo.KHUB__SEARCH,searchResponse:{autocorrect:this.store.getState().spellcheck!=null,nbResults:r.length},searchQuery:{terms:e.query,searchType:e.virtualField,lastUpdate:An(e.metadataFilters),facets:e.metadataFilters.map(n=>Rn(n))}};this.eventsService.sendKhubSearchEvent(i)}sendDocumentSearchEvent(e,r){if(e.metadataFilters.find(n=>{var a;return n.key==="ft:publicationId"&&((a=n.valueFilter)===null||a===void 0?void 0:a.values[0])===this.document.id})!==void 0){let n={offline:!1,appVersion:this.appVersion,appName:this.appName,name:Vo.DOCUMENT__SEARCH,searchResponse:{autocorrect:this.store.getState().spellcheck!=null,nbResults:r.length},searchQuery:{terms:e.query},document:this.document};this.eventsService.sendDocumentSearchEvent(n)}}sendResultClickedEvent(e,r){if(!this.canSendEvent())return;let i=this.store.getState().request,n;e.type==qt.TOPIC&&(n={tocId:e.topic.tocId,title:e.topic.title});let a={offline:!1,appVersion:this.appVersion,appName:this.appName,name:Vo.SEARCH_PAGE__SELECT,searchQuery:{terms:i.query,searchType:i.virtualField,lastUpdate:An(i.metadataFilters),facets:i.metadataFilters.map(s=>Rn(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==qt.TOPIC&&(n={tocId:e.topic.tocId,title:e.topic.title});let a={offline:!1,appVersion:this.appVersion,appName:this.appName,name:Vo.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU,searchQuery:{terms:i.query,searchType:i.virtualField,lastUpdate:An(i.metadataFilters),facets:i.metadataFilters.map(s=>Rn(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 qt.MAP:return{id:e.map.mapId,title:e.map.title,type:ki.STRUCTURED_DOCUMENT,metadata:e.map.metadata};case qt.TOPIC:return{id:e.topic.mapId,title:e.topic.mapTitle,type:ki.STRUCTURED_DOCUMENT,metadata:e.topic.metadata};case qt.DOCUMENT:return{id:e.document.documentId,title:e.document.title,type:ki.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 ly,Ar,Jt,et,Xa,Ja,es,Re,Lc=p(()=>{"use strict";ly=f(R()),Ar=f(W()),Jt=f(v());wc();Xo();Or();za();sy();et=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Xa=class extends CustomEvent{constructor(e){super("ft-search-load-error",{detail:e})}},Ja=class extends CustomEvent{constructor(e){super("ft-search-request-change",{detail:e})}},es=class extends CustomEvent{constructor(e,r,i){super("ft-search-results-change",{detail:{request:e,paging:r,spellcheck:i}})}},Re=class extends Jt.FtLitElementRedux{get stateManager(){if(this._stateManager==null){let e=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=Hi.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 Ya(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 ly.html`
1167
+ `}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:""})}};pr.elementDefinitions={};pr.styles=gh;On([(0,Ga.redux)()],pr.prototype,"editorMode",void 0);On([(0,ja.property)()],pr.prototype,"context",void 0);On([(0,ja.property)()],pr.prototype,"key",void 0);On([(0,Ga.jsonProperty)([])],pr.prototype,"args",void 0);On([(0,ja.property)()],pr.prototype,"defaultMessage",void 0)});var Er,Ng=p(()=>{"use strict";wr();Er=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?ha:Ri}constructor(e,r=!1){this.name=e,this.custom=r,this.properties=new Proxy({},{get:(i,n)=>{let a=n;return s=>({context:this.name,key:a,custom:this.custom,args:typeof s=="function"?void 0:s,argsProvider:typeof s=="function"?s:void 0})}}),this.messages=new Proxy({},{get:(i,n)=>(...a)=>this.service.resolveMessage(this.name,n,...a)}),this.rawMessages=new Proxy({},{get:(i,n)=>this.service.resolveRawMessage(this.name,n)})}}});var Bg=p(()=>{"use strict";Sn()});var Fg=p(()=>{"use strict"});var Dg,Ar=p(()=>{"use strict";Dg=u(v());yc();Ng();Sn();Bg();Il();Fg();yc();(0,Dg.customElement)("ft-i18n")(pr)});var Wg,Vg=p(()=>{Gs();Wg=t=>t??Fe});var jg=p(()=>{Vg()});function Gg(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)===ya.EXTERNAL}function qa(t){var e,r,i,n,a;if(Gg(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 qt.MAP:return t.map.readerUrl;case qt.DOCUMENT:return t.document.viewerUrl;case qt.TOPIC:return t.topic.readerUrl}return""}function Kg(t,e){return Wg(e&&Gg(t)?"_blank":void 0)}var vc=p(()=>{"use strict";Go();jg()});var Mi,zi,Cc=p(()=>{"use strict";Mi=class extends CustomEvent{constructor(e,r){super("ft-search-result-click",{detail:{result:e,rank:r},bubbles:!0,composed:!0})}},zi=class extends CustomEvent{constructor(e,r){super("ft-search-result-open-context-menu",{detail:{result:e,rank:r},bubbles:!0,composed:!0})}}});var Yg,z0,Oc,wc=p(()=>{"use strict";Yg=u(R()),z0={},Oc=Yg.css`
1168
+ `});var Xg=p(()=>{"use strict"});var Za,U0,Jg,ey=p(()=>{"use strict";Za=u(v()),U0={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},setRequestSortId:(t,e)=>{t.request.sortId=e.payload},setRequestFilters:(t,e)=>{t.request.metadataFilters=e.payload},setRequestFacets:(t,e)=>{t.request.facets=e.payload},setRequestVirtualField:(t,e)=>{t.request.virtualField=e.payload},setRequestScope:(t,e)=>{t.request.scope=e.payload},setOtherQueryParams:(t,e)=>{t.request.otherQueryParams=e.payload},setRequestClusterSortCriterion:(t,e)=>{var r;t.request.clusterSortCriterions=(r=e.payload)!==null&&r!==void 0?r:[]}},Jg=t=>Za.FtReduxStore.get({name:"ft-search-"+t,initialState:{request:{query:"",clusterSortCriterions:[],metadataFilters:[],facets:[],sort:[],sortId:void 0,paging:{page:1,perPage:20}},liveQuery:"",paging:void 0,facets:void 0,spellcheck:void 0,locales:[],results:void 0,announcements:void 0,suggestResults:void 0,configuration:void 0},reducers:U0})});var Qa,ty=p(()=>{"use strict";wr();Qa=class extends Rt{constructor(e){super(!0,e),this.cache.registerFinal("search-configuration",async()=>(await this.awaitApi).getSearchConfiguration())}async launchSearch(e){let r={...e,metadataFilters:this.sortFilters(e.metadataFilters),facets:[...e.facets].sort((i,n)=>i.id.localeCompare(n.id))};return this.cache.get("search-"+this.hash(r),async()=>(await this.awaitApi).search(e),2*60*1e3)}async launchSuggest(e){let r={...e,metadataFilters:this.sortFilters(e.metadataFilters)};return this.cache.get("suggest-"+this.hash(r),async()=>(await this.awaitApi).getSuggestions(e),2*60*1e3)}async getAvailableSearchLocales(){return this.cache.get("available-locales",async()=>(await this.awaitApi).getAvailableSearchLocales())}async getConfiguration(){return this.cache.get("search-configuration")}sortFilters(e){return e.map(r=>r.valueFilter==null?r:{...r,valueFilter:{...r.valueFilter,values:[...r.valueFilter.values].sort((i,n)=>i.localeCompare(n))}}).sort((r,i)=>r.key.localeCompare(i.key))}}});var _t,ry,En,Ui,Ec=p(()=>{"use strict";_t=u(v());ey();Go();ty();ry=t=>t.request.virtualField===ki.TITLE_ONLY&&t.request.scope===$i.DOCUMENTS,En=class t extends Event{constructor(){super(t.eventName)}};En.eventName="search-context-clear-all-filters";Ui=class t{static build(e,r){return new t(Jg(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=>{var n;return{input:i.liveQuery,metadataFilters:i.request.metadataFilters,sort:(n=i.request.sort)!==null&&n!==void 0?n:[],sortId:i.request.sortId,contentLocale:i.request.contentLocale,scope:i.request.scope}},this.service=r??new Qa,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.service.getConfiguration().then(e=>this.store.actions.configuration(e)),this.launchSearch()}setQuery(e){this.store.actions.setRequestQuery(e),this.store.actions.liveQuery(e),this.store.actions.setPageNumber(1)}setContentLocale(e){var r;let i=(r=this.store.getState().locales)!==null&&r!==void 0?r:[],n=this.store.getState().request.contentLocale;if(e!=n){if(i.length>0){let a=s=>i.some(l=>l.lang==s);a(e)||(e=a(n)?n:i[0].lang)}this.store.actions.setRequestContentLocale(e),this.store.actions.setPageNumber(1),this.store.actions.setRequestFilters([])}return e}forceContentLocale(e){this.store.actions.setRequestContentLocale(e)}setPageSize(e){this.store.actions.setPageSize(e)}setPageNumber(e){this.store.actions.setPageNumber(e)}get sortOptions(){var e,r;return(r=(e=this.store.getState().configuration)===null||e===void 0?void 0:e.sortOptions)!==null&&r!==void 0?r:[]}setSort(e){this.store.actions.setRequestSort(e),this.store.actions.setPageNumber(1)}setSortId(e){var r;if(this.store.actions.setPageNumber(1),e==null||this.sortOptions.length==0)return this.store.actions.setRequestSortId(e),e;let i=(r=this.sortOptions.find(n=>n.id==e))!==null&&r!==void 0?r:this.sortOptions[0];return this.store.actions.setRequestSortId(i.id),i.id}setFilters(e){let r=e.filter(i=>!i.valueFilter||i.valueFilter.values.length>0);this.store.actions.setRequestFilters(r),this.store.actions.setPageNumber(1)}setClusterSortCriterion(e){this.store.actions.setRequestClusterSortCriterion(e)}setSearchInDocumentTitlesOnly(e){e?(this.store.actions.setRequestVirtualField(ki.TITLE_ONLY),this.store.actions.setRequestScope($i.DOCUMENTS)):(this.store.actions.setRequestVirtualField(ki.EVERYWHERE),this.store.actions.setRequestScope($i.DEFAULT))}setVirtualField(e){this.store.actions.setRequestVirtualField(e)}get searchInDocumentTitlesOnly(){return ry(this.store.getState())}clearAllFilters(){this.setFilters([]),this.store.dispatchEvent(new En)}addFacet(e){this.facetIds=[...this.facetIds,e]}replaceFacet(e,r){let i=this.facetIds.filter(n=>n!=e);r&&i.push(r),this.facetIds=i}get facetIds(){var e;let r=this.store.getState().request;return[...new Set([...r.facets.map(i=>i.id),...((e=r.metadataFilters)!==null&&e!==void 0?e:[]).map(i=>i.key)])]}set facetIds(e){let i=[...new Set(e)].map(n=>({id:n}));this.store.actions.setRequestFacets(i)}setFilter(e,r){this.setValueFilter(e,r)}setValueFilter(e,r){let i=this.store.getState().request.metadataFilters,n={key:e,valueFilter:{values:r,negative:!1}},a=[...i.filter(s=>!s.valueFilter),...i.filter(s=>s.valueFilter&&s.key!==n.key),n];this.setFilters(a)}setDateFilter(e,r){let i=this.store.getState().request.metadataFilters,n={key:e,dateFilter:{type:r}},a=[...i.filter(s=>!s.dateFilter),...i.filter(s=>s.dateFilter&&s.key!==n.key),n];this.setFilters(a)}removeDateFilter(e){let r=this.store.getState().request.metadataFilters,i=[...r.filter(n=>!n.dateFilter),...r.filter(n=>n.dateFilter&&n.key!==e)];this.setFilters(i)}setRangeFilter(e,r,i){let n=this.store.getState().request.metadataFilters,a={key:e,rangeFilter:{from:r,to:i}},s=[...n.filter(l=>!l.rangeFilter),...n.filter(l=>l.rangeFilter&&l.key!==a.key),a];this.setFilters(s)}removeRangeFilter(e){let r=this.store.getState().request.metadataFilters,i=[...r.filter(n=>!n.rangeFilter),...r.filter(n=>n.rangeFilter&&n.key!==e)];this.setFilters(i)}setLiveQuery(e){this.store.actions.liveQuery(e)}setRequest(e){this.store.actions.setRequest({...e,facets:this.store.getState().request.facets}),this.store.actions.liveQuery(e.query),this.store.actions.setPageNumber(1)}setScope(e){this.store.actions.setRequestScope(e)}setOtherQueryParams(e){this.store.actions.setOtherQueryParams(e)}setIgnoreEmptyQuery(e){this.ignoreEmptyQuery=e}setOpenExternalDocumentInNewTab(e){this.openExternalDocumentInNewTab=e}updateLocales(){return this.localesDebouncer.run(async()=>this.store.actions.locales((await this.service.getAvailableSearchLocales()).contentLocales))}async fetchSearchData(e){var r,i,n,a;try{if((r=this.cancelableSearch)===null||r===void 0||r.cancel(),this.store.actions.paging(void 0),this.ignoreEmptyQuery&&e.query.length==0)this.store.actions.results(void 0),this.store.actions.announcements(void 0),this.store.actions.facets(void 0),this.store.actions.spellcheck(void 0);else{this.cancelableSearch=(0,_t.cancelable)(this.service.launchSearch(e));let s=await this.cancelableSearch;if(this.store.actions.announcements(s.announcements),s.paging.currentPage<=1)this.store.actions.results(s.results),this.store.actions.facets(s.facets),this.store.actions.spellcheck(s.spellcheck);else{let l=((i=this.store.getState().results)!==null&&i!==void 0?i:[]).concat(s.results);this.store.actions.results(l),this.store.commands.clear(/^focus-result-/),this.store.commands.add({type:`focus-result-${(s.paging.currentPage-1)*((n=e.paging.perPage)!==null&&n!==void 0?n:20)+1}`})}this.store.actions.paging(s.paging)}}catch(s){s instanceof _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.announcements(void 0),this.store.actions.facets(void 0),this.store.actions.spellcheck(void 0)}}});function V0(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[Ac]=0,this[oy]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null||this[Ac]>W0?window.clearInterval(this[oy]):(this[Ac]++,this.dispatchEvent(new Rc))}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return H0([(0,ny.state)()],e.prototype,"stateManager",void 0),e}var iy,ny,H0,Rc,oy,Ac,W0,Xt,Xo=p(()=>{"use strict";iy=u(v()),ny=u(W());Xg();Ec();H0=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Rc=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},oy=Symbol("registerInterval"),Ac=Symbol("registerAttempts"),W0=40;Xt=class extends V0(iy.FtLitElementRedux){}});function An(t){return t.filter(e=>e.key==="ft:lastEdition").filter(e=>!e.valueFilter).map(e=>e.dateFilter?e.dateFilter.type:"CUSTOM").shift()}function Rn(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 Ic=p(()=>{"use strict"});var ay,Ya,sy=p(()=>{"use strict";ay=u(v());Go();wr();Ic();Ya=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 xa,this.resultsWatcher=(0,ay.watch)(e,i=>i.results,this.sendEvent)}setEnableAnalyticsEvents(e){this.enableAnalyticsEvents=e}setAppName(e){this.appName=e}setAppVersion(e){this.appVersion=e}setDocumentSearch(e){this.document=e}setDocumentSearchFromMap(e){this.setDocumentSearch(this.convertToAnalyticsMap(e))}initAppInfo(){let{apiIntegrationIdentifier:e,apiIntegrationAppVersion:r}=$.getState();this.setAppName(e??"unknown"),this.setAppVersion(r??"unknown")}convertToAnalyticsMap(e){let r;switch(e.editorialType){case"BOOK":r="STRUCTURED_DOCUMENT";break;case"SHARED_BOOK":r="SHARED_PERSONAL_BOOK";break;case"ARTICLE":r="RESOURCE";break}return{id:e.id,title:e.title,type:r,metadata:e.metadata}}canSendEvent(){if(this.appName==null||this.appVersion==null)return console.debug("ft-search-context.eventManager is not initialized. No events will be sent!"),!1;let{editorMode:e}=$.getState();return this.enableAnalyticsEvents&&!e}sendKhubSearchEvent(e,r){let i={offline:!1,appVersion:this.appVersion,appName:this.appName,name:Vo.KHUB__SEARCH,searchResponse:{autocorrect:this.store.getState().spellcheck!=null,nbResults:r.length},searchQuery:{terms:e.query,searchType:e.virtualField,lastUpdate:An(e.metadataFilters),facets:e.metadataFilters.map(n=>Rn(n))}};this.eventsService.sendKhubSearchEvent(i)}sendDocumentSearchEvent(e,r){if(e.metadataFilters.find(n=>{var a;return n.key==="ft:publicationId"&&((a=n.valueFilter)===null||a===void 0?void 0:a.values[0])===this.document.id})!==void 0){let n={offline:!1,appVersion:this.appVersion,appName:this.appName,name:Vo.DOCUMENT__SEARCH,searchResponse:{autocorrect:this.store.getState().spellcheck!=null,nbResults:r.length},searchQuery:{terms:e.query},document:this.document};this.eventsService.sendDocumentSearchEvent(n)}}sendResultClickedEvent(e,r){if(!this.canSendEvent())return;let i=this.store.getState().request,n;e.type==qt.TOPIC&&(n={tocId:e.topic.tocId,title:e.topic.title});let a={offline:!1,appVersion:this.appVersion,appName:this.appName,name:Vo.SEARCH_PAGE__SELECT,searchQuery:{terms:i.query,searchType:i.virtualField,lastUpdate:An(i.metadataFilters),facets:i.metadataFilters.map(s=>Rn(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==qt.TOPIC&&(n={tocId:e.topic.tocId,title:e.topic.title});let a={offline:!1,appVersion:this.appVersion,appName:this.appName,name:Vo.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU,searchQuery:{terms:i.query,searchType:i.virtualField,lastUpdate:An(i.metadataFilters),facets:i.metadataFilters.map(s=>Rn(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 qt.MAP:return{id:e.map.mapId,title:e.map.title,type:Li.STRUCTURED_DOCUMENT,metadata:e.map.metadata};case qt.TOPIC:return{id:e.topic.mapId,title:e.topic.mapTitle,type:Li.STRUCTURED_DOCUMENT,metadata:e.topic.metadata};case qt.DOCUMENT:return{id:e.document.documentId,title:e.document.title,type:Li.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 ly,Rr,Jt,et,Xa,Ja,es,Re,Lc=p(()=>{"use strict";ly=u(R()),Rr=u(W()),Jt=u(v());wc();Xo();wr();za();sy();et=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Xa=class extends CustomEvent{constructor(e){super("ft-search-load-error",{detail:e})}},Ja=class extends CustomEvent{constructor(e){super("ft-search-request-change",{detail:e})}},es=class extends CustomEvent{constructor(e,r,i){super("ft-search-results-change",{detail:{request:e,paging:r,spellcheck:i}})}},Re=class extends Jt.FtLitElementRedux{get stateManager(){if(this._stateManager==null){let e=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=Ui.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 Ya(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 ly.html`
1169
1169
  <slot @register-ft-search-component="${this.registerComponent}" @ft-search-result-click="${this.onResultClicked}"
1170
1170
  @ft-search-result-open-context-menu="${this.onResultContextMenuOpened}"></slot>
1171
- `}willUpdate(e){super.willUpdate(e),e.has("query")&&this.query!==void 0&&this.stateManager.setQuery(this.query),e.has("contentLocale")&&this.contentLocale!==void 0&&this.stateManager.forceContentLocale(this.contentLocale),e.has("filters")&&this.filters!==void 0&&this.stateManager.setFilters(this.filters),e.has("sortId")&&this.stateManager.setSortId(this.sortId),e.has("sort")&&this.sort!==void 0&&this.stateManager.setSort(this.sort),e.has("pageSize")&&this.pageSize!==void 0&&this.stateManager.setPageSize(this.pageSize),e.has("searchInDocumentTitlesOnly")&&this.searchInDocumentTitlesOnly!==void 0&&this.stateManager.setSearchInDocumentTitlesOnly(this.searchInDocumentTitlesOnly),e.has("scope")&&this.scope!==void 0&&this.stateManager.setScope(this.scope),e.has("virtualField")&&this.virtualField!==void 0&&this.stateManager.setVirtualField(this.virtualField),e.has("ignoreEmptyQuery")&&this.ignoreEmptyQuery!==void 0&&this.stateManager.setIgnoreEmptyQuery(this.ignoreEmptyQuery),e.has("openExternalDocumentInNewTab")&&this.openExternalDocumentInNewTab!==void 0&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("otherQueryParams")&&this.otherQueryParams!==void 0&&this.stateManager.setOtherQueryParams(this.otherQueryParams),e.has("session")&&this.session!==void 0&&e.get("session")!=null&&(this.stateManager.service.clearCache(),this.stateManager.initService())}connectedCallback(){super.connectedCallback(),this.stateManager.initService(),this.stateManager.clearResults(),this.stateManager.setQuery(this.query),this.stateManager.forceContentLocale(this.contentLocale),this.stateManager.setFilters(this.filters),this.stateManager.setPageSize(this.pageSize),this.stateManager.setSortId(this.sortId),this.stateManager.setSort(this.sort),this.stateManager.setOtherQueryParams(this.otherQueryParams)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.clearResults()}contentAvailableCallback(e){super.contentAvailableCallback(e),e.has("request")&&this.request&&this.dispatchEvent(new Ja(this.request)),e.has("paging")&&this.paging!==void 0&&this.dispatchEvent(new es(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 Xa(e))}reloadSavedSearches(){gc.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)}};Re.elementDefinitions={};Re.styles=Oc;et([(0,Jt.redux)({store:$.name})],Re.prototype,"session",void 0);et([(0,Ar.property)()],Re.prototype,"query",void 0);et([(0,Ar.property)()],Re.prototype,"contentLocale",void 0);et([(0,Ar.property)({type:Number})],Re.prototype,"pageSize",void 0);et([(0,Ar.property)({type:Boolean})],Re.prototype,"searchInDocumentTitlesOnly",void 0);et([(0,Ar.property)()],Re.prototype,"scope",void 0);et([(0,Ar.property)()],Re.prototype,"virtualField",void 0);et([(0,Ar.property)({type:Boolean})],Re.prototype,"ignoreEmptyQuery",void 0);et([(0,Jt.redux)({store:$.name})],Re.prototype,"openExternalDocumentInNewTab",void 0);et([(0,Jt.jsonProperty)([])],Re.prototype,"filters",void 0);et([(0,Ar.property)()],Re.prototype,"sortId",void 0);et([(0,Jt.jsonProperty)([])],Re.prototype,"sort",void 0);et([(0,Jt.jsonProperty)({})],Re.prototype,"otherQueryParams",void 0);et([(0,Jt.redux)({store:"search"})],Re.prototype,"request",void 0);et([(0,Jt.redux)({store:"search"})],Re.prototype,"paging",void 0);et([(0,Jt.redux)({store:"search",selector:t=>t.spellcheck})],Re.prototype,"autocorrect",void 0);et([(0,Ar.property)({attribute:!1})],Re.prototype,"searchServiceProvider",void 0)});var cy=p(()=>{"use strict"});var py={};$o(py,{ClearAllFiltersEvent:()=>En,FtSearchContext:()=>Re,FtSearchContextCssVariables:()=>z0,FtSearchStateManager:()=>Hi,LoadErrorEvent:()=>Xa,SearchRequestChangeEvent:()=>Ja,SearchResultsChangeEvent:()=>es,convertMetadataFilterToAnalyticsFacet:()=>Rn,getAnalyticsLastUpdate:()=>An,searchInDocumentTitlesOnlySelector:()=>ry,styles:()=>Oc});var dy,uy=p(()=>{"use strict";dy=f(v());Lc();wc();cy();Lc();Ec();Ic();(0,dy.customElement)("ft-search-context")(Re)});var yo,kc=p(()=>{"use strict";Er();yo=wr.build("designedSearchInput")});var Kr=ko((AT,fy)=>{fy.exports=ftGlobals.litRepeat});var er,$c=p(()=>{"use strict";(function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"})(er||(er={}))});var hy,my,Tc=p(()=>{"use strict";hy=f(R()),my=hy.css`
1171
+ `}willUpdate(e){super.willUpdate(e),e.has("query")&&this.query!==void 0&&this.stateManager.setQuery(this.query),e.has("contentLocale")&&this.contentLocale!==void 0&&this.stateManager.forceContentLocale(this.contentLocale),e.has("filters")&&this.filters!==void 0&&this.stateManager.setFilters(this.filters),e.has("sortId")&&this.stateManager.setSortId(this.sortId),e.has("sort")&&this.sort!==void 0&&this.stateManager.setSort(this.sort),e.has("pageSize")&&this.pageSize!==void 0&&this.stateManager.setPageSize(this.pageSize),e.has("searchInDocumentTitlesOnly")&&this.searchInDocumentTitlesOnly!==void 0&&this.stateManager.setSearchInDocumentTitlesOnly(this.searchInDocumentTitlesOnly),e.has("scope")&&this.scope!==void 0&&this.stateManager.setScope(this.scope),e.has("virtualField")&&this.virtualField!==void 0&&this.stateManager.setVirtualField(this.virtualField),e.has("ignoreEmptyQuery")&&this.ignoreEmptyQuery!==void 0&&this.stateManager.setIgnoreEmptyQuery(this.ignoreEmptyQuery),e.has("openExternalDocumentInNewTab")&&this.openExternalDocumentInNewTab!==void 0&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("otherQueryParams")&&this.otherQueryParams!==void 0&&this.stateManager.setOtherQueryParams(this.otherQueryParams),e.has("session")&&this.session!==void 0&&e.get("session")!=null&&(this.stateManager.service.clearCache(),this.stateManager.initService())}connectedCallback(){super.connectedCallback(),this.stateManager.initService(),this.stateManager.clearResults(),this.stateManager.setQuery(this.query),this.stateManager.forceContentLocale(this.contentLocale),this.stateManager.setFilters(this.filters),this.stateManager.setPageSize(this.pageSize),this.stateManager.setSortId(this.sortId),this.stateManager.setSort(this.sort),this.stateManager.setOtherQueryParams(this.otherQueryParams)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.clearResults()}contentAvailableCallback(e){super.contentAvailableCallback(e),e.has("request")&&this.request&&this.dispatchEvent(new Ja(this.request)),e.has("paging")&&this.paging!==void 0&&this.dispatchEvent(new es(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 Xa(e))}reloadSavedSearches(){gc.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)}};Re.elementDefinitions={};Re.styles=Oc;et([(0,Jt.redux)({store:$.name})],Re.prototype,"session",void 0);et([(0,Rr.property)()],Re.prototype,"query",void 0);et([(0,Rr.property)()],Re.prototype,"contentLocale",void 0);et([(0,Rr.property)({type:Number})],Re.prototype,"pageSize",void 0);et([(0,Rr.property)({type:Boolean})],Re.prototype,"searchInDocumentTitlesOnly",void 0);et([(0,Rr.property)()],Re.prototype,"scope",void 0);et([(0,Rr.property)()],Re.prototype,"virtualField",void 0);et([(0,Rr.property)({type:Boolean})],Re.prototype,"ignoreEmptyQuery",void 0);et([(0,Jt.redux)({store:$.name})],Re.prototype,"openExternalDocumentInNewTab",void 0);et([(0,Jt.jsonProperty)([])],Re.prototype,"filters",void 0);et([(0,Rr.property)()],Re.prototype,"sortId",void 0);et([(0,Jt.jsonProperty)([])],Re.prototype,"sort",void 0);et([(0,Jt.jsonProperty)({})],Re.prototype,"otherQueryParams",void 0);et([(0,Jt.redux)({store:"search"})],Re.prototype,"request",void 0);et([(0,Jt.redux)({store:"search"})],Re.prototype,"paging",void 0);et([(0,Jt.redux)({store:"search",selector:t=>t.spellcheck})],Re.prototype,"autocorrect",void 0);et([(0,Rr.property)({attribute:!1})],Re.prototype,"searchServiceProvider",void 0)});var cy=p(()=>{"use strict"});var py={};$o(py,{ClearAllFiltersEvent:()=>En,FtSearchContext:()=>Re,FtSearchContextCssVariables:()=>z0,FtSearchStateManager:()=>Ui,LoadErrorEvent:()=>Xa,SearchRequestChangeEvent:()=>Ja,SearchResultsChangeEvent:()=>es,convertMetadataFilterToAnalyticsFacet:()=>Rn,getAnalyticsLastUpdate:()=>An,searchInDocumentTitlesOnlySelector:()=>ry,styles:()=>Oc});var dy,uy=p(()=>{"use strict";dy=u(v());Lc();wc();cy();Lc();Ec();Ic();(0,dy.customElement)("ft-search-context")(Re)});var bo,kc=p(()=>{"use strict";Ar();bo=Er.build("designedSearchInput")});var qr=ko((AT,fy)=>{fy.exports=ftGlobals.litRepeat});var er,$c=p(()=>{"use strict";(function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"})(er||(er={}))});var hy,my,Tc=p(()=>{"use strict";hy=u(R()),my=hy.css`
1172
1172
  .ft-size-watcher--pixel {
1173
1173
  width: 0;
1174
1174
  height: 0;
@@ -1187,11 +1187,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1187
1187
  .ft-size-watcher--local .ft-size-watcher--watcher {
1188
1188
  width: 100%;
1189
1189
  }
1190
- `});var gy,Jo,ts,In,Pc,Nt,_c=p(()=>{"use strict";gy=f(R()),Jo=f(W()),ts=f(v());$c();Tc();In=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Pc=class extends CustomEvent{constructor(e,r){super("change",{detail:{size:e,category:r}})}},Nt=class extends ts.FtLitElement{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=er.S,this.resizeObserver=new ResizeObserver(()=>this.updateSize()),this.debouncer=new ts.Debouncer}render(){return gy.html`
1190
+ `});var gy,Jo,ts,In,Pc,Nt,_c=p(()=>{"use strict";gy=u(R()),Jo=u(W()),ts=u(v());$c();Tc();In=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Pc=class extends CustomEvent{constructor(e,r){super("change",{detail:{size:e,category:r}})}},Nt=class extends ts.FtLitElement{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=er.S,this.resizeObserver=new ResizeObserver(()=>this.updateSize()),this.debouncer=new ts.Debouncer}render(){return gy.html`
1191
1191
  <div class="ft-size-watcher--pixel ${this.local?"ft-size-watcher--local":""}">
1192
1192
  <div class="ft-size-watcher--watcher"></div>
1193
1193
  </div>
1194
- `}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=er.S:this.size<976?this.category=er.M:this.size<1024?this.category=er.L:this.size<1440?this.category=er.XL:this.category=er.XXL,this.dispatchEvent(new Pc(this.size,this.category)))},this.debounceTimeout)}};Nt.elementDefinitions={};Nt.styles=my;In([(0,Jo.property)({type:Number})],Nt.prototype,"debounceTimeout",void 0);In([(0,Jo.property)({type:Boolean})],Nt.prototype,"local",void 0);In([(0,Jo.property)({type:Number,reflect:!0})],Nt.prototype,"size",void 0);In([(0,Jo.property)({type:String,reflect:!0})],Nt.prototype,"category",void 0);In([(0,Jo.query)(".ft-size-watcher--watcher")],Nt.prototype,"watcher",void 0)});var yy,by=p(()=>{"use strict";yy=f(v());_c();_c();Tc();$c();(0,yy.customElement)("ft-size-watcher")(Nt)});function rs(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function xy(t){return rs(t).split("|").pop()}function vy(t){return rs(t).split("|").join(" > ")}function Sy(t,e){return{label:t.label,selected:!e&&t.selected,subOptions:t.childNodes.map(r=>Sy(r,t.selected)),value:t.value}}function Cy(t){return(0,Nc.flatDeep)(t.options,e=>{var r;return(r=e.subOptions)!==null&&r!==void 0?r:[]}).filter(e=>e.selected).map(e=>e.label)}function Bc(t){return{id:t.key,label:t.label,multivalued:t.multiSelectionable,options:t.rootNodes.map(e=>Sy(e,!1))}}function Oy(t){return(0,Nc.flatDeep)(t.rootNodes,e=>e.selected?[]:e.childNodes).filter(e=>e.selected).map(e=>e.value)}var Nc,Fc=p(()=>{"use strict";Nc=f(v())});var tt,wy,Bt,Ey,Dc=p(()=>{"use strict";tt=f(v()),wy=f(R());_e();ut();Bt={textColor:tt.FtCssVariableFactory.extend("--ft-checkbox-text-color","",tt.designSystemVariables.colorOnSurfaceHigh),fontSize:tt.FtCssVariableFactory.extend("--ft-checkbox-font-size","",k.fontSize),activeColor:tt.FtCssVariableFactory.extend("--ft-checkbox-active-color","",tt.designSystemVariables.colorPrimary),checkColor:tt.FtCssVariableFactory.extend("--ft-checkbox-check-color","",tt.designSystemVariables.colorOnPrimary),borderColor:tt.FtCssVariableFactory.extend("--ft-checkbox-border-color","",tt.designSystemVariables.colorOnSurfaceMedium),disabledColor:tt.FtCssVariableFactory.extend("--ft-checkbox-disabled-color","",tt.designSystemVariables.colorOnSurfaceDisabled),errorColor:tt.FtCssVariableFactory.extend("--ft-checkbox-error-color","",tt.designSystemVariables.colorError)},Ey=wy.css`
1194
+ `}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=er.S:this.size<976?this.category=er.M:this.size<1024?this.category=er.L:this.size<1440?this.category=er.XL:this.category=er.XXL,this.dispatchEvent(new Pc(this.size,this.category)))},this.debounceTimeout)}};Nt.elementDefinitions={};Nt.styles=my;In([(0,Jo.property)({type:Number})],Nt.prototype,"debounceTimeout",void 0);In([(0,Jo.property)({type:Boolean})],Nt.prototype,"local",void 0);In([(0,Jo.property)({type:Number,reflect:!0})],Nt.prototype,"size",void 0);In([(0,Jo.property)({type:String,reflect:!0})],Nt.prototype,"category",void 0);In([(0,Jo.query)(".ft-size-watcher--watcher")],Nt.prototype,"watcher",void 0)});var yy,by=p(()=>{"use strict";yy=u(v());_c();_c();Tc();$c();(0,yy.customElement)("ft-size-watcher")(Nt)});function rs(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function xy(t){return rs(t).split("|").pop()}function vy(t){return rs(t).split("|").join(" > ")}function Sy(t,e){return{label:t.label,selected:!e&&t.selected,subOptions:t.childNodes.map(r=>Sy(r,t.selected)),value:t.value}}function Cy(t){return(0,Nc.flatDeep)(t.options,e=>{var r;return(r=e.subOptions)!==null&&r!==void 0?r:[]}).filter(e=>e.selected).map(e=>e.label)}function Bc(t){return{id:t.key,label:t.label,multivalued:t.multiSelectionable,options:t.rootNodes.map(e=>Sy(e,!1))}}function Oy(t){return(0,Nc.flatDeep)(t.rootNodes,e=>e.selected?[]:e.childNodes).filter(e=>e.selected).map(e=>e.value)}var Nc,Fc=p(()=>{"use strict";Nc=u(v())});var tt,wy,Bt,Ey,Dc=p(()=>{"use strict";tt=u(v()),wy=u(R());_e();ut();Bt={textColor:tt.FtCssVariableFactory.extend("--ft-checkbox-text-color","",tt.designSystemVariables.colorOnSurfaceHigh),fontSize:tt.FtCssVariableFactory.extend("--ft-checkbox-font-size","",k.fontSize),activeColor:tt.FtCssVariableFactory.extend("--ft-checkbox-active-color","",tt.designSystemVariables.colorPrimary),checkColor:tt.FtCssVariableFactory.extend("--ft-checkbox-check-color","",tt.designSystemVariables.colorOnPrimary),borderColor:tt.FtCssVariableFactory.extend("--ft-checkbox-border-color","",tt.designSystemVariables.colorOnSurfaceMedium),disabledColor:tt.FtCssVariableFactory.extend("--ft-checkbox-disabled-color","",tt.designSystemVariables.colorOnSurfaceDisabled),errorColor:tt.FtCssVariableFactory.extend("--ft-checkbox-error-color","",tt.designSystemVariables.colorError)},Ey=wy.css`
1195
1195
  * {
1196
1196
  box-sizing: border-box;
1197
1197
  }
@@ -1284,7 +1284,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1284
1284
  }
1285
1285
  }
1286
1286
  }
1287
- `});var Ay,Rr,Ry,Iy,bo,at,Mc=p(()=>{"use strict";Ay=f(R()),Rr=f(W()),Ry=f(v()),Iy=f(Ct());ut();_e();Dc();bo=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},at=class extends Ry.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 Ay.html`
1287
+ `});var Ay,Ir,Ry,Iy,xo,at,Mc=p(()=>{"use strict";Ay=u(R()),Ir=u(W()),Ry=u(v()),Iy=u(Ct());ut();_e();Dc();xo=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},at=class extends Ry.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 Ay.html`
1288
1288
  <label class="${(0,Iy.classMap)(e)}" for="checkbox-input" part="checkbox-label">
1289
1289
  <div class="ft-checkbox--box-container" part="checkbox-box-container">
1290
1290
  <ft-ripple part="checkbox-ripple"
@@ -1311,7 +1311,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1311
1311
  <slot></slot>
1312
1312
  </ft-typography>
1313
1313
  </label>
1314
- `}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)}};at.elementDefinitions={"ft-ripple":G,"ft-typography":Z};at.styles=Ey;bo([(0,Rr.property)()],at.prototype,"name",void 0);bo([(0,Rr.property)({type:Boolean,reflect:!0})],at.prototype,"checked",void 0);bo([(0,Rr.property)({type:Boolean})],at.prototype,"indeterminate",void 0);bo([(0,Rr.property)({type:Boolean})],at.prototype,"disabled",void 0);bo([(0,Rr.property)({type:Boolean})],at.prototype,"error",void 0);bo([(0,Rr.query)(".ft-checkbox")],at.prototype,"container",void 0);bo([(0,Rr.query)("ft-ripple")],at.prototype,"ripple",void 0);bo([(0,Rr.query)("input")],at.prototype,"input",void 0)});var Ly=p(()=>{"use strict"});var ky,$y=p(()=>{"use strict";ky=f(v());Mc();Mc();Dc();Ly();(0,ky.customElement)("ft-checkbox")(at)});var Ty,Ir,Py,_y,xo,os,mt,is=p(()=>{"use strict";Ty=f(R()),Ir=f(W()),Py=f(v()),_y=f(Ct());ut();_e();xo=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},os=class extends CustomEvent{constructor(e,r){super("change",{detail:{value:e,checked:r},bubbles:!0,composed:!0})}},mt=class extends Py.FtLitElement{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.ariaChecked="false",this.disabled=!1}get radioClasses(){return{"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled}}get typographyVariant(){return""}render(){return Ty.html`
1314
+ `}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)}};at.elementDefinitions={"ft-ripple":G,"ft-typography":Z};at.styles=Ey;xo([(0,Ir.property)()],at.prototype,"name",void 0);xo([(0,Ir.property)({type:Boolean,reflect:!0})],at.prototype,"checked",void 0);xo([(0,Ir.property)({type:Boolean})],at.prototype,"indeterminate",void 0);xo([(0,Ir.property)({type:Boolean})],at.prototype,"disabled",void 0);xo([(0,Ir.property)({type:Boolean})],at.prototype,"error",void 0);xo([(0,Ir.query)(".ft-checkbox")],at.prototype,"container",void 0);xo([(0,Ir.query)("ft-ripple")],at.prototype,"ripple",void 0);xo([(0,Ir.query)("input")],at.prototype,"input",void 0)});var Ly=p(()=>{"use strict"});var ky,$y=p(()=>{"use strict";ky=u(v());Mc();Mc();Dc();Ly();(0,ky.customElement)("ft-checkbox")(at)});var Ty,Lr,Py,_y,vo,os,mt,is=p(()=>{"use strict";Ty=u(R()),Lr=u(W()),Py=u(v()),_y=u(Ct());ut();_e();vo=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},os=class extends CustomEvent{constructor(e,r){super("change",{detail:{value:e,checked:r},bubbles:!0,composed:!0})}},mt=class extends Py.FtLitElement{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.ariaChecked="false",this.disabled=!1}get radioClasses(){return{"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled}}get typographyVariant(){return""}render(){return Ty.html`
1315
1315
  <div class="${(0,_y.classMap)(this.radioClasses)}"
1316
1316
  @click=${this.onClick}>
1317
1317
  <div class="ft-radio--box-container">
@@ -1337,15 +1337,15 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1337
1337
  </ft-typography>
1338
1338
  </label>
1339
1339
  </div>
1340
- `}willUpdate(e){super.willUpdate(e),e.has("checked")&&(this.ariaChecked=this.checked?"true":"false")}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.dispatchEvent(new os(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 os(this.value,this.checked))}setInputTabIndex(e){this.input&&(this.input.tabIndex=e)}focus(){var e;(e=this.input)===null||e===void 0||e.focus(),setTimeout(()=>{var r;return(r=this.ripple)===null||r===void 0?void 0:r.forceFocusUpdate()},0)}onClick(e){var r;e.target!==this.input&&(e.stopPropagation(),e.preventDefault(),(r=this.input)===null||r===void 0||r.click())}};mt.elementDefinitions={"ft-ripple":G,"ft-typography":Z};xo([(0,Ir.property)()],mt.prototype,"value",void 0);xo([(0,Ir.property)()],mt.prototype,"name",void 0);xo([(0,Ir.property)({type:Boolean,reflect:!0})],mt.prototype,"checked",void 0);xo([(0,Ir.property)({attribute:"aria-checked",reflect:!0})],mt.prototype,"ariaChecked",void 0);xo([(0,Ir.property)({type:Boolean})],mt.prototype,"disabled",void 0);xo([(0,Ir.query)(".ft-radio")],mt.prototype,"container",void 0);xo([(0,Ir.query)("ft-ripple")],mt.prototype,"ripple",void 0);xo([(0,Ir.query)("input")],mt.prototype,"input",void 0)});var Ny,Lt,vo,By,zc=p(()=>{"use strict";Ny=f(R()),Lt=f(v());_e();vo={textColor:Lt.FtCssVariableFactory.extend("--ft-radio-text-color","",Lt.designSystemVariables.colorOnSurfaceHigh),fontSize:Lt.FtCssVariableFactory.extend("--ft-radio-font-size","",k.fontSize),colorPrimary:Lt.FtCssVariableFactory.external(Lt.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:Lt.FtCssVariableFactory.external(Lt.designSystemVariables.colorOnPrimary,"Design system"),borderColor:Lt.FtCssVariableFactory.extend("--ft-radio-border-color","",Lt.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceDisabled:Lt.FtCssVariableFactory.external(Lt.designSystemVariables.colorOnSurfaceDisabled,"Design system")},By=Ny.css`
1340
+ `}willUpdate(e){super.willUpdate(e),e.has("checked")&&(this.ariaChecked=this.checked?"true":"false")}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.dispatchEvent(new os(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 os(this.value,this.checked))}setInputTabIndex(e){this.input&&(this.input.tabIndex=e)}focus(){var e;(e=this.input)===null||e===void 0||e.focus(),setTimeout(()=>{var r;return(r=this.ripple)===null||r===void 0?void 0:r.forceFocusUpdate()},0)}onClick(e){var r;e.target!==this.input&&(e.stopPropagation(),e.preventDefault(),(r=this.input)===null||r===void 0||r.click())}};mt.elementDefinitions={"ft-ripple":G,"ft-typography":Z};vo([(0,Lr.property)()],mt.prototype,"value",void 0);vo([(0,Lr.property)()],mt.prototype,"name",void 0);vo([(0,Lr.property)({type:Boolean,reflect:!0})],mt.prototype,"checked",void 0);vo([(0,Lr.property)({attribute:"aria-checked",reflect:!0})],mt.prototype,"ariaChecked",void 0);vo([(0,Lr.property)({type:Boolean})],mt.prototype,"disabled",void 0);vo([(0,Lr.query)(".ft-radio")],mt.prototype,"container",void 0);vo([(0,Lr.query)("ft-ripple")],mt.prototype,"ripple",void 0);vo([(0,Lr.query)("input")],mt.prototype,"input",void 0)});var Ny,Lt,So,By,zc=p(()=>{"use strict";Ny=u(R()),Lt=u(v());_e();So={textColor:Lt.FtCssVariableFactory.extend("--ft-radio-text-color","",Lt.designSystemVariables.colorOnSurfaceHigh),fontSize:Lt.FtCssVariableFactory.extend("--ft-radio-font-size","",k.fontSize),colorPrimary:Lt.FtCssVariableFactory.external(Lt.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:Lt.FtCssVariableFactory.external(Lt.designSystemVariables.colorOnPrimary,"Design system"),borderColor:Lt.FtCssVariableFactory.extend("--ft-radio-border-color","",Lt.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceDisabled:Lt.FtCssVariableFactory.external(Lt.designSystemVariables.colorOnSurfaceDisabled,"Design system")},By=Ny.css`
1341
1341
  * {
1342
1342
  box-sizing: border-box;
1343
1343
  }
1344
1344
 
1345
1345
  .ft-radio {
1346
1346
  box-sizing: border-box;
1347
- color: ${vo.textColor};
1348
- font-size: ${vo.fontSize};
1347
+ color: ${So.textColor};
1348
+ font-size: ${So.fontSize};
1349
1349
 
1350
1350
  display: inline-flex;
1351
1351
  align-items: center;
@@ -1353,7 +1353,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1353
1353
  }
1354
1354
 
1355
1355
  .ft-radio--disabled {
1356
- color: ${vo.colorOnSurfaceDisabled};
1356
+ color: ${So.colorOnSurfaceDisabled};
1357
1357
  }
1358
1358
 
1359
1359
  input {
@@ -1376,7 +1376,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1376
1376
  }
1377
1377
 
1378
1378
  .ft-radio--box {
1379
- border: 2px solid ${vo.borderColor};
1379
+ border: 2px solid ${So.borderColor};
1380
1380
  border-radius: 50%;
1381
1381
 
1382
1382
  display: flex;
@@ -1389,7 +1389,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1389
1389
 
1390
1390
  .ft-radio--box:after {
1391
1391
  content: " ";
1392
- background-color: ${vo.colorPrimary};
1392
+ background-color: ${So.colorPrimary};
1393
1393
 
1394
1394
  border-radius: 50%;
1395
1395
 
@@ -1401,7 +1401,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1401
1401
  }
1402
1402
 
1403
1403
  .ft-radio--checked .ft-radio--box {
1404
- border-color: ${vo.colorPrimary};
1404
+ border-color: ${So.colorPrimary};
1405
1405
  }
1406
1406
 
1407
1407
 
@@ -1410,12 +1410,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1410
1410
  }
1411
1411
 
1412
1412
  .ft-radio--disabled .ft-radio--box {
1413
- border-color: ${vo.colorOnSurfaceDisabled};
1413
+ border-color: ${So.colorOnSurfaceDisabled};
1414
1414
  background-color: transparent;
1415
1415
  }
1416
1416
 
1417
1417
  .ft-radio--disabled .ft-radio--box:after {
1418
- background-color: ${vo.colorOnSurfaceDisabled};
1418
+ background-color: ${So.colorOnSurfaceDisabled};
1419
1419
  }
1420
1420
 
1421
1421
  .ft-radio:has(:focus-visible) {
@@ -1426,7 +1426,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1426
1426
  .ft-radio ft-typography {
1427
1427
  padding-right: 2px;
1428
1428
  }
1429
- `});var qr,Uc=p(()=>{"use strict";is();zc();Ci();is();qr=class extends mt{get typographyVariant(){return ft.body2}};qr.styles=By});var Fy,V,Dy,Hc=p(()=>{"use strict";Fy=f(R()),V=f(v());ut();Dy=Fy.css`
1429
+ `});var Zr,Uc=p(()=>{"use strict";is();zc();Si();is();Zr=class extends mt{get typographyVariant(){return ft.body2}};Zr.styles=By});var Fy,V,Dy,Hc=p(()=>{"use strict";Fy=u(R()),V=u(v());ut();Dy=Fy.css`
1430
1430
  * {
1431
1431
  box-sizing: border-box;
1432
1432
  --input-size: calc(${V.radio.circleSize} + 2 * (${V.radio.focusOutlineOffset} + ${V.radio.focusOutlineWidth}));
@@ -1534,12 +1534,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1534
1534
  .ft-radio ft-typography {
1535
1535
  padding-right: 2px;
1536
1536
  }
1537
- `});var ns,Ln,Wc=p(()=>{"use strict";is();Ci();ns=f(v());Hc();oe();Ln=class extends(0,ns.toFtdsBase)(mt){constructor(){super(...arguments),this.family=to.brand}get radioClasses(){return{...super.radioClasses,...this.getDesignSystemBaseClasses()}}get typographyVariant(){return ft.body2medium}};Ln.styles=[ns.safariEllipsisFix,Dy]});var My,Zr,zy,Wi,Ft,as=p(()=>{"use strict";My=f(v()),Zr=f(W()),zy=f(R()),Wi=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Ft=class extends My.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,ftds-radio")?[i]:[...i.querySelectorAll("ft-radio,ftds-radio")]))!==null&&r!==void 0?r:[]}render(){return zy.html`
1537
+ `});var ns,Ln,Wc=p(()=>{"use strict";is();Si();ns=u(v());Hc();oe();Ln=class extends(0,ns.toFtdsBase)(mt){constructor(){super(...arguments),this.family=ro.brand}get radioClasses(){return{...super.radioClasses,...this.getDesignSystemBaseClasses()}}get typographyVariant(){return ft.body2medium}};Ln.styles=[ns.safariEllipsisFix,Dy]});var My,Qr,zy,Hi,Ft,as=p(()=>{"use strict";My=u(v()),Qr=u(W()),zy=u(R()),Hi=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Ft=class extends My.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,ftds-radio")?[i]:[...i.querySelectorAll("ft-radio,ftds-radio")]))!==null&&r!==void 0?r:[]}render(){return zy.html`
1538
1538
  <slot @slotchange=${this.onSlotChange}
1539
1539
  @change=${this.onChange}
1540
1540
  @keydown=${this.onKeyDown}
1541
1541
  ></slot>
1542
- `}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()}};Ft.elementDefinitions={};Wi([(0,Zr.property)()],Ft.prototype,"name",void 0);Wi([(0,Zr.property)({reflect:!0,attribute:"role"})],Ft.prototype,"role",void 0);Wi([(0,Zr.property)({reflect:!0})],Ft.prototype,"tabIndex",void 0);Wi([(0,Zr.property)({reflect:!0,attribute:"aria-labelledby"})],Ft.prototype,"ariaLabelledBy",void 0);Wi([(0,Zr.queryAssignedElements)()],Ft.prototype,"assignedElements",void 0);Wi([(0,Zr.state)()],Ft.prototype,"currentSelectedIndex",void 0)});var Uy,Hy,Vc=p(()=>{"use strict";Uy=f(R()),Hy=Uy.css`
1542
+ `}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()}};Ft.elementDefinitions={};Hi([(0,Qr.property)()],Ft.prototype,"name",void 0);Hi([(0,Qr.property)({reflect:!0,attribute:"role"})],Ft.prototype,"role",void 0);Hi([(0,Qr.property)({reflect:!0})],Ft.prototype,"tabIndex",void 0);Hi([(0,Qr.property)({reflect:!0,attribute:"aria-labelledby"})],Ft.prototype,"ariaLabelledBy",void 0);Hi([(0,Qr.queryAssignedElements)()],Ft.prototype,"assignedElements",void 0);Hi([(0,Qr.state)()],Ft.prototype,"currentSelectedIndex",void 0)});var Uy,Hy,Vc=p(()=>{"use strict";Uy=u(R()),Hy=Uy.css`
1543
1543
  :host {
1544
1544
  display: block;
1545
1545
  }
@@ -1547,7 +1547,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1547
1547
  :host(:focus-visible) {
1548
1548
  outline: none;
1549
1549
  }
1550
- `});var ei,jc=p(()=>{"use strict";as();Vc();as();ei=class extends Ft{};ei.styles=Hy});var Wy,Vy,jy,Gc=p(()=>{"use strict";Wy=f(R()),Vy=f(v()),jy=Wy.css`
1550
+ `});var ei,jc=p(()=>{"use strict";as();Vc();as();ei=class extends Ft{};ei.styles=Hy});var Wy,Vy,jy,Gc=p(()=>{"use strict";Wy=u(R()),Vy=u(v()),jy=Wy.css`
1551
1551
  :host {
1552
1552
  display: flex;
1553
1553
  flex-direction: column;
@@ -1557,7 +1557,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1557
1557
  :host(:focus-visible) {
1558
1558
  outline: none;
1559
1559
  }
1560
- `});var ss,kn,Kc=p(()=>{"use strict";as();ss=f(v());Gc();oe();kn=class extends(0,ss.toFtdsBase)(Ft){constructor(){super(...arguments),this.family=to.brand}};kn.styles=[ss.safariEllipsisFix,jy]});var $n,qc=p(()=>{"use strict";$n=f(v());Uc();Wc();jc();Kc();Uc();zc();Wc();Hc();jc();Vc();Kc();Gc();(0,$n.customElement)("ft-radio")(qr);(0,$n.customElement)("ftds-radio")(Ln);(0,$n.customElement)("ft-radio-group")(ei);(0,$n.customElement)("ftds-radio-group")(kn)});var Gy,ge,Tn,Ky,Zc=p(()=>{"use strict";Gy=f(R()),ge=f(v());_o();Vt();Tn={buttonMoreColor:ge.FtCssVariableFactory.extend("--ft-filter-level-button-more-color","",ge.designSystemVariables.colorOnSurface),borderRadiusM:ge.FtCssVariableFactory.external(ge.designSystemVariables.borderRadiusM,"Design system"),colorOutline:ge.FtCssVariableFactory.external(ge.designSystemVariables.colorOutline,"Design system"),colorOnSurface:ge.FtCssVariableFactory.external(ge.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:ge.FtCssVariableFactory.external(ge.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:ge.FtCssVariableFactory.external(ge.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:ge.FtCssVariableFactory.external(ge.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:ge.FtCssVariableFactory.external(ge.designSystemVariables.colorOnPrimary,"Design system"),fontFamily:ge.FtCssVariableFactory.external(ze.fontFamily,"Body2 typography"),fontSize:ge.FtCssVariableFactory.external(ze.fontSize,"Body2 typography"),fontWeight:ge.FtCssVariableFactory.external(ze.fontWeight,"Body2 typography"),letterSpacing:ge.FtCssVariableFactory.external(ze.letterSpacing,"Body2 typography"),lineHeight:ge.FtCssVariableFactory.external(ze.lineHeight,"Body2 typography"),textTransform:ge.FtCssVariableFactory.external(ze.textTransform,"Body2 typography")},Ky=Gy.css`
1560
+ `});var ss,kn,Kc=p(()=>{"use strict";as();ss=u(v());Gc();oe();kn=class extends(0,ss.toFtdsBase)(Ft){constructor(){super(...arguments),this.family=ro.brand}};kn.styles=[ss.safariEllipsisFix,jy]});var $n,qc=p(()=>{"use strict";$n=u(v());Uc();Wc();jc();Kc();Uc();zc();Wc();Hc();jc();Vc();Kc();Gc();(0,$n.customElement)("ft-radio")(Zr);(0,$n.customElement)("ftds-radio")(Ln);(0,$n.customElement)("ft-radio-group")(ei);(0,$n.customElement)("ftds-radio-group")(kn)});var Gy,ge,Tn,Ky,Zc=p(()=>{"use strict";Gy=u(R()),ge=u(v());_o();Vt();Tn={buttonMoreColor:ge.FtCssVariableFactory.extend("--ft-filter-level-button-more-color","",ge.designSystemVariables.colorOnSurface),borderRadiusM:ge.FtCssVariableFactory.external(ge.designSystemVariables.borderRadiusM,"Design system"),colorOutline:ge.FtCssVariableFactory.external(ge.designSystemVariables.colorOutline,"Design system"),colorOnSurface:ge.FtCssVariableFactory.external(ge.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:ge.FtCssVariableFactory.external(ge.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:ge.FtCssVariableFactory.external(ge.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:ge.FtCssVariableFactory.external(ge.designSystemVariables.colorPrimary,"Design system"),colorOnPrimary:ge.FtCssVariableFactory.external(ge.designSystemVariables.colorOnPrimary,"Design system"),fontFamily:ge.FtCssVariableFactory.external(ze.fontFamily,"Body2 typography"),fontSize:ge.FtCssVariableFactory.external(ze.fontSize,"Body2 typography"),fontWeight:ge.FtCssVariableFactory.external(ze.fontWeight,"Body2 typography"),letterSpacing:ge.FtCssVariableFactory.external(ze.letterSpacing,"Body2 typography"),lineHeight:ge.FtCssVariableFactory.external(ze.lineHeight,"Body2 typography"),textTransform:ge.FtCssVariableFactory.external(ze.textTransform,"Body2 typography")},Ky=Gy.css`
1561
1561
  .ft-filter-level--container {
1562
1562
  display: flex;
1563
1563
  flex-direction: column;
@@ -1627,7 +1627,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1627
1627
  margin: 10px 0;
1628
1628
  color: ${Tn.colorOnSurfaceMedium};
1629
1629
  }
1630
- `});var Dt,Ke,qy,ls,gt,Ne,Zy=p(()=>{"use strict";Dt=f(R()),Ke=f(W()),qy=f(Kr()),ls=f(v());Gt();_e();ut();jt();$y();qc();Zc();gt=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Ne=class extends ls.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 Dt.html`
1630
+ `});var Dt,qe,qy,ls,gt,Ne,Zy=p(()=>{"use strict";Dt=u(R()),qe=u(W()),qy=u(qr()),ls=u(v());Gt();_e();ut();jt();$y();qc();Zc();gt=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Ne=class extends ls.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 Dt.html`
1631
1631
  <div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
1632
1632
  ${this.parent==null?null:Dt.html`
1633
1633
  <div tabindex="0"
@@ -1694,7 +1694,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1694
1694
  @change=${r=>this.optionsChanged(r,e)}>
1695
1695
  ${e.renderOption?e.renderOption:e.label}${this.displayCount?` (${e.count})`:""}
1696
1696
  </ft-radio>
1697
- `}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}))}};Ne.elementDefinitions={"ft-button":Te,"ft-ripple":G,"ft-typography":Z,"ft-checkbox":at,"ft-icon":he,"ft-radio":qr};Ne.styles=Ky;gt([(0,Ke.property)({type:String})],Ne.prototype,"filterId",void 0);gt([(0,Ke.property)({type:Object})],Ne.prototype,"parent",void 0);gt([(0,Ke.property)({type:Array})],Ne.prototype,"options",void 0);gt([(0,Ke.property)({type:Boolean})],Ne.prototype,"multivalued",void 0);gt([(0,Ke.property)({type:Boolean})],Ne.prototype,"disabled",void 0);gt([(0,Ke.property)({type:Boolean})],Ne.prototype,"hideSelectedOptions",void 0);gt([(0,Ke.property)({type:Boolean})],Ne.prototype,"displayCount",void 0);gt([(0,Ke.property)({type:Boolean})],Ne.prototype,"preventNavigation",void 0);gt([(0,Ke.property)({type:String})],Ne.prototype,"filter",void 0);gt([(0,Ke.property)({type:String})],Ne.prototype,"moreValuesButtonLabel",void 0);gt([(0,Ke.property)({type:String})],Ne.prototype,"noValuesLabel",void 0);gt([(0,Ke.property)({type:Number})],Ne.prototype,"displayedValuesLimit",void 0);gt([(0,Ke.query)(".ft-filter-level--container")],Ne.prototype,"container",void 0);gt([(0,Ke.state)()],Ne.prototype,"radios",void 0);gt([(0,Ke.state)()],Ne.prototype,"displayedPages",void 0)});var Qy,cr,yt,Yy,cs=p(()=>{"use strict";Qy=f(R()),cr=f(v());_o();yt={buttonsColor:cr.FtCssVariableFactory.extend("--ft-snap-scroll-buttons-color","",cr.designSystemVariables.colorPrimary),buttonsZIndex:cr.FtCssVariableFactory.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:cr.FtCssVariableFactory.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:cr.FtCssVariableFactory.external(cr.designSystemVariables.colorSurface,"Design system")},Yy=Qy.css`
1697
+ `}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}))}};Ne.elementDefinitions={"ft-button":Te,"ft-ripple":G,"ft-typography":Z,"ft-checkbox":at,"ft-icon":he,"ft-radio":Zr};Ne.styles=Ky;gt([(0,qe.property)({type:String})],Ne.prototype,"filterId",void 0);gt([(0,qe.property)({type:Object})],Ne.prototype,"parent",void 0);gt([(0,qe.property)({type:Array})],Ne.prototype,"options",void 0);gt([(0,qe.property)({type:Boolean})],Ne.prototype,"multivalued",void 0);gt([(0,qe.property)({type:Boolean})],Ne.prototype,"disabled",void 0);gt([(0,qe.property)({type:Boolean})],Ne.prototype,"hideSelectedOptions",void 0);gt([(0,qe.property)({type:Boolean})],Ne.prototype,"displayCount",void 0);gt([(0,qe.property)({type:Boolean})],Ne.prototype,"preventNavigation",void 0);gt([(0,qe.property)({type:String})],Ne.prototype,"filter",void 0);gt([(0,qe.property)({type:String})],Ne.prototype,"moreValuesButtonLabel",void 0);gt([(0,qe.property)({type:String})],Ne.prototype,"noValuesLabel",void 0);gt([(0,qe.property)({type:Number})],Ne.prototype,"displayedValuesLimit",void 0);gt([(0,qe.query)(".ft-filter-level--container")],Ne.prototype,"container",void 0);gt([(0,qe.state)()],Ne.prototype,"radios",void 0);gt([(0,qe.state)()],Ne.prototype,"displayedPages",void 0)});var Qy,ur,yt,Yy,cs=p(()=>{"use strict";Qy=u(R()),ur=u(v());_o();yt={buttonsColor:ur.FtCssVariableFactory.extend("--ft-snap-scroll-buttons-color","",ur.designSystemVariables.colorPrimary),buttonsZIndex:ur.FtCssVariableFactory.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:ur.FtCssVariableFactory.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:ur.FtCssVariableFactory.external(ur.designSystemVariables.colorSurface,"Design system")},Yy=Qy.css`
1698
1698
  .ft-snap-scroll {
1699
1699
  box-sizing: border-box;
1700
1700
  position: relative;
@@ -1775,8 +1775,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1775
1775
  z-index: ${yt.buttonsZIndex};
1776
1776
  opacity: 1;
1777
1777
  transition: background-color .5s ease-in-out, opacity .5s ease-in-out, z-index .5s ease-in-out;
1778
- ${(0,cr.setVariable)(j.backgroundColor,"transparent")};
1779
- ${(0,cr.setVariable)(j.color,yt.buttonsColor)};
1778
+ ${(0,ur.setVariable)(j.backgroundColor,"transparent")};
1779
+ ${(0,ur.setVariable)(j.color,yt.buttonsColor)};
1780
1780
  }
1781
1781
 
1782
1782
  .ft-snap-scroll--previous[hidden],
@@ -1819,7 +1819,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1819
1819
  .ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
1820
1820
  background-color: ${yt.colorSurface};
1821
1821
  }
1822
- `});var Xy,Mt,ti,Jy,Lr,Qc,De,Yc=p(()=>{"use strict";Xy=f(R()),Mt=f(W()),ti=f(v());Gt();Jy=f(Ct());cs();Lr=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Qc=class extends CustomEvent{constructor(e,r){super("current-element-change",{detail:{index:e,element:r}})}},De=class extends ti.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 ti.Debouncer(200),this.updateScrollDebouncer=new ti.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,Jy.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":ti.isSafari}),r=this.controls&&this.withScroll;return Xy.html`
1822
+ `});var Xy,Mt,ti,Jy,kr,Qc,De,Yc=p(()=>{"use strict";Xy=u(R()),Mt=u(W()),ti=u(v());Gt();Jy=u(Ct());cs();kr=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Qc=class extends CustomEvent{constructor(e,r){super("current-element-change",{detail:{index:e,element:r}})}},De=class extends ti.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 ti.Debouncer(200),this.updateScrollDebouncer=new ti.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,Jy.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":ti.isSafari}),r=this.controls&&this.withScroll;return Xy.html`
1823
1823
  <div part="container" class="${e}">
1824
1824
  <ft-button
1825
1825
  class="ft-snap-scroll--previous"
@@ -1843,7 +1843,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1843
1843
  @click=${this.next}
1844
1844
  ></ft-button>
1845
1845
  </div>
1846
- `}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 Qc(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":Te};De.styles=Yy;Lr([(0,Mt.property)({type:Boolean})],De.prototype,"horizontal",void 0);Lr([(0,Mt.property)({type:Boolean})],De.prototype,"hideScrollbar",void 0);Lr([(0,Mt.property)({type:Boolean})],De.prototype,"controls",void 0);Lr([(0,Mt.property)({type:Boolean})],De.prototype,"limitSize",void 0);Lr([(0,Mt.state)()],De.prototype,"elements",void 0);Lr([(0,Mt.state)()],De.prototype,"currentElement",void 0);Lr([(0,Mt.state)()],De.prototype,"withScroll",void 0);Lr([(0,Mt.state)()],De.prototype,"startReached",void 0);Lr([(0,Mt.state)()],De.prototype,"endReached",void 0);Lr([(0,Mt.query)(".ft-snap-scroll--content")],De.prototype,"contentSlot",void 0)});var eb=p(()=>{"use strict"});var tb,ds=p(()=>{"use strict";tb=f(v());Yc();Yc();cs();eb();(0,tb.customElement)("ft-snap-scroll")(De)});var rb,Se,kt,ob,ps=p(()=>{"use strict";rb=f(R()),Se=f(v());Vt();_o();kt={colorOutline:Se.FtCssVariableFactory.external(Se.designSystemVariables.colorOutline,"Design system"),colorOnSurface:Se.FtCssVariableFactory.external(Se.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:Se.FtCssVariableFactory.external(Se.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorPrimary:Se.FtCssVariableFactory.external(Se.designSystemVariables.colorPrimary,"Design system"),colorSurface:Se.FtCssVariableFactory.external(Se.designSystemVariables.colorSurface,"Design system"),transitionDuration:Se.FtCssVariableFactory.external(Se.designSystemVariables.transitionDuration,"Design system"),transitionTimingFunction:Se.FtCssVariableFactory.external(Se.designSystemVariables.transitionTimingFunction,"Design system"),labelColor:Se.FtCssVariableFactory.extend("--ft-filter-label-color","",Se.designSystemVariables.colorOnSurface),labelFontSize:Se.FtCssVariableFactory.extend("--ft-filter-label-font-size","",k.fontSize,"16px")},ob=[br,Se.noTextInputDefaultClearButton,rb.css`
1846
+ `}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 Qc(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":Te};De.styles=Yy;kr([(0,Mt.property)({type:Boolean})],De.prototype,"horizontal",void 0);kr([(0,Mt.property)({type:Boolean})],De.prototype,"hideScrollbar",void 0);kr([(0,Mt.property)({type:Boolean})],De.prototype,"controls",void 0);kr([(0,Mt.property)({type:Boolean})],De.prototype,"limitSize",void 0);kr([(0,Mt.state)()],De.prototype,"elements",void 0);kr([(0,Mt.state)()],De.prototype,"currentElement",void 0);kr([(0,Mt.state)()],De.prototype,"withScroll",void 0);kr([(0,Mt.state)()],De.prototype,"startReached",void 0);kr([(0,Mt.state)()],De.prototype,"endReached",void 0);kr([(0,Mt.query)(".ft-snap-scroll--content")],De.prototype,"contentSlot",void 0)});var eb=p(()=>{"use strict"});var tb,ds=p(()=>{"use strict";tb=u(v());Yc();Yc();cs();eb();(0,tb.customElement)("ft-snap-scroll")(De)});var rb,Se,kt,ob,ps=p(()=>{"use strict";rb=u(R()),Se=u(v());Vt();_o();kt={colorOutline:Se.FtCssVariableFactory.external(Se.designSystemVariables.colorOutline,"Design system"),colorOnSurface:Se.FtCssVariableFactory.external(Se.designSystemVariables.colorOnSurface,"Design system"),colorOnSurfaceMedium:Se.FtCssVariableFactory.external(Se.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorPrimary:Se.FtCssVariableFactory.external(Se.designSystemVariables.colorPrimary,"Design system"),colorSurface:Se.FtCssVariableFactory.external(Se.designSystemVariables.colorSurface,"Design system"),transitionDuration:Se.FtCssVariableFactory.external(Se.designSystemVariables.transitionDuration,"Design system"),transitionTimingFunction:Se.FtCssVariableFactory.external(Se.designSystemVariables.transitionTimingFunction,"Design system"),labelColor:Se.FtCssVariableFactory.extend("--ft-filter-label-color","",Se.designSystemVariables.colorOnSurface),labelFontSize:Se.FtCssVariableFactory.extend("--ft-filter-label-font-size","",k.fontSize,"16px")},ob=[xr,Se.noTextInputDefaultClearButton,rb.css`
1847
1847
  :host {
1848
1848
  display: flex;
1849
1849
  max-height: 100%;
@@ -1960,7 +1960,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1960
1960
  slot:not([name]) {
1961
1961
  display: none;
1962
1962
  }
1963
- `]});var ri,ye,st,Ie,Xc,se,Jc=p(()=>{"use strict";ri=f(R()),ye=f(W()),st=f(v());_e();Zy();Gt();ds();ps();Ie=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Xc=class extends CustomEvent{constructor(e){super("change",{detail:e})}},se=class extends st.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 st.Debouncer(300),this.changeDebouncer=new st.Debouncer(10),this.lastDispatchedValues=[]}get flatOptions(){return(0,st.flatDeep)(this.options,e=>{var r;return(r=e.subOptions)!==null&&r!==void 0?r:[]})}get childrenFilteredFlatOptions(){return(0,st.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 ri.html`
1963
+ `]});var ri,ye,st,Ie,Xc,se,Jc=p(()=>{"use strict";ri=u(R()),ye=u(W()),st=u(v());_e();Zy();Gt();ds();ps();Ie=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Xc=class extends CustomEvent{constructor(e){super("change",{detail:e})}},se=class extends st.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 st.Debouncer(300),this.changeDebouncer=new st.Debouncer(10),this.lastDispatchedValues=[]}get flatOptions(){return(0,st.flatDeep)(this.options,e=>{var r;return(r=e.subOptions)!==null&&r!==void 0?r:[]})}get childrenFilteredFlatOptions(){return(0,st.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 ri.html`
1964
1964
  <div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
1965
1965
  part="container">
1966
1966
  ${!this.label&&!e?null:ri.html`
@@ -2019,7 +2019,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2019
2019
  class="ft-filter--levels"
2020
2020
  @current-element-change=${a=>this.levelsScrollDebouncer.run(()=>{for(;a.detail.index<this.displayedLevels.length;)this.displayedLevels.pop();this.requestUpdate()})}>
2021
2021
  ${this.renderLevel(n,this.options)}
2022
- ${this.displayedLevels.map(a=>e.find(s=>s.value===a)).map((a,s)=>{var l;let u=a?.value===this.slideIn||a?.value===this.slideOut?"ft-filter--level-right":s===i?"ft-filter--level-center":"ft-filter--level-left";return this.renderLevel(u,(l=a?.subOptions)!==null&&l!==void 0?l:[],a)})}
2022
+ ${this.displayedLevels.map(a=>e.find(s=>s.value===a)).map((a,s)=>{var l;let f=a?.value===this.slideIn||a?.value===this.slideOut?"ft-filter--level-right":s===i?"ft-filter--level-center":"ft-filter--level-left";return this.renderLevel(f,(l=a?.subOptions)!==null&&l!==void 0?l:[],a)})}
2023
2023
  </ft-snap-scroll>
2024
2024
  `}renderLevel(e,r,i){return ri.html`
2025
2025
  <ft-filter-level
@@ -2041,17 +2041,17 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2041
2041
  .exportpartsPrefixes=${["values","available-values"]}
2042
2042
  noValuesLabel="${this.noValuesLabel}"
2043
2043
  ></ft-filter-level>
2044
- `}goBack(e){this.slideOut=e.detail.value,(0,st.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,st.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,st.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,st.deepEqual)(this.lastDispatchedValues,e)||(this.dispatchEvent(new Xc(e)),this.lastDispatchedValues=e)}updateOptionsFromSlot(e){e.stopPropagation(),this.options=this.slotElement.assignedElements().map(r=>r),this.optionsChanged()}onFilterChange(){var e,r;this.filter=(r=(e=this.filterInput)===null||e===void 0?void 0:e.value)!==null&&r!==void 0?r:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}};se.elementDefinitions={"ft-button":Te,"ft-filter-level":Ne,"ft-snap-scroll":De,"ft-typography":Z};se.styles=ob;Ie([(0,ye.property)({type:String})],se.prototype,"id",void 0);Ie([(0,ye.property)({type:String})],se.prototype,"label",void 0);Ie([(0,ye.property)({type:String})],se.prototype,"filterPlaceHolder",void 0);Ie([(0,ye.property)({type:String})],se.prototype,"clearButtonLabel",void 0);Ie([(0,ye.property)({type:String})],se.prototype,"moreValuesButtonLabel",void 0);Ie([(0,ye.property)({type:String})],se.prototype,"noValuesLabel",void 0);Ie([(0,st.jsonProperty)([])],se.prototype,"options",void 0);Ie([(0,ye.property)({type:Boolean})],se.prototype,"multivalued",void 0);Ie([(0,ye.property)({type:Boolean})],se.prototype,"disabled",void 0);Ie([(0,ye.property)({type:Boolean})],se.prototype,"raiseSelectedOptions",void 0);Ie([(0,ye.property)({type:Boolean})],se.prototype,"displayCount",void 0);Ie([(0,ye.property)({type:Number})],se.prototype,"displayedValuesLimit",void 0);Ie([(0,ye.property)({type:Boolean})],se.prototype,"hideClearButton",void 0);Ie([(0,ye.query)(".ft-filter--slot")],se.prototype,"slotElement",void 0);Ie([(0,ye.query)(".ft-filter--container")],se.prototype,"container",void 0);Ie([(0,ye.query)(".ft-filter--values")],se.prototype,"valuesContainer",void 0);Ie([(0,ye.query)(".ft-filter--levels")],se.prototype,"levelsContainer",void 0);Ie([(0,ye.state)()],se.prototype,"lastLevelHasHiddenvalues",void 0);Ie([(0,ye.query)(".ft-filter--filter input")],se.prototype,"filterInput",void 0);Ie([(0,ye.queryAll)(".ft-filter--levels ft-filter-level")],se.prototype,"levels",void 0);Ie([(0,ye.state)()],se.prototype,"withScroll",void 0);Ie([(0,ye.state)()],se.prototype,"filter",void 0);Ie([(0,ye.state)()],se.prototype,"slideIn",void 0);Ie([(0,ye.state)()],se.prototype,"slideOut",void 0)});var us,oi,ib,Vi,zt,ed=p(()=>{"use strict";us=f(v()),oi=f(W()),ib=f(R()),Vi=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},zt=class extends us.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return ib.html`
2044
+ `}goBack(e){this.slideOut=e.detail.value,(0,st.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,st.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,st.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,st.deepEqual)(this.lastDispatchedValues,e)||(this.dispatchEvent(new Xc(e)),this.lastDispatchedValues=e)}updateOptionsFromSlot(e){e.stopPropagation(),this.options=this.slotElement.assignedElements().map(r=>r),this.optionsChanged()}onFilterChange(){var e,r;this.filter=(r=(e=this.filterInput)===null||e===void 0?void 0:e.value)!==null&&r!==void 0?r:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}};se.elementDefinitions={"ft-button":Te,"ft-filter-level":Ne,"ft-snap-scroll":De,"ft-typography":Z};se.styles=ob;Ie([(0,ye.property)({type:String})],se.prototype,"id",void 0);Ie([(0,ye.property)({type:String})],se.prototype,"label",void 0);Ie([(0,ye.property)({type:String})],se.prototype,"filterPlaceHolder",void 0);Ie([(0,ye.property)({type:String})],se.prototype,"clearButtonLabel",void 0);Ie([(0,ye.property)({type:String})],se.prototype,"moreValuesButtonLabel",void 0);Ie([(0,ye.property)({type:String})],se.prototype,"noValuesLabel",void 0);Ie([(0,st.jsonProperty)([])],se.prototype,"options",void 0);Ie([(0,ye.property)({type:Boolean})],se.prototype,"multivalued",void 0);Ie([(0,ye.property)({type:Boolean})],se.prototype,"disabled",void 0);Ie([(0,ye.property)({type:Boolean})],se.prototype,"raiseSelectedOptions",void 0);Ie([(0,ye.property)({type:Boolean})],se.prototype,"displayCount",void 0);Ie([(0,ye.property)({type:Number})],se.prototype,"displayedValuesLimit",void 0);Ie([(0,ye.property)({type:Boolean})],se.prototype,"hideClearButton",void 0);Ie([(0,ye.query)(".ft-filter--slot")],se.prototype,"slotElement",void 0);Ie([(0,ye.query)(".ft-filter--container")],se.prototype,"container",void 0);Ie([(0,ye.query)(".ft-filter--values")],se.prototype,"valuesContainer",void 0);Ie([(0,ye.query)(".ft-filter--levels")],se.prototype,"levelsContainer",void 0);Ie([(0,ye.state)()],se.prototype,"lastLevelHasHiddenvalues",void 0);Ie([(0,ye.query)(".ft-filter--filter input")],se.prototype,"filterInput",void 0);Ie([(0,ye.queryAll)(".ft-filter--levels ft-filter-level")],se.prototype,"levels",void 0);Ie([(0,ye.state)()],se.prototype,"withScroll",void 0);Ie([(0,ye.state)()],se.prototype,"filter",void 0);Ie([(0,ye.state)()],se.prototype,"slideIn",void 0);Ie([(0,ye.state)()],se.prototype,"slideOut",void 0)});var us,oi,ib,Wi,zt,ed=p(()=>{"use strict";us=u(v()),oi=u(W()),ib=u(R()),Wi=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},zt=class extends us.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return ib.html`
2045
2045
  <slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
2046
- `}updateSubOptionsFromSlot(e){e.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map(r=>r)}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};zt.elementDefinitions={};Vi([(0,oi.property)({type:String})],zt.prototype,"label",void 0);Vi([(0,oi.property)({type:Object,converter:t=>t})],zt.prototype,"value",void 0);Vi([(0,oi.property)({type:Boolean,reflect:!0})],zt.prototype,"selected",void 0);Vi([(0,oi.property)({type:Object})],zt.prototype,"subOptions",void 0);Vi([(0,us.jsonProperty)({})],zt.prototype,"renderOption",void 0);Vi([(0,oi.query)(".ft-filter-option--slot")],zt.prototype,"slotElement",void 0)});var nb=p(()=>{"use strict"});var ab=p(()=>{"use strict"});var td,sb=p(()=>{"use strict";td=f(v());Jc();ed();Zc();Jc();ps();nb();ed();ab();(0,td.customElement)("ft-filter")(se);(0,td.customElement)("ft-filter-option")(zt)});var lb,cb,rd=p(()=>{"use strict";lb=f(R()),cb=lb.css`
2046
+ `}updateSubOptionsFromSlot(e){e.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map(r=>r)}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};zt.elementDefinitions={};Wi([(0,oi.property)({type:String})],zt.prototype,"label",void 0);Wi([(0,oi.property)({type:Object,converter:t=>t})],zt.prototype,"value",void 0);Wi([(0,oi.property)({type:Boolean,reflect:!0})],zt.prototype,"selected",void 0);Wi([(0,oi.property)({type:Object})],zt.prototype,"subOptions",void 0);Wi([(0,us.jsonProperty)({})],zt.prototype,"renderOption",void 0);Wi([(0,oi.query)(".ft-filter-option--slot")],zt.prototype,"slotElement",void 0)});var nb=p(()=>{"use strict"});var ab=p(()=>{"use strict"});var td,sb=p(()=>{"use strict";td=u(v());Jc();ed();Zc();Jc();ps();nb();ed();ab();(0,td.customElement)("ft-filter")(se);(0,td.customElement)("ft-filter-option")(zt)});var lb,cb,rd=p(()=>{"use strict";lb=u(R()),cb=lb.css`
2047
2047
  .ft-accordion {
2048
2048
  box-sizing: border-box;
2049
2049
  }
2050
- `});var pb,fs,ub,db,kr,od=p(()=>{"use strict";pb=f(R()),fs=f(W()),ub=f(v());rd();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 l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},kr=class extends ub.FtLitElement{constructor(){super(...arguments),this.multi=!1}render(){return pb.html`
2050
+ `});var pb,fs,ub,db,$r,od=p(()=>{"use strict";pb=u(R()),fs=u(W()),ub=u(v());rd();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 l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},$r=class extends ub.FtLitElement{constructor(){super(...arguments),this.multi=!1}render(){return pb.html`
2051
2051
  <div class="ft-accordion">
2052
2052
  <slot @activated=${this.onChange}></slot>
2053
2053
  </div>
2054
- `}onChange(e){e.stopPropagation(),this.multi||this.content.assignedElements().forEach(r=>r.active=r===e.target)}};kr.elementDefinitions={};kr.styles=cb;db([(0,fs.property)({type:Boolean})],kr.prototype,"multi",void 0);db([(0,fs.query)("slot")],kr.prototype,"content",void 0)});var fb,ni,ii,hb,id=p(()=>{"use strict";fb=f(R()),ni=f(v()),ii={horizontalSpacing:ni.FtCssVariableFactory.create("--ft-accordion-toggle-horizontal-spacing","","SIZE","16px"),verticalSpacing:ni.FtCssVariableFactory.create("--ft-accordion-toggle-vertical-spacing","","SIZE","16px"),colorOutline:ni.FtCssVariableFactory.external(ni.designSystemVariables.colorOutline,"Design system"),backgroundColor:ni.FtCssVariableFactory.create("--ft-accordion-item-background-color","","COLOR","#FFFFFF")},hb=fb.css`
2054
+ `}onChange(e){e.stopPropagation(),this.multi||this.content.assignedElements().forEach(r=>r.active=r===e.target)}};$r.elementDefinitions={};$r.styles=cb;db([(0,fs.property)({type:Boolean})],$r.prototype,"multi",void 0);db([(0,fs.query)("slot")],$r.prototype,"content",void 0)});var fb,ni,ii,hb,id=p(()=>{"use strict";fb=u(R()),ni=u(v()),ii={horizontalSpacing:ni.FtCssVariableFactory.create("--ft-accordion-toggle-horizontal-spacing","","SIZE","16px"),verticalSpacing:ni.FtCssVariableFactory.create("--ft-accordion-toggle-vertical-spacing","","SIZE","16px"),colorOutline:ni.FtCssVariableFactory.external(ni.designSystemVariables.colorOutline,"Design system"),backgroundColor:ni.FtCssVariableFactory.create("--ft-accordion-item-background-color","","COLOR","#FFFFFF")},hb=fb.css`
2055
2055
  .ft-accordion-item {
2056
2056
  display: flex;
2057
2057
  flex-direction: column;
@@ -2097,7 +2097,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2097
2097
  .ft-accordion-item--separator {
2098
2098
  border-bottom: 1px solid ${ii.colorOutline};
2099
2099
  }
2100
- `});var Pn,_n,mb,hs,tr,nd=p(()=>{"use strict";Pn=f(R()),_n=f(W()),mb=f(v());ut();_e();jt();id();hs=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},tr=class extends mb.FtLitElement{constructor(){super(...arguments),this.icon="",this.label="",this.active=!1}render(){return Pn.html`
2100
+ `});var Pn,_n,mb,hs,tr,nd=p(()=>{"use strict";Pn=u(R()),_n=u(W()),mb=u(v());ut();_e();jt();id();hs=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},tr=class extends mb.FtLitElement{constructor(){super(...arguments),this.icon="",this.label="",this.active=!1}render(){return Pn.html`
2101
2101
  <div class="ft-accordion-item ${this.active?"ft-accordion-item--active":""}">
2102
2102
  <div class="ft-accordion-item--toggle"
2103
2103
  part="toggle"
@@ -2127,7 +2127,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2127
2127
  </div>
2128
2128
  <div class="ft-accordion-item--separator" part="separator"></div>
2129
2129
  </div>
2130
- `}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)}};tr.elementDefinitions={"ft-ripple":G,"ft-typography":Z,"ft-icon":he};tr.styles=hb;hs([(0,_n.property)()],tr.prototype,"icon",void 0);hs([(0,_n.property)()],tr.prototype,"iconVariant",void 0);hs([(0,_n.property)()],tr.prototype,"label",void 0);hs([(0,_n.property)({type:Boolean,reflect:!0})],tr.prototype,"active",void 0)});var gb=p(()=>{"use strict"});var yb=p(()=>{"use strict"});var ad,bb=p(()=>{"use strict";ad=f(v());od();nd();od();rd();gb();nd();id();yb();(0,ad.customElement)("ft-accordion")(kr);(0,ad.customElement)("ft-accordion-item")(tr)});var Nn,Q,xb,rt,vb,sd,Sb,Cb,ld=p(()=>{"use strict";Nn=f(R()),Q=f(v());Br();Vt();Po();Gt();xb=Q.FtCssVariableFactory.extend("--ft-chip-color","",Q.designSystemVariables.colorOnSurface),rt={backgroundColor:Q.FtCssVariableFactory.extend("--ft-chip-background-color","",Q.designSystemVariables.colorSurface),color:xb,fontSize:Q.FtCssVariableFactory.extend("--ft-chip-font-size","",ze.fontSize),fontWeight:Q.FtCssVariableFactory.extend("--ft-chip-font-weight","",ze.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","",xb),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")},vb=Q.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",Q.FtCssVariableFactory.extend("--ft-chip-color","",Q.designSystemVariables.colorOnPrimary)),sd={backgroundColor:Q.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",Q.FtCssVariableFactory.extend("--ft-chip-background-color","",Q.designSystemVariables.colorPrimary)),color:vb,rippleColor:Q.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",vb)},Sb={horizontalPadding:Q.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:Q.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},Cb=[Q.noTextSelect,Nn.css`
2130
+ `}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)}};tr.elementDefinitions={"ft-ripple":G,"ft-typography":Z,"ft-icon":he};tr.styles=hb;hs([(0,_n.property)()],tr.prototype,"icon",void 0);hs([(0,_n.property)()],tr.prototype,"iconVariant",void 0);hs([(0,_n.property)()],tr.prototype,"label",void 0);hs([(0,_n.property)({type:Boolean,reflect:!0})],tr.prototype,"active",void 0)});var gb=p(()=>{"use strict"});var yb=p(()=>{"use strict"});var ad,bb=p(()=>{"use strict";ad=u(v());od();nd();od();rd();gb();nd();id();yb();(0,ad.customElement)("ft-accordion")($r);(0,ad.customElement)("ft-accordion-item")(tr)});var Nn,Q,xb,rt,vb,sd,Sb,Cb,ld=p(()=>{"use strict";Nn=u(R()),Q=u(v());Fr();Vt();Po();Gt();xb=Q.FtCssVariableFactory.extend("--ft-chip-color","",Q.designSystemVariables.colorOnSurface),rt={backgroundColor:Q.FtCssVariableFactory.extend("--ft-chip-background-color","",Q.designSystemVariables.colorSurface),color:xb,fontSize:Q.FtCssVariableFactory.extend("--ft-chip-font-size","",ze.fontSize),fontWeight:Q.FtCssVariableFactory.extend("--ft-chip-font-weight","",ze.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","",xb),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")},vb=Q.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",Q.FtCssVariableFactory.extend("--ft-chip-color","",Q.designSystemVariables.colorOnPrimary)),sd={backgroundColor:Q.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",Q.FtCssVariableFactory.extend("--ft-chip-background-color","",Q.designSystemVariables.colorPrimary)),color:vb,rippleColor:Q.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",vb)},Sb={horizontalPadding:Q.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:Q.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},Cb=[Q.noTextSelect,Nn.css`
2131
2131
  :host {
2132
2132
  display: inline-block;
2133
2133
  max-width: 100%;
@@ -2267,7 +2267,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2267
2267
  .ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
2268
2268
  order: -1;
2269
2269
  }
2270
- `]});var ms,lt,Ob,ji,$t,gs,Pe,cd=p(()=>{"use strict";ms=f(R()),lt=f(W()),Ob=f(Ct()),ji=f(v());ut();_e();jt();ld();Gt();$t=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},gs=class extends CustomEvent{constructor(){super("icon-click")}},Pe=class extends ji.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":ji.isSafari};return ms.html`
2270
+ `]});var ms,lt,Ob,Vi,$t,gs,Pe,cd=p(()=>{"use strict";ms=u(R()),lt=u(W()),Ob=u(Ct()),Vi=u(v());ut();_e();jt();ld();Gt();$t=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},gs=class extends CustomEvent{constructor(){super("icon-click")}},Pe=class extends Vi.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":Vi.isSafari};return ms.html`
2271
2271
  <div class="${(0,Ob.classMap)(e)}"
2272
2272
  aria-label="${this.getLabel()}"
2273
2273
  tabindex="${this.interactionsOnChip?0:-1}"
@@ -2294,7 +2294,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2294
2294
  <div class="ft-chip--icon-container ft-no-text-select" part="icon-container">
2295
2295
  <ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}" part="icon"></ft-icon>
2296
2296
  </div>
2297
- `}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new gs))}onIconClick(e){this.interactionsOnIcon&&(e.stopPropagation(),this.dispatchEvent(new gs))}getLabel(){return this.label||this.textContent}get textContent(){return(0,ji.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};Pe.elementDefinitions={"ft-ripple":G,"ft-typography":Z,"ft-icon":he,"ft-button":Te};Pe.styles=Cb;$t([(0,lt.property)({type:Boolean})],Pe.prototype,"highlighted",void 0);$t([(0,lt.property)({type:Boolean})],Pe.prototype,"removable",void 0);$t([(0,lt.property)({type:Boolean})],Pe.prototype,"disabled",void 0);$t([(0,lt.property)({type:Boolean})],Pe.prototype,"clickable",void 0);$t([(0,lt.property)({type:Boolean})],Pe.prototype,"iconClickable",void 0);$t([(0,lt.property)({type:Boolean})],Pe.prototype,"dense",void 0);$t([(0,lt.property)({type:Boolean})],Pe.prototype,"multiLine",void 0);$t([(0,lt.property)()],Pe.prototype,"label",void 0);$t([(0,lt.property)()],Pe.prototype,"iconLabel",void 0);$t([(0,lt.property)({type:Boolean})],Pe.prototype,"hideIconTooltip",void 0);$t([(0,lt.property)()],Pe.prototype,"icon",void 0);$t([(0,lt.property)()],Pe.prototype,"iconVariant",void 0);$t([(0,lt.property)({type:Boolean})],Pe.prototype,"trailingIcon",void 0);$t([(0,lt.query)("ft-typography slot")],Pe.prototype,"slottedContent",void 0)});var wb,ys,Eb,dd=p(()=>{"use strict";wb=f(R());oe();ys=f(v());jt();Gt();Eb=[wb.css`
2297
+ `}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new gs))}onIconClick(e){this.interactionsOnIcon&&(e.stopPropagation(),this.dispatchEvent(new gs))}getLabel(){return this.label||this.textContent}get textContent(){return(0,Vi.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};Pe.elementDefinitions={"ft-ripple":G,"ft-typography":Z,"ft-icon":he,"ft-button":Te};Pe.styles=Cb;$t([(0,lt.property)({type:Boolean})],Pe.prototype,"highlighted",void 0);$t([(0,lt.property)({type:Boolean})],Pe.prototype,"removable",void 0);$t([(0,lt.property)({type:Boolean})],Pe.prototype,"disabled",void 0);$t([(0,lt.property)({type:Boolean})],Pe.prototype,"clickable",void 0);$t([(0,lt.property)({type:Boolean})],Pe.prototype,"iconClickable",void 0);$t([(0,lt.property)({type:Boolean})],Pe.prototype,"dense",void 0);$t([(0,lt.property)({type:Boolean})],Pe.prototype,"multiLine",void 0);$t([(0,lt.property)()],Pe.prototype,"label",void 0);$t([(0,lt.property)()],Pe.prototype,"iconLabel",void 0);$t([(0,lt.property)({type:Boolean})],Pe.prototype,"hideIconTooltip",void 0);$t([(0,lt.property)()],Pe.prototype,"icon",void 0);$t([(0,lt.property)()],Pe.prototype,"iconVariant",void 0);$t([(0,lt.property)({type:Boolean})],Pe.prototype,"trailingIcon",void 0);$t([(0,lt.query)("ft-typography slot")],Pe.prototype,"slottedContent",void 0)});var wb,ys,Eb,dd=p(()=>{"use strict";wb=u(R());oe();ys=u(v());jt();Gt();Eb=[wb.css`
2298
2298
  :host {
2299
2299
  display: inline-block;
2300
2300
  max-width: 100%;
@@ -2461,7 +2461,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2461
2461
  .ftds--family-error .ftds-chip--icon-container {
2462
2462
  color: ${D.errorIconColor};
2463
2463
  }
2464
- `]});var So,Co,Ab,bs,Gi,pd,rr,ud=p(()=>{"use strict";So=f(R()),Co=f(W()),Ab=f(Ct()),bs=f(v());_e();jt();dd();oe();Gt();Gi=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},pd=class extends CustomEvent{constructor(){super("remove")}},rr=class extends bs.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 So.html`
2464
+ `]});var Co,Oo,Ab,bs,ji,pd,rr,ud=p(()=>{"use strict";Co=u(R()),Oo=u(W()),Ab=u(Ct()),bs=u(v());_e();jt();dd();oe();Gt();ji=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},pd=class extends CustomEvent{constructor(){super("remove")}},rr=class extends bs.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 Co.html`
2465
2465
  <div class="${(0,Ab.classMap)(e)}"
2466
2466
  aria-label="${this.getLabel()}"
2467
2467
  part="chip">
@@ -2471,11 +2471,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2471
2471
  </ft-typography>
2472
2472
  ${this.renderAction()}
2473
2473
  </div>
2474
- `}renderIcon(){return this.icon?So.html`
2474
+ `}renderIcon(){return this.icon?Co.html`
2475
2475
  <div class="ftds-chip--icon-container" part="icon-container">
2476
- <ft-icon .variant=${Ge.fluid_topics} .value="${this.icon}" part="icon"></ft-icon>
2476
+ <ft-icon .variant=${Ke.fluid_topics} .value="${this.icon}" part="icon"></ft-icon>
2477
2477
  </div>
2478
- `:So.nothing}renderAction(){return this.removable?So.html`
2478
+ `:Co.nothing}renderAction(){return this.removable?Co.html`
2479
2479
  <ftds-button round
2480
2480
  class="ftds-chip--remove-button"
2481
2481
  @click=${this.dispatchRemoveEvent}
@@ -2485,9 +2485,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2485
2485
  size=${this.resolveButtonSize()}
2486
2486
  part="icon-button"
2487
2487
  ></ftds-button>
2488
- `:this.withAction?So.html`
2488
+ `:this.withAction?Co.html`
2489
2489
  <slot name="action"></slot>
2490
- `:So.nothing}resolveButtonSize(){switch(this.size){case pt.large:return pt.medium;case pt.medium:case pt.small:return pt.small}}getLabel(){return this.label||this.textContent}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&r!==void 0?r:""}onSlotchange(){this.requestUpdate()}dispatchRemoveEvent(){this.dispatchEvent(new pd)}typographyVariant(){switch(this.size){case pt.large:return ft.body2medium;case pt.medium:case pt.small:return ft.caption1medium}}};rr.elementDefinitions={"ft-typography":Z,"ft-icon":he,"ftds-button":nr};rr.styles=Eb;Gi([(0,Co.property)({type:Boolean})],rr.prototype,"withAction",void 0);Gi([(0,Co.property)({type:Boolean})],rr.prototype,"removable",void 0);Gi([(0,Co.property)()],rr.prototype,"removeButtonLabel",void 0);Gi([(0,Co.property)()],rr.prototype,"label",void 0);Gi([(0,Co.property)()],rr.prototype,"icon",void 0);Gi([(0,Co.query)("ft-typography slot")],rr.prototype,"slottedContent",void 0)});var Rb=p(()=>{"use strict"});var Ib=p(()=>{"use strict"});var fd,hd=p(()=>{"use strict";fd=f(v());cd();ud();cd();ld();Rb();ud();dd();Ib();(0,fd.customElement)("ft-chip")(Pe);(0,fd.customElement)("ftds-chip")(rr)});var Lb,Ce,U,kb,Ki=p(()=>{"use strict";Lb=f(R()),Ce=f(v());Vt();U={fontSize:Ce.FtCssVariableFactory.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:Ce.FtCssVariableFactory.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:Ce.FtCssVariableFactory.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:Ce.FtCssVariableFactory.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:Ce.FtCssVariableFactory.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:Ce.FtCssVariableFactory.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:Ce.FtCssVariableFactory.extend("--ft-input-label-border-color","",Ce.designSystemVariables.colorOutline),textColor:Ce.FtCssVariableFactory.extend("--ft-input-label-text-color","",Ce.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:Ce.FtCssVariableFactory.extend("--ft-input-label-disabled-text-color","",Ce.designSystemVariables.colorOnSurfaceDisabled),backgroundColor:Ce.FtCssVariableFactory.extend("--ft-input-label-background-color","",Ce.designSystemVariables.colorSurface),borderRadius:Ce.FtCssVariableFactory.extend("--ft-input-label-border-radius","",Ce.designSystemVariables.borderRadiusS),colorError:Ce.FtCssVariableFactory.external(Ce.designSystemVariables.colorError,"Design system")},kb=Lb.css`
2490
+ `:Co.nothing}resolveButtonSize(){switch(this.size){case pt.large:return pt.medium;case pt.medium:case pt.small:return pt.small}}getLabel(){return this.label||this.textContent}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&r!==void 0?r:""}onSlotchange(){this.requestUpdate()}dispatchRemoveEvent(){this.dispatchEvent(new pd)}typographyVariant(){switch(this.size){case pt.large:return ft.body2medium;case pt.medium:case pt.small:return ft.caption1medium}}};rr.elementDefinitions={"ft-typography":Z,"ft-icon":he,"ftds-button":lr};rr.styles=Eb;ji([(0,Oo.property)({type:Boolean})],rr.prototype,"withAction",void 0);ji([(0,Oo.property)({type:Boolean})],rr.prototype,"removable",void 0);ji([(0,Oo.property)()],rr.prototype,"removeButtonLabel",void 0);ji([(0,Oo.property)()],rr.prototype,"label",void 0);ji([(0,Oo.property)()],rr.prototype,"icon",void 0);ji([(0,Oo.query)("ft-typography slot")],rr.prototype,"slottedContent",void 0)});var Rb=p(()=>{"use strict"});var Ib=p(()=>{"use strict"});var fd,hd=p(()=>{"use strict";fd=u(v());cd();ud();cd();ld();Rb();ud();dd();Ib();(0,fd.customElement)("ft-chip")(Pe);(0,fd.customElement)("ftds-chip")(rr)});var Lb,Ce,U,kb,Gi=p(()=>{"use strict";Lb=u(R()),Ce=u(v());Vt();U={fontSize:Ce.FtCssVariableFactory.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:Ce.FtCssVariableFactory.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:Ce.FtCssVariableFactory.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:Ce.FtCssVariableFactory.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:Ce.FtCssVariableFactory.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:Ce.FtCssVariableFactory.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:Ce.FtCssVariableFactory.extend("--ft-input-label-border-color","",Ce.designSystemVariables.colorOutline),textColor:Ce.FtCssVariableFactory.extend("--ft-input-label-text-color","",Ce.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:Ce.FtCssVariableFactory.extend("--ft-input-label-disabled-text-color","",Ce.designSystemVariables.colorOnSurfaceDisabled),backgroundColor:Ce.FtCssVariableFactory.extend("--ft-input-label-background-color","",Ce.designSystemVariables.colorSurface),borderRadius:Ce.FtCssVariableFactory.extend("--ft-input-label-border-radius","",Ce.designSystemVariables.borderRadiusS),colorError:Ce.FtCssVariableFactory.external(Ce.designSystemVariables.colorError,"Design system")},kb=Lb.css`
2491
2491
  .ft-input-label {
2492
2492
  position: absolute;
2493
2493
  inset: 0;
@@ -2538,8 +2538,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2538
2538
  transition: font-size 250ms, line-height 250ms, color 250ms;
2539
2539
  max-width: calc(${U.labelMaxWidth} - 2 * (${U.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
2540
2540
  text-overflow: ellipsis;
2541
- ${(0,Ce.setVariable)(je.fontSize,U.fontSize)};
2542
- ${(0,Ce.setVariable)(je.lineHeight,U.fontSize)};
2541
+ ${(0,Ce.setVariable)(Ge.fontSize,U.fontSize)};
2542
+ ${(0,Ce.setVariable)(Ge.lineHeight,U.fontSize)};
2543
2543
  }
2544
2544
 
2545
2545
  .ft-input-label--in-error .ft-input-label--text {
@@ -2559,7 +2559,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2559
2559
 
2560
2560
  .ft-input-label--floating-text {
2561
2561
  position: absolute;
2562
- top: calc(50% - ${je.lineHeight} / 2);
2562
+ top: calc(50% - ${Ge.lineHeight} / 2);
2563
2563
  transition: top 250ms;
2564
2564
  overflow: hidden;
2565
2565
  white-space: nowrap;
@@ -2571,8 +2571,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2571
2571
  }
2572
2572
 
2573
2573
  .ft-input-label--raised .ft-input-label--text {
2574
- ${(0,Ce.setVariable)(je.fontSize,U.raisedFontSize)};
2575
- ${(0,Ce.setVariable)(je.lineHeight,U.raisedFontSize)};
2574
+ ${(0,Ce.setVariable)(Ge.fontSize,U.raisedFontSize)};
2575
+ ${(0,Ce.setVariable)(Ge.lineHeight,U.raisedFontSize)};
2576
2576
  }
2577
2577
 
2578
2578
  .ft-input-label--raised .ft-input-label--floating-text {
@@ -2603,13 +2603,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2603
2603
  z-index: ${U.raisedZIndex};
2604
2604
  background-color: ${U.backgroundColor};
2605
2605
  border-radius: ${U.borderRadius};
2606
- top: calc((${je.lineHeight} / -2) + 2px);
2606
+ top: calc((${Ge.lineHeight} / -2) + 2px);
2607
2607
  }
2608
2608
 
2609
2609
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
2610
2610
  border-top: none;
2611
2611
  }
2612
- `});function $b(t,e,r){return t?e(t):r?.(t)}var Tb=p(()=>{});var Pb=p(()=>{Tb()});var md,gd,Nb,Bb,_b,Qr,yd=p(()=>{"use strict";md=f(R()),gd=f(W());Pb();Nb=f(Ct()),Bb=f(v()),_b=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Qr=class extends Bb.FtLitElement{constructor(){super(...arguments),this.text="",this.raised=!1}get inputLabelClasses(){return{}}render(){return md.html`
2612
+ `});function $b(t,e,r){return t?e(t):r?.(t)}var Tb=p(()=>{});var Pb=p(()=>{Tb()});var md,gd,Nb,Bb,_b,Yr,yd=p(()=>{"use strict";md=u(R()),gd=u(W());Pb();Nb=u(Ct()),Bb=u(v()),_b=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Yr=class extends Bb.FtLitElement{constructor(){super(...arguments),this.text="",this.raised=!1}get inputLabelClasses(){return{}}render(){return md.html`
2613
2613
  <div class="${(0,Nb.classMap)(this.inputLabelClasses)}">
2614
2614
  ${$b(this.text,()=>md.html`
2615
2615
  <div class="ft-input-label--text ft-typography--caption">
@@ -2618,7 +2618,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2618
2618
  </div>
2619
2619
  `)}
2620
2620
  </div>
2621
- `}};Qr.elementDefinitions={};_b([(0,gd.property)({type:String})],Qr.prototype,"text",void 0);_b([(0,gd.property)({type:Boolean})],Qr.prototype,"raised",void 0)});var xs,bd,dr,xd=p(()=>{"use strict";xs=f(W());Vt();Ki();yd();bd=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},dr=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}}};dr.elementDefinitions={};dr.styles=[br,kb];bd([(0,xs.property)({type:Boolean})],dr.prototype,"outlined",void 0);bd([(0,xs.property)({type:Boolean})],dr.prototype,"error",void 0);bd([(0,xs.property)({type:Boolean})],dr.prototype,"disabled",void 0)});var Fb,Me,ct,Db,vd=p(()=>{"use strict";Fb=f(R());oe();Vt();Ki();Me=f(v()),ct={fontSize:Me.FtCssVariableFactory.extend("--ft-input-label-font-size","",ui.fontSize),fontSizeRaised:Me.FtCssVariableFactory.extend("--ft-input-label-font-size-raised","",To.fontSize),lineHeight:Me.FtCssVariableFactory.extend("--ft-input-label-line-height","",To.lineHeight),color:Me.FtCssVariableFactory.extend("--ft-input-label-color","",Me.semantic.contentGlobalSubtle),largeFieldHeight:Me.FtCssVariableFactory.create("--ft-input-label-large-height","","SIZE","50px"),largeFieldVerticalGap:Me.FtCssVariableFactory.extend("--ft-input-label-large-field-vertical-gap","",c.spacing05),largeFieldHorizontalPadding:Me.FtCssVariableFactory.extend("--ft-input-label-large-field-horizontal-padding","",c.spacing4),mediumFieldHeight:Me.FtCssVariableFactory.create("--ft-input-label-medium-height","","SIZE","40px"),mediumFieldVerticalGap:Me.FtCssVariableFactory.create("--ft-input-label-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHorizontalPadding:Me.FtCssVariableFactory.extend("--ft-input-label-medium-field-horizontal-padding","",c.spacing4),additionalPaddingLeft:Me.FtCssVariableFactory.create("--ft-input-label-additional-padding-left","","SIZE","0px"),additionalPaddingRight:Me.FtCssVariableFactory.create("--ft-input-label-additional-padding-right","","SIZE","0px")},Db=[Fb.css`
2621
+ `}};Yr.elementDefinitions={};_b([(0,gd.property)({type:String})],Yr.prototype,"text",void 0);_b([(0,gd.property)({type:Boolean})],Yr.prototype,"raised",void 0)});var xs,bd,fr,xd=p(()=>{"use strict";xs=u(W());Vt();Gi();yd();bd=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},fr=class extends Yr{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}}};fr.elementDefinitions={};fr.styles=[xr,kb];bd([(0,xs.property)({type:Boolean})],fr.prototype,"outlined",void 0);bd([(0,xs.property)({type:Boolean})],fr.prototype,"error",void 0);bd([(0,xs.property)({type:Boolean})],fr.prototype,"disabled",void 0)});var Fb,Me,ct,Db,vd=p(()=>{"use strict";Fb=u(R());oe();Vt();Gi();Me=u(v()),ct={fontSize:Me.FtCssVariableFactory.extend("--ft-input-label-font-size","",pi.fontSize),fontSizeRaised:Me.FtCssVariableFactory.extend("--ft-input-label-font-size-raised","",To.fontSize),lineHeight:Me.FtCssVariableFactory.extend("--ft-input-label-line-height","",To.lineHeight),color:Me.FtCssVariableFactory.extend("--ft-input-label-color","",Me.semantic.contentGlobalSubtle),largeFieldHeight:Me.FtCssVariableFactory.create("--ft-input-label-large-height","","SIZE","50px"),largeFieldVerticalGap:Me.FtCssVariableFactory.extend("--ft-input-label-large-field-vertical-gap","",c.spacing05),largeFieldHorizontalPadding:Me.FtCssVariableFactory.extend("--ft-input-label-large-field-horizontal-padding","",c.spacing4),mediumFieldHeight:Me.FtCssVariableFactory.create("--ft-input-label-medium-height","","SIZE","40px"),mediumFieldVerticalGap:Me.FtCssVariableFactory.create("--ft-input-label-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHorizontalPadding:Me.FtCssVariableFactory.extend("--ft-input-label-medium-field-horizontal-padding","",c.spacing4),additionalPaddingLeft:Me.FtCssVariableFactory.create("--ft-input-label-additional-padding-left","","SIZE","0px"),additionalPaddingRight:Me.FtCssVariableFactory.create("--ft-input-label-additional-padding-right","","SIZE","0px")},Db=[Fb.css`
2622
2622
 
2623
2623
  :root {
2624
2624
  --field-height: ${ct.largeFieldHeight};
@@ -2626,7 +2626,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2626
2626
  --field-horizontal-padding: ${ct.largeFieldHorizontalPadding};
2627
2627
 
2628
2628
  --typo-caption-height: calc(${To.lineHeight} * ${To.fontSize});
2629
- --typo-body-height: calc(${ui.lineHeight} * ${ui.fontSize});
2629
+ --typo-body-height: calc(${pi.lineHeight} * ${pi.fontSize});
2630
2630
  --caption-label-and-value-combined-height: calc(var(--field-vertical-gap) + var(--typo-caption-height) + var(--typo-body-height));
2631
2631
  --input-content-vertical-padding: calc((var(--field-height) - var(--caption-label-and-value-combined-height)) / 2);
2632
2632
  }
@@ -2660,8 +2660,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2660
2660
  z-index: 10;
2661
2661
  width: 100%;
2662
2662
  transition: font-size 250ms, line-height 250ms, color 250ms;
2663
- ${(0,Me.setVariable)(je.fontSize,ct.fontSize)};
2664
- ${(0,Me.setVariable)(je.lineHeight,ct.lineHeight)};
2663
+ ${(0,Me.setVariable)(Ge.fontSize,ct.fontSize)};
2664
+ ${(0,Me.setVariable)(Ge.lineHeight,ct.lineHeight)};
2665
2665
  }
2666
2666
 
2667
2667
  .ft-input-label--hidden-text {
@@ -2692,15 +2692,15 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2692
2692
  }
2693
2693
 
2694
2694
  .ft-input-label--raised .ft-input-label--text {
2695
- ${(0,Me.setVariable)(je.fontSize,ct.fontSizeRaised)};
2696
- ${(0,Me.setVariable)(je.lineHeight,ct.lineHeight)};
2695
+ ${(0,Me.setVariable)(Ge.fontSize,ct.fontSizeRaised)};
2696
+ ${(0,Me.setVariable)(Ge.lineHeight,ct.lineHeight)};
2697
2697
  }
2698
2698
 
2699
2699
  .ft-input-label--raised .ft-input-label--floating-text {
2700
2700
  top: var(--input-content-vertical-padding);
2701
2701
  }
2702
2702
 
2703
- `]});var Mb,Bn,Sd=p(()=>{"use strict";yd();Mb=f(v());vd();_e();Bn=class extends(0,Mb.toFtdsBase)(Qr){get inputLabelClasses(){return{"ft-input-label":!0,"ft-input-label--raised":this.raised,...this.getDesignSystemBaseClasses()}}};Bn.styles=[br,Db]});var zb=p(()=>{"use strict"});var Ub=p(()=>{"use strict"});var Cd,Hb=p(()=>{"use strict";Cd=f(v());xd();Sd();xd();Ki();zb();Sd();vd();Ub();(0,Cd.customElement)("ft-input-label")(dr);(0,Cd.customElement)("ftds-input-label")(Bn)});var Wb,K,Y,Vb,vs=p(()=>{"use strict";Wb=f(R()),K=f(v());Ki();Vt();Br();Po();Y={labelSize:K.FtCssVariableFactory.create("--ft-select-label-size","","SIZE","11px"),selectedOptionSize:K.FtCssVariableFactory.create("--ft-select-selected-option-size","","SIZE","14px"),verticalSpacing:K.FtCssVariableFactory.create("--ft-select-vertical-spacing","","SIZE","4px"),horizontalSpacing:K.FtCssVariableFactory.create("--ft-select-horizontal-spacing","","SIZE","16px"),optionsHeight:K.FtCssVariableFactory.create("--ft-select-options-height","","SIZE","70vh"),selectedOptionColor:K.FtCssVariableFactory.extend("--ft-select-selected-option-color","",K.designSystemVariables.colorOnSurface),helperColor:K.FtCssVariableFactory.extend("--ft-select-helper-color","",K.designSystemVariables.colorOnSurfaceMedium),optionsColor:K.FtCssVariableFactory.extend("--ft-select-options-color","",K.designSystemVariables.colorOnSurface),optionsZIndex:K.FtCssVariableFactory.create("--ft-select-options-z-index","","NUMBER","3"),backgroundColor:K.FtCssVariableFactory.extend("--ft-select-background-color","",K.designSystemVariables.colorSurface),colorOnSurfaceDisabled:K.FtCssVariableFactory.external(K.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:K.FtCssVariableFactory.external(K.designSystemVariables.colorPrimary,"Design system"),borderRadiusS:K.FtCssVariableFactory.external(K.designSystemVariables.borderRadiusS,"Design system"),elevation02:K.FtCssVariableFactory.external(K.designSystemVariables.elevation02,"Design system"),colorError:K.FtCssVariableFactory.external(K.designSystemVariables.colorError,"Design system")},Vb=Wb.css`
2703
+ `]});var Mb,Bn,Sd=p(()=>{"use strict";yd();Mb=u(v());vd();_e();Bn=class extends(0,Mb.toFtdsBase)(Yr){get inputLabelClasses(){return{"ft-input-label":!0,"ft-input-label--raised":this.raised,...this.getDesignSystemBaseClasses()}}};Bn.styles=[xr,Db]});var zb=p(()=>{"use strict"});var Ub=p(()=>{"use strict"});var Cd,Hb=p(()=>{"use strict";Cd=u(v());xd();Sd();xd();Gi();zb();Sd();vd();Ub();(0,Cd.customElement)("ft-input-label")(fr);(0,Cd.customElement)("ftds-input-label")(Bn)});var Wb,K,Y,Vb,vs=p(()=>{"use strict";Wb=u(R()),K=u(v());Gi();Vt();Fr();Po();Y={labelSize:K.FtCssVariableFactory.create("--ft-select-label-size","","SIZE","11px"),selectedOptionSize:K.FtCssVariableFactory.create("--ft-select-selected-option-size","","SIZE","14px"),verticalSpacing:K.FtCssVariableFactory.create("--ft-select-vertical-spacing","","SIZE","4px"),horizontalSpacing:K.FtCssVariableFactory.create("--ft-select-horizontal-spacing","","SIZE","16px"),optionsHeight:K.FtCssVariableFactory.create("--ft-select-options-height","","SIZE","70vh"),selectedOptionColor:K.FtCssVariableFactory.extend("--ft-select-selected-option-color","",K.designSystemVariables.colorOnSurface),helperColor:K.FtCssVariableFactory.extend("--ft-select-helper-color","",K.designSystemVariables.colorOnSurfaceMedium),optionsColor:K.FtCssVariableFactory.extend("--ft-select-options-color","",K.designSystemVariables.colorOnSurface),optionsZIndex:K.FtCssVariableFactory.create("--ft-select-options-z-index","","NUMBER","3"),backgroundColor:K.FtCssVariableFactory.extend("--ft-select-background-color","",K.designSystemVariables.colorSurface),colorOnSurfaceDisabled:K.FtCssVariableFactory.external(K.designSystemVariables.colorOnSurfaceDisabled,"Design system"),colorPrimary:K.FtCssVariableFactory.external(K.designSystemVariables.colorPrimary,"Design system"),borderRadiusS:K.FtCssVariableFactory.external(K.designSystemVariables.borderRadiusS,"Design system"),elevation02:K.FtCssVariableFactory.external(K.designSystemVariables.elevation02,"Design system"),colorError:K.FtCssVariableFactory.external(K.designSystemVariables.colorError,"Design system")},Vb=Wb.css`
2704
2704
  *:focus {
2705
2705
  outline: none;
2706
2706
  }
@@ -2776,8 +2776,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2776
2776
  overflow: hidden;
2777
2777
  white-space: nowrap;
2778
2778
  text-overflow: ellipsis;
2779
- ${(0,K.setVariable)(Dr.fontSize,Y.selectedOptionSize)};
2780
- ${(0,K.setVariable)(Dr.lineHeight,Y.selectedOptionSize)};
2779
+ ${(0,K.setVariable)(Mr.fontSize,Y.selectedOptionSize)};
2780
+ ${(0,K.setVariable)(Mr.lineHeight,Y.selectedOptionSize)};
2781
2781
  }
2782
2782
 
2783
2783
  .ft-select--in-error .ft-select--selected-option {
@@ -2846,14 +2846,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2846
2846
  .ft-select--in-error .ft-select--helper-text {
2847
2847
  color: ${Y.colorError};
2848
2848
  }
2849
- `});var ai,be,Od,jb,si,Le,$r,de,wd=p(()=>{"use strict";ai=f(R()),be=f(W()),Od=f(Ct()),jb=f(Kr()),si=f(v());_e();Hb();ut();jt();vs();Le=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},$r=class extends si.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return ai.html``}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};$r.elementDefinitions={};Le([(0,be.property)({type:String})],$r.prototype,"label",void 0);Le([(0,be.property)({type:Object,converter:t=>t})],$r.prototype,"value",void 0);Le([(0,be.property)({type:Boolean,reflect:!0})],$r.prototype,"selected",void 0);de=class t extends si.FtLitElement{constructor(){super(...arguments),this.label="",this.ariaLabel="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.currentSearch="",this.lastSearchInputDate=new Date("01/01/1970"),this.hideOptions=e=>this.optionsDisplayed=this.optionsDisplayed&&e.composedPath().includes(this.container)}render(){var e,r,i,n,a;let s=this.hasOptionsMenuOpen,l=this.disabled||!this.hasOptions,u=((e=this.selectedOption)===null||e===void 0?void 0:e.value)!=null||((i=(r=this.selectedOption)===null||r===void 0?void 0:r.label)!==null&&i!==void 0?i:"").length>0,h={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":l,"ft-select--options-displayed":s,"ft-select--has-option-selected":u,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return ai.html`
2849
+ `});var ai,be,Od,jb,si,Le,Tr,de,wd=p(()=>{"use strict";ai=u(R()),be=u(W()),Od=u(Ct()),jb=u(qr()),si=u(v());_e();Hb();ut();jt();vs();Le=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Tr=class extends si.FtLitElement{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1}render(){return ai.html``}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Tr.elementDefinitions={};Le([(0,be.property)({type:String})],Tr.prototype,"label",void 0);Le([(0,be.property)({type:Object,converter:t=>t})],Tr.prototype,"value",void 0);Le([(0,be.property)({type:Boolean,reflect:!0})],Tr.prototype,"selected",void 0);de=class t extends si.FtLitElement{constructor(){super(...arguments),this.label="",this.ariaLabel="",this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.currentSearch="",this.lastSearchInputDate=new Date("01/01/1970"),this.hideOptions=e=>this.optionsDisplayed=this.optionsDisplayed&&e.composedPath().includes(this.container)}render(){var e,r,i,n,a;let s=this.hasOptionsMenuOpen,l=this.disabled||!this.hasOptions,f=((e=this.selectedOption)===null||e===void 0?void 0:e.value)!=null||((i=(r=this.selectedOption)===null||r===void 0?void 0:r.label)!==null&&i!==void 0?i:"").length>0,h={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":l,"ft-select--options-displayed":s,"ft-select--has-option-selected":f,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return ai.html`
2850
2850
  <div class="${(0,Od.classMap)(h)}" part="container">
2851
2851
  <div class="ft-select--main-panel" part="main-panel">
2852
2852
  <ft-input-label text="${this.label}"
2853
2853
  part="label"
2854
2854
  ?disabled=${l}
2855
2855
  ?outlined=${this.outlined}
2856
- ?raised=${u||s}
2856
+ ?raised=${f||s}
2857
2857
  ?error=${this.error}
2858
2858
  ></ft-input-label>
2859
2859
  <div class="ft-select--input-panel"
@@ -2898,7 +2898,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2898
2898
  <ft-ripple ?primary=${r} ?activated=${r}></ft-ripple>
2899
2899
  <span>${e.label}</span>
2900
2900
  </div>
2901
- `}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,si.computeOffsetAutoPosition)(this.mainPanel,this.optionsMenu,"bottom",n,"fixed",Y.optionsHeight,0).then(({x:a,y:s})=>{this.optionsMenu.style.left=`${a}px`,this.optionsMenu.style.top=`${s}px`})}}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(e){var r;e.stopPropagation();let i=(r=this.optionsSlot)===null||r===void 0?void 0:r.assignedElements().map(n=>n);i&&i.length>0&&(this.options=i)}onMainPanelKeyDown(e){switch(e.key){case" ":e.preventDefault(),e.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":e.preventDefault(),e.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0;break}}onOptionsKeyDown(e){var r,i,n,a,s;let l;switch(e.key){case"Escape":this.optionsDisplayed=!1,(r=this.mainPanel)===null||r===void 0||r.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":e.preventDefault(),e.stopPropagation(),l=(n=(i=this.focusedOption)===null||i===void 0?void 0:i.previousElementSibling)!==null&&n!==void 0?n:this.lastOption;break;case"ArrowDown":e.preventDefault(),e.stopPropagation(),l=(s=(a=this.focusedOption)===null||a===void 0?void 0:a.nextElementSibling)!==null&&s!==void 0?s:this.firstOption;break;default:if(e.key.length!=1)break;this.isKeyAlphanumeric(e.key)&&(l=this.handleAlphanumericPress(e.key));break}l?.focus()}isKeyAlphanumeric(e){let r=e.charCodeAt(0);return r>47&&r<58||r>64&&r<91||r>96&&r<123}handleAlphanumericPress(e){var r,i;let n=new Date;n.getTime()-this.lastSearchInputDate.getTime()>t.searchTimeoutMilliseconds&&(this.currentSearch=""),this.currentSearch+=e.toLowerCase();let a=this.options.find(l=>{var u;return((u=l.label)===null||u===void 0?void 0:u.toLowerCase().substring(0,this.currentSearch.length))===this.currentSearch});if(a===void 0){this.lastSearchInputDate=n;return}let s=(i=(r=this.optionsMenu)===null||r===void 0?void 0:r.querySelector(`[data-value="${a.value}"]`))!==null&&i!==void 0?i:void 0;return this.lastSearchInputDate=n,s}onOptionKeyDown(e,r){var i;(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),e.stopPropagation(),this.selectOption(r),this.optionsDisplayed=!1,(i=this.mainPanel)===null||i===void 0||i.focus())}selectOption(e){var r,i;if(!(0,si.deepEqual)((r=this.selectedOption)===null||r===void 0?void 0:r.value,e.value)){this.selectedOption=e;for(let n of this.options)n.selected=n===e;this.dispatchEvent(new CustomEvent("change",{detail:(i=this.selectedOption)===null||i===void 0?void 0:i.value}))}this.optionsDisplayed=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}};de.elementDefinitions={"ft-input-label":dr,"ft-typography":Z,"ft-ripple":G,"ft-icon":he};de.searchTimeoutMilliseconds=2e3;de.styles=[ro,br,Vb];Le([(0,be.property)({type:String})],de.prototype,"label",void 0);Le([(0,be.property)({type:String})],de.prototype,"ariaLabel",void 0);Le([(0,be.property)({type:String})],de.prototype,"helper",void 0);Le([(0,be.property)({type:Boolean})],de.prototype,"outlined",void 0);Le([(0,be.property)({type:Boolean})],de.prototype,"disabled",void 0);Le([(0,be.property)({type:Boolean})],de.prototype,"error",void 0);Le([(0,be.property)({type:Boolean})],de.prototype,"fixedMenuPosition",void 0);Le([(0,be.property)({type:Array})],de.prototype,"options",void 0);Le([(0,be.state)()],de.prototype,"selectedOption",void 0);Le([(0,be.state)()],de.prototype,"optionsDisplayed",void 0);Le([(0,be.state)()],de.prototype,"focusOptions",void 0);Le([(0,be.state)()],de.prototype,"currentSearch",void 0);Le([(0,be.state)()],de.prototype,"lastSearchInputDate",void 0);Le([(0,be.query)(".ft-select")],de.prototype,"container",void 0);Le([(0,be.query)(".ft-select--options")],de.prototype,"optionsMenu",void 0);Le([(0,be.query)(".ft-select--input-panel")],de.prototype,"mainPanel",void 0);Le([(0,be.query)(".ft-select--option:first-child")],de.prototype,"firstOption",void 0);Le([(0,be.query)(".ft-select--option:focus")],de.prototype,"focusedOption",void 0);Le([(0,be.query)(".ft-select--option.ft-select--option-selected")],de.prototype,"selectedOptionElement",void 0);Le([(0,be.query)(".ft-select--option:last-child")],de.prototype,"lastOption",void 0);Le([(0,be.query)("slot:not([name])")],de.prototype,"optionsSlot",void 0)});var Gb=p(()=>{"use strict"});var Ed,Kb=p(()=>{"use strict";Ed=f(v());wd();wd();vs();Gb();(0,Ed.customElement)("ft-select")(de);(0,Ed.customElement)("ft-select-option")($r)});var qb,pr,ot,Zb,Ss=p(()=>{"use strict";qb=f(R()),pr=f(v()),ot={display:pr.FtCssVariableFactory.create("--ft-skeleton--display","","DISPLAY","block"),width:pr.FtCssVariableFactory.create("--ft-skeleton--width","","SIZE","100%"),height:pr.FtCssVariableFactory.create("--ft-skeleton--height","","SIZE","20px"),backgroundColor:pr.FtCssVariableFactory.create("--ft-skeleton--background-color","","COLOR","#f1f1f1"),glareWidth:pr.FtCssVariableFactory.create("--ft-skeleton--glare-width","","SIZE","200px"),glareColor:pr.FtCssVariableFactory.create("--ft-skeleton--glare-color","","COLOR","rgba(255, 255, 255, .6)"),animationDuration:pr.FtCssVariableFactory.create("--ft-skeleton--animation-duration","","UNKNOWN","2s"),borderRadiusM:pr.FtCssVariableFactory.external(pr.designSystemVariables.borderRadiusM,"Design system")},Zb=qb.css`
2901
+ `}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,si.computeOffsetAutoPosition)(this.mainPanel,this.optionsMenu,"bottom",n,"fixed",Y.optionsHeight,0).then(({x:a,y:s})=>{this.optionsMenu.style.left=`${a}px`,this.optionsMenu.style.top=`${s}px`})}}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(e){var r;e.stopPropagation();let i=(r=this.optionsSlot)===null||r===void 0?void 0:r.assignedElements().map(n=>n);i&&i.length>0&&(this.options=i)}onMainPanelKeyDown(e){switch(e.key){case" ":e.preventDefault(),e.stopPropagation();case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":e.preventDefault(),e.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0;break}}onOptionsKeyDown(e){var r,i,n,a,s;let l;switch(e.key){case"Escape":this.optionsDisplayed=!1,(r=this.mainPanel)===null||r===void 0||r.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":e.preventDefault(),e.stopPropagation(),l=(n=(i=this.focusedOption)===null||i===void 0?void 0:i.previousElementSibling)!==null&&n!==void 0?n:this.lastOption;break;case"ArrowDown":e.preventDefault(),e.stopPropagation(),l=(s=(a=this.focusedOption)===null||a===void 0?void 0:a.nextElementSibling)!==null&&s!==void 0?s:this.firstOption;break;default:if(e.key.length!=1)break;this.isKeyAlphanumeric(e.key)&&(l=this.handleAlphanumericPress(e.key));break}l?.focus()}isKeyAlphanumeric(e){let r=e.charCodeAt(0);return r>47&&r<58||r>64&&r<91||r>96&&r<123}handleAlphanumericPress(e){var r,i;let n=new Date;n.getTime()-this.lastSearchInputDate.getTime()>t.searchTimeoutMilliseconds&&(this.currentSearch=""),this.currentSearch+=e.toLowerCase();let a=this.options.find(l=>{var f;return((f=l.label)===null||f===void 0?void 0:f.toLowerCase().substring(0,this.currentSearch.length))===this.currentSearch});if(a===void 0){this.lastSearchInputDate=n;return}let s=(i=(r=this.optionsMenu)===null||r===void 0?void 0:r.querySelector(`[data-value="${a.value}"]`))!==null&&i!==void 0?i:void 0;return this.lastSearchInputDate=n,s}onOptionKeyDown(e,r){var i;(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),e.stopPropagation(),this.selectOption(r),this.optionsDisplayed=!1,(i=this.mainPanel)===null||i===void 0||i.focus())}selectOption(e){var r,i;if(!(0,si.deepEqual)((r=this.selectedOption)===null||r===void 0?void 0:r.value,e.value)){this.selectedOption=e;for(let n of this.options)n.selected=n===e;this.dispatchEvent(new CustomEvent("change",{detail:(i=this.selectedOption)===null||i===void 0?void 0:i.value}))}this.optionsDisplayed=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.hideOptions)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptions)}};de.elementDefinitions={"ft-input-label":fr,"ft-typography":Z,"ft-ripple":G,"ft-icon":he};de.searchTimeoutMilliseconds=2e3;de.styles=[oo,xr,Vb];Le([(0,be.property)({type:String})],de.prototype,"label",void 0);Le([(0,be.property)({type:String})],de.prototype,"ariaLabel",void 0);Le([(0,be.property)({type:String})],de.prototype,"helper",void 0);Le([(0,be.property)({type:Boolean})],de.prototype,"outlined",void 0);Le([(0,be.property)({type:Boolean})],de.prototype,"disabled",void 0);Le([(0,be.property)({type:Boolean})],de.prototype,"error",void 0);Le([(0,be.property)({type:Boolean})],de.prototype,"fixedMenuPosition",void 0);Le([(0,be.property)({type:Array})],de.prototype,"options",void 0);Le([(0,be.state)()],de.prototype,"selectedOption",void 0);Le([(0,be.state)()],de.prototype,"optionsDisplayed",void 0);Le([(0,be.state)()],de.prototype,"focusOptions",void 0);Le([(0,be.state)()],de.prototype,"currentSearch",void 0);Le([(0,be.state)()],de.prototype,"lastSearchInputDate",void 0);Le([(0,be.query)(".ft-select")],de.prototype,"container",void 0);Le([(0,be.query)(".ft-select--options")],de.prototype,"optionsMenu",void 0);Le([(0,be.query)(".ft-select--input-panel")],de.prototype,"mainPanel",void 0);Le([(0,be.query)(".ft-select--option:first-child")],de.prototype,"firstOption",void 0);Le([(0,be.query)(".ft-select--option:focus")],de.prototype,"focusedOption",void 0);Le([(0,be.query)(".ft-select--option.ft-select--option-selected")],de.prototype,"selectedOptionElement",void 0);Le([(0,be.query)(".ft-select--option:last-child")],de.prototype,"lastOption",void 0);Le([(0,be.query)("slot:not([name])")],de.prototype,"optionsSlot",void 0)});var Gb=p(()=>{"use strict"});var Ed,Kb=p(()=>{"use strict";Ed=u(v());wd();wd();vs();Gb();(0,Ed.customElement)("ft-select")(de);(0,Ed.customElement)("ft-select-option")(Tr)});var qb,hr,ot,Zb,Ss=p(()=>{"use strict";qb=u(R()),hr=u(v()),ot={display:hr.FtCssVariableFactory.create("--ft-skeleton--display","","DISPLAY","block"),width:hr.FtCssVariableFactory.create("--ft-skeleton--width","","SIZE","100%"),height:hr.FtCssVariableFactory.create("--ft-skeleton--height","","SIZE","20px"),backgroundColor:hr.FtCssVariableFactory.create("--ft-skeleton--background-color","","COLOR","#f1f1f1"),glareWidth:hr.FtCssVariableFactory.create("--ft-skeleton--glare-width","","SIZE","200px"),glareColor:hr.FtCssVariableFactory.create("--ft-skeleton--glare-color","","COLOR","rgba(255, 255, 255, .6)"),animationDuration:hr.FtCssVariableFactory.create("--ft-skeleton--animation-duration","","UNKNOWN","2s"),borderRadiusM:hr.FtCssVariableFactory.external(hr.designSystemVariables.borderRadiusM,"Design system")},Zb=qb.css`
2902
2902
  :host {
2903
2903
  width: ${ot.width};
2904
2904
  height: ${ot.height};
@@ -2925,7 +2925,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
2925
2925
  background-position: calc(100vw + ${ot.glareWidth}) 0, calc(${ot.glareWidth} * -1) 0;
2926
2926
  }
2927
2927
  }
2928
- `});var z,Ad,B,Qb,Yb,Cs=p(()=>{"use strict";z=f(v()),Ad=f(R());_o();Ki();vs();Ss();Kn();cs();ps();Vt();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(j.color,"Button"),buttonRippleColor:z.FtCssVariableFactory.external(j.rippleColor,"Button"),activeItemBorderColor:z.FtCssVariableFactory.extend("--ft-search-bar-active-border-color","",z.designSystemVariables.colorPrimary)},Qb=Ad.css`
2928
+ `});var z,Ad,B,Qb,Yb,Cs=p(()=>{"use strict";z=u(v()),Ad=u(R());_o();Gi();vs();Ss();Kn();cs();ps();Vt();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(j.color,"Button"),buttonRippleColor:z.FtCssVariableFactory.external(j.rippleColor,"Button"),activeItemBorderColor:z.FtCssVariableFactory.extend("--ft-search-bar-active-border-color","",z.designSystemVariables.colorPrimary)},Qb=Ad.css`
2929
2929
  * {
2930
2930
  box-sizing: border-box;
2931
2931
  }
@@ -3028,7 +3028,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3028
3028
  align-items: center;
3029
3029
  height: 100%;
3030
3030
 
3031
- ${(0,z.setVariable)(vr.zIndex,`calc(${B.floatingZIndex} + 1)`)};
3031
+ ${(0,z.setVariable)(Sr.zIndex,`calc(${B.floatingZIndex} + 1)`)};
3032
3032
  }
3033
3033
 
3034
3034
  .ft-search-bar > ft-button,
@@ -3281,16 +3281,16 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3281
3281
  .ft-search-bar--desktop-menu .ft-search-bar--launch-search {
3282
3282
  margin: 0;
3283
3283
  }
3284
- `});var Xb,Jb,Oo,Rd=p(()=>{"use strict";Xb=f(R()),Jb=f(v());Ss();Oo=class extends Jb.FtLitElement{render(){return Xb.html`
3285
- `}};Oo.elementDefinitions={};Oo.styles=Zb});var ex=p(()=>{"use strict"});var tx,rx=p(()=>{"use strict";tx=f(v());Rd();Rd();Ss();ex();(0,tx.customElement)("ft-skeleton")(Oo)});var Tr,Id,qi,Pr,Os=p(()=>{"use strict";Tr=f(R()),Id=f(Kr());jt();qi=f(v());Cs();ut();Pr=class{constructor(e,r=300){this.listboxId="suggestManager",this.searchBar=e,this.updateDebouncer=new qi.Debouncer(r)}render(){let e=this.recentSearchesMatchingQuery;return Tr.html`
3284
+ `});var Xb,Jb,wo,Rd=p(()=>{"use strict";Xb=u(R()),Jb=u(v());Ss();wo=class extends Jb.FtLitElement{render(){return Xb.html`
3285
+ `}};wo.elementDefinitions={};wo.styles=Zb});var ex=p(()=>{"use strict"});var tx,rx=p(()=>{"use strict";tx=u(v());Rd();Rd();Ss();ex();(0,tx.customElement)("ft-skeleton")(wo)});var Pr,Id,Ki,_r,Os=p(()=>{"use strict";Pr=u(R()),Id=u(qr());jt();Ki=u(v());Cs();ut();_r=class{constructor(e,r=300){this.listboxId="suggestManager",this.searchBar=e,this.updateDebouncer=new Ki.Debouncer(r)}render(){let e=this.recentSearchesMatchingQuery;return Pr.html`
3286
3286
  <div class="ft-search-bar--suggestions ft-word-wrap ${this.shouldDisplaySuggestions?"ft-search-bar--suggestions-not-empty":""}"
3287
3287
  id="${this.listboxId}"
3288
3288
  role="listbox"
3289
3289
  aria-label="${this.searchBar.labelResolver.resolve("suggestionsAriaLabel")}"
3290
3290
  part="suggestions-container">
3291
- ${(0,Id.repeat)(e.slice(0,5),r=>r,(r,i)=>Tr.html`
3291
+ ${(0,Id.repeat)(e.slice(0,5),r=>r,(r,i)=>Pr.html`
3292
3292
  <div part="suggestion-container"
3293
- class=${this.searchBar.selectedSuggestOptionId===this.recentSearchId(i)?"ft-search-bar--suggestions-selected":Tr.nothing}>
3293
+ class=${this.searchBar.selectedSuggestOptionId===this.recentSearchId(i)?"ft-search-bar--suggestions-selected":Pr.nothing}>
3294
3294
  <a href="${this.getRequestWithQuery(r)}"
3295
3295
  part="suggestions"
3296
3296
  class="ft-search-bar--suggestion ft-search-bar--recent-search"
@@ -3317,9 +3317,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3317
3317
  </ft-button>
3318
3318
  </div>
3319
3319
  `)}
3320
- ${(0,Id.repeat)(this.searchBar.suggestions,r=>r.value,(r,i)=>Tr.html`
3320
+ ${(0,Id.repeat)(this.searchBar.suggestions,r=>r.value,(r,i)=>Pr.html`
3321
3321
  <div part="suggestion-container"
3322
- class=${this.searchBar.selectedSuggestOptionId===this.suggestionId(i)?"ft-search-bar--suggestions-selected":Tr.nothing}>
3322
+ class=${this.searchBar.selectedSuggestOptionId===this.suggestionId(i)?"ft-search-bar--suggestions-selected":Pr.nothing}>
3323
3323
  <a href="${this.getRequestWithQuery(r.value)}"
3324
3324
  part="suggestions"
3325
3325
  class="ft-search-bar--suggestion"
@@ -3335,9 +3335,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3335
3335
  </div>
3336
3336
  `)}
3337
3337
  </div>
3338
- `}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"?Ge.file_format:Ge.fluid_topics,i;switch(e.type){case"MAP":i=e.editorialType==="BOOK"?At.BOOK:At.ARTICLE;break;case"DOCUMENT":i=ra(e.mimeType,e.filenameExtension);break;case"TOPIC":i=At.TOPICS;break}return Tr.html`
3338
+ `}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"?Ke.file_format:Ke.fluid_topics,i;switch(e.type){case"MAP":i=e.editorialType==="BOOK"?At.BOOK:At.ARTICLE;break;case"DOCUMENT":i=ra(e.mimeType,e.filenameExtension);break;case"TOPIC":i=At.TOPICS;break}return Pr.html`
3339
3339
  <ft-icon .variant="${r}" .value="${i}" part="suggestion-icon"></ft-icon>
3340
- `}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()))}};Pr.styles=[qi.wordWrap,Tr.css`
3340
+ `}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()))}};_r.styles=[Ki.wordWrap,Pr.css`
3341
3341
  .ft-search-bar--mobile .ft-search-bar--suggestions {
3342
3342
  flex-grow: 1;
3343
3343
  flex-shrink: 1;
@@ -3425,9 +3425,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3425
3425
  }
3426
3426
 
3427
3427
  ft-ripple {
3428
- ${(0,qi.setVariable)(S.opacityContentOnSurfaceHover,S.opacityContentOnSurfaceSelected)}
3428
+ ${(0,Ki.setVariable)(S.opacityContentOnSurfaceHover,S.opacityContentOnSurfaceSelected)}
3429
3429
  }
3430
- `]});var bt,Ld,ws,_r,Es=p(()=>{"use strict";bt=f(R()),Ld=f(Kr());Fc();ws=f(v());ds();hd();_r=class{constructor(e){this.searchBar=e}render(){if(!this.searchBar.hasLocaleSelector()&&!this.searchBar.hasFacets())return bt.html``;let e=this.searchBar.isMobile(),r=!e&&this.searchBar.dense||e&&this.searchBar.isMobileMenuOpen(),i=bt.html`
3430
+ `]});var bt,Ld,ws,Nr,Es=p(()=>{"use strict";bt=u(R()),Ld=u(qr());Fc();ws=u(v());ds();hd();Nr=class{constructor(e){this.searchBar=e}render(){if(!this.searchBar.hasLocaleSelector()&&!this.searchBar.hasFacets())return bt.html``;let e=this.searchBar.isMobile(),r=!e&&this.searchBar.dense||e&&this.searchBar.isMobileMenuOpen(),i=bt.html`
3431
3431
  ${this.searchBar.hasLocaleSelector()&&(this.searchBar.hasFacets()||e)?bt.html`
3432
3432
  <ft-chip part="selected-filters selected-filter-ft-locale"
3433
3433
  ?dense=${this.searchBar.dense&&!e}
@@ -3438,9 +3438,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3438
3438
  ${this.getLocaleLabel(this.searchBar.contentLocale)}
3439
3439
  </ft-chip>
3440
3440
  `:null}
3441
- ${(0,Ld.repeat)(this.searchBar.facets,n=>n.key,n=>{let a=Oy(n);return(0,Ld.repeat)(a,s=>{let l=n.label+": "+vy(s),u=n.key.replace(":","-"),h=bt.html`
3441
+ ${(0,Ld.repeat)(this.searchBar.facets,n=>n.key,n=>{let a=Oy(n);return(0,Ld.repeat)(a,s=>{let l=n.label+": "+vy(s),f=n.key.replace(":","-"),h=bt.html`
3442
3442
  <ft-chip
3443
- part="selected-filters selected-filter-${u}"
3443
+ part="selected-filters selected-filter-${f}"
3444
3444
  ?dense=${this.searchBar.dense&&!e}
3445
3445
  ?clickable=${e}
3446
3446
  ?removable=${!e}
@@ -3477,7 +3477,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3477
3477
  <div class="ft-search-bar--selected-filters" part="selected-filters-container">
3478
3478
  ${i}
3479
3479
  </div>
3480
- `}openMobileFilters(e){this.searchBar.isMobile()&&(this.searchBar.mobileMenuOpen=!0,this.searchBar.displayFacets=!0,this.searchBar.scrollToFacet=e)}getLocaleLabel(e){var r;return(r=this.searchBar.availableContentLocales.filter(i=>{var n;return((n=i.lang)!==null&&n!==void 0?n:"").toLowerCase()===(e??"").toLowerCase()}).map(i=>i.label).pop())!==null&&r!==void 0?r:e}};_r.styles=bt.css`
3480
+ `}openMobileFilters(e){this.searchBar.isMobile()&&(this.searchBar.mobileMenuOpen=!0,this.searchBar.displayFacets=!0,this.searchBar.scrollToFacet=e)}getLocaleLabel(e){var r;return(r=this.searchBar.availableContentLocales.filter(i=>{var n;return((n=i.lang)!==null&&n!==void 0?n:"").toLowerCase()===(e??"").toLowerCase()}).map(i=>i.label).pop())!==null&&r!==void 0?r:e}};Nr.styles=bt.css`
3481
3481
  .ft-search-bar--selected-filters:not(ft-snap-scroll) {
3482
3482
  flex-shrink: 0;
3483
3483
  display: flex;
@@ -3507,7 +3507,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3507
3507
  .ft-search-bar--selected-filters ft-chip {
3508
3508
  flex-grow: 0;
3509
3509
  }
3510
- `});var ur,ox,Fn,ix=p(()=>{"use strict";ur=f(R());Es();Os();ox=f(Ct()),Fn=class{constructor(e,r,i){this.searchBar=e,this.selectedFacetsManager=r??new _r(e),this.suggestManager=i??new Pr(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 ur.html`
3510
+ `});var mr,ox,Fn,ix=p(()=>{"use strict";mr=u(R());Es();Os();ox=u(Ct()),Fn=class{constructor(e,r,i){this.searchBar=e,this.selectedFacetsManager=r??new Nr(e),this.suggestManager=i??new _r(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 mr.html`
3511
3511
  <div class="${(0,ox.classMap)(r)}" part="container" tabindex="-1">
3512
3512
  <div class="ft-search-bar" role="search">
3513
3513
  <div class="ft-search-bar--input-container" part="input-container">
@@ -3517,7 +3517,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3517
3517
  aria-autocomplete="list"
3518
3518
  aria-controls="${this.suggestManager.listboxId}"
3519
3519
  aria-expanded="${this.searchBar.displaySuggestListbox}"
3520
- aria-activedescendant="${(e=this.searchBar.ariaActiveDescendent)!==null&&e!==void 0?e:ur.nothing}"
3520
+ aria-activedescendant="${(e=this.searchBar.ariaActiveDescendent)!==null&&e!==void 0?e:mr.nothing}"
3521
3521
  part="input"
3522
3522
  type="search"
3523
3523
  placeholder="${this.searchBar.labelResolver.resolve("inputPlaceHolder")}"
@@ -3531,7 +3531,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3531
3531
  </div>
3532
3532
  ${this.searchBar.displayFacets?this.searchBar.renderFacetsActions():this.selectedFacetsManager.render()}
3533
3533
  ${this.searchBar.displayFacets?this.searchBar.renderMobileFacets():this.suggestManager.render()}
3534
- ${this.searchBar.isMobileMenuOpen()||this.searchBar.displayFacets?ur.html`
3534
+ ${this.searchBar.isMobileMenuOpen()||this.searchBar.displayFacets?mr.html`
3535
3535
  <ft-button class="ft-search-bar--launch-search"
3536
3536
  href="${this.searchBar.searchRequestSerializer(this.searchBar.request)}"
3537
3537
  part="launch-search-in-panel"
@@ -3539,11 +3539,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3539
3539
  @click=${()=>this.searchBar.onLaunchSearch()}>
3540
3540
  ${this.searchBar.labelResolver.resolve("searchButton")}
3541
3541
  </ft-button>
3542
- `:ur.nothing}
3542
+ `:mr.nothing}
3543
3543
  </div>
3544
- `}renderMobileSearchBarButtons(){let e=this.searchBar.query||this.searchBar.isMobileMenuOpen()&&!this.searchBar.forceMobileMenuOpen;return ur.html`
3544
+ `}renderMobileSearchBarButtons(){let e=this.searchBar.query||this.searchBar.isMobileMenuOpen()&&!this.searchBar.forceMobileMenuOpen;return mr.html`
3545
3545
  <div class="ft-search-bar--actions" part="search-bar-actions">
3546
- ${e?ur.html`
3546
+ ${e?mr.html`
3547
3547
  <ft-button class="ft-search-bar--clear-query"
3548
3548
  part="clear-query"
3549
3549
  icon="close"
@@ -3553,7 +3553,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3553
3553
  @click=${async()=>{this.searchBar.setQuery(""),this.searchBar.mobileMenuOpen=!1,this.searchBar.displayFacets=!1}}
3554
3554
  ></ft-button>
3555
3555
  <div class="ft-search-bar--separator"></div>
3556
- `:ur.nothing}
3556
+ `:mr.nothing}
3557
3557
  <ft-button class="ft-search-bar--launch-search"
3558
3558
  href="${this.searchBar.isMobileMenuOpen()?this.searchBar.searchRequestSerializer(this.searchBar.request):""}"
3559
3559
  part="launch-search-in-bar"
@@ -3564,9 +3564,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3564
3564
  @click=${()=>{var r;return this.searchBar.isMobileMenuOpen()?this.searchBar.onLaunchSearch():(r=this.searchBar.input)===null||r===void 0?void 0:r.focus()}}
3565
3565
  ></ft-button>
3566
3566
  </div>
3567
- `}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}};Fn.styles=ur.css`
3567
+ `}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}};Fn.styles=mr.css`
3568
3568
 
3569
- `});var xt,nx,ax,Dn,sx=p(()=>{"use strict";xt=f(R()),nx=f(Kr());Es();Os();ax=f(Ct()),Dn=class{constructor(e,r,i){this.searchBar=e,this.selectedFacetsManager=r??new _r(e),this.suggestManager=i??new Pr(e)}render(){var e;let r={"ft-search-bar--container":!0,"ft-search-bar--dense":this.searchBar.dense,"ft-search-bar--desktop":!0,"ft-search-bar--floating-panel-open":this.searchBar.displayFacets&&!this.searchBar.forceMenuOpen,"ft-search-bar--forced-open":this.searchBar.forceMenuOpen};return xt.html`
3569
+ `});var xt,nx,ax,Dn,sx=p(()=>{"use strict";xt=u(R()),nx=u(qr());Es();Os();ax=u(Ct()),Dn=class{constructor(e,r,i){this.searchBar=e,this.selectedFacetsManager=r??new Nr(e),this.suggestManager=i??new _r(e)}render(){var e;let r={"ft-search-bar--container":!0,"ft-search-bar--dense":this.searchBar.dense,"ft-search-bar--desktop":!0,"ft-search-bar--floating-panel-open":this.searchBar.displayFacets&&!this.searchBar.forceMenuOpen,"ft-search-bar--forced-open":this.searchBar.forceMenuOpen};return xt.html`
3570
3570
  <div class="${(0,ax.classMap)(r)}" part="container" tabindex="-1">
3571
3571
  <div class="ft-search-bar" part="search-bar" role="search">
3572
3572
  ${this.renderSearchBarLeftAction()}
@@ -3645,7 +3645,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3645
3645
  </div>
3646
3646
  `}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)}};Dn.styles=xt.css`
3647
3647
 
3648
- `});var ce,ee,Mn,xe,X,lx,kd,j0,M,$d=p(()=>{"use strict";ce=f(R()),ee=f(W()),Mn=f(Kr()),xe=f(v());by();_e();Fc();sb();jt();bb();Gt();hd();Kb();ds();ea();ut();Cs();rx();Os();Es();ix();sx();qc();Or();X=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a};window.fluidtopics==null&&console.warn("Fluid Topics public API was not found. You can find it here: https://www.npmjs.com/package/@fluid-topics/public-api");lx={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"},kd=class extends CustomEvent{constructor(e){super("change",{detail:e})}},j0=()=>{},M=class extends xe.FtLitElement{constructor(){super(...arguments),this.dense=!1,this.mode="auto",this.forceMobileMenuOpen=!1,this.forceMenuOpen=!1,this.baseUrl="",this.apiIntegrationIdentifier="ft-search-bar",this.availableContentLocales=[],this.availableContentLocalesInitialized=!1,this.labels={},this.labelResolver=new xe.ParametrizedLabelResolver(lx,{}),this.displayedFilters=[],this.presets=[],this.priors=[],this.searchRequestSerializer=e=>new xe.SearchPlaceConverter(this.baseUrl).serialize(e),this.focusOnDisplay=!1,this.metadataFilters=[],this.sizeCategory=er.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 Pr(this),this.selectedFacetsManager=new _r(this),this.desktopSearchBarManager=new Dn(this),this.mobileSearchBarManager=new Fn(this,this.selectedFacetsManager,this.suggestManager),this.stateChangeEventDebouncer=new xe.Debouncer(10),this.updateLocalesDebouncer=new xe.Debouncer(10),this.initSearchData=()=>{this.availableContentLocalesInitialized=!1,this.facetsLoaded=!1,this.facetsInitialized=!1,this.updateLocalesDebouncer.run(()=>{var e;(e=this.api)===null||e===void 0||e.getAvailableSearchLocales().then(r=>r.contentLocales).catch(()=>[]).then(r=>{this.availableContentLocales=r,this.availableContentLocalesInitialized=!0})}),this.updateFacetsDebouncer.run(()=>{this.retrieveFacetsFromSearch().then(()=>{this.facetsLoaded=!0,this.facetsInitialized=!0})},this.facetsInitialized?500:10)},this.facetsLoaded=!1,this.updateFacetsDebouncer=new xe.Debouncer(500),this.closeFloatingContainer=e=>{this.isMobile()||(this.displayFacets=this.displayFacets&&e.composedPath().some(r=>r===this.floatingContainer))},this.closeSuggestListbox=e=>{e.composedPath().some(n=>n===this||n===this.shadowRoot)||(this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0)},this.compareUnknownFilters=(e,r)=>e.valueFilter&&r.valueFilter?this.compareValueFilters(e.valueFilter,r.valueFilter):e.dateFilter&&r.dateFilter?this.compareDateFilters(e.dateFilter,r.dateFilter):e.rangeFilter&&r.rangeFilter?this.compareRangeFilters(e.rangeFilter,r.rangeFilter):!1,this.compareValueFilters=(e,r)=>e.negative==r.negative&&e.values.length===r.values.length&&e.values.every(i=>r.values.includes(i)),this.compareDateFilters=(e,r)=>e.type===r.type,this.compareRangeFilters=(e,r)=>e.from===r.from&&e.to===r.to,this.compareFilters=(e,r)=>e.key===r.key&&this.compareUnknownFilters(e,r),this.compareRequests=(e,r)=>(e.contentLocale==null||r.contentLocale==null||e.contentLocale===r.contentLocale)&&e.metadataFilters.length===r.metadataFilters.length&&e.metadataFilters.every(i=>r.metadataFilters.some(n=>this.compareFilters(i,n)))}isMobileMenuOpen(){return this.isMobile()&&(this.forceMobileMenuOpen||this.forceMenuOpen||this.mobileMenuOpen)}get request(){return{uiLocale:this.uiLocale,contentLocale:this.contentLocale,query:this.query,facets:this.facetsRequest,priors:this.hasPriors?this.priors:void 0,metadataFilters:this.metadataFilters,paging:{perPage:0,page:1},sort:[]}}get facetsRequest(){let e=this.metadataFilters.filter(r=>{var i,n;return((n=(i=r.valueFilter)===null||i===void 0?void 0:i.values.length)!==null&&n!==void 0?n:0)>0&&!this.displayedFilters.includes(r.key)}).map(r=>({id:r.key}));return[...this.displayedFilters.map(r=>({id:r})),...e]}get suggestRequest(){return{contentLocale:this.contentLocale,input:this.query,metadataFilters:this.metadataFilters,sort:[]}}isMobile(){switch(this.mode){case"mobile":return!0;case"desktop":return!1;default:return this.sizeCategory===er.S}}hasFacets(){return this.facetsRequest.length>0}get hasPresets(){return this.presets!=null&&this.presets.length>0}get hasPriors(){return this.priors!=null&&this.priors.length>0}hasLocaleSelector(){return this.availableContentLocales.length>1}focus(){var e;(e=this.container)===null||e===void 0||e.focus()}async focusInput(e=!1){this.reactToFocus=e,await(0,xe.waitFor)(()=>this.input,50),this.input.focus(),this.reactToFocus=!0}clear(){this.query="",this.metadataFilters=[],this.input&&(this.input.value=""),this.mobileMenuOpen=!1,this.displayFacets=!1}render(){return ce.html`
3648
+ `});var ce,ee,Mn,xe,X,lx,kd,j0,M,$d=p(()=>{"use strict";ce=u(R()),ee=u(W()),Mn=u(qr()),xe=u(v());by();_e();Fc();sb();jt();bb();Gt();hd();Kb();ds();ea();ut();Cs();rx();Os();Es();ix();sx();qc();wr();X=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a};window.fluidtopics==null&&console.warn("Fluid Topics public API was not found. You can find it here: https://www.npmjs.com/package/@fluid-topics/public-api");lx={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"},kd=class extends CustomEvent{constructor(e){super("change",{detail:e})}},j0=()=>{},M=class extends xe.FtLitElement{constructor(){super(...arguments),this.dense=!1,this.mode="auto",this.forceMobileMenuOpen=!1,this.forceMenuOpen=!1,this.baseUrl="",this.apiIntegrationIdentifier="ft-search-bar",this.availableContentLocales=[],this.availableContentLocalesInitialized=!1,this.labels={},this.labelResolver=new xe.ParametrizedLabelResolver(lx,{}),this.displayedFilters=[],this.presets=[],this.priors=[],this.searchRequestSerializer=e=>new xe.SearchPlaceConverter(this.baseUrl).serialize(e),this.focusOnDisplay=!1,this.metadataFilters=[],this.sizeCategory=er.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 _r(this),this.selectedFacetsManager=new Nr(this),this.desktopSearchBarManager=new Dn(this),this.mobileSearchBarManager=new Fn(this,this.selectedFacetsManager,this.suggestManager),this.stateChangeEventDebouncer=new xe.Debouncer(10),this.updateLocalesDebouncer=new xe.Debouncer(10),this.initSearchData=()=>{this.availableContentLocalesInitialized=!1,this.facetsLoaded=!1,this.facetsInitialized=!1,this.updateLocalesDebouncer.run(()=>{var e;(e=this.api)===null||e===void 0||e.getAvailableSearchLocales().then(r=>r.contentLocales).catch(()=>[]).then(r=>{this.availableContentLocales=r,this.availableContentLocalesInitialized=!0})}),this.updateFacetsDebouncer.run(()=>{this.retrieveFacetsFromSearch().then(()=>{this.facetsLoaded=!0,this.facetsInitialized=!0})},this.facetsInitialized?500:10)},this.facetsLoaded=!1,this.updateFacetsDebouncer=new xe.Debouncer(500),this.closeFloatingContainer=e=>{this.isMobile()||(this.displayFacets=this.displayFacets&&e.composedPath().some(r=>r===this.floatingContainer))},this.closeSuggestListbox=e=>{e.composedPath().some(n=>n===this||n===this.shadowRoot)||(this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0)},this.compareUnknownFilters=(e,r)=>e.valueFilter&&r.valueFilter?this.compareValueFilters(e.valueFilter,r.valueFilter):e.dateFilter&&r.dateFilter?this.compareDateFilters(e.dateFilter,r.dateFilter):e.rangeFilter&&r.rangeFilter?this.compareRangeFilters(e.rangeFilter,r.rangeFilter):!1,this.compareValueFilters=(e,r)=>e.negative==r.negative&&e.values.length===r.values.length&&e.values.every(i=>r.values.includes(i)),this.compareDateFilters=(e,r)=>e.type===r.type,this.compareRangeFilters=(e,r)=>e.from===r.from&&e.to===r.to,this.compareFilters=(e,r)=>e.key===r.key&&this.compareUnknownFilters(e,r),this.compareRequests=(e,r)=>(e.contentLocale==null||r.contentLocale==null||e.contentLocale===r.contentLocale)&&e.metadataFilters.length===r.metadataFilters.length&&e.metadataFilters.every(i=>r.metadataFilters.some(n=>this.compareFilters(i,n)))}isMobileMenuOpen(){return this.isMobile()&&(this.forceMobileMenuOpen||this.forceMenuOpen||this.mobileMenuOpen)}get request(){return{uiLocale:this.uiLocale,contentLocale:this.contentLocale,query:this.query,facets:this.facetsRequest,priors:this.hasPriors?this.priors:void 0,metadataFilters:this.metadataFilters,paging:{perPage:0,page:1},sort:[]}}get facetsRequest(){let e=this.metadataFilters.filter(r=>{var i,n;return((n=(i=r.valueFilter)===null||i===void 0?void 0:i.values.length)!==null&&n!==void 0?n:0)>0&&!this.displayedFilters.includes(r.key)}).map(r=>({id:r.key}));return[...this.displayedFilters.map(r=>({id:r})),...e]}get suggestRequest(){return{contentLocale:this.contentLocale,input:this.query,metadataFilters:this.metadataFilters,sort:[]}}isMobile(){switch(this.mode){case"mobile":return!0;case"desktop":return!1;default:return this.sizeCategory===er.S}}hasFacets(){return this.facetsRequest.length>0}get hasPresets(){return this.presets!=null&&this.presets.length>0}get hasPriors(){return this.priors!=null&&this.priors.length>0}hasLocaleSelector(){return this.availableContentLocales.length>1}focus(){var e;(e=this.container)===null||e===void 0||e.focus()}async focusInput(e=!1){this.reactToFocus=e,await(0,xe.waitFor)(()=>this.input,50),this.input.focus(),this.reactToFocus=!0}clear(){this.query="",this.metadataFilters=[],this.input&&(this.input.value=""),this.mobileMenuOpen=!1,this.displayFacets=!1}render(){return ce.html`
3649
3649
  <ft-size-watcher @change=${this.updateSize}></ft-size-watcher>
3650
3650
  <div class="sr-only" aria-live="polite" aria-atomic="true">
3651
3651
  ${this.renderLiveText()}
@@ -3785,14 +3785,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3785
3785
  ></ft-filter>
3786
3786
  `})}
3787
3787
  </ft-snap-scroll>
3788
- `:ce.nothing}async firstUpdated(e){super.firstUpdated(e),this.initApi(),window.addEventListener("storage",r=>{r.key===this.recentSearchesStorageKey&&this.initRecentSearches()})}update(e){var r,i,n,a,s;if(e.has("labels")&&(this.labelResolver=new xe.ParametrizedLabelResolver(lx,this.labels)),e.has("sizeCategory")&&(this.mobileMenuOpen=!1,this.displayFacets=this.displayFacets&&!this.isMobile()),super.update(e),(e.has("availableContentLocales")||e.has("contentLocale"))&&this.availableContentLocales.length>0){let l=u=>this.availableContentLocales.some(h=>h.lang==u);l(this.contentLocale)||(this.contentLocale=e.has("contentLocale")&&l(e.get("contentLocale"))?e.get("contentLocale"):(r=this.availableContentLocales[0])===null||r===void 0?void 0:r.lang)}if(e.has("baseUrl")&&this.baseUrl&&(this.baseUrl.endsWith("/")&&(this.baseUrl=this.baseUrl.replace(/\/$/,"")),this.initRecentSearches()),e.has("presets")&&((i=this.presets)!==null&&i!==void 0?i:[]).forEach(l=>l.metadataFilters.forEach(u=>{u.valueFilter&&(u.valueFilter.values=u.valueFilter.values.map(h=>rs(h)))})),e.has("presets")||e.has("selectedPreset")){let l=((n=this.presets)!==null&&n!==void 0?n:[]).find(u=>u.name===this.selectedPreset);l&&!this.compareRequests(this.request,l)&&this.setFiltersFromPreset(l)}e.has("contentLocale")&&this.contentLocale!=null&&(this.knownFacetLabels=new Map),["contentLocale","metadataFilters"].some(l=>e.has(l))&&(this.selectedPreset=(s=((a=this.presets)!==null&&a!==void 0?a:[]).find(l=>this.compareRequests(l,this.request)))===null||s===void 0?void 0:s.name),["baseUrl","apiIntegrationIdentifier"].some(l=>e.has(l))&&(this.api=void 0,this.initApi()),e.has("api")&&this.api&&this.initSearchData(),["uiLocale","contentLocale","metadataFilters","displayedFilters"].some(l=>e.has(l))&&this.updateFacets(),["query","uiLocale","contentLocale","metadataFilters","displayedFilters","api"].some(l=>e.has(l))&&this.suggestManager.update(),["query","uiLocale","contentLocale","metadataFilters"].some(l=>e.has(l))&&this.dispatchStateChangeEvent()}dispatchStateChangeEvent(){this.stateChangeEventDebouncer.run(()=>this.dispatchEvent(new kd(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(j0)),this.facets=[];for(let i of this.facetsRequest)r.has(i.id)?this.facets.push(r.get(i.id)):this.knownFacetLabels.has(i.id)&&this.facets.push({key:i.id,label:this.knownFacetLabels.get(i.id),rootNodes:[],multiSelectionable:!0,hierarchical:!1})}onFloatingContainerKeyUp(e){var r;e.key==="Escape"&&(this.displayFacets=!1,(r=this.filtersOpener)===null||r===void 0||r.focus())}setQuery(e){this.input&&(this.input.value=e),this.query=e}onLaunchSearch(){if(this.query){let e=this.recentSearches.filter(r=>r.toLowerCase()!==this.query.toLowerCase()).filter((r,i)=>i<20);this.recentSearches=[this.query,...e],this.saveRecentSearches()}this.mobileMenuOpen=!1,this.displayFacets=!1,this.focus()}get recentSearchesStorageKey(){return this.baseUrl+":ft:recent-search-queries"}initRecentSearches(){var e;this.recentSearches=JSON.parse((e=window.localStorage.getItem(this.recentSearchesStorageKey))!==null&&e!==void 0?e:"[]")}saveRecentSearches(){let e=JSON.stringify(this.recentSearches);window.localStorage.setItem(this.recentSearchesStorageKey,e),window.dispatchEvent(new StorageEvent("storage",{key:this.recentSearchesStorageKey,newValue:e,storageArea:window.localStorage,url:window.location.href}))}async connectedCallback(){super.connectedCallback(),document.addEventListener("pointerdown",this.closeSuggestListbox),document.addEventListener("focusin",this.closeFloatingContainer),document.addEventListener("click",this.closeFloatingContainer),this.focusOnDisplay&&!xe.isTouchScreen&&this.focusInput(),$.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,xe.flatDeep)(n.rootNodes,a=>a.childNodes).forEach(a=>a.selected=r.includes(a.value))}),r.length&&i.push({key:e,valueFilter:{negative:!1,values:r}}),this.metadataFilters=i,this.scrollToFacet=e}setFiltersFromPreset(e){e!=null&&(e.contentLocale!=null&&(this.contentLocale=e.contentLocale),this.metadataFilters=e.metadataFilters)}clearFilters(){this.facets.forEach(r=>(0,xe.flatDeep)(r.rootNodes,i=>i.childNodes).forEach(i=>i.selected=!1)),this.metadataFilters=[];let e=this.facets[0];this.scrollToFacet=e?.key}querySelector(e){return this.shadowRoot.querySelector(e)}querySelectorAll(e){return this.shadowRoot.querySelectorAll(e)}renderDesktopFloatingMenu(){return this.forceMenuOpen?ce.nothing:ce.html`
3788
+ `:ce.nothing}async firstUpdated(e){super.firstUpdated(e),this.initApi(),window.addEventListener("storage",r=>{r.key===this.recentSearchesStorageKey&&this.initRecentSearches()})}update(e){var r,i,n,a,s;if(e.has("labels")&&(this.labelResolver=new xe.ParametrizedLabelResolver(lx,this.labels)),e.has("sizeCategory")&&(this.mobileMenuOpen=!1,this.displayFacets=this.displayFacets&&!this.isMobile()),super.update(e),(e.has("availableContentLocales")||e.has("contentLocale"))&&this.availableContentLocales.length>0){let l=f=>this.availableContentLocales.some(h=>h.lang==f);l(this.contentLocale)||(this.contentLocale=e.has("contentLocale")&&l(e.get("contentLocale"))?e.get("contentLocale"):(r=this.availableContentLocales[0])===null||r===void 0?void 0:r.lang)}if(e.has("baseUrl")&&this.baseUrl&&(this.baseUrl.endsWith("/")&&(this.baseUrl=this.baseUrl.replace(/\/$/,"")),this.initRecentSearches()),e.has("presets")&&((i=this.presets)!==null&&i!==void 0?i:[]).forEach(l=>l.metadataFilters.forEach(f=>{f.valueFilter&&(f.valueFilter.values=f.valueFilter.values.map(h=>rs(h)))})),e.has("presets")||e.has("selectedPreset")){let l=((n=this.presets)!==null&&n!==void 0?n:[]).find(f=>f.name===this.selectedPreset);l&&!this.compareRequests(this.request,l)&&this.setFiltersFromPreset(l)}e.has("contentLocale")&&this.contentLocale!=null&&(this.knownFacetLabels=new Map),["contentLocale","metadataFilters"].some(l=>e.has(l))&&(this.selectedPreset=(s=((a=this.presets)!==null&&a!==void 0?a:[]).find(l=>this.compareRequests(l,this.request)))===null||s===void 0?void 0:s.name),["baseUrl","apiIntegrationIdentifier"].some(l=>e.has(l))&&(this.api=void 0,this.initApi()),e.has("api")&&this.api&&this.initSearchData(),["uiLocale","contentLocale","metadataFilters","displayedFilters"].some(l=>e.has(l))&&this.updateFacets(),["query","uiLocale","contentLocale","metadataFilters","displayedFilters","api"].some(l=>e.has(l))&&this.suggestManager.update(),["query","uiLocale","contentLocale","metadataFilters"].some(l=>e.has(l))&&this.dispatchStateChangeEvent()}dispatchStateChangeEvent(){this.stateChangeEventDebouncer.run(()=>this.dispatchEvent(new kd(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(j0)),this.facets=[];for(let i of this.facetsRequest)r.has(i.id)?this.facets.push(r.get(i.id)):this.knownFacetLabels.has(i.id)&&this.facets.push({key:i.id,label:this.knownFacetLabels.get(i.id),rootNodes:[],multiSelectionable:!0,hierarchical:!1})}onFloatingContainerKeyUp(e){var r;e.key==="Escape"&&(this.displayFacets=!1,(r=this.filtersOpener)===null||r===void 0||r.focus())}setQuery(e){this.input&&(this.input.value=e),this.query=e}onLaunchSearch(){if(this.query){let e=this.recentSearches.filter(r=>r.toLowerCase()!==this.query.toLowerCase()).filter((r,i)=>i<20);this.recentSearches=[this.query,...e],this.saveRecentSearches()}this.mobileMenuOpen=!1,this.displayFacets=!1,this.focus()}get recentSearchesStorageKey(){return this.baseUrl+":ft:recent-search-queries"}initRecentSearches(){var e;this.recentSearches=JSON.parse((e=window.localStorage.getItem(this.recentSearchesStorageKey))!==null&&e!==void 0?e:"[]")}saveRecentSearches(){let e=JSON.stringify(this.recentSearches);window.localStorage.setItem(this.recentSearchesStorageKey,e),window.dispatchEvent(new StorageEvent("storage",{key:this.recentSearchesStorageKey,newValue:e,storageArea:window.localStorage,url:window.location.href}))}async connectedCallback(){super.connectedCallback(),document.addEventListener("pointerdown",this.closeSuggestListbox),document.addEventListener("focusin",this.closeFloatingContainer),document.addEventListener("click",this.closeFloatingContainer),this.focusOnDisplay&&!xe.isTouchScreen&&this.focusInput(),$.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,xe.flatDeep)(n.rootNodes,a=>a.childNodes).forEach(a=>a.selected=r.includes(a.value))}),r.length&&i.push({key:e,valueFilter:{negative:!1,values:r}}),this.metadataFilters=i,this.scrollToFacet=e}setFiltersFromPreset(e){e!=null&&(e.contentLocale!=null&&(this.contentLocale=e.contentLocale),this.metadataFilters=e.metadataFilters)}clearFilters(){this.facets.forEach(r=>(0,xe.flatDeep)(r.rootNodes,i=>i.childNodes).forEach(i=>i.selected=!1)),this.metadataFilters=[];let e=this.facets[0];this.scrollToFacet=e?.key}querySelector(e){return this.shadowRoot.querySelector(e)}querySelectorAll(e){return this.shadowRoot.querySelectorAll(e)}renderDesktopFloatingMenu(){return this.forceMenuOpen?ce.nothing:ce.html`
3789
3789
  <div class="ft-search-bar--floating-panel"
3790
3790
  id="ft-search-bar-floating-panel"
3791
3791
  @keyup=${this.onFloatingContainerKeyUp}
3792
3792
  part="floating-panel"
3793
3793
  tabindex="-1">
3794
3794
  ${this.renderDesktopMenu()}
3795
- </div>`}get ariaActiveDescendent(){if(this.selectedSuggestOptionId)return this.selectedSuggestRemoveRecent?"remove-"+this.selectedSuggestOptionId:this.selectedSuggestOptionId}};M.elementDefinitions={"ft-accordion":kr,"ft-accordion-item":tr,"ft-button":Te,"ft-chip":Pe,"ft-filter":se,"ft-filter-option":zt,"ft-icon":he,"ft-ripple":G,"ft-select":de,"ft-select-option":$r,"ft-size-watcher":Nt,"ft-skeleton":Oo,"ft-snap-scroll":De,"ft-tooltip":we,"ft-typography":Z,"ft-radio-group":ei,"ft-radio":qr};M.styles=[ro,xe.noTextInputDefaultClearButton,Qb,Yb,_r.styles,Pr.styles,xe.screenReaderStyles];X([(0,ee.property)({type:Boolean})],M.prototype,"dense",void 0);X([(0,ee.property)()],M.prototype,"mode",void 0);X([(0,ee.property)({type:Boolean})],M.prototype,"forceMobileMenuOpen",void 0);X([(0,ee.property)({type:Boolean})],M.prototype,"forceMenuOpen",void 0);X([(0,ee.property)()],M.prototype,"baseUrl",void 0);X([(0,ee.property)()],M.prototype,"apiIntegrationIdentifier",void 0);X([(0,ee.property)()],M.prototype,"contentLocale",void 0);X([(0,ee.state)()],M.prototype,"availableContentLocales",void 0);X([(0,ee.state)()],M.prototype,"availableContentLocalesInitialized",void 0);X([(0,ee.property)()],M.prototype,"uiLocale",void 0);X([(0,xe.jsonProperty)({})],M.prototype,"labels",void 0);X([(0,xe.jsonProperty)([])],M.prototype,"displayedFilters",void 0);X([(0,xe.jsonProperty)([])],M.prototype,"presets",void 0);X([(0,ee.property)({type:String,reflect:!0})],M.prototype,"selectedPreset",void 0);X([(0,xe.jsonProperty)([])],M.prototype,"priors",void 0);X([(0,ee.property)()],M.prototype,"searchRequestSerializer",void 0);X([(0,ee.property)({type:Boolean})],M.prototype,"focusOnDisplay",void 0);X([(0,ee.state)()],M.prototype,"metadataFilters",void 0);X([(0,ee.state)()],M.prototype,"sizeCategory",void 0);X([(0,ee.state)()],M.prototype,"displayFacets",void 0);X([(0,ee.state)()],M.prototype,"mobileMenuOpen",void 0);X([(0,ee.state)()],M.prototype,"facets",void 0);X([(0,ee.state)()],M.prototype,"facetsInitialized",void 0);X([(0,ee.query)(".ft-search-bar--container")],M.prototype,"container",void 0);X([(0,ee.query)(".ft-search-bar--filters-opener")],M.prototype,"filtersOpener",void 0);X([(0,ee.query)(".ft-search-bar--floating-panel")],M.prototype,"floatingContainer",void 0);X([(0,ee.query)("ft-snap-scroll.ft-search-bar--filters-container")],M.prototype,"scrollingFiltersContainer",void 0);X([(0,ee.query)(".ft-search-bar--input")],M.prototype,"input",void 0);X([(0,ee.query)(".ft-search-bar--launch-search")],M.prototype,"launchSearchButton",void 0);X([(0,ee.state)()],M.prototype,"query",void 0);X([(0,ee.state)()],M.prototype,"suggestions",void 0);X([(0,ee.state)()],M.prototype,"recentSearches",void 0);X([(0,ee.state)()],M.prototype,"scrollToFacet",void 0);X([(0,ee.state)()],M.prototype,"api",void 0);X([(0,ee.state)()],M.prototype,"displaySuggestListbox",void 0);X([(0,ee.state)()],M.prototype,"selectedSuggestOptionId",void 0);X([(0,ee.state)()],M.prototype,"selectedSuggestRemoveRecent",void 0);X([(0,ee.state)()],M.prototype,"facetsLoaded",void 0)});var cx=p(()=>{"use strict"});var dx,px=p(()=>{"use strict";dx=f(v());$d();$d();Cs();cx();(0,dx.customElement)("ft-search-bar")(M)});var ux,fx,hx,mx=p(()=>{"use strict";ux=f(R());mn();fx=f(v());ut();px();hx=ux.css`
3795
+ </div>`}get ariaActiveDescendent(){if(this.selectedSuggestOptionId)return this.selectedSuggestRemoveRecent?"remove-"+this.selectedSuggestOptionId:this.selectedSuggestOptionId}};M.elementDefinitions={"ft-accordion":$r,"ft-accordion-item":tr,"ft-button":Te,"ft-chip":Pe,"ft-filter":se,"ft-filter-option":zt,"ft-icon":he,"ft-ripple":G,"ft-select":de,"ft-select-option":Tr,"ft-size-watcher":Nt,"ft-skeleton":wo,"ft-snap-scroll":De,"ft-tooltip":we,"ft-typography":Z,"ft-radio-group":ei,"ft-radio":Zr};M.styles=[oo,xe.noTextInputDefaultClearButton,Qb,Yb,Nr.styles,_r.styles,xe.screenReaderStyles];X([(0,ee.property)({type:Boolean})],M.prototype,"dense",void 0);X([(0,ee.property)()],M.prototype,"mode",void 0);X([(0,ee.property)({type:Boolean})],M.prototype,"forceMobileMenuOpen",void 0);X([(0,ee.property)({type:Boolean})],M.prototype,"forceMenuOpen",void 0);X([(0,ee.property)()],M.prototype,"baseUrl",void 0);X([(0,ee.property)()],M.prototype,"apiIntegrationIdentifier",void 0);X([(0,ee.property)()],M.prototype,"contentLocale",void 0);X([(0,ee.state)()],M.prototype,"availableContentLocales",void 0);X([(0,ee.state)()],M.prototype,"availableContentLocalesInitialized",void 0);X([(0,ee.property)()],M.prototype,"uiLocale",void 0);X([(0,xe.jsonProperty)({})],M.prototype,"labels",void 0);X([(0,xe.jsonProperty)([])],M.prototype,"displayedFilters",void 0);X([(0,xe.jsonProperty)([])],M.prototype,"presets",void 0);X([(0,ee.property)({type:String,reflect:!0})],M.prototype,"selectedPreset",void 0);X([(0,xe.jsonProperty)([])],M.prototype,"priors",void 0);X([(0,ee.property)()],M.prototype,"searchRequestSerializer",void 0);X([(0,ee.property)({type:Boolean})],M.prototype,"focusOnDisplay",void 0);X([(0,ee.state)()],M.prototype,"metadataFilters",void 0);X([(0,ee.state)()],M.prototype,"sizeCategory",void 0);X([(0,ee.state)()],M.prototype,"displayFacets",void 0);X([(0,ee.state)()],M.prototype,"mobileMenuOpen",void 0);X([(0,ee.state)()],M.prototype,"facets",void 0);X([(0,ee.state)()],M.prototype,"facetsInitialized",void 0);X([(0,ee.query)(".ft-search-bar--container")],M.prototype,"container",void 0);X([(0,ee.query)(".ft-search-bar--filters-opener")],M.prototype,"filtersOpener",void 0);X([(0,ee.query)(".ft-search-bar--floating-panel")],M.prototype,"floatingContainer",void 0);X([(0,ee.query)("ft-snap-scroll.ft-search-bar--filters-container")],M.prototype,"scrollingFiltersContainer",void 0);X([(0,ee.query)(".ft-search-bar--input")],M.prototype,"input",void 0);X([(0,ee.query)(".ft-search-bar--launch-search")],M.prototype,"launchSearchButton",void 0);X([(0,ee.state)()],M.prototype,"query",void 0);X([(0,ee.state)()],M.prototype,"suggestions",void 0);X([(0,ee.state)()],M.prototype,"recentSearches",void 0);X([(0,ee.state)()],M.prototype,"scrollToFacet",void 0);X([(0,ee.state)()],M.prototype,"api",void 0);X([(0,ee.state)()],M.prototype,"displaySuggestListbox",void 0);X([(0,ee.state)()],M.prototype,"selectedSuggestOptionId",void 0);X([(0,ee.state)()],M.prototype,"selectedSuggestRemoveRecent",void 0);X([(0,ee.state)()],M.prototype,"facetsLoaded",void 0)});var cx=p(()=>{"use strict"});var dx,px=p(()=>{"use strict";dx=u(v());$d();$d();Cs();cx();(0,dx.customElement)("ft-search-bar")(M)});var ux,fx,hx,mx=p(()=>{"use strict";ux=u(R());mn();fx=u(v());ut();px();hx=ux.css`
3796
3796
  * {
3797
3797
  box-sizing: border-box;
3798
3798
  }
@@ -3841,19 +3841,19 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3841
3841
  ft-ripple {
3842
3842
  ${(0,fx.setVariable)(S.opacityContentOnSurfaceHover,S.opacityContentOnSurfaceSelected)}
3843
3843
  }
3844
- `});var gx,Zi,yx,wo,bx=p(()=>{"use strict";gx=f(v()),Zi=f(R());mx();yx=f(Kr());jt();ut();_e();Or();kc();wo=class{constructor(e){this.ftSearchInput=e,this.listboxId="ft-search-input-suggestion"}render(){let e=Vr.get();return Zi.html`
3844
+ `});var gx,qi,yx,Eo,bx=p(()=>{"use strict";gx=u(v()),qi=u(R());mx();yx=u(qr());jt();ut();_e();wr();kc();Eo=class{constructor(e){this.ftSearchInput=e,this.listboxId="ft-search-input-suggestion"}render(){let e=jr.get();return qi.html`
3845
3845
  <div class="ft-search-input-suggestion ft-word-wrap"
3846
3846
  id="${this.listboxId}"
3847
3847
  role="listbox"
3848
- aria-label="${yo.messages.suggestionsLabel()}"
3848
+ aria-label="${bo.messages.suggestionsLabel()}"
3849
3849
  part="container">
3850
3850
  ${(0,yx.repeat)(this.ftSearchInput.suggestResults||[],r=>r.value,(r,i)=>this.renderSuggestion(i,r,e))}
3851
3851
  </div>
3852
- `}renderSuggestion(e,r,i){let n=`suggestion-${e}`,a=Zi.html`
3852
+ `}renderSuggestion(e,r,i){let n=`suggestion-${e}`,a=qi.html`
3853
3853
  <ft-ripple ?activated=${this.ftSearchInput.selectedSuggestOptionId===n}></ft-ripple>
3854
3854
  ${this.getIcon(r)}
3855
3855
  <ft-typography variant="body1">${r.value}</ft-typography>
3856
- `;if(this.ftSearchInput.launchSearchPath){let s={...this.ftSearchInput.request,query:r.value},l=i.serializeToCurrentPageIfPossible(s,this.ftSearchInput.launchSearchPath);return Zi.html`
3856
+ `;if(this.ftSearchInput.launchSearchPath){let s={...this.ftSearchInput.request,query:r.value},l=i.serializeToCurrentPageIfPossible(s,this.ftSearchInput.launchSearchPath);return qi.html`
3857
3857
  <a href="${l}"
3858
3858
  part="suggestion"
3859
3859
  class="ft-search-input-suggestion--suggestion"
@@ -3865,7 +3865,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3865
3865
  @click=${()=>this.onSuggestSelected(r.value)}>
3866
3866
  ${a}
3867
3867
  </a>
3868
- `}return Zi.html`
3868
+ `}return qi.html`
3869
3869
  <div part="suggestion"
3870
3870
  class="ft-search-input-suggestion--suggestion"
3871
3871
  role="option"
@@ -3875,41 +3875,41 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3875
3875
  @click=${()=>this.onSuggestSelected(r.value)}>
3876
3876
  ${a}
3877
3877
  </div>
3878
- `}onSuggestSelected(e){this.ftSearchInput.onSuggestionSelected(e)}getIcon(e){let r=e.type==="DOCUMENT"?Ge.file_format:Ge.fluid_topics,i;switch(e.type){case"MAP":i=e.editorialType==="BOOK"?At.BOOK:At.ARTICLE;break;case"DOCUMENT":i=ra(e.mimeType,e.filenameExtension);break;case"TOPIC":i=At.TOPICS;break}return Zi.html`
3879
- <ft-icon .variant="${r}" .value="${i}" part="suggestion-icon"></ft-icon>
3880
- `}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)}};wo.elementDefinitions={"ft-ripple":G,"ft-typography":Z,"ft-icon":he};wo.styles=[gx.wordWrap,hx]});var li,Eo,hr,xx,fr,qe,Td=p(()=>{"use strict";li=f(R()),Eo=f(v());mn();Xo();Er();kc();hr=f(W()),xx=f(Ct());bx();Gt();_e();Or();fr=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},qe=class extends Yt(Xt){constructor(){super(),this.liveQuery="",this.forceCloseSuggestion=!1,this.displaySuggestListbox=!1,this.useCustomSearchPath=!1,this.triggerSearchOnClear=!1,this.suggestions=new wo(this),this.closeSuggestListbox=e=>{e.composedPath().some(n=>n===this||n===this.shadowRoot)||(this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0)},this.addI18nContext(yo)}render(){var e,r,i;let n={"ft-search-input":!0,"ft-search-input--with-suggestions":(r=(e=this.suggestResults)===null||e===void 0?void 0:e.length)!==null&&r!==void 0?r:!1,"ft-search-input--with-suggestions-closed":this.forceCloseSuggestion},a={...this.request,query:this.liveQuery},s=this.useCustomSearchPath?this.launchSearchPath:void 0,l=Vr.get().serializeToCurrentPageIfPossible(a,s);return li.html`
3878
+ `}onSuggestSelected(e){this.ftSearchInput.onSuggestionSelected(e)}getIcon(e){let r=e.type==="DOCUMENT"?Ke.file_format:Ke.fluid_topics,i;switch(e.type){case"MAP":i=e.editorialType==="BOOK"?At.BOOK:At.ARTICLE;break;case"DOCUMENT":i=ra(e.mimeType,e.filenameExtension);break;case"TOPIC":i=At.TOPICS;break}return qi.html`
3879
+ <ft-icon .variant=${r} .value=${i} part="suggestion-icon"></ft-icon>
3880
+ `}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)}};Eo.elementDefinitions={"ft-ripple":G,"ft-typography":Z,"ft-icon":he};Eo.styles=[gx.wordWrap,hx]});var Zi,ir,nr,xx,or,je,Td=p(()=>{"use strict";Zi=u(R()),ir=u(v());mn();Xo();Ar();kc();nr=u(W()),xx=u(Ct());bx();Gt();_e();wr();or=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},je=class extends Yt(Xt){constructor(){super(),this.liveQuery="",this.forceCloseSuggestion=!1,this.displaySuggestListbox=!1,this.useCustomSearchPath=!1,this.triggerSearchOnClear=!1,this.focusOnDisplay=!1,this.suggestions=new Eo(this),this.showSuggestionsOnFocus=!0,this.closeSuggestListbox=e=>{e.composedPath().some(n=>n===this||n===this.shadowRoot)||(this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0)},this.addI18nContext(bo)}render(){var e,r,i;let n={"ft-search-input":!0,"ft-search-input--with-suggestions":(r=(e=this.suggestResults)===null||e===void 0?void 0:e.length)!==null&&r!==void 0?r:!1,"ft-search-input--with-suggestions-closed":this.forceCloseSuggestion},a={...this.request,query:this.liveQuery},s=this.useCustomSearchPath?this.launchSearchPath:void 0,l=jr.get().serializeToCurrentPageIfPossible(a,s);return Zi.html`
3881
3881
  <div class="${(0,xx.classMap)(n)}" @focusout=${()=>this.forceCloseSuggestion=!1} role="search">
3882
3882
  <div class="ft-search-input--input-container" part="input-container" tabindex="-1">
3883
3883
  <div class="ft-search-input--input-outline" part="input-outline">
3884
3884
  <input class="ft-search-input--input ft-typography--body2"
3885
3885
  part="input"
3886
3886
  type="search"
3887
- placeholder="${yo.messages.placeholder()}"
3888
- .value="${this.liveQuery}"
3887
+ placeholder="${bo.messages.placeholder()}"
3888
+ .value=${this.liveQuery}
3889
3889
  role="combobox"
3890
3890
  aria-autocomplete="list"
3891
3891
  aria-controls="${this.suggestions.listboxId}"
3892
3892
  aria-expanded="${this.displaySuggestListbox}"
3893
- aria-activedescendant="${(i=this.selectedSuggestOptionId)!==null&&i!==void 0?i:li.nothing}"
3894
- @input=${u=>this.onInput(u)}
3895
- @click="${()=>this.onClick()}"
3896
- @focus="${()=>this.onFocus()}"
3897
- @keydown=${u=>this.onSearchBarKeyDown(u)}
3898
- @keyup=${u=>this.onSearchBarKeyUp(u)}>
3893
+ aria-activedescendant="${(i=this.selectedSuggestOptionId)!==null&&i!==void 0?i:Zi.nothing}"
3894
+ @input=${this.onInput}
3895
+ @click=${this.onClick}
3896
+ @focus=${this.onFocus}
3897
+ @keydown=${this.onSearchBarKeyDown}
3898
+ @keyup=${this.onSearchBarKeyUp}>
3899
3899
  </div>
3900
3900
  <div class="sr-only" aria-live="polite" aria-atomic="true">
3901
3901
  ${this.renderLiveText()}
3902
3902
  </div>
3903
- ${this.shouldDisplaySuggestions?this.suggestions.render():li.nothing}
3903
+ ${this.shouldDisplaySuggestions?this.suggestions.render():Zi.nothing}
3904
3904
  </div>
3905
3905
  <div class="ft-search-input--actions" part="actions">
3906
- ${this.liveQuery?li.html`
3906
+ ${this.liveQuery?Zi.html`
3907
3907
  <ft-button id="clear-button"
3908
3908
  class="ft-search-input--clear-query"
3909
3909
  part="clear-query"
3910
3910
  icon="close"
3911
3911
  round dense
3912
- label="${yo.messages.clearButton()}"
3912
+ label="${bo.messages.clearButton()}"
3913
3913
  @click=${()=>this.onClearInput()}
3914
3914
  ></ft-button>
3915
3915
  <div class="ft-search-input--separator"></div>
@@ -3918,18 +3918,18 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3918
3918
  part="launch-search-in-input"
3919
3919
  icon="search"
3920
3920
  round dense
3921
- label="${yo.messages.searchButton()}"
3921
+ label="${bo.messages.searchButton()}"
3922
3922
  href="${this.useCustomSearchPath?l:""}"
3923
3923
  @click=${()=>this.launchSearch(this.liveQuery)}
3924
3924
  ></ft-button>
3925
3925
  </div>
3926
3926
  </div>
3927
- `}renderLiveText(){return this.shouldDisplaySuggestions?yo.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(""):li.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)}};qe.elementDefinitions={"ft-button":Te,...wo.elementDefinitions};qe.styles=[ro,Eo.noTextInputDefaultClearButton,wl,...wo.styles,Eo.screenReaderStyles];fr([(0,Eo.redux)()],qe.prototype,"request",void 0);fr([(0,Eo.redux)()],qe.prototype,"liveQuery",void 0);fr([(0,Eo.redux)()],qe.prototype,"suggestResults",void 0);fr([(0,hr.state)()],qe.prototype,"forceCloseSuggestion",void 0);fr([(0,hr.state)()],qe.prototype,"displaySuggestListbox",void 0);fr([(0,hr.state)()],qe.prototype,"selectedSuggestOptionId",void 0);fr([(0,hr.property)()],qe.prototype,"launchSearchPath",void 0);fr([(0,hr.property)({type:Boolean})],qe.prototype,"useCustomSearchPath",void 0);fr([(0,hr.property)({type:Boolean})],qe.prototype,"triggerSearchOnClear",void 0);fr([(0,hr.query)(".ft-search-input--input")],qe.prototype,"input",void 0);fr([(0,hr.query)('[part="launch-search-in-input"]')],qe.prototype,"launchSearchButton",void 0)});var vx=p(()=>{"use strict"});var Cx={};$o(Cx,{FtSearchInput:()=>qe,FtSearchInputCssVariables:()=>me,styles:()=>wl});var Sx,Ox=p(()=>{"use strict";Sx=f(v());Td();mn();vx();Td();(0,Sx.customElement)("ft-search-input")(qe)});var wx,G0,Pd,_d=p(()=>{"use strict";wx=f(R()),G0={},Pd=wx.css`
3928
- `});var Nd,Ex=p(()=>{"use strict";Er();Nd=wr.fromGwt("designedActionBlockAriaLabels")});var As,Bd,Ax,Yr,Fd=p(()=>{"use strict";As=f(R()),Bd=f(v());_d();Gt();Xo();Er();Ex();Ax=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Yr=class extends Yt(Xt){constructor(){super(),this.currentPage=1,this.isLastPage=!0,this.addI18nContext(Nd)}render(){return this.isLastPage?As.nothing:As.html`
3927
+ `}renderLiveText(){return this.shouldDisplaySuggestions?bo.messages.ariaLiveSuggestions(this.suggestResults.length):""}onSearchBarKeyDown(e){switch(this.forceCloseSuggestion=!1,["Escape","Tab","Shift"].includes(e.key)||(this.displaySuggestListbox=!0),e.key){case"Tab":this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0;break;case"Escape":this.shouldDisplaySuggestions&&(e.stopPropagation(),e.preventDefault(),this.displaySuggestListbox=!1,this.selectedSuggestOptionId=void 0);break;case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestions.selectNextSuggestion();break;case"ArrowUp":e.stopPropagation(),e.preventDefault(),this.suggestions.selectPreviousSuggestion();break;case"ArrowLeft":case"ArrowRight":this.selectedSuggestOptionId&&(e.stopPropagation(),e.preventDefault(),this.suggestions.clearSelection());break;case"Enter":{let r=this.suggestions.selectedSuggestOption||this.launchSearchButton;r?.click();break}case"Backspace":e.stopPropagation();break}}onSearchBarKeyUp(e){switch(e.key){case"Backspace":e.stopPropagation();break;case"Enter":this.useCustomSearchPath?this.launchSearchButton.click():this.launchSearch(this.liveQuery);break;default:break}}onInput(){var e;(e=this.stateManager)===null||e===void 0||e.setLiveQuery(this.input.value),this.forceCloseSuggestion=!1}onClearInput(){var e;(e=this.stateManager)===null||e===void 0||e.setLiveQuery(""),this.triggerSearchOnClear&&this.launchSearch(""),this.input.focus()}launchSearch(e){var r;this.forceCloseSuggestion=!0,this.dispatchEvent(new CustomEvent("change",{detail:e})),(r=this.stateManager)===null||r===void 0||r.setQuery(e)}onSuggestionSelected(e){this.launchSearch(e),this.displaySuggestListbox=!1,this.suggestions.clearSelection()}get shouldDisplaySuggestions(){var e;return!this.forceCloseSuggestion&&this.displaySuggestListbox&&((e=this.suggestResults)!==null&&e!==void 0?e:[]).length>0}onClick(){this.onFocus()}onFocus(){this.showSuggestionsOnFocus&&(this.displaySuggestListbox=!0),this.forceCloseSuggestion=!1}async focusInput(e=!0){this.showSuggestionsOnFocus=e,await(0,ir.waitFor)(()=>this.input,50),this.input.focus(),this.showSuggestionsOnFocus=!0}async connectedCallback(){super.connectedCallback(),document.addEventListener("pointerdown",this.closeSuggestListbox),this.focusOnDisplay&&!ir.isTouchScreen&&this.focusInput(!1)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("pointerdown",this.closeSuggestListbox)}};je.elementDefinitions={"ft-button":Te,...Eo.elementDefinitions};je.styles=[oo,ir.noTextInputDefaultClearButton,wl,...Eo.styles,ir.screenReaderStyles];or([(0,ir.redux)()],je.prototype,"request",void 0);or([(0,ir.redux)()],je.prototype,"liveQuery",void 0);or([(0,ir.redux)()],je.prototype,"suggestResults",void 0);or([(0,nr.state)()],je.prototype,"forceCloseSuggestion",void 0);or([(0,nr.state)()],je.prototype,"displaySuggestListbox",void 0);or([(0,nr.state)()],je.prototype,"selectedSuggestOptionId",void 0);or([(0,nr.property)()],je.prototype,"launchSearchPath",void 0);or([(0,nr.property)({type:Boolean})],je.prototype,"useCustomSearchPath",void 0);or([(0,nr.property)({type:Boolean})],je.prototype,"triggerSearchOnClear",void 0);or([(0,nr.property)({type:Boolean})],je.prototype,"focusOnDisplay",void 0);or([(0,nr.query)(".ft-search-input--input")],je.prototype,"input",void 0);or([(0,nr.query)('[part="launch-search-in-input"]')],je.prototype,"launchSearchButton",void 0)});var vx=p(()=>{"use strict"});var Cx={};$o(Cx,{FtSearchInput:()=>je,FtSearchInputCssVariables:()=>me,styles:()=>wl});var Sx,Ox=p(()=>{"use strict";Sx=u(v());Td();mn();vx();Td();(0,Sx.customElement)("ft-search-input")(je)});var wx,G0,Pd,_d=p(()=>{"use strict";wx=u(R()),G0={},Pd=wx.css`
3928
+ `});var Nd,Ex=p(()=>{"use strict";Ar();Nd=Er.fromGwt("designedActionBlockAriaLabels")});var As,Bd,Ax,Xr,Fd=p(()=>{"use strict";As=u(R()),Bd=u(v());_d();Gt();Xo();Ar();Ex();Ax=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Xr=class extends Yt(Xt){constructor(){super(),this.currentPage=1,this.isLastPage=!0,this.addI18nContext(Nd)}render(){return this.isLastPage?As.nothing:As.html`
3929
3929
  <ft-button @click="${this.loadMore}">
3930
3930
  ${Nd.messages.searchPageLoadMore()}
3931
3931
  </ft-button>
3932
- `}loadMore(){var e;(e=this.stateManager)===null||e===void 0||e.setPageNumber(this.currentPage+1)}};Yr.elementDefinitions={"ft-button":Te};Yr.styles=Pd;Ax([(0,Bd.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}})],Yr.prototype,"currentPage",void 0);Ax([(0,Bd.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}})],Yr.prototype,"isLastPage",void 0)});var Rx=p(()=>{"use strict"});var Lx={};$o(Lx,{FtSearchLoadMoreButton:()=>Yr,FtSearchLoadMoreButtonCssVariables:()=>G0,styles:()=>Pd});var Ix,kx=p(()=>{"use strict";Ix=f(v());Fd();_d();Rx();Fd();(0,Ix.customElement)("ft-search-load-more-button")(Yr)});function K0(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[Dd]=window.setInterval(()=>this.tryToRegisterToResultContext(),50)}tryToRegisterToResultContext(){this.result!=null?window.clearInterval(this[Dd]):this.dispatchEvent(new Md)}disconnectedCallback(){super.disconnectedCallback(),this.unregisterResultStateManager()}}return e=Dd,Rs([(0,zn.property)({attribute:!1})],r.prototype,"cluster",void 0),Rs([(0,zn.property)({attribute:!1})],r.prototype,"result",void 0),Rs([(0,zn.property)({attribute:!1,type:Number})],r.prototype,"rank",void 0),Rs([(0,zn.property)({attribute:!1,type:Boolean})],r.prototype,"openResultInNewTab",void 0),r}var zn,Rs,Md,Dd,Qi,zd=p(()=>{"use strict";Xo();zn=f(W()),Rs=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Md=class extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}},Dd=Symbol("registerInterval");Qi=class extends K0(Xt){}});var Ud,$x,ci,Hd=p(()=>{"use strict";Ud=f(R());zd();sa();$x=f(ta());_e();ci=class extends Qi{render(){let e=this.result?this.selectAbstract(this.result):void 0;return e?Ud.html`
3932
+ `}loadMore(){var e;(e=this.stateManager)===null||e===void 0||e.setPageNumber(this.currentPage+1)}};Xr.elementDefinitions={"ft-button":Te};Xr.styles=Pd;Ax([(0,Bd.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}})],Xr.prototype,"currentPage",void 0);Ax([(0,Bd.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}})],Xr.prototype,"isLastPage",void 0)});var Rx=p(()=>{"use strict"});var Lx={};$o(Lx,{FtSearchLoadMoreButton:()=>Xr,FtSearchLoadMoreButtonCssVariables:()=>G0,styles:()=>Pd});var Ix,kx=p(()=>{"use strict";Ix=u(v());Fd();_d();Rx();Fd();(0,Ix.customElement)("ft-search-load-more-button")(Xr)});function K0(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[Dd]=window.setInterval(()=>this.tryToRegisterToResultContext(),50)}tryToRegisterToResultContext(){this.result!=null?window.clearInterval(this[Dd]):this.dispatchEvent(new Md)}disconnectedCallback(){super.disconnectedCallback(),this.unregisterResultStateManager()}}return e=Dd,Rs([(0,zn.property)({attribute:!1})],r.prototype,"cluster",void 0),Rs([(0,zn.property)({attribute:!1})],r.prototype,"result",void 0),Rs([(0,zn.property)({attribute:!1,type:Number})],r.prototype,"rank",void 0),Rs([(0,zn.property)({attribute:!1,type:Boolean})],r.prototype,"openResultInNewTab",void 0),r}var zn,Rs,Md,Dd,Qi,zd=p(()=>{"use strict";Xo();zn=u(W()),Rs=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Md=class extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}},Dd=Symbol("registerInterval");Qi=class extends K0(Xt){}});var Ud,$x,li,Hd=p(()=>{"use strict";Ud=u(R());zd();sa();$x=u(ta());_e();li=class extends Qi{render(){let e=this.result?this.selectAbstract(this.result):void 0;return e?Ud.html`
3933
3933
  <ft-typography variant="body1" part="text">${(0,$x.unsafeHTML)(e)}</ft-typography>
3934
3934
  `:Ud.html`
3935
3935
  <style>
@@ -3937,7 +3937,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3937
3937
  display: none !important;
3938
3938
  }
3939
3939
  </style>
3940
- `}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"))}};ci.elementDefinitions={"ft-typography":Z};ci.styles=El});var Tx=p(()=>{"use strict"});var _x={};$o(_x,{FtSearchResultAbstract:()=>ci,FtSearchResultAbstractCssVariables:()=>aa,styles:()=>El});var Px,Wd=p(()=>{"use strict";Px=f(v());Hd();sa();Tx();Hd();(0,Px.customElement)("ft-search-result-abstract")(ci)});var Un,Nx,Bx,q0,Ao,Vd=p(()=>{"use strict";Un=f(R()),Nx=f(W());zd();ca();_e();Bx=f(ta());vc();Cc();q0=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Ao=class extends Qi{constructor(){super(...arguments),this.withoutLink=!1}render(){var e;return this.result?this.withoutLink?this.renderTitle():Un.html`
3940
+ `}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"))}};li.elementDefinitions={"ft-typography":Z};li.styles=El});var Tx=p(()=>{"use strict"});var _x={};$o(_x,{FtSearchResultAbstract:()=>li,FtSearchResultAbstractCssVariables:()=>aa,styles:()=>El});var Px,Wd=p(()=>{"use strict";Px=u(v());Hd();sa();Tx();Hd();(0,Px.customElement)("ft-search-result-abstract")(li)});var Un,Nx,Bx,q0,Ao,Vd=p(()=>{"use strict";Un=u(R()),Nx=u(W());zd();ca();_e();Bx=u(ta());vc();Cc();q0=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Ao=class extends Qi{constructor(){super(...arguments),this.withoutLink=!1}render(){var e;return this.result?this.withoutLink?this.renderTitle():Un.html`
3941
3941
  <a href="${qa(this.result)}"
3942
3942
  @click=${this.onResultClick}
3943
3943
  @auxclick=${r=>this.onAuxClick(r)}
@@ -3948,19 +3948,19 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3948
3948
  </a>
3949
3949
  `:Un.nothing}onAuxClick(e){e.button==1&&this.onResultClick()}renderTitle(){return Un.html`
3950
3950
  <ft-typography variant="title" part="text">${(0,Bx.unsafeHTML)(this.selectTitle(this.result))}</ft-typography>
3951
- `}onResultClick(){this.dispatchEvent(new zi(this.result,this.rank))}onContextMenu(){this.dispatchEvent(new Ui(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"})}};Ao.elementDefinitions={"ft-typography":Z};Ao.styles=Al;q0([(0,Nx.property)({type:Boolean})],Ao.prototype,"withoutLink",void 0)});var Fx=p(()=>{"use strict"});var Mx={};$o(Mx,{FtSearchResultTitle:()=>Ao,FtSearchResultTitleCssVariables:()=>la,styles:()=>Al});var Dx,jd=p(()=>{"use strict";Dx=f(v());Vd();ca();Fx();Vd();(0,Dx.customElement)("ft-search-result-title")(Ao)});var zx,Z0,Gd,Kd=p(()=>{"use strict";zx=f(R()),Z0={},Gd=zx.css`
3951
+ `}onResultClick(){this.dispatchEvent(new Mi(this.result,this.rank))}onContextMenu(){this.dispatchEvent(new zi(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"})}};Ao.elementDefinitions={"ft-typography":Z};Ao.styles=Al;q0([(0,Nx.property)({type:Boolean})],Ao.prototype,"withoutLink",void 0)});var Fx=p(()=>{"use strict"});var Mx={};$o(Mx,{FtSearchResultTitle:()=>Ao,FtSearchResultTitleCssVariables:()=>la,styles:()=>Al});var Dx,jd=p(()=>{"use strict";Dx=u(v());Vd();ca();Fx();Vd();(0,Dx.customElement)("ft-search-result-title")(Ao)});var zx,Z0,Gd,Kd=p(()=>{"use strict";zx=u(R()),Z0={},Gd=zx.css`
3952
3952
  [part="no-results-message"] {
3953
3953
  text-align: center;
3954
3954
  padding: 12px;
3955
3955
  }
3956
- `});var Ux,Hx,qd=p(()=>{"use strict";Ux=f(R()),Hx=Ux.css`
3956
+ `});var Ux,Hx,qd=p(()=>{"use strict";Ux=u(R()),Hx=Ux.css`
3957
3957
  a {
3958
3958
  color: inherit;
3959
3959
  text-decoration: inherit;
3960
3960
  }
3961
- `});var Is,Wx=p(()=>{"use strict";Is=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,Yi,jx,Ls,Zd,Nr,Qd=p(()=>{"use strict";Vx=f(R()),Yi=f(W()),jx=f(v());qd();Wx();Ls=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Zd=class extends CustomEvent{constructor(e){super("ft-search-result-cluster-change",{detail:e,bubbles:!0,composed:!0})}},Nr=class extends jx.FtLitElement{constructor(){super(...arguments),this.openResultInNewTab=!1,this.index=0,this.stateManager=new Is(e=>this.onResultSelected(e))}render(){return Vx.html`
3961
+ `});var Is,Wx=p(()=>{"use strict";Is=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,Yi,jx,Ls,Zd,Br,Qd=p(()=>{"use strict";Vx=u(R()),Yi=u(W()),jx=u(v());qd();Wx();Ls=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Zd=class extends CustomEvent{constructor(e){super("ft-search-result-cluster-change",{detail:e,bubbles:!0,composed:!0})}},Br=class extends jx.FtLitElement{constructor(){super(...arguments),this.openResultInNewTab=!1,this.index=0,this.stateManager=new Is(e=>this.onResultSelected(e))}render(){return Vx.html`
3962
3962
  <slot @register-ft-search-result-component=${this.registerComponent}></slot>
3963
- `}onResultSelected(e){this.result=e,this.dispatchEvent(new Zd(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()}};Nr.elementDefinitions={};Nr.styles=Hx;Ls([(0,Yi.property)({attribute:!1})],Nr.prototype,"cluster",void 0);Ls([(0,Yi.property)({attribute:!1,type:Boolean})],Nr.prototype,"openResultInNewTab",void 0);Ls([(0,Yi.state)()],Nr.prototype,"result",void 0);Ls([(0,Yi.property)()],Nr.prototype,"index",void 0)});var Gx=p(()=>{"use strict"});var Kx,qx=p(()=>{"use strict";Kx=f(v());Qd();qd();Gx();Qd();(0,Kx.customElement)("ft-search-result-context")(Nr)});var Xi,Zx,Yd=p(()=>{"use strict";Er();Xi=wr.build("searchResultsNumber"),Zx={results:"{0} results","results[\\=1]":"1 result"}});var ks,Qx,$s,Ro,di,Ut,Xd=p(()=>{"use strict";ks=f(R()),Qx=f(Kr()),$s=f(W()),Ro=f(v());Kd();Xo();qx();jd();Wd();Er();Yd();di=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Ut=class extends Yt(Xt){constructor(){super(),this.clusterPolicy="display-first-result",this.displayNoResultsMessage=!1,this.renderResult=()=>ks.html`
3963
+ `}onResultSelected(e){this.result=e,this.dispatchEvent(new Zd(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()}};Br.elementDefinitions={};Br.styles=Hx;Ls([(0,Yi.property)({attribute:!1})],Br.prototype,"cluster",void 0);Ls([(0,Yi.property)({attribute:!1,type:Boolean})],Br.prototype,"openResultInNewTab",void 0);Ls([(0,Yi.state)()],Br.prototype,"result",void 0);Ls([(0,Yi.property)()],Br.prototype,"index",void 0)});var Gx=p(()=>{"use strict"});var Kx,qx=p(()=>{"use strict";Kx=u(v());Qd();qd();Gx();Qd();(0,Kx.customElement)("ft-search-result-context")(Br)});var Xi,Zx,Yd=p(()=>{"use strict";Ar();Xi=Er.build("searchResultsNumber"),Zx={results:"{0} results","results[\\=1]":"1 result"}});var ks,Qx,$s,Ro,ci,Ut,Xd=p(()=>{"use strict";ks=u(R()),Qx=u(qr()),$s=u(W()),Ro=u(v());Kd();Xo();qx();jd();Wd();Ar();Yd();ci=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Ut=class extends Yt(Xt){constructor(){super(),this.clusterPolicy="display-first-result",this.displayNoResultsMessage=!1,this.renderResult=()=>ks.html`
3964
3964
  <ft-search-result-title></ft-search-result-title>
3965
3965
  <ft-search-result-abstract></ft-search-result-abstract>
3966
3966
  `,this.clusterSortCriterion=[],this.selectedResultByCluster={},this.addI18nContext(Xi)}render(){if(this.displayNoResultsMessage&&this.results!=null&&this.results.length==0)return ks.html`
@@ -3970,13 +3970,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
3970
3970
  @ft-search-result-cluster-change=${a=>this.onClusterChange(r.id,a.detail)}>
3971
3971
  ${this.renderResult((n=this.selectedResultByCluster[r.id])!==null&&n!==void 0?n:r.entries[0],i)}
3972
3972
  </ft-search-result-context>
3973
- `})}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&&Ro.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}};Ut.styles=Gd;di([(0,$s.property)({type:String,attribute:"cluster-policy"})],Ut.prototype,"clusterPolicy",void 0);di([(0,$s.property)({type:Boolean})],Ut.prototype,"displayNoResultsMessage",void 0);di([(0,$s.property)({attribute:!1})],Ut.prototype,"renderResult",void 0);di([(0,Ro.jsonProperty)([])],Ut.prototype,"clusterSortCriterion",void 0);di([(0,Ro.redux)({selector:t=>({...t.request,paging:void 0})})],Ut.prototype,"requestWithoutPaging",void 0);di([(0,Ro.redux)({selector:t=>t.request.paging})],Ut.prototype,"paging",void 0);di([(0,Ro.redux)()],Ut.prototype,"results",void 0)});var Yx=p(()=>{"use strict"});var Jx={};$o(Jx,{FtSearchResults:()=>Ut,FtSearchResultsCssVariables:()=>Z0,styles:()=>Gd});var Xx,ev=p(()=>{"use strict";Xx=f(v());Xd();Kd();Yx();Xd();(0,Xx.customElement)("ft-search-results")(Ut)});var tv,Q0,Jd,ep=p(()=>{"use strict";tv=f(R()),Q0={},Jd=tv.css`
3973
+ `})}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&&Ro.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}};Ut.styles=Gd;ci([(0,$s.property)({type:String,attribute:"cluster-policy"})],Ut.prototype,"clusterPolicy",void 0);ci([(0,$s.property)({type:Boolean})],Ut.prototype,"displayNoResultsMessage",void 0);ci([(0,$s.property)({attribute:!1})],Ut.prototype,"renderResult",void 0);ci([(0,Ro.jsonProperty)([])],Ut.prototype,"clusterSortCriterion",void 0);ci([(0,Ro.redux)({selector:t=>({...t.request,paging:void 0})})],Ut.prototype,"requestWithoutPaging",void 0);ci([(0,Ro.redux)({selector:t=>t.request.paging})],Ut.prototype,"paging",void 0);ci([(0,Ro.redux)()],Ut.prototype,"results",void 0)});var Yx=p(()=>{"use strict"});var Jx={};$o(Jx,{FtSearchResults:()=>Ut,FtSearchResultsCssVariables:()=>Z0,styles:()=>Gd});var Xx,ev=p(()=>{"use strict";Xx=u(v());Xd();Kd();Yx();Xd();(0,Xx.customElement)("ft-search-results")(Ut)});var tv,Q0,Jd,ep=p(()=>{"use strict";tv=u(R()),Q0={},Jd=tv.css`
3974
3974
 
3975
- `});var Ts,rv,Y0,Io,tp=p(()=>{"use strict";Ts=f(R()),rv=f(v());ep();Xo();Er();Yd();_e();Y0=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Io=class extends Yt(Xt){constructor(){super(),this.addI18nContext(Xi,Zx)}render(){return this.paging==null?Ts.nothing:Ts.html`
3975
+ `});var Ts,rv,Y0,Io,tp=p(()=>{"use strict";Ts=u(R()),rv=u(v());ep();Xo();Ar();Yd();_e();Y0=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Io=class extends Yt(Xt){constructor(){super(),this.addI18nContext(Xi,Zx)}render(){return this.paging==null?Ts.nothing:Ts.html`
3976
3976
  <ft-typography variant="body1">
3977
3977
  ${Xi.messages.results(this.paging.totalClustersCount)}
3978
3978
  </ft-typography>
3979
- `}};Io.elementDefinitions={"ft-typography":Z};Io.styles=Jd;Y0([(0,rv.redux)()],Io.prototype,"paging",void 0)});var ov=p(()=>{"use strict"});var nv={};$o(nv,{FtSearchResultsNumber:()=>Io,FtSearchResultsNumberCssVariables:()=>Q0,styles:()=>Jd});var iv,av=p(()=>{"use strict";iv=f(v());tp();ep();ov();tp();(0,iv.customElement)("ft-search-results-number")(Io)});var sv=f(v());var Ht=f(R()),pi=f(v());var Rl=f(R()),N=f(v());var up=f(R()),ae=f(v());Br();var pe={padding:ae.FtCssVariableFactory.create("--ft-card-padding","","SIZE","12px"),borderRadius:ae.FtCssVariableFactory.extend("--ft-card-border-radius","",ae.designSystemVariables.borderRadiusM),borderStyle:ae.FtCssVariableFactory.create("--ft-card-border-style","","UNKNOWN","none"),borderColor:ae.FtCssVariableFactory.extend("--ft-card-border-color","",ae.designSystemVariables.colorOutline),hoverBorderColor:ae.FtCssVariableFactory.extend("--ft-card-hover-border-color","",ae.designSystemVariables.colorPrimary),outlineStyle:ae.FtCssVariableFactory.create("--ft-card-outline-style","","UNKNOWN","solid"),outlineWidth:ae.FtCssVariableFactory.create("--ft-card-outline-width","","SIZE","0"),outlineColor:ae.FtCssVariableFactory.extend("--ft-card-outline-color","",ae.designSystemVariables.colorPrimary),selectedOutlineStyle:ae.FtCssVariableFactory.create("--ft-card-selected-outline-style","","UNKNOWN","solid"),selectedOutlineWidth:ae.FtCssVariableFactory.create("--ft-card-selected-outline-width","","SIZE","2px"),selectedOutlineColor:ae.FtCssVariableFactory.extend("--ft-card-selected-outline-color","",ae.designSystemVariables.colorPrimary),selectedBorderRadius:ae.FtCssVariableFactory.extend("--ft-card-selected-border-radius","",ae.designSystemVariables.borderRadiusM),colorSurface:ae.FtCssVariableFactory.extend("--ft-card-background-color","",ae.designSystemVariables.colorSurface),colorOnSurfaceMedium:ae.FtCssVariableFactory.extend("--ft-card-content-color","",ae.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceHigh:ae.FtCssVariableFactory.extend("--ft-card-title-color","",ae.designSystemVariables.colorOnSurfaceHigh),elevation02:ae.FtCssVariableFactory.extend("--ft-card-elevation","",ae.designSystemVariables.elevation02),elevation04:ae.FtCssVariableFactory.extend("--ft-card-selected-elevation","",ae.designSystemVariables.elevation04)},fp=up.css`
3979
+ `}};Io.elementDefinitions={"ft-typography":Z};Io.styles=Jd;Y0([(0,rv.redux)()],Io.prototype,"paging",void 0)});var ov=p(()=>{"use strict"});var nv={};$o(nv,{FtSearchResultsNumber:()=>Io,FtSearchResultsNumberCssVariables:()=>Q0,styles:()=>Jd});var iv,av=p(()=>{"use strict";iv=u(v());tp();ep();ov();tp();(0,iv.customElement)("ft-search-results-number")(Io)});var sv=u(v());var Ht=u(R()),di=u(v());var Rl=u(R()),N=u(v());var up=u(R()),ae=u(v());Fr();var pe={padding:ae.FtCssVariableFactory.create("--ft-card-padding","","SIZE","12px"),borderRadius:ae.FtCssVariableFactory.extend("--ft-card-border-radius","",ae.designSystemVariables.borderRadiusM),borderStyle:ae.FtCssVariableFactory.create("--ft-card-border-style","","UNKNOWN","none"),borderColor:ae.FtCssVariableFactory.extend("--ft-card-border-color","",ae.designSystemVariables.colorOutline),hoverBorderColor:ae.FtCssVariableFactory.extend("--ft-card-hover-border-color","",ae.designSystemVariables.colorPrimary),outlineStyle:ae.FtCssVariableFactory.create("--ft-card-outline-style","","UNKNOWN","solid"),outlineWidth:ae.FtCssVariableFactory.create("--ft-card-outline-width","","SIZE","0"),outlineColor:ae.FtCssVariableFactory.extend("--ft-card-outline-color","",ae.designSystemVariables.colorPrimary),selectedOutlineStyle:ae.FtCssVariableFactory.create("--ft-card-selected-outline-style","","UNKNOWN","solid"),selectedOutlineWidth:ae.FtCssVariableFactory.create("--ft-card-selected-outline-width","","SIZE","2px"),selectedOutlineColor:ae.FtCssVariableFactory.extend("--ft-card-selected-outline-color","",ae.designSystemVariables.colorPrimary),selectedBorderRadius:ae.FtCssVariableFactory.extend("--ft-card-selected-border-radius","",ae.designSystemVariables.borderRadiusM),colorSurface:ae.FtCssVariableFactory.extend("--ft-card-background-color","",ae.designSystemVariables.colorSurface),colorOnSurfaceMedium:ae.FtCssVariableFactory.extend("--ft-card-content-color","",ae.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceHigh:ae.FtCssVariableFactory.extend("--ft-card-title-color","",ae.designSystemVariables.colorOnSurfaceHigh),elevation02:ae.FtCssVariableFactory.extend("--ft-card-elevation","",ae.designSystemVariables.elevation02),elevation04:ae.FtCssVariableFactory.extend("--ft-card-selected-elevation","",ae.designSystemVariables.elevation04)},fp=up.css`
3980
3980
  :host {
3981
3981
  display: block;
3982
3982
  }
@@ -4065,7 +4065,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
4065
4065
  #action {
4066
4066
  grid-area: actions;
4067
4067
  }
4068
- `;mn();sa();Br();ca();var it={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)},fh=Rl.css`
4068
+ `;mn();sa();Fr();ca();var it={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)},fh=Rl.css`
4069
4069
  .ft-search-in-doc--container {
4070
4070
  display: flex;
4071
4071
  flex-direction: column;
@@ -4132,7 +4132,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
4132
4132
  text-decoration: none;
4133
4133
  color: inherit;
4134
4134
  }
4135
- `;Er();var Ug=f(v()),Hg=f(W());var Mg;(function(t){t.clusteringHelperCreated="clustering-helper-created",t.mapAttachmentsUpdate="map-attachments-update",t.visibleTopicChange="visible-topic-change"})(Mg||(Mg={}));var zg;(function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"})(zg||(zg={}));var 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 l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},xc=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},bc=Symbol("registerInterval");function M0(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[bc]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[bc]):this.dispatchEvent(new xc)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=bc,D0([(0,Hg.state)()],r.prototype,"stateManager",void 0),r}var Ka=class extends M0(Ug.FtLitElementRedux){};var Jr=f(W());vc();Er();var Sc=wr.build("designedReaderSearchInDocument");var Qg=f(v());var wn=f(R()),Yo=f(W()),qg=f(v());ut();_e();var Zg=f(Ct()),Mi=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},It=class extends qg.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 wn.html`
4135
+ `;Ar();var Ug=u(v()),Hg=u(W());var Mg;(function(t){t.clusteringHelperCreated="clustering-helper-created",t.mapAttachmentsUpdate="map-attachments-update",t.visibleTopicChange="visible-topic-change"})(Mg||(Mg={}));var zg;(function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"})(zg||(zg={}));var 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 l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},xc=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},bc=Symbol("registerInterval");function M0(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[bc]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[bc]):this.dispatchEvent(new xc)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=bc,D0([(0,Hg.state)()],r.prototype,"stateManager",void 0),r}var Ka=class extends M0(Ug.FtLitElementRedux){};var eo=u(W());vc();Ar();var Sc=Er.build("designedReaderSearchInDocument");var Qg=u(v());var wn=u(R()),Yo=u(W()),qg=u(v());ut();_e();var Zg=u(Ct()),Di=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},It=class extends qg.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 wn.html`
4136
4136
  <div id="container" part="container" class=${(0,Zg.classMap)(e)}>
4137
4137
  ${this.clickable?wn.html`
4138
4138
  <ft-ripple primary ?selected=${this.selected}></ft-ripple>
@@ -4150,7 +4150,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
4150
4150
  </ft-typography>
4151
4151
  </div>
4152
4152
  </div>
4153
- `}};It.elementDefinitions={"ft-ripple":G,"ft-typography":Z};It.styles=fp;Mi([(0,Yo.property)()],It.prototype,"title",void 0);Mi([(0,Yo.property)({type:Boolean})],It.prototype,"clickable",void 0);Mi([(0,Yo.property)({type:Boolean})],It.prototype,"selected",void 0);Mi([(0,Yo.property)({type:Boolean})],It.prototype,"noHeader",void 0);Mi([(0,Yo.property)({type:Boolean})],It.prototype,"noContent",void 0);Mi([(0,Yo.property)({type:Boolean})],It.prototype,"oneLineHeader",void 0);(0,Qg.customElement)("ft-card")(It);Cc();var Xr=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},vt=class t extends Yt(Ka){constructor(){super(),this.searchInDocumentQuery="",this.hideResultTitle=!1,this.hideResultBreadcrumb=!1,this.hideResultAbstract=!1,this.hideResultsNumber=!1,this.emptyResultOnClear=!1,this.uniqueId=(0,pi.randomId)(6,"search-in-document-"),this.addI18nContext(Sc)}get filters(){return[{key:"ft:publicationId",valueFilter:{negative:!1,values:[this.map.id]}}]}renderResult(e,r){var i;return Ht.html`
4153
+ `}};It.elementDefinitions={"ft-ripple":G,"ft-typography":Z};It.styles=fp;Di([(0,Yo.property)()],It.prototype,"title",void 0);Di([(0,Yo.property)({type:Boolean})],It.prototype,"clickable",void 0);Di([(0,Yo.property)({type:Boolean})],It.prototype,"selected",void 0);Di([(0,Yo.property)({type:Boolean})],It.prototype,"noHeader",void 0);Di([(0,Yo.property)({type:Boolean})],It.prototype,"noContent",void 0);Di([(0,Yo.property)({type:Boolean})],It.prototype,"oneLineHeader",void 0);(0,Qg.customElement)("ft-card")(It);Cc();var Jr=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},vt=class t extends Yt(Ka){constructor(){super(),this.searchInDocumentQuery="",this.hideResultTitle=!1,this.hideResultBreadcrumb=!1,this.hideResultAbstract=!1,this.hideResultsNumber=!1,this.emptyResultOnClear=!1,this.uniqueId=(0,di.randomId)(6,"search-in-document-"),this.addI18nContext(Sc)}get filters(){return[{key:"ft:publicationId",valueFilter:{negative:!1,values:[this.map.id]}}]}renderResult(e,r){var i;return Ht.html`
4154
4154
  <style> ${hh}</style>
4155
4155
  <a href="${qa(e)}" @click=${()=>this.onLinkClick(e,r)}
4156
4156
  @auxclick=${n=>this.onAuxClick(n,e,r)}
@@ -4168,7 +4168,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
4168
4168
  </div>
4169
4169
  </ft-card>
4170
4170
  </a>
4171
- `}onAuxClick(e,r,i){e.button==1&&this.onLinkClick(r,i)}onContextMenu(e,r){this.dispatchEvent(new Ui(e,r))}render(){return this.map?Ht.html`
4171
+ `}onAuxClick(e,r,i){e.button==1&&this.onLinkClick(r,i)}onContextMenu(e,r){this.dispatchEvent(new zi(e,r))}render(){return this.map?Ht.html`
4172
4172
  <ft-search-context id="${this.uniqueId}"
4173
4173
  part="search-context"
4174
4174
  contentLocale="${this.map.lang}"
@@ -4192,7 +4192,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
4192
4192
  </slot>
4193
4193
  </div>
4194
4194
  </ft-search-context>
4195
- `:Ht.nothing}willUpdate(e){super.willUpdate(e),e.has("map")&&this.map&&this.initEventManager(),["hideResultTitle","hideResultBreadcrumb","hideResultAbstract"].some(r=>e.has(r))&&this.searchResults&&this.searchResults.requestUpdate()}initEventManager(){(0,pi.waitFor)(()=>{var e;return(e=this.searchContext)===null||e===void 0?void 0:e.eventManager}).then(e=>{e.setDocumentSearchFromMap(this.map),e.initAppInfo()})}onLinkClick(e,r){this.dispatchEvent(new zi(e,r))}importDynamicDependencies(){super.importDynamicDependencies();let e=t.registry;Promise.resolve().then(()=>(uy(),py)).then(({FtSearchContext:r})=>e.define("ft-search-context",r)),Promise.resolve().then(()=>(Ox(),Cx)).then(({FtSearchInput:r})=>e.define("ft-search-input",r)),Promise.resolve().then(()=>(kx(),Lx)).then(({FtSearchLoadMoreButton:r})=>e.define("ft-search-load-more-button",r)),Promise.resolve().then(()=>(Wd(),_x)).then(({FtSearchResultAbstract:r})=>e.define("ft-search-result-abstract",r)),Promise.resolve().then(()=>(jd(),Mx)).then(({FtSearchResultTitle:r})=>e.define("ft-search-result-title",r)),Promise.resolve().then(()=>(ev(),Jx)).then(({FtSearchResults:r})=>e.define("ft-search-results",r)),Promise.resolve().then(()=>(av(),nv)).then(({FtSearchResultsNumber:r})=>e.define("ft-search-results-number",r))}};vt.elementDefinitions={"ft-card":It};vt.styles=fh;Xr([(0,pi.redux)()],vt.prototype,"map",void 0);Xr([(0,pi.redux)()],vt.prototype,"searchInDocumentQuery",void 0);Xr([(0,Jr.query)("ft-search-results")],vt.prototype,"searchResults",void 0);Xr([(0,Jr.property)({type:Boolean})],vt.prototype,"hideResultTitle",void 0);Xr([(0,Jr.property)({type:Boolean})],vt.prototype,"hideResultBreadcrumb",void 0);Xr([(0,Jr.property)({type:Boolean})],vt.prototype,"hideResultAbstract",void 0);Xr([(0,Jr.property)({type:Boolean})],vt.prototype,"hideResultsNumber",void 0);Xr([(0,Jr.property)({type:Boolean})],vt.prototype,"emptyResultOnClear",void 0);Xr([(0,Jr.query)('[part="search-context"]')],vt.prototype,"searchContext",void 0);(0,sv.customElement)("ft-reader-search-in-document")(vt);})();
4195
+ `:Ht.nothing}willUpdate(e){super.willUpdate(e),e.has("map")&&this.map&&this.initEventManager(),["hideResultTitle","hideResultBreadcrumb","hideResultAbstract"].some(r=>e.has(r))&&this.searchResults&&this.searchResults.requestUpdate()}initEventManager(){(0,di.waitFor)(()=>{var e;return(e=this.searchContext)===null||e===void 0?void 0:e.eventManager}).then(e=>{e.setDocumentSearchFromMap(this.map),e.initAppInfo()})}onLinkClick(e,r){this.dispatchEvent(new Mi(e,r))}importDynamicDependencies(){super.importDynamicDependencies();let e=t.registry;Promise.resolve().then(()=>(uy(),py)).then(({FtSearchContext:r})=>e.define("ft-search-context",r)),Promise.resolve().then(()=>(Ox(),Cx)).then(({FtSearchInput:r})=>e.define("ft-search-input",r)),Promise.resolve().then(()=>(kx(),Lx)).then(({FtSearchLoadMoreButton:r})=>e.define("ft-search-load-more-button",r)),Promise.resolve().then(()=>(Wd(),_x)).then(({FtSearchResultAbstract:r})=>e.define("ft-search-result-abstract",r)),Promise.resolve().then(()=>(jd(),Mx)).then(({FtSearchResultTitle:r})=>e.define("ft-search-result-title",r)),Promise.resolve().then(()=>(ev(),Jx)).then(({FtSearchResults:r})=>e.define("ft-search-results",r)),Promise.resolve().then(()=>(av(),nv)).then(({FtSearchResultsNumber:r})=>e.define("ft-search-results-number",r))}};vt.elementDefinitions={"ft-card":It};vt.styles=fh;Jr([(0,di.redux)()],vt.prototype,"map",void 0);Jr([(0,di.redux)()],vt.prototype,"searchInDocumentQuery",void 0);Jr([(0,eo.query)("ft-search-results")],vt.prototype,"searchResults",void 0);Jr([(0,eo.property)({type:Boolean})],vt.prototype,"hideResultTitle",void 0);Jr([(0,eo.property)({type:Boolean})],vt.prototype,"hideResultBreadcrumb",void 0);Jr([(0,eo.property)({type:Boolean})],vt.prototype,"hideResultAbstract",void 0);Jr([(0,eo.property)({type:Boolean})],vt.prototype,"hideResultsNumber",void 0);Jr([(0,eo.property)({type:Boolean})],vt.prototype,"emptyResultOnClear",void 0);Jr([(0,eo.query)('[part="search-context"]')],vt.prototype,"searchContext",void 0);(0,sv.customElement)("ft-reader-search-in-document")(vt);})();
4196
4196
  /*! Bundled license information:
4197
4197
 
4198
4198
  lit-html/lit-html.js: