@fluid-topics/ft-reader-search-in-document 1.1.120 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ft-reader-search-in-document.light.js +115 -115
- package/build/ft-reader-search-in-document.min.js +132 -132
- package/package.json +14 -14
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";(()=>{var
|
|
1
|
+
"use strict";(()=>{var Hf=Object.create;var Gn=Object.defineProperty;var zf=Object.getOwnPropertyDescriptor;var Gf=Object.getOwnPropertyNames;var jf=Object.getPrototypeOf,Vf=Object.prototype.hasOwnProperty;var f=(t,e)=>()=>(t&&(e=t(t=0)),e);var Wt=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Ht=(t,e)=>{for(var o in e)Gn(t,o,{get:e[o],enumerable:!0})},Kf=(t,e,o,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of Gf(e))!Vf.call(t,a)&&a!==o&&Gn(t,a,{get:()=>e[a],enumerable:!(n=zf(e,a))||n.enumerable});return t};var b=(t,e,o)=>(o=t!=null?Hf(jf(t)):{},Kf(e||!t||!t.__esModule?Gn(o,"default",{value:t,enumerable:!0}):o,t));var N=Wt((Ay,hs)=>{hs.exports=ftGlobals.wcUtils});var D=Wt((Ry,ys)=>{ys.exports=ftGlobals.lit});var Ss,ce,ms,w,gs,bs,xs,vs,Os,zt=f(()=>{"use strict";Ss=b(D()),ce=b(N()),ms=ce.FtCssVariableFactory.extend("--ft-ripple-color","",ce.designSystemVariables.colorContent),w={color:ms,backgroundColor:ce.FtCssVariableFactory.extend("--ft-ripple-background-color","",ms),opacityContentOnSurfacePressed:ce.FtCssVariableFactory.external(ce.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:ce.FtCssVariableFactory.external(ce.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:ce.FtCssVariableFactory.external(ce.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:ce.FtCssVariableFactory.external(ce.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:ce.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},gs=ce.FtCssVariableFactory.extend("--ft-ripple-color","",ce.designSystemVariables.colorPrimary),bs={color:gs,backgroundColor:ce.FtCssVariableFactory.extend("--ft-ripple-background-color","",gs)},xs=ce.FtCssVariableFactory.extend("--ft-ripple-color","",ce.designSystemVariables.colorSecondary),vs={color:xs,backgroundColor:ce.FtCssVariableFactory.extend("--ft-ripple-background-color","",xs)},Os=Ss.css`
|
|
2
2
|
:host {
|
|
3
3
|
display: contents;
|
|
4
4
|
}
|
|
@@ -110,8 +110,8 @@
|
|
|
110
110
|
opacity: ${w.opacityContentOnSurfacePressed};
|
|
111
111
|
transform: translate(-50%, -50%) scale(1);
|
|
112
112
|
}
|
|
113
|
-
`});var X=Wt((Iy,ws)=>{ws.exports=ftGlobals.litDecorators});var nt,gt,r,z=f(()=>{nt=b(D(),1),gt=t=>typeof t=="string"?(0,nt.unsafeCSS)(t):t,r=class{static create(e,o,n,a){let i=l=>gt(l??a),s=nt.css`var(${gt(e)}, ${i(a)})`;return s.name=e,s.description=o,s.category=n,s.defaultValue=a,s.defaultCssValue=i,s.get=l=>nt.css`var(${gt(e)}, ${i(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>a,s}static extend(e,o,n,a){let i=l=>n.get(l??a),s=nt.css`var(${gt(e)}, ${i(a)})`;return s.name=e,s.description=o,s.category=n.category,s.fallbackVariable=n,s.defaultValue=a,s.defaultCssValue=i,s.get=l=>nt.css`var(${gt(e)}, ${i(l)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),s}static external(e,o){let n=i=>e.fallbackVariable?e.fallbackVariable.get(i??e.defaultValue):gt(i??e.lastResortDefaultValue()),a=nt.css`var(${gt(e.name)}, ${n(e.defaultValue)})`;return a.name=e.name,a.category=e.category,a.fallbackVariable=e.fallbackVariable,a.defaultValue=e.defaultValue,a.context=o,a.defaultCssValue=n,a.get=i=>nt.css`var(${gt(e.name)}, ${n(i)})`,a.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>e.lastResortDefaultValue(),a}}});var c,As,Rs,Ns,Is,Ls,Ps,Ts,_s,ks,Vf,Ds,Bs,$s,Ms,Us,Fs,Ws,Hs,zs,js,Gs,Vs,Ks,Zs,qs,Ys,xo,G=f(()=>{z();c={colorWhite:r.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:r.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:r.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:r.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:r.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:r.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:r.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:r.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:r.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:r.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:r.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:r.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:r.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:r.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:r.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:r.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:r.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:r.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:r.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:r.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:r.create("--ft-opacity-0","","NUMBER","0"),opacity8:r.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:r.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:r.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:r.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:r.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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)")},As={fontFamily:r.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:r.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-display-textCase","","UNKNOWN","none")},Rs={fontFamily:r.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:r.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Ns={fontFamily:r.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:r.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Is={fontFamily:r.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:r.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Ls={fontFamily:r.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Ps={fontFamily:r.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Ts={fontFamily:r.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},_s={fontFamily:r.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},ks={fontFamily:r.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Vf={fontFamily:r.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:r.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:r.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Ds={fontFamily:r.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Bs={fontFamily:r.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},$s={fontFamily:r.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Ms={fontFamily:r.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Us={fontFamily:r.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Fs={fontFamily:r.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Ws={fontFamily:r.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Hs={fontFamily:r.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},zs={fontFamily:r.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},js={fontFamily:r.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Gs={fontFamily:r.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Vs={fontFamily:r.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Ks={fontFamily:r.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Zs={fontFamily:r.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},qs={fontFamily:r.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Ys={fontFamily:r.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},xo={display:As,"title-1":Rs,"title-2":Ns,"title-3":Is,"body-1-regular":Ls,"body-1-medium":Ps,"body-1-semibold":Ts,"body-2-regular":_s,"body-2-medium":ks,"body-2-medium-underline":Vf,"body-2-semibold":Ds,"label-1-medium":Bs,"label-1-semibold":$s,"label-1-bold":Ms,"label-2-medium":Us,"label-2-semibold":Fs,"label-2-bold":Ws,"caption-1-medium":Hs,"caption-1-semibold":zs,"caption-1-bold":js,"caption-2-medium":Gs,"caption-2-semibold":Vs,"caption-2-bold":Ks,"caption-3-medium":Zs,"caption-3-semibold":qs,"caption-3-bold":Ys}});var d,q=f(()=>{z();G();d={backgroundActionPrimary:r.extend("--ft-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:r.extend("--ft-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:r.extend("--ft-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:r.extend("--ft-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:r.extend("--ft-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:r.extend("--ft-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:r.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:r.extend("--ft-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:r.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:r.extend("--ft-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:r.extend("--ft-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:r.extend("--ft-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:r.extend("--ft-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:r.extend("--ft-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:r.extend("--ft-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:r.extend("--ft-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:r.extend("--ft-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:r.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
114
|
-
Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:r.extend("--ft-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:r.extend("--ft-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:r.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:r.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:r.extend("--ft-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:r.extend("--ft-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:r.extend("--ft-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:r.extend("--ft-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:r.extend("--ft-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:r.extend("--ft-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:r.extend("--ft-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:r.extend("--ft-border-global-primary","Used as border for element like input.",c.colorGray50),borderGlobalSubtle:r.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",c.colorGray30),borderInputPrimary:r.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:r.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)}});var h,Xs=f(()=>{z();G();q();h={largeHeight:r.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ft-button-large-horizontal-padding","",c.spacing4),largeGap:r.extend("--ft-button-large-gap","",c.spacing2),largeBorderRadius:r.extend("--ft-button-large-border-radius","",c.borderRadiusS),largeIconSize:r.extend("--ft-button-large-icon-size","",c.iconSize3),largeBorderWidth:r.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:r.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:r.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:r.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:r.extend("--ft-button-medium-horizontal-padding","",c.spacing3),mediumGap:r.extend("--ft-button-medium-gap","",c.spacing2),mediumBorderRadius:r.extend("--ft-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:r.extend("--ft-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:r.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:r.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:r.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:r.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-button-small-horizontal-padding","",c.spacing2),smallGap:r.extend("--ft-button-small-gap","",c.spacing1),smallBorderRadius:r.extend("--ft-button-small-border-radius","",c.borderRadiusS),smallIconSize:r.extend("--ft-button-small-icon-size","",c.iconSize1),smallBorderWidth:r.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:r.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:r.extend("--ft-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:r.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:r.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:r.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:r.extend("--ft-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:r.extend("--ft-button-primary-brand-background-color","",d.backgroundActionPrimary),primaryBrandColor:r.extend("--ft-button-primary-brand-color","",d.contentGlobalOnColor),primaryBrandIconColor:r.extend("--ft-button-primary-brand-icon-color","",d.contentGlobalOnColor),primaryBrandStateLayerColor:r.extend("--ft-button-primary-brand-state-layer-color","",d.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:r.extend("--ft-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:r.extend("--ft-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:r.extend("--ft-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:r.extend("--ft-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ft-button-focus-focus-ring-color","",d.borderActionFocusRing),tertiaryBrandBackgroundColor:r.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:r.extend("--ft-button-tertiary-brand-color","",d.contentActionPrimary),tertiaryBrandIconColor:r.extend("--ft-button-tertiary-brand-icon-color","",d.contentActionPrimary),tertiaryBrandStateLayerColor:r.extend("--ft-button-tertiary-brand-state-layer-color","",d.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:r.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:r.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:r.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:r.extend("--ft-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:r.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:r.extend("--ft-button-tertiary-info-color","",d.contentInfoPrimary),tertiaryInfoIconColor:r.extend("--ft-button-tertiary-info-icon-color","",d.contentInfoPrimary),tertiaryInfoStateLayerColor:r.extend("--ft-button-tertiary-info-state-layer-color","",d.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:r.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:r.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:r.extend("--ft-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:r.extend("--ft-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:r.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:r.extend("--ft-button-tertiary-success-color","",d.contentSuccessPrimary),tertiarySuccessIconColor:r.extend("--ft-button-tertiary-success-icon-color","",d.contentSuccessPrimary),tertiarySuccessStateLayerColor:r.extend("--ft-button-tertiary-success-state-layer-color","",d.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:r.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:r.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:r.extend("--ft-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:r.extend("--ft-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:r.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:r.extend("--ft-button-tertiary-warning-color","",d.contentWarningPrimary),tertiaryWarningIconColor:r.extend("--ft-button-tertiary-warning-icon-color","",d.contentWarningPrimary),tertiaryWarningStateLayerColor:r.extend("--ft-button-tertiary-warning-state-layer-color","",d.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:r.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:r.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:r.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:r.extend("--ft-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:r.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:r.extend("--ft-button-tertiary-error-color","",d.contentErrorPrimary),tertiaryErrorIconColor:r.extend("--ft-button-tertiary-error-icon-color","",d.contentErrorPrimary),tertiaryErrorStateLayerColor:r.extend("--ft-button-tertiary-error-state-layer-color","",d.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:r.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:r.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:r.extend("--ft-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:r.extend("--ft-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:r.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:r.extend("--ft-button-tertiary-neutral-icon-color","",d.contentGlobalSecondary),tertiaryNeutralColor:r.extend("--ft-button-tertiary-neutral-color","",d.contentGlobalSecondary),tertiaryNeutralStateLayerColor:r.extend("--ft-button-tertiary-neutral-state-layer-color","",d.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:r.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:r.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:r.extend("--ft-button-secondary-brand-color","",d.contentActionPrimary),secondaryBrandIconColor:r.extend("--ft-button-secondary-brand-icon-color","",d.contentActionPrimary),secondaryBrandStateLayerColor:r.extend("--ft-button-secondary-brand-state-layer-color","",d.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:r.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:r.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:r.extend("--ft-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:r.extend("--ft-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:r.extend("--ft-button-secondary-brand-border-color","",d.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:r.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:r.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:r.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:r.extend("--ft-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:r.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:r.extend("--ft-button-secondary-neutral-color","",d.contentGlobalSecondary),secondaryNeutralIconColor:r.extend("--ft-button-secondary-neutral-icon-color","",d.contentGlobalSecondary),secondaryNeutralStateLayerColor:r.extend("--ft-button-secondary-neutral-state-layer-color","",d.contentGlobalSecondary),secondaryNeutralBorderColor:r.extend("--ft-button-secondary-neutral-border-color","",d.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:r.extend("--ft-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:r.extend("--ft-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:r.extend("--ft-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:r.extend("--ft-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:r.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:r.extend("--ft-button-secondary-info-border-color","",d.borderInfoPrimary),secondaryInfoColor:r.extend("--ft-button-secondary-info-color","",d.contentInfoPrimary),secondaryInfoIconColor:r.extend("--ft-button-secondary-info-icon-color","",d.contentInfoPrimary),secondaryInfoStateLayerColor:r.extend("--ft-button-secondary-info-state-layer-color","",d.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:r.extend("--ft-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:r.extend("--ft-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:r.extend("--ft-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:r.extend("--ft-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:r.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:r.extend("--ft-button-secondary-success-border-color","",d.borderSuccessPrimary),secondarySuccessColor:r.extend("--ft-button-secondary-success-color","",d.contentSuccessPrimary),secondarySuccessIconColor:r.extend("--ft-button-secondary-success-icon-color","",d.contentSuccessPrimary),secondarySuccessStateLayerColor:r.extend("--ft-button-secondary-success-state-layer-color","",d.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:r.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:r.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:r.extend("--ft-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:r.extend("--ft-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:r.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:r.extend("--ft-button-secondary-warning-border-color","",d.borderWarningPrimary),secondaryWarningColor:r.extend("--ft-button-secondary-warning-color","",d.contentWarningPrimary),secondaryWarningIconColor:r.extend("--ft-button-secondary-warning-icon-color","",d.contentWarningPrimary),secondaryWarningStateLayerColor:r.extend("--ft-button-secondary-warning-state-layer-color","",d.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:r.extend("--ft-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:r.extend("--ft-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:r.extend("--ft-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:r.extend("--ft-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:r.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:r.extend("--ft-button-secondary-error-border-color","",d.contentErrorPrimary),secondaryErrorColor:r.extend("--ft-button-secondary-error-color","",d.contentErrorPrimary),secondaryErrorIconColor:r.extend("--ft-button-secondary-error-icon-color","",d.contentErrorPrimary),secondaryErrorStateLayerColor:r.extend("--ft-button-secondary-error-state-layer-color","",d.contentErrorPrimary)}});var zy,Qs=f(()=>{z();G();q();zy={neutralOffHoverStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:r.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",d.borderActionFocusRing),neutralOffActiveStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:r.extend("--ft-chip-choice-neutral-off-background-color","",d.backgroundGlobalOnSurface),neutralOffBorderColor:r.extend("--ft-chip-choice-neutral-off-border-color","",d.borderGlobalPrimary),neutralOffColor:r.extend("--ft-chip-choice-neutral-off-color","",d.contentGlobalSecondary),neutralOffStateLayerColor:r.extend("--ft-chip-choice-neutral-off-state-layer-color","",d.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:r.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",d.borderActionFocusRing),neutralOnActiveStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:r.extend("--ft-chip-choice-neutral-on-background-color","",d.backgroundGlobalOnSurface),neutralOnBorderColor:r.extend("--ft-chip-choice-neutral-on-border-color","",d.borderGlobalPrimary),neutralOnColor:r.extend("--ft-chip-choice-neutral-on-color","",d.contentGlobalPrimary),neutralOnIconColor:r.extend("--ft-chip-choice-neutral-on-icon-color","",d.contentGlobalPrimary),neutralOnStateLayerColor:r.extend("--ft-chip-choice-neutral-on-state-layer-color","",d.contentGlobalPrimary),largeMinHeight:r.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:r.extend("--ft-chip-choice-large-gap","",c.spacing1),largeBorderRadius:r.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:r.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:r.extend("--ft-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:r.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-choice-medium-icon-size","",c.iconSize2)}});var Zy,Js=f(()=>{z();G();q();Zy={largeMinHeight:r.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:r.extend("--ft-chip-large-button-right-padding","",c.spacing1),largeGap:r.extend("--ft-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:r.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-large-icon-size","",c.iconSize3),mediumMinHeight:r.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:r.extend("--ft-chip-medium-button-right-padding","",c.spacing05),mediumGap:r.extend("--ft-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:r.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-medium-icon-size","",c.iconSize2),smallMinHeight:r.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:r.extend("--ft-chip-small-button-right-padding","",c.spacing05),smallGap:r.extend("--ft-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:r.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:r.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ft-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:r.extend("--ft-chip-neutral-background-color","",d.backgroundGlobalOnSurface),neutralColor:r.extend("--ft-chip-neutral-color","",d.contentGlobalSecondary),neutralIconColor:r.extend("--ft-chip-neutral-icon-color","",d.contentGlobalSecondary),neutralBorderColor:r.extend("--ft-chip-neutral-border-color","",d.borderGlobalSubtle),infoBackgroundColor:r.extend("--ft-chip-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ft-chip-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-chip-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ft-chip-info-border-color","",d.borderInfoSubtle),successBackgroundColor:r.extend("--ft-chip-success-background-color","",d.backgroundSuccessSubtle),successColor:r.extend("--ft-chip-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ft-chip-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:r.extend("--ft-chip-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-chip-warning-background-color","",d.backgroundWarningSubtle),warningColor:r.extend("--ft-chip-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ft-chip-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:r.extend("--ft-chip-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-chip-error-background-color","",d.backgroundErrorSubtle),errorColor:r.extend("--ft-chip-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ft-chip-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:r.extend("--ft-chip-error-border-color","",d.borderErrorSubtle)}});var Jy,ec=f(()=>{z();G();q();Jy={brandHoverOpacity:r.extend("--ft-link-brand-hover-opacity","",c.opacity80),brandHoverColor:r.extend("--ft-link-brand-hover-color","",d.contentActionPrimary),brandFocusFocusRingColor:r.extend("--ft-link-brand-focus-focus-ring-color","",d.borderActionFocusRing),brandFocusColor:r.extend("--ft-link-brand-focus-color","",d.contentActionPrimary),brandDefaultColor:r.extend("--ft-link-brand-default-color","",d.contentActionPrimary),brandActiveColor:r.extend("--ft-link-brand-active-color","",d.contentActionPrimary),infoHoverOpacity:r.extend("--ft-link-info-hover-opacity","",c.opacity80),infoHoverColor:r.extend("--ft-link-info-hover-color","",d.contentInfoPrimary),infoFocusFocusRingColor:r.extend("--ft-link-info-focus-focus-ring-color","",d.borderActionFocusRing),infoFocusColor:r.extend("--ft-link-info-focus-color","",d.contentInfoPrimary),infoDefaultColor:r.extend("--ft-link-info-default-color","",d.contentInfoPrimary),infoActiveColor:r.extend("--ft-link-info-active-color","",d.contentInfoPrimary),neutralFocusFocusRingColor:r.extend("--ft-link-neutral-focus-focus-ring-color","",d.borderActionFocusRing),neutralFocusColor:r.extend("--ft-link-neutral-focus-color","",d.contentActionPrimary),neutralDefaultColor:r.extend("--ft-link-neutral-default-color","",d.contentGlobalPrimary),neutralHoverColor:r.extend("--ft-link-neutral-hover-color","",d.contentActionPrimary),neutralActiveColor:r.extend("--ft-link-neutral-active-color","",d.contentActionPrimary),neutralVisitedColor:r.extend("--ft-link-neutral-visited-color","",c.colorBrand100)}});var nm,tc=f(()=>{z();G();q();nm={iconSize:r.extend("--ft-banner-icon-size","",c.iconSize5),borderWidth:r.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ft-banner-left-padding","",c.spacing6),rightPadding:r.extend("--ft-banner-right-padding","",c.spacing6),verticalPadding:r.extend("--ft-banner-vertical-padding","",c.spacing6),horizontalSideGap:r.extend("--ft-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:r.extend("--ft-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:r.extend("--ft-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:r.extend("--ft-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:r.extend("--ft-banner-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ft-banner-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-banner-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ft-banner-info-border-color","",d.borderInfoSubtle)}});var lm,rc=f(()=>{z();G();q();lm={horizontalPadding:r.extend("--ft-badge-horizontal-padding","",c.spacing1),verticalPadding:r.extend("--ft-badge-vertical-padding","",c.spacing1),borderRadius:r.extend("--ft-badge-border-radius","",c.borderRadiusPill),color:r.extend("--ft-badge-color","",d.contentGlobalOnColor),backgroundColor:r.extend("--ft-badge-background-color","",d.contentActionPrimary)}});var hm,oc=f(()=>{z();G();q();hm={horizontalGap:r.extend("--ft-breadcrumb-horizontal-gap","",c.spacing1),verticalGap:r.extend("--ft-breadcrumb-vertical-gap","",c.spacing2),currentColor:r.extend("--ft-breadcrumb-current-color","",d.contentGlobalPrimary),previousNonClickableColor:r.extend("--ft-breadcrumb-previous-non-clickable-color","",d.contentGlobalSecondary),iconColor:r.extend("--ft-breadcrumb-icon-color","",d.contentGlobalSubtle)}});var xm,nc=f(()=>{z();G();q();xm={horizontalPadding:r.extend("--ft-page-header-horizontal-padding","",c.spacing6),horizontalGap:r.extend("--ft-page-header-horizontal-gap","",c.spacing4),verticalGap:r.extend("--ft-page-header-vertical-gap","",c.spacing2),classicVerticalPadding:r.extend("--ft-page-header-classic-vertical-padding","",c.spacing6),multilineVerticalPadding:r.extend("--ft-page-header-multiline-vertical-padding","",c.spacing4),inlineVerticalPadding:r.extend("--ft-page-header-inline-vertical-padding","",c.spacing2),backgroundColor:r.extend("--ft-page-header-background-color","",c.colorWhite),bottomBorderColor:r.extend("--ft-page-header-bottom-border-color","",d.borderGlobalSubtle),titleColor:r.extend("--ft-page-header-title-color","",d.contentGlobalPrimary),subtitleColor:r.extend("--ft-page-header-subtitle-color","",d.contentGlobalSecondary)}});var Em,ac=f(()=>{z();G();q();Em={smallContainerTargetWidth:r.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:r.extend("--ft-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:r.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:r.extend("--ft-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:r.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:r.extend("--ft-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:r.extend("--ft-modal-overlay-background-color","",c.colorGray700),overlayOpacity:r.extend("--ft-modal-overlay-opacity","",c.opacity40),shadow:r.extend("--ft-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:r.extend("--ft-modal-body-background-color","",c.colorWhite),bodyColor:r.extend("--ft-modal-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:r.extend("--ft-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:r.extend("--ft-modal-body-vertical-gap","",c.spacing6),headerBackgroundColor:r.extend("--ft-modal-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-modal-header-border-color","",d.borderGlobalSubtle),headerColor:r.extend("--ft-modal-header-color","",d.contentGlobalPrimary),headerLeadingIconColor:r.extend("--ft-modal-header-leading-icon-color","",d.contentGlobalPrimary),headerVerticalPadding:r.extend("--ft-modal-header-vertical-padding","",c.spacing1),headerRightPadding:r.extend("--ft-modal-header-right-padding","",c.spacing1),headerLeftPadding:r.extend("--ft-modal-header-left-padding","",c.spacing6),headerGap:r.extend("--ft-modal-header-gap","",c.spacing2),headerBorderBottomWidth:r.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:r.extend("--ft-modal-border-radius","",c.borderRadiusM)}});var Im,ic=f(()=>{z();G();q();Im={overlayOpacity:r.extend("--ft-drawer-overlay-opacity","",c.opacity40),shadow:r.extend("--ft-drawer-shadow","",c.shadowElevation03),bodyColor:r.extend("--ft-drawer-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:r.extend("--ft-drawer-body-vertical-padding","",c.spacing6),bodyGap:r.extend("--ft-drawer-body-gap","",c.spacing6),bodyBackgroundColor:r.extend("--ft-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:r.extend("--ft-drawer-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-drawer-header-border-color","",d.borderGlobalSubtle),headerColor:r.extend("--ft-drawer-header-color","",d.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-drawer-header-trailing-icon-color","",d.contentGlobalSecondary),headerHeight:r.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ft-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:r.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ft-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:r.extend("--ft-drawer-buttons-bar-background-color","",d.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ft-drawer-buttons-bar-border-color","",d.borderGlobalSubtle),buttonsBarColor:r.extend("--ft-drawer-buttons-bar-color","",d.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ft-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:r.extend("--ft-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:r.extend("--ft-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:r.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:r.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:r.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:r.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:r.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:r.extend("--ft-drawer-overlay-background-color","",c.colorGray700)}});var km,sc=f(()=>{z();G();q();km={offBorderBottomWidth:r.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:r.extend("--ft-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:r.extend("--ft-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:r.extend("--ft-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:r.extend("--ft-tabs-off-disabled-component-opacity","",c.opacity40),offColor:r.extend("--ft-tabs-off-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-tabs-off-state-layer-color","",d.contentGlobalSubtle),offBorderBottomColor:r.extend("--ft-tabs-off-border-bottom-color","",d.borderGlobalSubtle),activeTabIndicatorHeight:r.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:r.extend("--ft-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:r.extend("--ft-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:r.extend("--ft-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:r.extend("--ft-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:r.extend("--ft-tabs-horizontal-gap","",c.spacing1),verticalGap:r.extend("--ft-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:r.extend("--ft-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:r.extend("--ft-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:r.extend("--ft-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:r.extend("--ft-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:r.extend("--ft-tabs-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-tabs-on-state-layer-color","",d.contentActionPrimary),onActiveTabIndicatorColor:r.extend("--ft-tabs-on-active-tab-indicator-color","",d.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ft-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:r.extend("--ft-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:r.extend("--ft-tabs-alert-top-padding","",c.spacing1),alertRightPadding:r.extend("--ft-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:r.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-tabs-focus-focus-ring-color","",d.borderActionFocusRing)}});var Um,cc=f(()=>{z();G();q();Um={fieldHorizontalPadding:r.extend("--ft-text-input-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-text-input-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-text-input-field-vertical-gap","",c.spacing05),fieldIconSize:r.extend("--ft-text-input-field-icon-size","",c.iconSize3),fieldHeight:r.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:r.extend("--ft-text-input-helper-icon-size","",c.iconSize2),borderRadius:r.extend("--ft-text-input-border-radius","",c.borderRadiusM),backgroundColor:r.extend("--ft-text-input-background-color","",c.colorWhite),contentValueColor:r.extend("--ft-text-input-content-value-color","",d.contentGlobalPrimary),trailingIconColor:r.extend("--ft-text-input-trailing-icon-color","",d.contentGlobalSubtle),labelColor:r.extend("--ft-text-input-label-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-input-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-input-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-input-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-input-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-input-error-helper-icon-color","",d.contentErrorIconOnly),warningBorderWidth:r.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-text-input-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-input-disabled-component-opacity","",c.opacity40)}});var jm,lc=f(()=>{z();G();q();jm={backgroundColor:r.extend("--ft-text-area-background-color","",c.colorWhite),contentValueColor:r.extend("--ft-text-area-content-value-color","",d.contentGlobalPrimary),labelColor:r.extend("--ft-text-area-label-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-area-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-area-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-area-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-area-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-area-error-helper-icon-color","",d.contentErrorIconOnly),focusFocusRingColor:r.extend("--ft-text-area-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:r.extend("--ft-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:r.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ft-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:r.extend("--ft-text-area-helper-icon-size","",c.iconSize2),borderRadius:r.extend("--ft-text-area-border-radius","",c.borderRadiusM)}});var qm,dc=f(()=>{z();G();q();qm={height:r.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ft-floating-menu-horizontal-padding","",c.spacing4),offIconColor:r.extend("--ft-floating-menu-off-icon-color","",d.contentGlobalPrimary),offColor:r.extend("--ft-floating-menu-off-color","",d.contentGlobalPrimary),onColor:r.extend("--ft-floating-menu-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-floating-menu-on-state-layer-color","",d.contentActionPrimary),gap:r.extend("--ft-floating-menu-gap","",c.spacing3),focusFocusRingColor:r.extend("--ft-floating-menu-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ft-floating-menu-focus-state-layer-opacity","",c.opacity8),hoverStateLayerOpacity:r.extend("--ft-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:r.extend("--ft-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:r.extend("--ft-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:r.extend("--ft-floating-menu-icon-size","",c.iconSize3),backgroundColor:r.extend("--ft-floating-menu-background-color","",d.backgroundGlobalOnSurface),shadow:r.extend("--ft-floating-menu-shadow","",c.shadowElevation02)}});var eg,uc=f(()=>{z();G();q();eg={fieldHorizontalPadding:r.extend("--ft-combobox-single-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-single-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-combobox-single-select-field-vertical-gap","",c.spacing05),fieldIconSize:r.extend("--ft-combobox-single-select-field-icon-size","",c.iconSize3),fieldHeight:r.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:r.extend("--ft-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:r.extend("--ft-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:r.extend("--ft-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:r.extend("--ft-combobox-single-select-border-radius","",c.borderRadiusM),backgroundColor:r.extend("--ft-combobox-single-select-background-color","",c.colorWhite),labelColor:r.extend("--ft-combobox-single-select-label-color","",d.contentGlobalSubtle),contentValueColor:r.extend("--ft-combobox-single-select-content-value-color","",d.contentGlobalPrimary),trailingIconColor:r.extend("--ft-combobox-single-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-single-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-single-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-combobox-single-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-single-select-error-helper-text-color","",d.contentErrorPrimary),warningBorderWidth:r.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-single-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-single-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-single-select-warning-helper-icon-color","",d.contentWarningIconOnly),focusOutlineWidth:r.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-single-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-single-select-disabled-component-opacity","",c.opacity40)}});var ag,pc=f(()=>{z();G();q();ag={backgroundColor:r.extend("--ft-combobox-multi-select-background-color","",c.colorWhite),labelColor:r.extend("--ft-combobox-multi-select-label-color","",d.contentGlobalSubtle),trailingIconColor:r.extend("--ft-combobox-multi-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-multi-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-multi-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ft-combobox-multi-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-multi-select-error-helper-text-color","",d.contentErrorPrimary),errorHelperIcon:r.extend("--ft-combobox-multi-select-error-helper-icon","",d.contentErrorIconOnly),errorBorderWidth:r.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-multi-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-multi-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-multi-select-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:r.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-multi-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-multi-select-disabled-component-opacity","",c.opacity40),helperHorizontalPadding:r.extend("--ft-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:r.extend("--ft-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:r.extend("--ft-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:r.extend("--ft-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:r.extend("--ft-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:r.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:r.extend("--ft-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:r.extend("--ft-combobox-multi-select-border-radius","",c.borderRadiusM)}});var dg,fc=f(()=>{z();G();q();dg={backgroundColor:r.extend("--ft-popover-background-color","",d.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ft-popover-horizontal-padding","",c.spacing6),verticalPadding:r.extend("--ft-popover-vertical-padding","",c.spacing6),titleColor:r.extend("--ft-popover-title-color","",d.contentGlobalPrimary),bodyColor:r.extend("--ft-popover-body-color","",d.contentGlobalSecondary),linkColor:r.extend("--ft-popover-link-color","",d.contentActionPrimary),gap:r.extend("--ft-popover-gap","",c.spacing3),borderRadius:r.extend("--ft-popover-border-radius","",c.borderRadiusM),shadow:r.extend("--ft-popover-shadow","",c.shadowElevation02),maxWidth:r.create("--ft-popover-max-width","","SIZE","440px")}});var yg,hc=f(()=>{z();G();q();yg={hoverStateLayerOpacity:r.extend("--ft-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:r.extend("--ft-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:r.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ft-collapsible-focus-focus-ring-color","",d.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ft-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:r.extend("--ft-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:r.extend("--ft-collapsible-horizontal-padding","",c.spacing4),verticalPadding:r.extend("--ft-collapsible-vertical-padding","",c.spacing3),color:r.extend("--ft-collapsible-color","",d.contentGlobalPrimary),stateLayerColor:r.extend("--ft-collapsible-state-layer-color","",d.contentGlobalPrimary),backgroundColor:r.extend("--ft-collapsible-background-color","",d.backgroundGlobalOnSurface),borderColor:r.extend("--ft-collapsible-border-color","",d.borderGlobalSubtle),iconSize:r.extend("--ft-collapsible-icon-size","",c.iconSize3)}});var vg,yc=f(()=>{z();G();q();vg={groupHorizontalPadding:r.extend("--ft-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:r.extend("--ft-switch-group-vertical-padding","",c.spacing1),groupGap:r.extend("--ft-switch-group-gap","",c.spacing1),groupBackgroundColor:r.extend("--ft-switch-group-background-color","",d.backgroundGlobalSurface),groupBorderColor:r.extend("--ft-switch-group-border-color","",d.borderGlobalSubtle),groupBorderRadius:r.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ft-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:r.extend("--ft-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:r.extend("--ft-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:r.extend("--ft-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:r.extend("--ft-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:r.extend("--ft-switch-off-disabled-component-opacity","",c.opacity40),offColor:r.extend("--ft-switch-off-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-switch-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:r.extend("--ft-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:r.extend("--ft-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:r.extend("--ft-switch-on-disabled-component-opacity","",c.opacity40),onColor:r.extend("--ft-switch-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-switch-on-state-layer-color","",d.contentActionPrimary),iconHorizontalPadding:r.extend("--ft-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:r.extend("--ft-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:r.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-switch-focus-focus-ring-color","",d.borderActionFocusRing),optionBorderRadius:r.extend("--ft-switch-option-border-radius","",c.borderRadiusS)}});var Eg,mc=f(()=>{z();G();Eg={color1Light:r.extend("--ft-chart-1-light","for area color charts",c.colorBrand40),color1Base:r.extend("--ft-chart-1-base","for line charts",c.colorBrand0),color2Light:r.extend("--ft-chart-2-light","for area color charts",c.colorYellow60),color2Base:r.extend("--ft-chart-2-base","for line charts",c.colorYellow100),color3Light:r.extend("--ft-chart-3-light","",c.colorUltramarine40),color3Base:r.extend("--ft-chart-3-base","",c.colorUltramarine70),color4Light:r.extend("--ft-chart-4-light","",c.colorCyan50),color4Base:r.extend("--ft-chart-4-base","",c.colorCyan100),color5Light:r.extend("--ft-chart-5-light","",c.colorRed40),color5Base:r.extend("--ft-chart-5-base","",c.colorRed60),color6Light:r.extend("--ft-chart-6-light","",c.colorGreen40),color6Base:r.extend("--ft-chart-6-base","",c.colorGreen70),color7Light:r.extend("--ft-chart-7-light","",c.colorOrange70),color7Base:r.extend("--ft-chart-7-base","",c.colorOrange100),color8Light:r.extend("--ft-chart-8-light","",c.colorAvocado70),color8Base:r.extend("--ft-chart-8-base","",c.colorAvocado200),color9Light:r.extend("--ft-chart-9-light","",c.colorBrown50),color9Base:r.extend("--ft-chart-9-base","",c.colorBrown200),color10Light:r.extend("--ft-chart-10-light","",c.colorGray50),color10Base:r.extend("--ft-chart-10-base","",c.colorGray80),monochrome10:r.extend("--ft-chart-monochrome-10","",c.colorBrand10),monochrome20:r.extend("--ft-chart-monochrome-20","",c.colorBrand20),monochrome30:r.extend("--ft-chart-monochrome-30","",c.colorBrand40),monochrome40:r.extend("--ft-chart-monochrome-40","",c.colorBrand60),monochrome50:r.extend("--ft-chart-monochrome-50","",c.colorBrand0),monochrome60:r.extend("--ft-chart-monochrome-60","",c.colorBrand200)}});var Ng,gc=f(()=>{z();G();Ng={color1IconColor:r.extend("--ft-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:r.extend("--ft-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:r.extend("--ft-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:r.extend("--ft-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:r.extend("--ft-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:r.extend("--ft-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:r.extend("--ft-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:r.extend("--ft-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:r.extend("--ft-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:r.extend("--ft-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:r.extend("--ft-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:r.extend("--ft-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:r.extend("--ft-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:r.extend("--ft-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:r.extend("--ft-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:r.extend("--ft-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)}});var _g,bc=f(()=>{z();G();q();_g={borderWidth:r.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-notice-horizontal-padding","",c.spacing3),verticalPadding:r.extend("--ft-notice-vertical-padding","",c.spacing2),borderRadius:r.extend("--ft-notice-border-radius","",c.borderRadiusS),gap:r.extend("--ft-notice-gap","",c.spacing2),iconSize:r.extend("--ft-notice-icon-size","",c.iconSize3),infoBackgroundColor:r.extend("--ft-notice-info-background-color","",d.backgroundInfoSubtle),infoBorderColor:r.extend("--ft-notice-info-border-color","",d.borderInfoSubtle),infoColor:r.extend("--ft-notice-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-notice-info-icon-color","",d.contentInfoIconOnly),warningBackgroundColor:r.extend("--ft-notice-warning-background-color","",d.backgroundWarningSubtle),warningBorderColor:r.extend("--ft-notice-warning-border-color","",d.borderWarningSubtle),warningColor:r.extend("--ft-notice-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ft-notice-warning-icon-color","",d.contentWarningIconOnly),errorBackgroundColor:r.extend("--ft-notice-error-background-color","",d.backgroundErrorSubtle),errorBorderColor:r.extend("--ft-notice-error-border-color","",d.borderErrorSubtle),errorColor:r.extend("--ft-notice-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ft-notice-error-icon-color","",d.contentErrorIconOnly),successBackgroundColor:r.extend("--ft-notice-success-background-color","",d.backgroundSuccessSubtle),successBorderColor:r.extend("--ft-notice-success-border-color","",d.borderSuccessSubtle),successColor:r.extend("--ft-notice-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ft-notice-success-icon-color","",d.contentSuccessIconOnly)}});var Mg,xc=f(()=>{z();G();q();Mg={color:r.extend("--ft-checkbox-color","",d.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ft-checkbox-checked-background-color","",d.contentActionPrimary),checkedStateLayerColor:r.extend("--ft-checkbox-checked-state-layer-color","",d.contentActionPrimary),checkedIconColor:r.extend("--ft-checkbox-checked-icon-color","",d.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ft-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:r.extend("--ft-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:r.extend("--ft-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:r.extend("--ft-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:r.extend("--ft-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:r.extend("--ft-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ft-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ft-checkbox-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-checkbox-gap","",c.spacing3)}});var zg,vc=f(()=>{z();G();q();zg={offHoverStateLayerOpacity:r.extend("--ft-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:r.extend("--ft-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:r.extend("--ft-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:r.extend("--ft-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:r.extend("--ft-toggle-off-background-color","",d.contentGlobalSubtle),offIconColor:r.extend("--ft-toggle-off-icon-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-toggle-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:r.extend("--ft-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:r.extend("--ft-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:r.extend("--ft-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:r.extend("--ft-toggle-on-background-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-toggle-on-state-layer-color","",d.contentActionPrimary),onIconColor:r.extend("--ft-toggle-on-icon-color","",d.contentActionPrimary),color:r.extend("--ft-toggle-color","",d.contentGlobalPrimary),focusFocusRingColor:r.extend("--ft-toggle-focus-focus-ring-color","",d.borderActionFocusRing),gap:r.extend("--ft-toggle-gap","",c.spacing3)}});var Zg,Sc=f(()=>{z();G();q();Zg={color:r.extend("--ft-radio-color","",d.contentGlobalPrimary),selectedRadioColor:r.extend("--ft-radio-selected-radio-color","",d.contentActionPrimary),selectedStateLayerColor:r.extend("--ft-radio-selected-state-layer-color","",d.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ft-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:r.extend("--ft-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:r.extend("--ft-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:r.extend("--ft-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:r.extend("--ft-radio-unselected-state-layer-color","",d.borderInputPrimary),unselectedBorderColor:r.extend("--ft-radio-unselected-border-color","",d.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ft-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ft-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ft-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:r.extend("--ft-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ft-radio-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-radio-gap","",c.spacing3)}});var Jg,Oc=f(()=>{z();G();q();Jg={iconSize:r.extend("--ft-notification-icon-size","",c.iconSize4),leftPadding:r.extend("--ft-notification-left-padding","",c.spacing5),rightPadding:r.extend("--ft-notification-right-padding","",c.spacing4),verticalPadding:r.extend("--ft-notification-vertical-padding","",c.spacing3),infoBackgroundColor:r.extend("--ft-notification-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ft-notification-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-notification-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ft-notification-info-border-color","",d.borderInfoSubtle),successBackgroundColor:r.extend("--ft-notification-success-background-color","",d.backgroundSuccessSubtle),successColor:r.extend("--ft-notification-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ft-notification-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:r.extend("--ft-notification-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-notification-warning-background-color","",d.backgroundWarningSubtle),warningColor:r.extend("--ft-notification-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ft-notification-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:r.extend("--ft-notification-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-notification-error-background-color","",d.backgroundErrorSubtle),errorColor:r.extend("--ft-notification-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ft-notification-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:r.extend("--ft-notification-error-border-color","",d.borderErrorSubtle),borderRadius:r.extend("--ft-notification-border-radius","",c.borderRadiusPill),borderWidth:r.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ft-notification-leading-gap","",c.spacing2),trailingGap:r.extend("--ft-notification-trailing-gap","",c.spacing8)}});var nb,Cc=f(()=>{z();G();q();nb={horizontalPadding:r.extend("--ft-tooltip-horizontal-padding","",c.spacing2),verticalPadding:r.extend("--ft-tooltip-vertical-padding","",c.spacing2),borderRadius:r.extend("--ft-tooltip-border-radius","",c.borderRadiusS),color:r.extend("--ft-tooltip-color","",d.contentGlobalOnColor),backgroundColor:r.extend("--ft-tooltip-background-color","",d.contentGlobalPrimary),backgroundOpacity:r.extend("--ft-tooltip-background-opacity","",c.opacity80),shadow:r.extend("--ft-tooltip-shadow","",c.shadowElevation02),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ft-tooltip-gap","",c.spacing05)}});var Ec=f(()=>{G();q();Xs();Qs();Js();ec();tc();rc();oc();nc();ac();ic();sc();cc();lc();dc();uc();pc();fc();hc();yc();mc();gc();bc();xc();vc();Sc();Oc();Cc()});var vo,nr,wc=f(()=>{(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(vo||(vo={}));(function(t){t.large="large",t.medium="medium",t.small="small"})(nr||(nr={}))});var j=f(()=>{z();Ec();wc()});function Ac(t){let e=xo[t];return So.css`
|
|
113
|
+
`});var Q=Wt((Py,ws)=>{ws.exports=ftGlobals.litDecorators});var nt,gt,r,z=f(()=>{nt=b(D(),1),gt=t=>typeof t=="string"?(0,nt.unsafeCSS)(t):t,r=class{static create(e,o,n,a){let i=l=>gt(l??a),s=nt.css`var(${gt(e)}, ${i(a)})`;return s.name=e,s.description=o,s.category=n,s.defaultValue=a,s.defaultCssValue=i,s.get=l=>nt.css`var(${gt(e)}, ${i(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>a,s}static extend(e,o,n,a){let i=l=>n.get(l??a),s=nt.css`var(${gt(e)}, ${i(a)})`;return s.name=e,s.description=o,s.category=n.category,s.fallbackVariable=n,s.defaultValue=a,s.defaultCssValue=i,s.get=l=>nt.css`var(${gt(e)}, ${i(l)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),s}static external(e,o){let n=i=>e.fallbackVariable?e.fallbackVariable.get(i??e.defaultValue):gt(i??e.lastResortDefaultValue()),a=nt.css`var(${gt(e.name)}, ${n(e.defaultValue)})`;return a.name=e.name,a.category=e.category,a.fallbackVariable=e.fallbackVariable,a.defaultValue=e.defaultValue,a.context=o,a.defaultCssValue=n,a.get=i=>nt.css`var(${gt(e.name)}, ${n(i)})`,a.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>e.lastResortDefaultValue(),a}}});var c,As,Rs,Ns,Is,Ls,Ps,Ts,_s,ks,Zf,Ds,Bs,Ms,$s,Us,Fs,Ws,Hs,zs,Gs,js,Vs,Ks,Zs,qs,Ys,xo,G=f(()=>{z();c={colorWhite:r.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:r.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:r.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:r.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:r.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:r.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:r.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:r.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:r.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:r.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:r.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:r.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:r.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:r.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:r.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:r.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:r.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:r.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:r.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:r.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:r.create("--ft-opacity-0","","NUMBER","0"),opacity8:r.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:r.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:r.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:r.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:r.create("--ft-opacity-48","","NUMBER","0.48"),opacity80:r.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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)")},As={fontFamily:r.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:r.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-display-textCase","","UNKNOWN","none")},Rs={fontFamily:r.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:r.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Ns={fontFamily:r.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:r.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Is={fontFamily:r.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:r.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Ls={fontFamily:r.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Ps={fontFamily:r.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Ts={fontFamily:r.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},_s={fontFamily:r.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},ks={fontFamily:r.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Zf={fontFamily:r.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:r.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:r.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Ds={fontFamily:r.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Bs={fontFamily:r.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Ms={fontFamily:r.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},$s={fontFamily:r.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Us={fontFamily:r.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Fs={fontFamily:r.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Ws={fontFamily:r.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Hs={fontFamily:r.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},zs={fontFamily:r.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Gs={fontFamily:r.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},js={fontFamily:r.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Vs={fontFamily:r.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Ks={fontFamily:r.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Zs={fontFamily:r.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},qs={fontFamily:r.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Ys={fontFamily:r.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},xo={display:As,"title-1":Rs,"title-2":Ns,"title-3":Is,"body-1-regular":Ls,"body-1-medium":Ps,"body-1-semibold":Ts,"body-2-regular":_s,"body-2-medium":ks,"body-2-medium-underline":Zf,"body-2-semibold":Ds,"label-1-medium":Bs,"label-1-semibold":Ms,"label-1-bold":$s,"label-2-medium":Us,"label-2-semibold":Fs,"label-2-bold":Ws,"caption-1-medium":Hs,"caption-1-semibold":zs,"caption-1-bold":Gs,"caption-2-medium":js,"caption-2-semibold":Vs,"caption-2-bold":Ks,"caption-3-medium":Zs,"caption-3-semibold":qs,"caption-3-bold":Ys}});var d,K=f(()=>{z();G();d={backgroundActionPrimary:r.extend("--ft-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:r.extend("--ft-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:r.extend("--ft-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:r.extend("--ft-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:r.extend("--ft-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:r.extend("--ft-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:r.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:r.extend("--ft-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:r.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:r.extend("--ft-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:r.extend("--ft-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:r.extend("--ft-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:r.extend("--ft-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:r.extend("--ft-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:r.extend("--ft-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:r.extend("--ft-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:r.extend("--ft-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:r.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
114
|
+
Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:r.extend("--ft-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:r.extend("--ft-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:r.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:r.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:r.extend("--ft-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:r.extend("--ft-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:r.extend("--ft-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:r.extend("--ft-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:r.extend("--ft-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:r.extend("--ft-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:r.extend("--ft-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:r.extend("--ft-border-global-primary","Used as border for element like input.",c.colorGray50),borderGlobalSubtle:r.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",c.colorGray30),borderInputPrimary:r.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:r.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)}});var h,Qs=f(()=>{z();G();K();h={largeHeight:r.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ft-button-large-horizontal-padding","",c.spacing4),largeGap:r.extend("--ft-button-large-gap","",c.spacing2),largeBorderRadius:r.extend("--ft-button-large-border-radius","",c.borderRadiusS),largeIconSize:r.extend("--ft-button-large-icon-size","",c.iconSize3),largeBorderWidth:r.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:r.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:r.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:r.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:r.extend("--ft-button-medium-horizontal-padding","",c.spacing3),mediumGap:r.extend("--ft-button-medium-gap","",c.spacing2),mediumBorderRadius:r.extend("--ft-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:r.extend("--ft-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:r.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:r.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:r.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:r.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-button-small-horizontal-padding","",c.spacing2),smallGap:r.extend("--ft-button-small-gap","",c.spacing1),smallBorderRadius:r.extend("--ft-button-small-border-radius","",c.borderRadiusS),smallIconSize:r.extend("--ft-button-small-icon-size","",c.iconSize1),smallBorderWidth:r.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:r.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:r.extend("--ft-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:r.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:r.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:r.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:r.extend("--ft-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:r.extend("--ft-button-primary-brand-background-color","",d.backgroundActionPrimary),primaryBrandColor:r.extend("--ft-button-primary-brand-color","",d.contentGlobalOnColor),primaryBrandIconColor:r.extend("--ft-button-primary-brand-icon-color","",d.contentGlobalOnColor),primaryBrandStateLayerColor:r.extend("--ft-button-primary-brand-state-layer-color","",d.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:r.extend("--ft-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:r.extend("--ft-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:r.extend("--ft-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:r.extend("--ft-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ft-button-focus-focus-ring-color","",d.borderActionFocusRing),tertiaryBrandBackgroundColor:r.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:r.extend("--ft-button-tertiary-brand-color","",d.contentActionPrimary),tertiaryBrandIconColor:r.extend("--ft-button-tertiary-brand-icon-color","",d.contentActionPrimary),tertiaryBrandStateLayerColor:r.extend("--ft-button-tertiary-brand-state-layer-color","",d.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:r.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:r.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:r.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:r.extend("--ft-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:r.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:r.extend("--ft-button-tertiary-info-color","",d.contentInfoPrimary),tertiaryInfoIconColor:r.extend("--ft-button-tertiary-info-icon-color","",d.contentInfoPrimary),tertiaryInfoStateLayerColor:r.extend("--ft-button-tertiary-info-state-layer-color","",d.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:r.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:r.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:r.extend("--ft-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:r.extend("--ft-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:r.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:r.extend("--ft-button-tertiary-success-color","",d.contentSuccessPrimary),tertiarySuccessIconColor:r.extend("--ft-button-tertiary-success-icon-color","",d.contentSuccessPrimary),tertiarySuccessStateLayerColor:r.extend("--ft-button-tertiary-success-state-layer-color","",d.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:r.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:r.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:r.extend("--ft-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:r.extend("--ft-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:r.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:r.extend("--ft-button-tertiary-warning-color","",d.contentWarningPrimary),tertiaryWarningIconColor:r.extend("--ft-button-tertiary-warning-icon-color","",d.contentWarningPrimary),tertiaryWarningStateLayerColor:r.extend("--ft-button-tertiary-warning-state-layer-color","",d.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:r.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:r.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:r.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:r.extend("--ft-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:r.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:r.extend("--ft-button-tertiary-error-color","",d.contentErrorPrimary),tertiaryErrorIconColor:r.extend("--ft-button-tertiary-error-icon-color","",d.contentErrorPrimary),tertiaryErrorStateLayerColor:r.extend("--ft-button-tertiary-error-state-layer-color","",d.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:r.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:r.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:r.extend("--ft-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:r.extend("--ft-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:r.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:r.extend("--ft-button-tertiary-neutral-icon-color","",d.contentGlobalSecondary),tertiaryNeutralColor:r.extend("--ft-button-tertiary-neutral-color","",d.contentGlobalSecondary),tertiaryNeutralStateLayerColor:r.extend("--ft-button-tertiary-neutral-state-layer-color","",d.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:r.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:r.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:r.extend("--ft-button-secondary-brand-color","",d.contentActionPrimary),secondaryBrandIconColor:r.extend("--ft-button-secondary-brand-icon-color","",d.contentActionPrimary),secondaryBrandStateLayerColor:r.extend("--ft-button-secondary-brand-state-layer-color","",d.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:r.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:r.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:r.extend("--ft-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:r.extend("--ft-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:r.extend("--ft-button-secondary-brand-border-color","",d.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:r.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:r.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:r.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:r.extend("--ft-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:r.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:r.extend("--ft-button-secondary-neutral-color","",d.contentGlobalSecondary),secondaryNeutralIconColor:r.extend("--ft-button-secondary-neutral-icon-color","",d.contentGlobalSecondary),secondaryNeutralStateLayerColor:r.extend("--ft-button-secondary-neutral-state-layer-color","",d.contentGlobalSecondary),secondaryNeutralBorderColor:r.extend("--ft-button-secondary-neutral-border-color","",d.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:r.extend("--ft-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:r.extend("--ft-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:r.extend("--ft-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:r.extend("--ft-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:r.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:r.extend("--ft-button-secondary-info-border-color","",d.borderInfoPrimary),secondaryInfoColor:r.extend("--ft-button-secondary-info-color","",d.contentInfoPrimary),secondaryInfoIconColor:r.extend("--ft-button-secondary-info-icon-color","",d.contentInfoPrimary),secondaryInfoStateLayerColor:r.extend("--ft-button-secondary-info-state-layer-color","",d.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:r.extend("--ft-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:r.extend("--ft-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:r.extend("--ft-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:r.extend("--ft-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:r.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:r.extend("--ft-button-secondary-success-border-color","",d.borderSuccessPrimary),secondarySuccessColor:r.extend("--ft-button-secondary-success-color","",d.contentSuccessPrimary),secondarySuccessIconColor:r.extend("--ft-button-secondary-success-icon-color","",d.contentSuccessPrimary),secondarySuccessStateLayerColor:r.extend("--ft-button-secondary-success-state-layer-color","",d.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:r.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:r.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:r.extend("--ft-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:r.extend("--ft-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:r.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:r.extend("--ft-button-secondary-warning-border-color","",d.borderWarningPrimary),secondaryWarningColor:r.extend("--ft-button-secondary-warning-color","",d.contentWarningPrimary),secondaryWarningIconColor:r.extend("--ft-button-secondary-warning-icon-color","",d.contentWarningPrimary),secondaryWarningStateLayerColor:r.extend("--ft-button-secondary-warning-state-layer-color","",d.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:r.extend("--ft-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:r.extend("--ft-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:r.extend("--ft-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:r.extend("--ft-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:r.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:r.extend("--ft-button-secondary-error-border-color","",d.contentErrorPrimary),secondaryErrorColor:r.extend("--ft-button-secondary-error-color","",d.contentErrorPrimary),secondaryErrorIconColor:r.extend("--ft-button-secondary-error-icon-color","",d.contentErrorPrimary),secondaryErrorStateLayerColor:r.extend("--ft-button-secondary-error-state-layer-color","",d.contentErrorPrimary)}});var jy,Xs=f(()=>{z();G();K();jy={neutralOffHoverStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:r.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",d.borderActionFocusRing),neutralOffActiveStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:r.extend("--ft-chip-choice-neutral-off-background-color","",d.backgroundGlobalOnSurface),neutralOffBorderColor:r.extend("--ft-chip-choice-neutral-off-border-color","",d.borderGlobalPrimary),neutralOffColor:r.extend("--ft-chip-choice-neutral-off-color","",d.contentGlobalSecondary),neutralOffStateLayerColor:r.extend("--ft-chip-choice-neutral-off-state-layer-color","",d.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:r.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",d.borderActionFocusRing),neutralOnActiveStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:r.extend("--ft-chip-choice-neutral-on-background-color","",d.backgroundGlobalOnSurface),neutralOnBorderColor:r.extend("--ft-chip-choice-neutral-on-border-color","",d.borderGlobalPrimary),neutralOnColor:r.extend("--ft-chip-choice-neutral-on-color","",d.contentGlobalPrimary),neutralOnIconColor:r.extend("--ft-chip-choice-neutral-on-icon-color","",d.contentGlobalPrimary),neutralOnStateLayerColor:r.extend("--ft-chip-choice-neutral-on-state-layer-color","",d.contentGlobalPrimary),largeMinHeight:r.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:r.extend("--ft-chip-choice-large-gap","",c.spacing1),largeBorderRadius:r.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:r.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:r.extend("--ft-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:r.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-choice-medium-icon-size","",c.iconSize2)}});var Yy,Js=f(()=>{z();G();K();Yy={largeMinHeight:r.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:r.extend("--ft-chip-large-button-right-padding","",c.spacing1),largeGap:r.extend("--ft-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:r.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-large-icon-size","",c.iconSize3),mediumMinHeight:r.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:r.extend("--ft-chip-medium-button-right-padding","",c.spacing05),mediumGap:r.extend("--ft-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:r.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-medium-icon-size","",c.iconSize2),smallMinHeight:r.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:r.extend("--ft-chip-small-button-right-padding","",c.spacing05),smallGap:r.extend("--ft-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:r.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:r.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ft-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:r.extend("--ft-chip-neutral-background-color","",d.backgroundGlobalOnSurface),neutralColor:r.extend("--ft-chip-neutral-color","",d.contentGlobalSecondary),neutralIconColor:r.extend("--ft-chip-neutral-icon-color","",d.contentGlobalSecondary),neutralBorderColor:r.extend("--ft-chip-neutral-border-color","",d.borderGlobalSubtle),infoBackgroundColor:r.extend("--ft-chip-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ft-chip-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-chip-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ft-chip-info-border-color","",d.borderInfoSubtle),successBackgroundColor:r.extend("--ft-chip-success-background-color","",d.backgroundSuccessSubtle),successColor:r.extend("--ft-chip-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ft-chip-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:r.extend("--ft-chip-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-chip-warning-background-color","",d.backgroundWarningSubtle),warningColor:r.extend("--ft-chip-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ft-chip-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:r.extend("--ft-chip-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-chip-error-background-color","",d.backgroundErrorSubtle),errorColor:r.extend("--ft-chip-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ft-chip-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:r.extend("--ft-chip-error-border-color","",d.borderErrorSubtle)}});var tm,ec=f(()=>{z();G();K();tm={brandHoverOpacity:r.extend("--ft-link-brand-hover-opacity","",c.opacity80),brandHoverColor:r.extend("--ft-link-brand-hover-color","",d.contentActionPrimary),brandFocusFocusRingColor:r.extend("--ft-link-brand-focus-focus-ring-color","",d.borderActionFocusRing),brandFocusColor:r.extend("--ft-link-brand-focus-color","",d.contentActionPrimary),brandDefaultColor:r.extend("--ft-link-brand-default-color","",d.contentActionPrimary),brandActiveColor:r.extend("--ft-link-brand-active-color","",d.contentActionPrimary),infoHoverOpacity:r.extend("--ft-link-info-hover-opacity","",c.opacity80),infoHoverColor:r.extend("--ft-link-info-hover-color","",d.contentInfoPrimary),infoFocusFocusRingColor:r.extend("--ft-link-info-focus-focus-ring-color","",d.borderActionFocusRing),infoFocusColor:r.extend("--ft-link-info-focus-color","",d.contentInfoPrimary),infoDefaultColor:r.extend("--ft-link-info-default-color","",d.contentInfoPrimary),infoActiveColor:r.extend("--ft-link-info-active-color","",d.contentInfoPrimary),neutralFocusFocusRingColor:r.extend("--ft-link-neutral-focus-focus-ring-color","",d.borderActionFocusRing),neutralFocusColor:r.extend("--ft-link-neutral-focus-color","",d.contentActionPrimary),neutralDefaultColor:r.extend("--ft-link-neutral-default-color","",d.contentGlobalPrimary),neutralHoverColor:r.extend("--ft-link-neutral-hover-color","",d.contentActionPrimary),neutralActiveColor:r.extend("--ft-link-neutral-active-color","",d.contentActionPrimary),neutralVisitedColor:r.extend("--ft-link-neutral-visited-color","",c.colorBrand100)}});var im,tc=f(()=>{z();G();K();im={iconSize:r.extend("--ft-banner-icon-size","",c.iconSize5),borderWidth:r.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ft-banner-left-padding","",c.spacing6),rightPadding:r.extend("--ft-banner-right-padding","",c.spacing6),verticalPadding:r.extend("--ft-banner-vertical-padding","",c.spacing6),horizontalSideGap:r.extend("--ft-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:r.extend("--ft-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:r.extend("--ft-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:r.extend("--ft-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:r.extend("--ft-banner-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ft-banner-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-banner-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ft-banner-info-border-color","",d.borderInfoSubtle)}});var um,rc=f(()=>{z();G();K();um={horizontalPadding:r.extend("--ft-badge-horizontal-padding","",c.spacing1),verticalPadding:r.extend("--ft-badge-vertical-padding","",c.spacing1),borderRadius:r.extend("--ft-badge-border-radius","",c.borderRadiusPill),color:r.extend("--ft-badge-color","",d.contentGlobalOnColor),backgroundColor:r.extend("--ft-badge-background-color","",d.contentActionPrimary)}});var mm,oc=f(()=>{z();G();K();mm={horizontalGap:r.extend("--ft-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:r.extend("--ft-title-breadcrumb-current-color","",d.contentGlobalPrimary),previousNonClickableColor:r.extend("--ft-title-breadcrumb-previous-non-clickable-color","",d.contentGlobalSecondary),iconColor:r.extend("--ft-title-breadcrumb-icon-color","",d.contentGlobalSubtle)}});var Sm,nc=f(()=>{z();G();K();Sm={parentHorizontalPadding:r.extend("--ft-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:r.extend("--ft-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:r.extend("--ft-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:r.extend("--ft-page-header-parent-help-left-margin","",c.spacing1),parentTitleColor:r.extend("--ft-page-header-parent-title-color","",d.contentGlobalPrimary),parentSubtitleColor:r.extend("--ft-page-header-parent-subtitle-color","",d.contentGlobalSecondary),parentChipLeftMargin:r.extend("--ft-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:r.extend("--ft-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:r.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:r.extend("--ft-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:r.extend("--ft-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:r.extend("--ft-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:r.extend("--ft-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:r.extend("--ft-page-header-child-top-padding","",c.spacing2),childBottomPadding:r.extend("--ft-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:r.extend("--ft-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:r.extend("--ft-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:r.extend("--ft-page-header-child-vertical-gap","",c.spacing2),childMinHeight:r.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:r.extend("--ft-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:r.extend("--ft-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:r.extend("--ft-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:r.extend("--ft-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:r.extend("--ft-page-header-background-color","",c.colorWhite),bottomBorderColor:r.extend("--ft-page-header-bottom-border-color","",d.borderGlobalSubtle),bottomBorderWidth:r.create("--ft-page-header-bottom-border-width","","SIZE","1px")}});var Am,ac=f(()=>{z();G();K();Am={horizontalPadding:r.extend("--ft-page-footer-horizontal-padding","",c.spacing6),verticalPadding:r.extend("--ft-page-footer-vertical-padding","",c.spacing2),verticalGap:r.extend("--ft-page-footer-vertical-gap","",c.spacing2),minHeight:r.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:r.extend("--ft-page-footer-background-color","",c.colorWhite),topBorderColor:r.extend("--ft-page-footer-top-border-color","",d.borderGlobalSubtle),topBorderWidth:r.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:r.extend("--ft-page-footer-buttons-group-gap","",c.spacing4)}});var Lm,ic=f(()=>{z();G();Lm={contentHorizontalPadding:r.extend("--ft-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:r.extend("--ft-page-layout-content-vertical-padding","",c.spacing6)}});var Dm,sc=f(()=>{z();G();K();Dm={smallContainerTargetWidth:r.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:r.extend("--ft-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:r.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:r.extend("--ft-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:r.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:r.extend("--ft-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:r.extend("--ft-modal-overlay-background-color","",c.colorGray700),overlayOpacity:r.extend("--ft-modal-overlay-opacity","",c.opacity40),shadow:r.extend("--ft-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:r.extend("--ft-modal-body-background-color","",c.colorWhite),bodyColor:r.extend("--ft-modal-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:r.extend("--ft-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:r.extend("--ft-modal-body-vertical-gap","",c.spacing6),headerBackgroundColor:r.extend("--ft-modal-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-modal-header-border-color","",d.borderGlobalSubtle),headerColor:r.extend("--ft-modal-header-color","",d.contentGlobalPrimary),headerLeadingIconColor:r.extend("--ft-modal-header-leading-icon-color","",d.contentGlobalPrimary),headerVerticalPadding:r.extend("--ft-modal-header-vertical-padding","",c.spacing1),headerRightPadding:r.extend("--ft-modal-header-right-padding","",c.spacing1),headerLeftPadding:r.extend("--ft-modal-header-left-padding","",c.spacing6),headerGap:r.extend("--ft-modal-header-gap","",c.spacing2),headerBorderBottomWidth:r.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:r.extend("--ft-modal-border-radius","",c.borderRadiusM)}});var Fm,cc=f(()=>{z();G();K();Fm={overlayOpacity:r.extend("--ft-drawer-overlay-opacity","",c.opacity40),shadow:r.extend("--ft-drawer-shadow","",c.shadowElevation03),bodyColor:r.extend("--ft-drawer-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:r.extend("--ft-drawer-body-vertical-padding","",c.spacing6),bodyGap:r.extend("--ft-drawer-body-gap","",c.spacing6),bodyBackgroundColor:r.extend("--ft-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:r.extend("--ft-drawer-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-drawer-header-border-color","",d.borderGlobalSubtle),headerColor:r.extend("--ft-drawer-header-color","",d.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-drawer-header-trailing-icon-color","",d.contentGlobalSecondary),headerHeight:r.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ft-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:r.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ft-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:r.extend("--ft-drawer-buttons-bar-background-color","",d.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ft-drawer-buttons-bar-border-color","",d.borderGlobalSubtle),buttonsBarColor:r.extend("--ft-drawer-buttons-bar-color","",d.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ft-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:r.extend("--ft-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:r.extend("--ft-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:r.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:r.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:r.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:r.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:r.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:r.extend("--ft-drawer-overlay-background-color","",c.colorGray700)}});var jm,lc=f(()=>{z();G();K();jm={offBorderBottomWidth:r.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:r.extend("--ft-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:r.extend("--ft-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:r.extend("--ft-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:r.extend("--ft-tabs-off-disabled-component-opacity","",c.opacity40),offColor:r.extend("--ft-tabs-off-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-tabs-off-state-layer-color","",d.contentGlobalSubtle),offBorderBottomColor:r.extend("--ft-tabs-off-border-bottom-color","",d.borderGlobalSubtle),activeTabIndicatorHeight:r.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:r.extend("--ft-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:r.extend("--ft-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:r.extend("--ft-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:r.extend("--ft-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:r.extend("--ft-tabs-horizontal-gap","",c.spacing1),verticalGap:r.extend("--ft-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:r.extend("--ft-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:r.extend("--ft-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:r.extend("--ft-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:r.extend("--ft-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:r.extend("--ft-tabs-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-tabs-on-state-layer-color","",d.contentActionPrimary),onActiveTabIndicatorColor:r.extend("--ft-tabs-on-active-tab-indicator-color","",d.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ft-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:r.extend("--ft-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:r.extend("--ft-tabs-alert-top-padding","",c.spacing1),alertRightPadding:r.extend("--ft-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:r.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-tabs-focus-focus-ring-color","",d.borderActionFocusRing)}});var Ym,dc=f(()=>{z();G();K();Ym={fieldHorizontalPadding:r.extend("--ft-text-input-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-text-input-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-text-input-field-vertical-gap","",c.spacing05),fieldIconSize:r.extend("--ft-text-input-field-icon-size","",c.iconSize3),fieldHeight:r.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:r.extend("--ft-text-input-helper-icon-size","",c.iconSize2),borderRadius:r.extend("--ft-text-input-border-radius","",c.borderRadiusM),backgroundColor:r.extend("--ft-text-input-background-color","",c.colorWhite),contentValueColor:r.extend("--ft-text-input-content-value-color","",d.contentGlobalPrimary),trailingIconColor:r.extend("--ft-text-input-trailing-icon-color","",d.contentGlobalSubtle),labelColor:r.extend("--ft-text-input-label-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-input-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-input-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-input-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-input-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-input-error-helper-icon-color","",d.contentErrorIconOnly),warningBorderWidth:r.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-text-input-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-input-disabled-component-opacity","",c.opacity40)}});var tg,uc=f(()=>{z();G();K();tg={backgroundColor:r.extend("--ft-text-area-background-color","",c.colorWhite),contentValueColor:r.extend("--ft-text-area-content-value-color","",d.contentGlobalPrimary),labelColor:r.extend("--ft-text-area-label-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-area-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-area-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-area-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-area-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-area-error-helper-icon-color","",d.contentErrorIconOnly),focusFocusRingColor:r.extend("--ft-text-area-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:r.extend("--ft-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:r.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ft-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:r.extend("--ft-text-area-helper-icon-size","",c.iconSize2),borderRadius:r.extend("--ft-text-area-border-radius","",c.borderRadiusM)}});var ig,pc=f(()=>{z();G();K();ig={height:r.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ft-floating-menu-horizontal-padding","",c.spacing4),offIconColor:r.extend("--ft-floating-menu-off-icon-color","",d.contentGlobalPrimary),offColor:r.extend("--ft-floating-menu-off-color","",d.contentGlobalPrimary),onColor:r.extend("--ft-floating-menu-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-floating-menu-on-state-layer-color","",d.contentActionPrimary),gap:r.extend("--ft-floating-menu-gap","",c.spacing3),focusFocusRingColor:r.extend("--ft-floating-menu-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ft-floating-menu-focus-state-layer-opacity","",c.opacity8),hoverStateLayerOpacity:r.extend("--ft-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:r.extend("--ft-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:r.extend("--ft-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:r.extend("--ft-floating-menu-icon-size","",c.iconSize3),backgroundColor:r.extend("--ft-floating-menu-background-color","",d.backgroundGlobalOnSurface),shadow:r.extend("--ft-floating-menu-shadow","",c.shadowElevation02)}});var ug,fc=f(()=>{z();G();K();ug={fieldHorizontalPadding:r.extend("--ft-combobox-single-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-single-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-combobox-single-select-field-vertical-gap","",c.spacing05),fieldIconSize:r.extend("--ft-combobox-single-select-field-icon-size","",c.iconSize3),fieldHeight:r.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:r.extend("--ft-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:r.extend("--ft-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:r.extend("--ft-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:r.extend("--ft-combobox-single-select-border-radius","",c.borderRadiusM),backgroundColor:r.extend("--ft-combobox-single-select-background-color","",c.colorWhite),labelColor:r.extend("--ft-combobox-single-select-label-color","",d.contentGlobalSubtle),contentValueColor:r.extend("--ft-combobox-single-select-content-value-color","",d.contentGlobalPrimary),trailingIconColor:r.extend("--ft-combobox-single-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-single-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-single-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-combobox-single-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-single-select-error-helper-text-color","",d.contentErrorPrimary),warningBorderWidth:r.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-single-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-single-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-single-select-warning-helper-icon-color","",d.contentWarningIconOnly),focusOutlineWidth:r.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-single-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-single-select-disabled-component-opacity","",c.opacity40)}});var mg,hc=f(()=>{z();G();K();mg={backgroundColor:r.extend("--ft-combobox-multi-select-background-color","",c.colorWhite),labelColor:r.extend("--ft-combobox-multi-select-label-color","",d.contentGlobalSubtle),trailingIconColor:r.extend("--ft-combobox-multi-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-multi-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-multi-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ft-combobox-multi-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-multi-select-error-helper-text-color","",d.contentErrorPrimary),errorHelperIcon:r.extend("--ft-combobox-multi-select-error-helper-icon","",d.contentErrorIconOnly),errorBorderWidth:r.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-multi-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-multi-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-multi-select-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:r.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-multi-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-multi-select-disabled-component-opacity","",c.opacity40),helperHorizontalPadding:r.extend("--ft-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:r.extend("--ft-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:r.extend("--ft-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:r.extend("--ft-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:r.extend("--ft-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:r.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:r.extend("--ft-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:r.extend("--ft-combobox-multi-select-border-radius","",c.borderRadiusM)}});var Sg,yc=f(()=>{z();G();K();Sg={backgroundColor:r.extend("--ft-popover-background-color","",d.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ft-popover-horizontal-padding","",c.spacing6),verticalPadding:r.extend("--ft-popover-vertical-padding","",c.spacing6),titleColor:r.extend("--ft-popover-title-color","",d.contentGlobalPrimary),bodyColor:r.extend("--ft-popover-body-color","",d.contentGlobalSecondary),linkColor:r.extend("--ft-popover-link-color","",d.contentActionPrimary),gap:r.extend("--ft-popover-gap","",c.spacing3),borderRadius:r.extend("--ft-popover-border-radius","",c.borderRadiusM),shadow:r.extend("--ft-popover-shadow","",c.shadowElevation02),maxWidth:r.create("--ft-popover-max-width","","SIZE","440px")}});var Ag,mc=f(()=>{z();G();K();Ag={hoverStateLayerOpacity:r.extend("--ft-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:r.extend("--ft-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:r.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ft-collapsible-focus-focus-ring-color","",d.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ft-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:r.extend("--ft-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:r.extend("--ft-collapsible-horizontal-padding","",c.spacing4),verticalPadding:r.extend("--ft-collapsible-vertical-padding","",c.spacing3),color:r.extend("--ft-collapsible-color","",d.contentGlobalPrimary),stateLayerColor:r.extend("--ft-collapsible-state-layer-color","",d.contentGlobalPrimary),backgroundColor:r.extend("--ft-collapsible-background-color","",d.backgroundGlobalOnSurface),borderColor:r.extend("--ft-collapsible-border-color","",d.borderGlobalSubtle),iconSize:r.extend("--ft-collapsible-icon-size","",c.iconSize3)}});var Pg,gc=f(()=>{z();G();K();Pg={groupHorizontalPadding:r.extend("--ft-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:r.extend("--ft-switch-group-vertical-padding","",c.spacing1),groupGap:r.extend("--ft-switch-group-gap","",c.spacing1),groupBackgroundColor:r.extend("--ft-switch-group-background-color","",d.backgroundGlobalSurface),groupBorderColor:r.extend("--ft-switch-group-border-color","",d.borderGlobalSubtle),groupBorderRadius:r.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ft-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:r.extend("--ft-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:r.extend("--ft-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:r.extend("--ft-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:r.extend("--ft-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:r.extend("--ft-switch-off-disabled-component-opacity","",c.opacity40),offColor:r.extend("--ft-switch-off-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-switch-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:r.extend("--ft-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:r.extend("--ft-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:r.extend("--ft-switch-on-disabled-component-opacity","",c.opacity40),onColor:r.extend("--ft-switch-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-switch-on-state-layer-color","",d.contentActionPrimary),iconHorizontalPadding:r.extend("--ft-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:r.extend("--ft-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:r.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-switch-focus-focus-ring-color","",d.borderActionFocusRing),optionBorderRadius:r.extend("--ft-switch-option-border-radius","",c.borderRadiusS)}});var Dg,bc=f(()=>{z();G();Dg={color1Light:r.extend("--ft-chart-1-light","for area color charts",c.colorBrand40),color1Base:r.extend("--ft-chart-1-base","for line charts",c.colorBrand0),color2Light:r.extend("--ft-chart-2-light","for area color charts",c.colorYellow60),color2Base:r.extend("--ft-chart-2-base","for line charts",c.colorYellow100),color3Light:r.extend("--ft-chart-3-light","",c.colorUltramarine40),color3Base:r.extend("--ft-chart-3-base","",c.colorUltramarine70),color4Light:r.extend("--ft-chart-4-light","",c.colorCyan50),color4Base:r.extend("--ft-chart-4-base","",c.colorCyan100),color5Light:r.extend("--ft-chart-5-light","",c.colorRed40),color5Base:r.extend("--ft-chart-5-base","",c.colorRed60),color6Light:r.extend("--ft-chart-6-light","",c.colorGreen40),color6Base:r.extend("--ft-chart-6-base","",c.colorGreen70),color7Light:r.extend("--ft-chart-7-light","",c.colorOrange70),color7Base:r.extend("--ft-chart-7-base","",c.colorOrange100),color8Light:r.extend("--ft-chart-8-light","",c.colorAvocado70),color8Base:r.extend("--ft-chart-8-base","",c.colorAvocado200),color9Light:r.extend("--ft-chart-9-light","",c.colorBrown50),color9Base:r.extend("--ft-chart-9-base","",c.colorBrown200),color10Light:r.extend("--ft-chart-10-light","",c.colorGray50),color10Base:r.extend("--ft-chart-10-base","",c.colorGray80),monochrome10:r.extend("--ft-chart-monochrome-10","",c.colorBrand10),monochrome20:r.extend("--ft-chart-monochrome-20","",c.colorBrand20),monochrome30:r.extend("--ft-chart-monochrome-30","",c.colorBrand40),monochrome40:r.extend("--ft-chart-monochrome-40","",c.colorBrand60),monochrome50:r.extend("--ft-chart-monochrome-50","",c.colorBrand0),monochrome60:r.extend("--ft-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorCyan10),scatterplotQuadrantUnpopularNewBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorRed10),scatterplotDatapointInitialDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:r.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:r.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:r.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)}});var Ug,xc=f(()=>{z();G();Ug={color1IconColor:r.extend("--ft-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:r.extend("--ft-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:r.extend("--ft-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:r.extend("--ft-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:r.extend("--ft-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:r.extend("--ft-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:r.extend("--ft-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:r.extend("--ft-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:r.extend("--ft-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:r.extend("--ft-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:r.extend("--ft-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:r.extend("--ft-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:r.extend("--ft-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:r.extend("--ft-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:r.extend("--ft-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:r.extend("--ft-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)}});var Gg,vc=f(()=>{z();G();K();Gg={borderWidth:r.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-notice-horizontal-padding","",c.spacing3),verticalPadding:r.extend("--ft-notice-vertical-padding","",c.spacing2),borderRadius:r.extend("--ft-notice-border-radius","",c.borderRadiusS),gap:r.extend("--ft-notice-gap","",c.spacing2),iconSize:r.extend("--ft-notice-icon-size","",c.iconSize3),infoBackgroundColor:r.extend("--ft-notice-info-background-color","",d.backgroundInfoSubtle),infoBorderColor:r.extend("--ft-notice-info-border-color","",d.borderInfoSubtle),infoColor:r.extend("--ft-notice-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-notice-info-icon-color","",d.contentInfoIconOnly),warningBackgroundColor:r.extend("--ft-notice-warning-background-color","",d.backgroundWarningSubtle),warningBorderColor:r.extend("--ft-notice-warning-border-color","",d.borderWarningSubtle),warningColor:r.extend("--ft-notice-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ft-notice-warning-icon-color","",d.contentWarningIconOnly),errorBackgroundColor:r.extend("--ft-notice-error-background-color","",d.backgroundErrorSubtle),errorBorderColor:r.extend("--ft-notice-error-border-color","",d.borderErrorSubtle),errorColor:r.extend("--ft-notice-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ft-notice-error-icon-color","",d.contentErrorIconOnly),successBackgroundColor:r.extend("--ft-notice-success-background-color","",d.backgroundSuccessSubtle),successBorderColor:r.extend("--ft-notice-success-border-color","",d.borderSuccessSubtle),successColor:r.extend("--ft-notice-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ft-notice-success-icon-color","",d.contentSuccessIconOnly)}});var qg,Sc=f(()=>{z();G();K();qg={color:r.extend("--ft-checkbox-color","",d.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ft-checkbox-checked-background-color","",d.contentActionPrimary),checkedStateLayerColor:r.extend("--ft-checkbox-checked-state-layer-color","",d.contentActionPrimary),checkedIconColor:r.extend("--ft-checkbox-checked-icon-color","",d.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ft-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:r.extend("--ft-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:r.extend("--ft-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:r.extend("--ft-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:r.extend("--ft-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:r.extend("--ft-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ft-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ft-checkbox-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-checkbox-gap","",c.spacing3)}});var eb,Oc=f(()=>{z();G();K();eb={offHoverStateLayerOpacity:r.extend("--ft-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:r.extend("--ft-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:r.extend("--ft-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:r.extend("--ft-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:r.extend("--ft-toggle-off-background-color","",d.contentGlobalSubtle),offIconColor:r.extend("--ft-toggle-off-icon-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-toggle-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:r.extend("--ft-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:r.extend("--ft-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:r.extend("--ft-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:r.extend("--ft-toggle-on-background-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ft-toggle-on-state-layer-color","",d.contentActionPrimary),onIconColor:r.extend("--ft-toggle-on-icon-color","",d.contentActionPrimary),color:r.extend("--ft-toggle-color","",d.contentGlobalPrimary),focusFocusRingColor:r.extend("--ft-toggle-focus-focus-ring-color","",d.borderActionFocusRing),gap:r.extend("--ft-toggle-gap","",c.spacing3)}});var ab,Cc=f(()=>{z();G();K();ab={color:r.extend("--ft-radio-color","",d.contentGlobalPrimary),selectedRadioColor:r.extend("--ft-radio-selected-radio-color","",d.contentActionPrimary),selectedStateLayerColor:r.extend("--ft-radio-selected-state-layer-color","",d.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ft-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:r.extend("--ft-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:r.extend("--ft-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:r.extend("--ft-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:r.extend("--ft-radio-unselected-state-layer-color","",d.borderInputPrimary),unselectedBorderColor:r.extend("--ft-radio-unselected-border-color","",d.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ft-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ft-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ft-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:r.extend("--ft-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ft-radio-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-radio-gap","",c.spacing3)}});var db,Ec=f(()=>{z();G();K();db={iconSize:r.extend("--ft-notification-icon-size","",c.iconSize4),leftPadding:r.extend("--ft-notification-left-padding","",c.spacing5),rightPadding:r.extend("--ft-notification-right-padding","",c.spacing4),verticalPadding:r.extend("--ft-notification-vertical-padding","",c.spacing3),infoBackgroundColor:r.extend("--ft-notification-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ft-notification-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ft-notification-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ft-notification-info-border-color","",d.borderInfoSubtle),successBackgroundColor:r.extend("--ft-notification-success-background-color","",d.backgroundSuccessSubtle),successColor:r.extend("--ft-notification-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ft-notification-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:r.extend("--ft-notification-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-notification-warning-background-color","",d.backgroundWarningSubtle),warningColor:r.extend("--ft-notification-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ft-notification-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:r.extend("--ft-notification-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-notification-error-background-color","",d.backgroundErrorSubtle),errorColor:r.extend("--ft-notification-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ft-notification-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:r.extend("--ft-notification-error-border-color","",d.borderErrorSubtle),borderRadius:r.extend("--ft-notification-border-radius","",c.borderRadiusPill),borderWidth:r.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ft-notification-leading-gap","",c.spacing2),trailingGap:r.extend("--ft-notification-trailing-gap","",c.spacing8)}});var yb,wc=f(()=>{z();G();K();yb={horizontalPadding:r.extend("--ft-tooltip-horizontal-padding","",c.spacing2),verticalPadding:r.extend("--ft-tooltip-vertical-padding","",c.spacing2),borderRadius:r.extend("--ft-tooltip-border-radius","",c.borderRadiusS),color:r.extend("--ft-tooltip-color","",d.contentGlobalOnColor),backgroundColor:r.extend("--ft-tooltip-background-color","",d.contentGlobalPrimary),backgroundOpacity:r.extend("--ft-tooltip-background-opacity","",c.opacity80),shadow:r.extend("--ft-tooltip-shadow","",c.shadowElevation02),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ft-tooltip-gap","",c.spacing05)}});var Ac=f(()=>{G();K();Qs();Xs();Js();ec();tc();rc();oc();nc();ac();ic();sc();cc();lc();dc();uc();pc();fc();hc();yc();mc();gc();bc();xc();vc();Sc();Oc();Cc();Ec();wc()});var vo,nr,Rc=f(()=>{(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(vo||(vo={}));(function(t){t.large="large",t.medium="medium",t.small="small"})(nr||(nr={}))});var j=f(()=>{z();Ac();Rc()});function Nc(t){let e=xo[t];return So.css`
|
|
115
115
|
.ft-typography--${(0,So.unsafeCSS)(t)} {
|
|
116
116
|
font-family: ${e.fontFamily};
|
|
117
117
|
font-size: ${e.fontSize};
|
|
@@ -120,7 +120,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
120
120
|
line-height: ${e.lineHeight};
|
|
121
121
|
text-transform: ${e.textCase};
|
|
122
122
|
}
|
|
123
|
-
`}var So,
|
|
123
|
+
`}var So,Ic=f(()=>{"use strict";So=b(D());j()});var Me,R,Lc,at,T,ar,ir,sr,cr,lr,dr,ur,pr,fr,Ye,Pc,Tc,_c,kc,Dc,Oo,Bc,Mc,$c,Uc,Fc,Wc,Co=f(()=>{"use strict";Me=b(D()),R=b(N());j();Ic();j();j();j();j();j();j();j();j();j();j();j();j();j();j();j();j();j();j();j();j();j();j();j();j();j();Lc=R.FtCssVariableFactory.extend("--ft-typography-font-family","",R.designSystemVariables.titleFont),at=R.FtCssVariableFactory.extend("--ft-typography-font-family","",R.designSystemVariables.contentFont),T={fontFamily:at,fontSize:R.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:R.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:R.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:R.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:R.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},ar={fontFamily:R.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Lc),fontSize:R.FtCssVariableFactory.extend("--ft-typography-title-font-size","",T.fontSize,"20px"),fontWeight:R.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",T.fontWeight,"normal"),letterSpacing:R.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",T.letterSpacing,"0.15px"),lineHeight:R.FtCssVariableFactory.extend("--ft-typography-title-line-height","",T.lineHeight,"1.2"),textTransform:R.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",T.textTransform,"inherit")},ir={fontFamily:R.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Lc),fontSize:R.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",T.fontSize,"14px"),fontWeight:R.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",T.fontWeight,"normal"),letterSpacing:R.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",T.letterSpacing,"0.105px"),lineHeight:R.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",T.lineHeight,"1.7"),textTransform:R.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",T.textTransform,"inherit")},sr={fontFamily:R.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",at),fontSize:R.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",T.fontSize,"16px"),fontWeight:R.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",T.fontWeight,"600"),letterSpacing:R.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",T.letterSpacing,"0.144px"),lineHeight:R.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",T.lineHeight,"1.5"),textTransform:R.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",T.textTransform,"inherit")},cr={fontFamily:R.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",at),fontSize:R.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",T.fontSize,"14px"),fontWeight:R.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",T.fontWeight,"normal"),letterSpacing:R.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",T.letterSpacing,"0.098px"),lineHeight:R.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",T.lineHeight,"1.7"),textTransform:R.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",T.textTransform,"inherit")},lr={fontFamily:R.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",at),fontSize:R.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",T.fontSize,"16px"),fontWeight:R.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",T.fontWeight,"normal"),letterSpacing:R.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",T.letterSpacing,"0.496px"),lineHeight:R.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",T.lineHeight,"1.5"),textTransform:R.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",T.textTransform,"inherit")},dr={fontFamily:R.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",at),fontSize:R.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",T.fontSize,"14px"),fontWeight:R.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",T.fontWeight,"normal"),letterSpacing:R.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",T.letterSpacing,"0.252px"),lineHeight:R.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",T.lineHeight,"1.4"),textTransform:R.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",T.textTransform,"inherit")},ur={fontFamily:R.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",at),fontSize:R.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",T.fontSize,"12px"),fontWeight:R.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",T.fontWeight,"normal"),letterSpacing:R.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",T.letterSpacing,"0.396px"),lineHeight:R.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",T.lineHeight,"1.33"),textTransform:R.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",T.textTransform,"inherit")},pr={fontFamily:R.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",at),fontSize:R.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",T.fontSize,"10px"),fontWeight:R.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",T.fontWeight,"normal"),letterSpacing:R.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",T.letterSpacing,"0.33px"),lineHeight:R.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",T.lineHeight,"1.6"),textTransform:R.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",T.textTransform,"inherit")},fr={fontFamily:R.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",at),fontSize:R.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",T.fontSize,"10px"),fontWeight:R.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",T.fontWeight,"normal"),letterSpacing:R.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",T.letterSpacing,"1.5px"),lineHeight:R.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",T.lineHeight,"1.6"),textTransform:R.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",T.textTransform,"uppercase")},Ye={fontFamily:R.FtCssVariableFactory.extend("--ft-typography-button-font-family","",at),fontSize:R.FtCssVariableFactory.extend("--ft-typography-button-font-size","",T.fontSize,"14px"),fontWeight:R.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",T.fontWeight,"600"),letterSpacing:R.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",T.letterSpacing,"1.246px"),lineHeight:R.FtCssVariableFactory.extend("--ft-typography-button-line-height","",T.lineHeight,"1.15"),textTransform:R.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",T.textTransform,"uppercase")},Pc=Me.css`
|
|
124
124
|
.ft-typography--title {
|
|
125
125
|
font-family: ${ar.fontFamily};
|
|
126
126
|
font-size: ${ar.fontSize};
|
|
@@ -129,7 +129,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
129
129
|
line-height: ${ar.lineHeight};
|
|
130
130
|
text-transform: ${ar.textTransform};
|
|
131
131
|
}
|
|
132
|
-
`,
|
|
132
|
+
`,Tc=Me.css`
|
|
133
133
|
.ft-typography--title-dense {
|
|
134
134
|
font-family: ${ir.fontFamily};
|
|
135
135
|
font-size: ${ir.fontSize};
|
|
@@ -138,7 +138,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
138
138
|
line-height: ${ir.lineHeight};
|
|
139
139
|
text-transform: ${ir.textTransform};
|
|
140
140
|
}
|
|
141
|
-
`,
|
|
141
|
+
`,_c=Me.css`
|
|
142
142
|
.ft-typography--subtitle1 {
|
|
143
143
|
font-family: ${sr.fontFamily};
|
|
144
144
|
font-size: ${sr.fontSize};
|
|
@@ -147,7 +147,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
147
147
|
line-height: ${sr.lineHeight};
|
|
148
148
|
text-transform: ${sr.textTransform};
|
|
149
149
|
}
|
|
150
|
-
`,
|
|
150
|
+
`,kc=Me.css`
|
|
151
151
|
.ft-typography--subtitle2 {
|
|
152
152
|
font-family: ${cr.fontFamily};
|
|
153
153
|
font-size: ${cr.fontSize};
|
|
@@ -157,7 +157,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
157
157
|
text-transform: ${cr.textTransform};
|
|
158
158
|
}
|
|
159
159
|
|
|
160
|
-
`,
|
|
160
|
+
`,Dc=Me.css`
|
|
161
161
|
.ft-typography--body1 {
|
|
162
162
|
font-family: ${lr.fontFamily};
|
|
163
163
|
font-size: ${lr.fontSize};
|
|
@@ -166,7 +166,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
166
166
|
line-height: ${lr.lineHeight};
|
|
167
167
|
text-transform: ${lr.textTransform};
|
|
168
168
|
}
|
|
169
|
-
`,Oo
|
|
169
|
+
`,Oo=Me.css`
|
|
170
170
|
.ft-typography--body2 {
|
|
171
171
|
font-family: ${dr.fontFamily};
|
|
172
172
|
font-size: ${dr.fontSize};
|
|
@@ -175,7 +175,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
175
175
|
line-height: ${dr.lineHeight};
|
|
176
176
|
text-transform: ${dr.textTransform};
|
|
177
177
|
}
|
|
178
|
-
`,
|
|
178
|
+
`,Bc=Me.css`
|
|
179
179
|
.ft-typography--caption {
|
|
180
180
|
font-family: ${ur.fontFamily};
|
|
181
181
|
font-size: ${ur.fontSize};
|
|
@@ -184,7 +184,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
184
184
|
line-height: ${ur.lineHeight};
|
|
185
185
|
text-transform: ${ur.textTransform};
|
|
186
186
|
}
|
|
187
|
-
`,
|
|
187
|
+
`,Mc=Me.css`
|
|
188
188
|
.ft-typography--breadcrumb {
|
|
189
189
|
font-family: ${pr.fontFamily};
|
|
190
190
|
font-size: ${pr.fontSize};
|
|
@@ -193,7 +193,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
193
193
|
line-height: ${pr.lineHeight};
|
|
194
194
|
text-transform: ${pr.textTransform};
|
|
195
195
|
}
|
|
196
|
-
|
|
196
|
+
`,$c=Me.css`
|
|
197
197
|
.ft-typography--overline {
|
|
198
198
|
font-family: ${fr.fontFamily};
|
|
199
199
|
font-size: ${fr.fontSize};
|
|
@@ -202,7 +202,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
202
202
|
line-height: ${fr.lineHeight};
|
|
203
203
|
text-transform: ${fr.textTransform};
|
|
204
204
|
}
|
|
205
|
-
|
|
205
|
+
`,Uc=Me.css`
|
|
206
206
|
.ft-typography--button {
|
|
207
207
|
font-family: ${Ye.fontFamily};
|
|
208
208
|
font-size: ${Ye.fontSize};
|
|
@@ -211,11 +211,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
211
211
|
line-height: ${Ye.lineHeight};
|
|
212
212
|
text-transform: ${Ye.textTransform};
|
|
213
213
|
}
|
|
214
|
-
`,
|
|
214
|
+
`,Fc=Me.css`
|
|
215
215
|
.ft-typography {
|
|
216
216
|
vertical-align: inherit;
|
|
217
217
|
}
|
|
218
|
-
`,
|
|
218
|
+
`,Wc=[Object.keys(xo).map(t=>Nc(t))]});var Hc,Br,J,zc,Mr=f(()=>{"use strict";Hc=b(D()),Br=b(N()),J={color:Br.FtCssVariableFactory.extend("--ft-loader-color","",Br.designSystemVariables.colorPrimary),size:Br.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},zc=Hc.css`
|
|
219
219
|
:host {
|
|
220
220
|
line-height: 0;
|
|
221
221
|
}
|
|
@@ -284,7 +284,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
284
284
|
transform: translate(calc(0.35 * ${J.size}), 0);
|
|
285
285
|
}
|
|
286
286
|
}
|
|
287
|
-
`});var
|
|
287
|
+
`});var Gc,it,ve,jc,$r=f(()=>{"use strict";Gc=b(D()),it=b(N()),ve={size:it.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:it.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",it.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:it.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",it.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:it.FtCssVariableFactory.extend("--ft-icon-material-font-family","",it.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:it.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},jc=Gc.css`
|
|
288
288
|
:host, i.ft-icon {
|
|
289
289
|
display: inline-flex;
|
|
290
290
|
align-items: center;
|
|
@@ -293,14 +293,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
293
293
|
}
|
|
294
294
|
|
|
295
295
|
:host {
|
|
296
|
-
width: ${
|
|
297
|
-
height: ${
|
|
296
|
+
width: ${ve.size};
|
|
297
|
+
height: ${ve.size};
|
|
298
298
|
}
|
|
299
299
|
|
|
300
300
|
i.ft-icon {
|
|
301
301
|
width: 100%;
|
|
302
302
|
height: 100%;
|
|
303
|
-
font-size: ${
|
|
303
|
+
font-size: ${ve.size};
|
|
304
304
|
line-height: 1;
|
|
305
305
|
font-weight: normal;
|
|
306
306
|
text-transform: none;
|
|
@@ -311,28 +311,28 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
311
311
|
text-rendering: auto;
|
|
312
312
|
-webkit-font-smoothing: antialiased;
|
|
313
313
|
-moz-osx-font-smoothing: grayscale;
|
|
314
|
-
vertical-align: ${
|
|
314
|
+
vertical-align: ${ve.verticalAlign};
|
|
315
315
|
}
|
|
316
316
|
|
|
317
317
|
i.ft-icon.ft-icon--fluid-topics {
|
|
318
|
-
font-family: ${
|
|
318
|
+
font-family: ${ve.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
319
319
|
|
|
320
320
|
/* Ugly fix because font is broken */
|
|
321
|
-
font-size: calc(0.75 * ${
|
|
322
|
-
line-height: ${
|
|
321
|
+
font-size: calc(0.75 * ${ve.size});
|
|
322
|
+
line-height: ${ve.size};
|
|
323
323
|
position: relative;
|
|
324
324
|
top: -4%;
|
|
325
325
|
justify-content: center;
|
|
326
326
|
}
|
|
327
327
|
|
|
328
328
|
.ft-icon--file-format {
|
|
329
|
-
font-family: ${
|
|
329
|
+
font-family: ${ve.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
330
330
|
}
|
|
331
331
|
|
|
332
332
|
.ft-icon--material {
|
|
333
|
-
font-family: ${
|
|
333
|
+
font-family: ${ve.materialFontFamily}, "Material Icons", sans-serif;
|
|
334
334
|
}
|
|
335
|
-
`});var Vc,
|
|
335
|
+
`});var Zc,$,Vc,oe,Kc,jn,Qe,qc,Vn=f(()=>{"use strict";Zc=b(D()),$=b(N());zt();Co();Mr();$r();Vc=$.FtCssVariableFactory.extend("--ft-button-color","",$.designSystemVariables.colorPrimary),oe={backgroundColor:$.FtCssVariableFactory.extend("--ft-button-background-color","",$.designSystemVariables.colorSurface),borderRadius:$.FtCssVariableFactory.extend("--ft-button-border-radius","",$.designSystemVariables.borderRadiusL),color:Vc,fontSize:$.FtCssVariableFactory.extend("--ft-button-font-size","",Ye.fontSize),iconSize:$.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:$.FtCssVariableFactory.extend("--ft-button-ripple-color","",Vc),verticalPadding:$.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:$.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:$.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:$.FtCssVariableFactory.external($.designSystemVariables.colorOpacityDisabled,"Design system")},Kc=$.FtCssVariableFactory.extend("--ft-button-primary-color","",$.FtCssVariableFactory.extend("--ft-button-color","",$.designSystemVariables.colorOnPrimary)),jn={backgroundColor:$.FtCssVariableFactory.extend("--ft-button-primary-background-color","",$.FtCssVariableFactory.extend("--ft-button-background-color","",$.designSystemVariables.colorPrimary)),color:Kc,rippleColor:$.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Kc)},Qe={borderRadius:$.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",$.FtCssVariableFactory.extend("--ft-button-border-radius","",$.designSystemVariables.borderRadiusM)),verticalPadding:$.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:$.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:$.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},qc=[Zc.css`
|
|
336
336
|
:host {
|
|
337
337
|
display: inline-block;
|
|
338
338
|
max-width: 100%;
|
|
@@ -343,7 +343,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
343
343
|
box-shadow: 0px 0px 0px transparent;
|
|
344
344
|
border: 0px solid transparent;
|
|
345
345
|
text-shadow: 0px 0px 0px transparent;
|
|
346
|
-
font-size: ${
|
|
346
|
+
font-size: ${oe.fontSize};
|
|
347
347
|
}
|
|
348
348
|
|
|
349
349
|
button:hover {
|
|
@@ -372,31 +372,31 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
372
372
|
border: none;
|
|
373
373
|
pointer-events: auto;
|
|
374
374
|
|
|
375
|
-
--ft-button-internal-line-height: max(calc(${
|
|
376
|
-
--ft-button-internal-color: ${
|
|
377
|
-
${(0
|
|
378
|
-
${(0
|
|
375
|
+
--ft-button-internal-line-height: max(calc(${oe.fontSize} + 2px), ${oe.iconSize});
|
|
376
|
+
--ft-button-internal-color: ${oe.color};
|
|
377
|
+
${(0,$.setVariable)(ve.size,oe.iconSize)};
|
|
378
|
+
${(0,$.setVariable)(w.color,oe.rippleColor)};
|
|
379
379
|
|
|
380
|
-
border-radius: ${
|
|
381
|
-
padding: ${
|
|
382
|
-
background-color: ${
|
|
380
|
+
border-radius: ${oe.borderRadius};
|
|
381
|
+
padding: ${oe.verticalPadding} ${oe.horizontalPadding};
|
|
382
|
+
background-color: ${oe.backgroundColor};
|
|
383
383
|
color: var(--ft-button-internal-color);
|
|
384
384
|
-webkit-mask-image: radial-gradient(white, black);
|
|
385
385
|
}
|
|
386
386
|
|
|
387
387
|
.ft-button.ft-button--outlined {
|
|
388
388
|
border: 1px solid var(--ft-button-internal-color);
|
|
389
|
-
padding: calc(${
|
|
389
|
+
padding: calc(${oe.verticalPadding} - 1px) calc(${oe.horizontalPadding} - 1px);
|
|
390
390
|
}
|
|
391
391
|
|
|
392
392
|
.ft-button.ft-button--dense {
|
|
393
|
-
padding: ${
|
|
394
|
-
border-radius: ${
|
|
395
|
-
gap: ${
|
|
393
|
+
padding: ${Qe.verticalPadding} ${Qe.horizontalPadding};
|
|
394
|
+
border-radius: ${Qe.borderRadius};
|
|
395
|
+
gap: ${Qe.iconPadding};
|
|
396
396
|
}
|
|
397
397
|
|
|
398
398
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
399
|
-
padding: calc(${
|
|
399
|
+
padding: calc(${Qe.verticalPadding} - 1px) calc(${Qe.horizontalPadding} - 1px);
|
|
400
400
|
}
|
|
401
401
|
|
|
402
402
|
.ft-button:not([disabled]):hover {
|
|
@@ -404,22 +404,22 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
404
404
|
}
|
|
405
405
|
|
|
406
406
|
.ft-button--round {
|
|
407
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
407
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${oe.verticalPadding});
|
|
408
408
|
}
|
|
409
409
|
|
|
410
410
|
.ft-button--round.ft-button--dense {
|
|
411
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
411
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Qe.verticalPadding});
|
|
412
412
|
}
|
|
413
413
|
|
|
414
414
|
.ft-button[disabled] {
|
|
415
415
|
filter: grayscale(1);
|
|
416
|
-
opacity: ${
|
|
416
|
+
opacity: ${oe.opacityDisabled};
|
|
417
417
|
}
|
|
418
418
|
|
|
419
419
|
.ft-button.ft-button--primary {
|
|
420
|
-
background-color: ${
|
|
421
|
-
--ft-button-internal-color: ${
|
|
422
|
-
${(0
|
|
420
|
+
background-color: ${jn.backgroundColor};
|
|
421
|
+
--ft-button-internal-color: ${jn.color};
|
|
422
|
+
${(0,$.setVariable)(w.color,jn.rippleColor)};
|
|
423
423
|
}
|
|
424
424
|
|
|
425
425
|
.ft-button:focus {
|
|
@@ -432,13 +432,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
432
432
|
white-space: nowrap;
|
|
433
433
|
text-overflow: ellipsis;
|
|
434
434
|
display: block;
|
|
435
|
-
margin: 0 ${
|
|
436
|
-
${(0
|
|
437
|
-
${(0
|
|
435
|
+
margin: 0 ${oe.iconPadding};
|
|
436
|
+
${(0,$.setVariable)(Ye.fontSize,"1em")};
|
|
437
|
+
${(0,$.setVariable)(Ye.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
438
438
|
}
|
|
439
439
|
|
|
440
440
|
.ft-button--dense .ft-button--label {
|
|
441
|
-
margin: 0 ${
|
|
441
|
+
margin: 0 ${Qe.iconPadding};
|
|
442
442
|
}
|
|
443
443
|
|
|
444
444
|
.ft-button--label[hidden] {
|
|
@@ -451,13 +451,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
451
451
|
}
|
|
452
452
|
|
|
453
453
|
.ft-button--label[hidden] + [part="icon"] {
|
|
454
|
-
margin: 0 calc(${
|
|
455
|
-
padding: 0 ${
|
|
454
|
+
margin: 0 calc(${oe.horizontalPadding} * -1);
|
|
455
|
+
padding: 0 ${oe.verticalPadding};
|
|
456
456
|
}
|
|
457
457
|
|
|
458
458
|
.ft-button--dense .ft-button--label[hidden] + [part="icon"] {
|
|
459
|
-
margin: 0 calc(${
|
|
460
|
-
padding: 0 ${
|
|
459
|
+
margin: 0 calc(${Qe.horizontalPadding} * -1);
|
|
460
|
+
padding: 0 ${Qe.verticalPadding};
|
|
461
461
|
}
|
|
462
462
|
|
|
463
463
|
.ft-button:not(.ft-button--trailing-icon) [part="label"]{
|
|
@@ -465,23 +465,23 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
465
465
|
}
|
|
466
466
|
|
|
467
467
|
ft-loader {
|
|
468
|
-
${(0
|
|
469
|
-
${(0
|
|
468
|
+
${(0,$.setVariable)(J.size,oe.iconSize)};
|
|
469
|
+
${(0,$.setVariable)(J.color,"var(--ft-button-internal-color)")};
|
|
470
470
|
}
|
|
471
|
-
|
|
471
|
+
`,$.noTextSelect]});var Ur=Wt((Mx,Yc)=>{Yc.exports=ftGlobals.litClassMap});var Qc,he,Xc,Fr,Ce,X,Kn=f(()=>{"use strict";Qc=b(D()),he=b(Q()),Xc=b(Ur()),Fr=b(N());zt();Ce=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},X=class extends Fr.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 Fr.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 Fr.Debouncer(10),this.moveRipple=e=>{var o,n;let{x:a,y:i}=this.getCoordinates(e),s=(n=(o=this.ripple)===null||o===void 0?void 0:o.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(a!=null?a-s.x:s.width/2),this.originY=Math.round(i!=null?i-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 Qc.html`
|
|
472
472
|
<style>
|
|
473
473
|
.ft-ripple .ft-ripple--effect {
|
|
474
474
|
left: ${this.originX}px;
|
|
475
475
|
top: ${this.originY}px;
|
|
476
476
|
}
|
|
477
477
|
</style>
|
|
478
|
-
<div class="${(0,
|
|
478
|
+
<div class="${(0,Xc.classMap)(e)}">
|
|
479
479
|
<div class="ft-ripple--background"></div>
|
|
480
480
|
<div class="ft-ripple--effect"></div>
|
|
481
481
|
</div>
|
|
482
|
-
`}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 o,n;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(o=this.target)===null||o===void 0||o.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.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,o;let n=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;n&&this.setupFor((o=this.target)!==null&&o!==void 0?o:n)}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 o=(...l)=>p=>{l.forEach(u=>window.addEventListener(u,this.endPress,{once:!0})),this.startPress(p)},n=o("mouseup","contextmenu"),a=o("touchend","touchcancel"),i=l=>{["Enter"," "].includes(l.key)&&o("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",n,s),e.addEventListener("touchstart",a,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",i,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",n,s),e.removeEventListener("touchstart",a,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",i,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 o=e,n=e,a,i;return o.x!=null?{x:a,y:i}=o:n.touches!=null&&(a=n.touches[0].clientX,i=n.touches[0].clientY),{x:a,y:i}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let o of e.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};
|
|
483
|
-
\f\r]`,Wr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
|
|
484
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),
|
|
482
|
+
`}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 o,n;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(o=this.target)===null||o===void 0||o.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.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,o;let n=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;n&&this.setupFor((o=this.target)!==null&&o!==void 0?o:n)}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 o=(...l)=>p=>{l.forEach(u=>window.addEventListener(u,this.endPress,{once:!0})),this.startPress(p)},n=o("mouseup","contextmenu"),a=o("touchend","touchcancel"),i=l=>{["Enter"," "].includes(l.key)&&o("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",n,s),e.addEventListener("touchstart",a,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",i,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",n,s),e.removeEventListener("touchstart",a,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",i,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 o=e,n=e,a,i;return o.x!=null?{x:a,y:i}=o:n.touches!=null&&(a=n.touches[0].clientX,i=n.touches[0].clientY),{x:a,y:i}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let o of e.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};X.elementDefinitions={};X.styles=Os;Ce([(0,he.property)({type:Boolean})],X.prototype,"primary",void 0);Ce([(0,he.property)({type:Boolean})],X.prototype,"secondary",void 0);Ce([(0,he.property)({type:Boolean})],X.prototype,"unbounded",void 0);Ce([(0,he.property)({type:Boolean})],X.prototype,"activated",void 0);Ce([(0,he.property)({type:Boolean})],X.prototype,"selected",void 0);Ce([(0,he.property)({type:Boolean})],X.prototype,"disabled",void 0);Ce([(0,he.state)()],X.prototype,"hovered",void 0);Ce([(0,he.state)()],X.prototype,"focused",void 0);Ce([(0,he.state)()],X.prototype,"pressed",void 0);Ce([(0,he.state)()],X.prototype,"rippling",void 0);Ce([(0,he.state)()],X.prototype,"originX",void 0);Ce([(0,he.state)()],X.prototype,"originY",void 0);Ce([(0,he.query)(".ft-ripple")],X.prototype,"ripple",void 0);Ce([(0,he.query)(".ft-ripple--effect")],X.prototype,"rippleEffect",void 0)});var Jc=f(()=>{"use strict"});var el,Eo=f(()=>{"use strict";el=b(N());Kn();Kn();zt();Jc();(0,el.customElement)("ft-ripple")(X)});function hl(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return tl!==void 0?tl.createHTML(e):e}function hr(t,e,o=t,n){if(e===zr)return e;let a=n!==void 0?o._$Co?.[n]:o._$Cl,i=Hr(e)?void 0:e._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(t),a._$AT(t,o,n)),n!==void 0?(o._$Co??=[])[n]=a:o._$Cl=a),a!==void 0&&(e=hr(t,a._$AS(t,e.values),a,n)),e}var ea,wo,tl,sl,bt,cl,qf,Vt,Ao,Hr,ll,Yf,Zn,Wr,rl,ol,Gt,nl,al,dl,ul,pl,fl,zr,le,il,jt,Qf,Gr,qn,Ro,yr,Yn,Qn,Xn,Jn,Xf,ta=f(()=>{ea=globalThis,wo=ea.trustedTypes,tl=wo?wo.createPolicy("lit-html",{createHTML:t=>t}):void 0,sl="$lit$",bt=`lit$${(Math.random()+"").slice(9)}$`,cl="?"+bt,qf=`<${cl}>`,Vt=document,Ao=()=>Vt.createComment(""),Hr=t=>t===null||typeof t!="object"&&typeof t!="function",ll=Array.isArray,Yf=t=>ll(t)||typeof t?.[Symbol.iterator]=="function",Zn=`[
|
|
483
|
+
\f\r]`,Wr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,rl=/-->/g,ol=/>/g,Gt=RegExp(`>|${Zn}(?:([^\\s"'>=/]+)(${Zn}*=${Zn}*(?:[^
|
|
484
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),nl=/'/g,al=/"/g,dl=/^(?:script|style|textarea|title)$/i,ul=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),pl=ul(1),fl=ul(2),zr=Symbol.for("lit-noChange"),le=Symbol.for("lit-nothing"),il=new WeakMap,jt=Vt.createTreeWalker(Vt,129);Qf=(t,e)=>{let o=t.length-1,n=[],a,i=e===2?"<svg>":"",s=Wr;for(let l=0;l<o;l++){let p=t[l],u,y,g=-1,x=0;for(;x<p.length&&(s.lastIndex=x,y=s.exec(p),y!==null);)x=s.lastIndex,s===Wr?y[1]==="!--"?s=rl:y[1]!==void 0?s=ol:y[2]!==void 0?(dl.test(y[2])&&(a=RegExp("</"+y[2],"g")),s=Gt):y[3]!==void 0&&(s=Gt):s===Gt?y[0]===">"?(s=a??Wr,g=-1):y[1]===void 0?g=-2:(g=s.lastIndex-y[2].length,u=y[1],s=y[3]===void 0?Gt:y[3]==='"'?al:nl):s===al||s===nl?s=Gt:s===rl||s===ol?s=Wr:(s=Gt,a=void 0);let O=s===Gt&&t[l+1].startsWith("/>")?" ":"";i+=s===Wr?p+qf:g>=0?(n.push(u),p.slice(0,g)+sl+p.slice(g)+bt+O):p+bt+(g===-2?l:O)}return[hl(t,i+(t[o]||"<?>")+(e===2?"</svg>":"")),n]},Gr=class t{constructor({strings:e,_$litType$:o},n){let a;this.parts=[];let i=0,s=0,l=e.length-1,p=this.parts,[u,y]=Qf(e,o);if(this.el=t.createElement(u,n),jt.currentNode=this.el.content,o===2){let g=this.el.content.firstChild;g.replaceWith(...g.childNodes)}for(;(a=jt.nextNode())!==null&&p.length<l;){if(a.nodeType===1){if(a.hasAttributes())for(let g of a.getAttributeNames())if(g.endsWith(sl)){let x=y[s++],O=a.getAttribute(g).split(bt),S=/([.?@])?(.*)/.exec(x);p.push({type:1,index:i,name:S[2],strings:O,ctor:S[1]==="."?Yn:S[1]==="?"?Qn:S[1]==="@"?Xn:yr}),a.removeAttribute(g)}else g.startsWith(bt)&&(p.push({type:6,index:i}),a.removeAttribute(g));if(dl.test(a.tagName)){let g=a.textContent.split(bt),x=g.length-1;if(x>0){a.textContent=wo?wo.emptyScript:"";for(let O=0;O<x;O++)a.append(g[O],Ao()),jt.nextNode(),p.push({type:2,index:++i});a.append(g[x],Ao())}}}else if(a.nodeType===8)if(a.data===cl)p.push({type:2,index:i});else{let g=-1;for(;(g=a.data.indexOf(bt,g+1))!==-1;)p.push({type:7,index:i}),g+=bt.length-1}i++}}static createElement(e,o){let n=Vt.createElement("template");return n.innerHTML=e,n}};qn=class{constructor(e,o){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:o},parts:n}=this._$AD,a=(e?.creationScope??Vt).importNode(o,!0);jt.currentNode=a;let i=jt.nextNode(),s=0,l=0,p=n[0];for(;p!==void 0;){if(s===p.index){let u;p.type===2?u=new Ro(i,i.nextSibling,this,e):p.type===1?u=new p.ctor(i,p.name,p.strings,this,e):p.type===6&&(u=new Jn(i,this,e)),this._$AV.push(u),p=n[++l]}s!==p?.index&&(i=jt.nextNode(),s++)}return jt.currentNode=Vt,a}p(e){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,o),o+=n.strings.length-2):n._$AI(e[o])),o++}},Ro=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,o,n,a){this.type=2,this._$AH=le,this._$AN=void 0,this._$AA=e,this._$AB=o,this._$AM=n,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,o=this._$AM;return o!==void 0&&e?.nodeType===11&&(e=o.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,o=this){e=hr(this,e,o),Hr(e)?e===le||e==null||e===""?(this._$AH!==le&&this._$AR(),this._$AH=le):e!==this._$AH&&e!==zr&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Yf(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==le&&Hr(this._$AH)?this._$AA.nextSibling.data=e:this.$(Vt.createTextNode(e)),this._$AH=e}g(e){let{values:o,_$litType$:n}=e,a=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=Gr.createElement(hl(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(o);else{let i=new qn(a,this),s=i.u(this.options);i.p(o),this.$(s),this._$AH=i}}_$AC(e){let o=il.get(e.strings);return o===void 0&&il.set(e.strings,o=new Gr(e)),o}T(e){ll(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,a=0;for(let i of e)a===o.length?o.push(n=new t(this.k(Ao()),this.k(Ao()),this,this.options)):n=o[a],n._$AI(i),a++;a<o.length&&(this._$AR(n&&n._$AB.nextSibling,a),o.length=a)}_$AR(e=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},yr=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,o,n,a,i){this.type=1,this._$AH=le,this._$AN=void 0,this.element=e,this.name=o,this._$AM=a,this.options=i,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=le}_$AI(e,o=this,n,a){let i=this.strings,s=!1;if(i===void 0)e=hr(this,e,o,0),s=!Hr(e)||e!==this._$AH&&e!==zr,s&&(this._$AH=e);else{let l=e,p,u;for(e=i[0],p=0;p<i.length-1;p++)u=hr(this,l[n+p],o,p),u===zr&&(u=this._$AH[p]),s||=!Hr(u)||u!==this._$AH[p],u===le?e=le:e!==le&&(e+=(u??"")+i[p+1]),this._$AH[p]=u}s&&!a&&this.O(e)}O(e){e===le?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Yn=class extends yr{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===le?void 0:e}},Qn=class extends yr{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==le)}},Xn=class extends yr{constructor(e,o,n,a,i){super(e,o,n,a,i),this.type=5}_$AI(e,o=this){if((e=hr(this,e,o,0)??le)===zr)return;let n=this._$AH,a=e===le&&n!==le||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,i=e!==le&&(n===le||a);a&&this.element.removeEventListener(this.name,this,n),i&&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)}},Jn=class{constructor(e,o,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){hr(this,e)}},Xf=ea.litHtmlPolyfillSupport;Xf?.(Gr,Ro),(ea.litHtmlVersions??=[]).push("3.1.0")});var ml,Jf,ra,yl,gl,oa,Kx,bl=f(()=>{ta();ml=Symbol.for(""),Jf=t=>{if(t?.r===ml)return t?._$litStatic$},ra=t=>({_$litStatic$:t,r:ml}),yl=new Map,gl=t=>(e,...o)=>{let n=o.length,a,i,s=[],l=[],p,u=0,y=!1;for(;u<n;){for(p=e[u];u<n&&(i=o[u],(a=Jf(i))!==void 0);)p+=a+e[++u],y=!0;u!==n&&l.push(i),s.push(p),u++}if(u===n&&s.push(e[n]),y){let g=s.join("$$lit$$");(e=yl.get(g))===void 0&&(s.raw=s,yl.set(g,e=s)),o=l}return t(e,...o)},oa=gl(pl),Kx=gl(fl)});var xl=f(()=>{bl()});var xt,No=f(()=>{"use strict";(function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"})(xt||(xt={}))});var na,Sl,vl,ae,aa=f(()=>{"use strict";xl();na=b(Q()),Sl=b(N());No();Co();vl=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},ae=class extends Sl.FtLitElement{constructor(){super(...arguments),this.variant=xt.body1}render(){return this.element?oa`
|
|
485
485
|
<${ra(this.element)}
|
|
486
486
|
part="text"
|
|
487
487
|
class="ft-typography ft-typography--${this.variant}">
|
|
@@ -489,7 +489,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
489
489
|
</${ra(this.element)}>
|
|
490
490
|
`:oa`
|
|
491
491
|
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
492
|
-
`}};ae.styles=[
|
|
492
|
+
`}};ae.styles=[Pc,Tc,_c,kc,Dc,Oo,Bc,Mc,$c,Uc,Fc,...Wc];vl([(0,na.property)()],ae.prototype,"element",void 0);vl([(0,na.property)()],ae.prototype,"variant",void 0)});var Ol,st=f(()=>{"use strict";Ol=b(N());aa();aa();Co();No();(0,Ol.customElement)("ft-typography")(ae)});var Cl,ct,vt,El,ia=f(()=>{"use strict";Cl=b(D()),ct=b(N()),vt={distance:ct.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:ct.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:ct.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:ct.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:ct.FtCssVariableFactory.external(ct.designSystemVariables.borderRadiusS,"Design system"),maxWidth:ct.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},El=Cl.css`
|
|
493
493
|
.ft-tooltip--container {
|
|
494
494
|
display: block;
|
|
495
495
|
}
|
|
@@ -518,7 +518,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
518
518
|
position: relative;
|
|
519
519
|
word-break: break-word;
|
|
520
520
|
}
|
|
521
|
-
`});function la(t,e,o){return St(t,Gr(e,o))}function Io(t,e){return typeof t=="function"?t(e):t}function mr(t){return t.split("-")[0]}function Ot(t){return t.split("-")[1]}function da(t){return t==="x"?"y":"x"}function ua(t){return t==="y"?"height":"width"}function Lo(t){return["top","bottom"].includes(mr(t))?"y":"x"}function pa(t){return da(Lo(t))}function wl(t,e,o){o===void 0&&(o=!1);let n=Ot(t),a=pa(t),i=ua(a),s=a==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=sa(s)),[s,sa(s)]}function Al(t){return t.replace(/start|end/g,e=>Jf[e])}function sa(t){return t.replace(/left|right|bottom|top/g,e=>Qf[e])}function eh(t){return{top:0,right:0,bottom:0,left:0,...t}}function Rl(t){return typeof t!="number"?eh(t):{top:t,right:t,bottom:t,left:t}}function Kt(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}var El,Cl,ca,Gr,St,Vr,lt,Qf,Jf,Po=f(()=>{El=["top","right","bottom","left"],Cl=["start","end"],ca=El.reduce((t,e)=>t.concat(e,e+"-"+Cl[0],e+"-"+Cl[1]),[]),Gr=Math.min,St=Math.max,Vr=Math.round,lt=t=>({x:t,y:t}),Qf={left:"right",right:"left",bottom:"top",top:"bottom"},Jf={start:"end",end:"start"}});function Nl(t,e,o){let{reference:n,floating:a}=t,i=Lo(e),s=pa(e),l=ua(s),p=mr(e),u=i==="y",y=n.x+n.width/2-a.width/2,g=n.y+n.height/2-a.height/2,x=n[l]/2-a[l]/2,O;switch(p){case"top":O={x:y,y:n.y-a.height};break;case"bottom":O={x:y,y:n.y+n.height};break;case"right":O={x:n.x+n.width,y:g};break;case"left":O={x:n.x-a.width,y:g};break;default:O={x:n.x,y:n.y}}switch(Ot(e)){case"start":O[s]-=x*(o&&u?-1:1);break;case"end":O[s]+=x*(o&&u?-1:1);break}return O}async function fa(t,e){var o;e===void 0&&(e={});let{x:n,y:a,platform:i,rects:s,elements:l,strategy:p}=t,{boundary:u="clippingAncestors",rootBoundary:y="viewport",elementContext:g="floating",altBoundary:x=!1,padding:O=0}=Io(e,t),S=Rl(O),P=l[x?g==="floating"?"reference":"floating":g],I=Kt(await i.getClippingRect({element:(o=await(i.isElement==null?void 0:i.isElement(P)))==null||o?P:P.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:u,rootBoundary:y,strategy:p})),L=g==="floating"?{...s.floating,x:n,y:a}:s.reference,$=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),U=await(i.isElement==null?void 0:i.isElement($))?await(i.getScale==null?void 0:i.getScale($))||{x:1,y:1}:{x:1,y:1},F=Kt(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:L,offsetParent:$,strategy:p}):L);return{top:(I.top-F.top+S.top)/U.y,bottom:(F.bottom-I.bottom+S.bottom)/U.y,left:(I.left-F.left+S.left)/U.x,right:(F.right-I.right+S.right)/U.x}}function th(t,e,o){return(t?[...o.filter(a=>Ot(a)===t),...o.filter(a=>Ot(a)!==t)]:o.filter(a=>mr(a)===a)).filter(a=>t?Ot(a)===t||(e?Al(a)!==a:!1):!0)}var Il,ha,ya,ma=f(()=>{Po();Po();Il=async(t,e,o)=>{let{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:s}=o,l=i.filter(Boolean),p=await(s.isRTL==null?void 0:s.isRTL(e)),u=await s.getElementRects({reference:t,floating:e,strategy:a}),{x:y,y:g}=Nl(u,n,p),x=n,O={},S=0;for(let C=0;C<l.length;C++){let{name:P,fn:I}=l[C],{x:L,y:$,data:U,reset:F}=await I({x:y,y:g,initialPlacement:n,placement:x,strategy:a,middlewareData:O,rects:u,platform:s,elements:{reference:t,floating:e}});if(y=L??y,g=$??g,O={...O,[P]:{...O[P],...U}},F&&S<=50){S++,typeof F=="object"&&(F.placement&&(x=F.placement),F.rects&&(u=F.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:a}):F.rects),{x:y,y:g}=Nl(u,x,p)),C=-1;continue}}return{x:y,y:g,placement:x,strategy:a,middlewareData:O}};ha=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,n,a;let{rects:i,middlewareData:s,placement:l,platform:p,elements:u}=e,{crossAxis:y=!1,alignment:g,allowedPlacements:x=ca,autoAlignment:O=!0,...S}=Io(t,e),C=g!==void 0||x===ca?th(g||null,O,x):x,P=await fa(e,S),I=((o=s.autoPlacement)==null?void 0:o.index)||0,L=C[I];if(L==null)return{};let $=wl(L,i,await(p.isRTL==null?void 0:p.isRTL(u.floating)));if(l!==L)return{reset:{placement:C[0]}};let U=[P[mr(L)],P[$[0]],P[$[1]]],F=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:L,overflows:U}],Oe=C[I+1];if(Oe)return{data:{index:I+1,overflows:F},reset:{placement:Oe}};let Ze=F.map(pe=>{let m=Ot(pe.placement);return[pe.placement,m&&y?pe.overflows.slice(0,2).reduce((v,k)=>v+k,0):pe.overflows[0],pe.overflows]}).sort((pe,m)=>pe[1]-m[1]),qe=((a=Ze.filter(pe=>pe[2].slice(0,Ot(pe[0])?2:3).every(m=>m<=0))[0])==null?void 0:a[0])||Ze[0][0];return qe!==l?{data:{index:I+1,overflows:F},reset:{placement:qe}}:{}}}},ya=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:o,y:n,placement:a}=e,{mainAxis:i=!0,crossAxis:s=!1,limiter:l={fn:P=>{let{x:I,y:L}=P;return{x:I,y:L}}},...p}=Io(t,e),u={x:o,y:n},y=await fa(e,p),g=Lo(mr(a)),x=da(g),O=u[x],S=u[g];if(i){let P=x==="y"?"top":"left",I=x==="y"?"bottom":"right",L=O+y[P],$=O-y[I];O=la(L,O,$)}if(s){let P=g==="y"?"top":"left",I=g==="y"?"bottom":"right",L=S+y[P],$=S-y[I];S=la(L,S,$)}let C=l.fn({...e,[x]:O,[g]:S});return{...C,data:{x:C.x-o,y:C.y-n}}}}}});function dt(t){return Pl(t)?(t.nodeName||"").toLowerCase():"#document"}function Ee(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function ut(t){var e;return(e=(Pl(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Pl(t){return t instanceof Node||t instanceof Ee(t).Node}function Qe(t){return t instanceof Element||t instanceof Ee(t).Element}function He(t){return t instanceof HTMLElement||t instanceof Ee(t).HTMLElement}function Ll(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Ee(t).ShadowRoot}function gr(t){let{overflow:e,overflowX:o,overflowY:n,display:a}=Le(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+o)&&!["inline","contents"].includes(a)}function Tl(t){return["table","td","th"].includes(dt(t))}function _o(t){let e=ko(),o=Le(t);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!e&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!e&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(o.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(o.contain||"").includes(n))}function _l(t){let e=Zt(t);for(;He(e)&&!Kr(e);){if(_o(e))return e;e=Zt(e)}return null}function ko(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Kr(t){return["html","body","#document"].includes(dt(t))}function Le(t){return Ee(t).getComputedStyle(t)}function Zr(t){return Qe(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Zt(t){if(dt(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Ll(t)&&t.host||ut(t);return Ll(e)?e.host:e}function kl(t){let e=Zt(t);return Kr(e)?t.ownerDocument?t.ownerDocument.body:t.body:He(e)&&gr(e)?e:kl(e)}function To(t,e,o){var n;e===void 0&&(e=[]),o===void 0&&(o=!0);let a=kl(t),i=a===((n=t.ownerDocument)==null?void 0:n.body),s=Ee(a);return i?e.concat(s,s.visualViewport||[],gr(a)?a:[],s.frameElement&&o?To(s.frameElement):[]):e.concat(a,To(a,[],o))}var Dl=f(()=>{});function Ml(t){let e=Le(t),o=parseFloat(e.width)||0,n=parseFloat(e.height)||0,a=He(t),i=a?t.offsetWidth:o,s=a?t.offsetHeight:n,l=Vr(o)!==i||Vr(n)!==s;return l&&(o=i,n=s),{width:o,height:n,$:l}}function Ul(t){return Qe(t)?t:t.contextElement}function br(t){let e=Ul(t);if(!He(e))return lt(1);let o=e.getBoundingClientRect(),{width:n,height:a,$:i}=Ml(e),s=(i?Vr(o.width):o.width)/n,l=(i?Vr(o.height):o.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}function Fl(t){let e=Ee(t);return!ko()||!e.visualViewport?nh:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function ah(t,e,o){return e===void 0&&(e=!1),!o||e&&o!==Ee(t)?!1:e}function qr(t,e,o,n){e===void 0&&(e=!1),o===void 0&&(o=!1);let a=t.getBoundingClientRect(),i=Ul(t),s=lt(1);e&&(n?Qe(n)&&(s=br(n)):s=br(t));let l=ah(i,o,n)?Fl(i):lt(0),p=(a.left+l.x)/s.x,u=(a.top+l.y)/s.y,y=a.width/s.x,g=a.height/s.y;if(i){let x=Ee(i),O=n&&Qe(n)?Ee(n):n,S=x.frameElement;for(;S&&n&&O!==x;){let C=br(S),P=S.getBoundingClientRect(),I=Le(S),L=P.left+(S.clientLeft+parseFloat(I.paddingLeft))*C.x,$=P.top+(S.clientTop+parseFloat(I.paddingTop))*C.y;p*=C.x,u*=C.y,y*=C.x,g*=C.y,p+=L,u+=$,S=Ee(S).frameElement}}return Kt({width:y,height:g,x:p,y:u})}function ih(t){let{rect:e,offsetParent:o,strategy:n}=t,a=He(o),i=ut(o);if(o===i)return e;let s={scrollLeft:0,scrollTop:0},l=lt(1),p=lt(0);if((a||!a&&n!=="fixed")&&((dt(o)!=="body"||gr(i))&&(s=Zr(o)),He(o))){let u=qr(o);l=br(o),p.x=u.x+o.clientLeft,p.y=u.y+o.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-s.scrollLeft*l.x+p.x,y:e.y*l.y-s.scrollTop*l.y+p.y}}function sh(t){return Array.from(t.getClientRects())}function Wl(t){return qr(ut(t)).left+Zr(t).scrollLeft}function ch(t){let e=ut(t),o=Zr(t),n=t.ownerDocument.body,a=St(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=St(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),s=-o.scrollLeft+Wl(t),l=-o.scrollTop;return Le(n).direction==="rtl"&&(s+=St(e.clientWidth,n.clientWidth)-a),{width:a,height:i,x:s,y:l}}function lh(t,e){let o=Ee(t),n=ut(t),a=o.visualViewport,i=n.clientWidth,s=n.clientHeight,l=0,p=0;if(a){i=a.width,s=a.height;let u=ko();(!u||u&&e==="fixed")&&(l=a.offsetLeft,p=a.offsetTop)}return{width:i,height:s,x:l,y:p}}function dh(t,e){let o=qr(t,!0,e==="fixed"),n=o.top+t.clientTop,a=o.left+t.clientLeft,i=He(t)?br(t):lt(1),s=t.clientWidth*i.x,l=t.clientHeight*i.y,p=a*i.x,u=n*i.y;return{width:s,height:l,x:p,y:u}}function Bl(t,e,o){let n;if(e==="viewport")n=lh(t,o);else if(e==="document")n=ch(ut(t));else if(Qe(e))n=dh(e,o);else{let a=Fl(t);n={...e,x:e.x-a.x,y:e.y-a.y}}return Kt(n)}function Hl(t,e){let o=Zt(t);return o===e||!Qe(o)||Kr(o)?!1:Le(o).position==="fixed"||Hl(o,e)}function uh(t,e){let o=e.get(t);if(o)return o;let n=To(t,[],!1).filter(l=>Qe(l)&&dt(l)!=="body"),a=null,i=Le(t).position==="fixed",s=i?Zt(t):t;for(;Qe(s)&&!Kr(s);){let l=Le(s),p=_o(s);!p&&l.position==="fixed"&&(a=null),(i?!p&&!a:!p&&l.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||gr(s)&&!p&&Hl(t,s))?n=n.filter(y=>y!==s):a=l,s=Zt(s)}return e.set(t,n),n}function ph(t){let{element:e,boundary:o,rootBoundary:n,strategy:a}=t,s=[...o==="clippingAncestors"?uh(e,this._c):[].concat(o),n],l=s[0],p=s.reduce((u,y)=>{let g=Bl(e,y,a);return u.top=St(g.top,u.top),u.right=Gr(g.right,u.right),u.bottom=Gr(g.bottom,u.bottom),u.left=St(g.left,u.left),u},Bl(e,l,a));return{width:p.right-p.left,height:p.bottom-p.top,x:p.left,y:p.top}}function fh(t){return Ml(t)}function hh(t,e,o){let n=He(e),a=ut(e),i=o==="fixed",s=qr(t,!0,i,e),l={scrollLeft:0,scrollTop:0},p=lt(0);if(n||!n&&!i)if((dt(e)!=="body"||gr(a))&&(l=Zr(e)),n){let u=qr(e,!0,i,e);p.x=u.x+e.clientLeft,p.y=u.y+e.clientTop}else a&&(p.x=Wl(a));return{x:s.left+l.scrollLeft-p.x,y:s.top+l.scrollTop-p.y,width:s.width,height:s.height}}function $l(t,e){return!He(t)||Le(t).position==="fixed"?null:e?e(t):t.offsetParent}function zl(t,e){let o=Ee(t);if(!He(t))return o;let n=$l(t,e);for(;n&&Tl(n)&&Le(n).position==="static";)n=$l(n,e);return n&&(dt(n)==="html"||dt(n)==="body"&&Le(n).position==="static"&&!_o(n))?o:n||_l(t)||o}function mh(t){return Le(t).direction==="rtl"}var nh,yh,Do,jl,Gl=f(()=>{ma();ma();Po();Dl();nh=lt(0);yh=async function(t){let{reference:e,floating:o,strategy:n}=t,a=this.getOffsetParent||zl,i=this.getDimensions;return{reference:hh(e,await a(o),n),floating:{x:0,y:0,...await i(o)}}};Do={convertOffsetParentRelativeRectToViewportRelativeRect:ih,getDocumentElement:ut,getClippingRect:ph,getOffsetParent:zl,getElementRects:yh,getClientRects:sh,getDimensions:fh,getScale:br,isElement:Qe,isRTL:mh},jl=(t,e,o)=>{let n=new Map,a={platform:Do,...o},i={...a.platform,_c:n};return Il(t,e,{...a,platform:i})}});function Vl(t){return gh(t)}function ga(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function gh(t){for(let e=t;e;e=ga(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=ga(t);e;e=ga(e)){if(!(e instanceof Element))continue;let o=getComputedStyle(e);if(o.display!=="contents"&&(o.position!=="static"||o.filter!=="none"||e.tagName==="BODY"))return e}return null}var Kl=f(()=>{});async function Zl(t,e,o){return jl(t,e,{platform:{...Do,getOffsetParent:n=>Do.getOffsetParent(n,Vl)},middleware:[ya({crossAxis:!0}),ha({allowedPlacements:[o]})]})}var ql=f(()=>{"use strict";Gl();Kl()});var Yl,de,Yr,we,oe,ba=f(()=>{"use strict";Yl=b(D()),de=b(X()),Yr=b(N());st();ia();ql();we=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},oe=class extends Yr.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 Yr.Debouncer,this.revealDebouncer=new Yr.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Yl.html`
|
|
521
|
+
`});function la(t,e,o){return St(t,jr(e,o))}function Io(t,e){return typeof t=="function"?t(e):t}function mr(t){return t.split("-")[0]}function Ot(t){return t.split("-")[1]}function da(t){return t==="x"?"y":"x"}function ua(t){return t==="y"?"height":"width"}function Lo(t){return["top","bottom"].includes(mr(t))?"y":"x"}function pa(t){return da(Lo(t))}function Rl(t,e,o){o===void 0&&(o=!1);let n=Ot(t),a=pa(t),i=ua(a),s=a==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=sa(s)),[s,sa(s)]}function Nl(t){return t.replace(/start|end/g,e=>th[e])}function sa(t){return t.replace(/left|right|bottom|top/g,e=>eh[e])}function rh(t){return{top:0,right:0,bottom:0,left:0,...t}}function Il(t){return typeof t!="number"?rh(t):{top:t,right:t,bottom:t,left:t}}function Kt(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}var Al,wl,ca,jr,St,Vr,lt,eh,th,Po=f(()=>{Al=["top","right","bottom","left"],wl=["start","end"],ca=Al.reduce((t,e)=>t.concat(e,e+"-"+wl[0],e+"-"+wl[1]),[]),jr=Math.min,St=Math.max,Vr=Math.round,lt=t=>({x:t,y:t}),eh={left:"right",right:"left",bottom:"top",top:"bottom"},th={start:"end",end:"start"}});function Ll(t,e,o){let{reference:n,floating:a}=t,i=Lo(e),s=pa(e),l=ua(s),p=mr(e),u=i==="y",y=n.x+n.width/2-a.width/2,g=n.y+n.height/2-a.height/2,x=n[l]/2-a[l]/2,O;switch(p){case"top":O={x:y,y:n.y-a.height};break;case"bottom":O={x:y,y:n.y+n.height};break;case"right":O={x:n.x+n.width,y:g};break;case"left":O={x:n.x-a.width,y:g};break;default:O={x:n.x,y:n.y}}switch(Ot(e)){case"start":O[s]-=x*(o&&u?-1:1);break;case"end":O[s]+=x*(o&&u?-1:1);break}return O}async function fa(t,e){var o;e===void 0&&(e={});let{x:n,y:a,platform:i,rects:s,elements:l,strategy:p}=t,{boundary:u="clippingAncestors",rootBoundary:y="viewport",elementContext:g="floating",altBoundary:x=!1,padding:O=0}=Io(e,t),S=Il(O),P=l[x?g==="floating"?"reference":"floating":g],I=Kt(await i.getClippingRect({element:(o=await(i.isElement==null?void 0:i.isElement(P)))==null||o?P:P.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:u,rootBoundary:y,strategy:p})),L=g==="floating"?{...s.floating,x:n,y:a}:s.reference,M=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),U=await(i.isElement==null?void 0:i.isElement(M))?await(i.getScale==null?void 0:i.getScale(M))||{x:1,y:1}:{x:1,y:1},F=Kt(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:L,offsetParent:M,strategy:p}):L);return{top:(I.top-F.top+S.top)/U.y,bottom:(F.bottom-I.bottom+S.bottom)/U.y,left:(I.left-F.left+S.left)/U.x,right:(F.right-I.right+S.right)/U.x}}function oh(t,e,o){return(t?[...o.filter(a=>Ot(a)===t),...o.filter(a=>Ot(a)!==t)]:o.filter(a=>mr(a)===a)).filter(a=>t?Ot(a)===t||(e?Nl(a)!==a:!1):!0)}var Pl,ha,ya,ma=f(()=>{Po();Po();Pl=async(t,e,o)=>{let{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:s}=o,l=i.filter(Boolean),p=await(s.isRTL==null?void 0:s.isRTL(e)),u=await s.getElementRects({reference:t,floating:e,strategy:a}),{x:y,y:g}=Ll(u,n,p),x=n,O={},S=0;for(let C=0;C<l.length;C++){let{name:P,fn:I}=l[C],{x:L,y:M,data:U,reset:F}=await I({x:y,y:g,initialPlacement:n,placement:x,strategy:a,middlewareData:O,rects:u,platform:s,elements:{reference:t,floating:e}});if(y=L??y,g=M??g,O={...O,[P]:{...O[P],...U}},F&&S<=50){S++,typeof F=="object"&&(F.placement&&(x=F.placement),F.rects&&(u=F.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:a}):F.rects),{x:y,y:g}=Ll(u,x,p)),C=-1;continue}}return{x:y,y:g,placement:x,strategy:a,middlewareData:O}};ha=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,n,a;let{rects:i,middlewareData:s,placement:l,platform:p,elements:u}=e,{crossAxis:y=!1,alignment:g,allowedPlacements:x=ca,autoAlignment:O=!0,...S}=Io(t,e),C=g!==void 0||x===ca?oh(g||null,O,x):x,P=await fa(e,S),I=((o=s.autoPlacement)==null?void 0:o.index)||0,L=C[I];if(L==null)return{};let M=Rl(L,i,await(p.isRTL==null?void 0:p.isRTL(u.floating)));if(l!==L)return{reset:{placement:C[0]}};let U=[P[mr(L)],P[M[0]],P[M[1]]],F=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:L,overflows:U}],Oe=C[I+1];if(Oe)return{data:{index:I+1,overflows:F},reset:{placement:Oe}};let Ze=F.map(pe=>{let m=Ot(pe.placement);return[pe.placement,m&&y?pe.overflows.slice(0,2).reduce((v,k)=>v+k,0):pe.overflows[0],pe.overflows]}).sort((pe,m)=>pe[1]-m[1]),qe=((a=Ze.filter(pe=>pe[2].slice(0,Ot(pe[0])?2:3).every(m=>m<=0))[0])==null?void 0:a[0])||Ze[0][0];return qe!==l?{data:{index:I+1,overflows:F},reset:{placement:qe}}:{}}}},ya=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:o,y:n,placement:a}=e,{mainAxis:i=!0,crossAxis:s=!1,limiter:l={fn:P=>{let{x:I,y:L}=P;return{x:I,y:L}}},...p}=Io(t,e),u={x:o,y:n},y=await fa(e,p),g=Lo(mr(a)),x=da(g),O=u[x],S=u[g];if(i){let P=x==="y"?"top":"left",I=x==="y"?"bottom":"right",L=O+y[P],M=O-y[I];O=la(L,O,M)}if(s){let P=g==="y"?"top":"left",I=g==="y"?"bottom":"right",L=S+y[P],M=S-y[I];S=la(L,S,M)}let C=l.fn({...e,[x]:O,[g]:S});return{...C,data:{x:C.x-o,y:C.y-n}}}}}});function dt(t){return _l(t)?(t.nodeName||"").toLowerCase():"#document"}function Ee(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function ut(t){var e;return(e=(_l(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function _l(t){return t instanceof Node||t instanceof Ee(t).Node}function Xe(t){return t instanceof Element||t instanceof Ee(t).Element}function ze(t){return t instanceof HTMLElement||t instanceof Ee(t).HTMLElement}function Tl(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Ee(t).ShadowRoot}function gr(t){let{overflow:e,overflowX:o,overflowY:n,display:a}=Le(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+o)&&!["inline","contents"].includes(a)}function kl(t){return["table","td","th"].includes(dt(t))}function _o(t){let e=ko(),o=Le(t);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!e&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!e&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(o.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(o.contain||"").includes(n))}function Dl(t){let e=Zt(t);for(;ze(e)&&!Kr(e);){if(_o(e))return e;e=Zt(e)}return null}function ko(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Kr(t){return["html","body","#document"].includes(dt(t))}function Le(t){return Ee(t).getComputedStyle(t)}function Zr(t){return Xe(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Zt(t){if(dt(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Tl(t)&&t.host||ut(t);return Tl(e)?e.host:e}function Bl(t){let e=Zt(t);return Kr(e)?t.ownerDocument?t.ownerDocument.body:t.body:ze(e)&&gr(e)?e:Bl(e)}function To(t,e,o){var n;e===void 0&&(e=[]),o===void 0&&(o=!0);let a=Bl(t),i=a===((n=t.ownerDocument)==null?void 0:n.body),s=Ee(a);return i?e.concat(s,s.visualViewport||[],gr(a)?a:[],s.frameElement&&o?To(s.frameElement):[]):e.concat(a,To(a,[],o))}var Ml=f(()=>{});function Fl(t){let e=Le(t),o=parseFloat(e.width)||0,n=parseFloat(e.height)||0,a=ze(t),i=a?t.offsetWidth:o,s=a?t.offsetHeight:n,l=Vr(o)!==i||Vr(n)!==s;return l&&(o=i,n=s),{width:o,height:n,$:l}}function Wl(t){return Xe(t)?t:t.contextElement}function br(t){let e=Wl(t);if(!ze(e))return lt(1);let o=e.getBoundingClientRect(),{width:n,height:a,$:i}=Fl(e),s=(i?Vr(o.width):o.width)/n,l=(i?Vr(o.height):o.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}function Hl(t){let e=Ee(t);return!ko()||!e.visualViewport?ih:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function sh(t,e,o){return e===void 0&&(e=!1),!o||e&&o!==Ee(t)?!1:e}function qr(t,e,o,n){e===void 0&&(e=!1),o===void 0&&(o=!1);let a=t.getBoundingClientRect(),i=Wl(t),s=lt(1);e&&(n?Xe(n)&&(s=br(n)):s=br(t));let l=sh(i,o,n)?Hl(i):lt(0),p=(a.left+l.x)/s.x,u=(a.top+l.y)/s.y,y=a.width/s.x,g=a.height/s.y;if(i){let x=Ee(i),O=n&&Xe(n)?Ee(n):n,S=x.frameElement;for(;S&&n&&O!==x;){let C=br(S),P=S.getBoundingClientRect(),I=Le(S),L=P.left+(S.clientLeft+parseFloat(I.paddingLeft))*C.x,M=P.top+(S.clientTop+parseFloat(I.paddingTop))*C.y;p*=C.x,u*=C.y,y*=C.x,g*=C.y,p+=L,u+=M,S=Ee(S).frameElement}}return Kt({width:y,height:g,x:p,y:u})}function ch(t){let{rect:e,offsetParent:o,strategy:n}=t,a=ze(o),i=ut(o);if(o===i)return e;let s={scrollLeft:0,scrollTop:0},l=lt(1),p=lt(0);if((a||!a&&n!=="fixed")&&((dt(o)!=="body"||gr(i))&&(s=Zr(o)),ze(o))){let u=qr(o);l=br(o),p.x=u.x+o.clientLeft,p.y=u.y+o.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-s.scrollLeft*l.x+p.x,y:e.y*l.y-s.scrollTop*l.y+p.y}}function lh(t){return Array.from(t.getClientRects())}function zl(t){return qr(ut(t)).left+Zr(t).scrollLeft}function dh(t){let e=ut(t),o=Zr(t),n=t.ownerDocument.body,a=St(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=St(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),s=-o.scrollLeft+zl(t),l=-o.scrollTop;return Le(n).direction==="rtl"&&(s+=St(e.clientWidth,n.clientWidth)-a),{width:a,height:i,x:s,y:l}}function uh(t,e){let o=Ee(t),n=ut(t),a=o.visualViewport,i=n.clientWidth,s=n.clientHeight,l=0,p=0;if(a){i=a.width,s=a.height;let u=ko();(!u||u&&e==="fixed")&&(l=a.offsetLeft,p=a.offsetTop)}return{width:i,height:s,x:l,y:p}}function ph(t,e){let o=qr(t,!0,e==="fixed"),n=o.top+t.clientTop,a=o.left+t.clientLeft,i=ze(t)?br(t):lt(1),s=t.clientWidth*i.x,l=t.clientHeight*i.y,p=a*i.x,u=n*i.y;return{width:s,height:l,x:p,y:u}}function $l(t,e,o){let n;if(e==="viewport")n=uh(t,o);else if(e==="document")n=dh(ut(t));else if(Xe(e))n=ph(e,o);else{let a=Hl(t);n={...e,x:e.x-a.x,y:e.y-a.y}}return Kt(n)}function Gl(t,e){let o=Zt(t);return o===e||!Xe(o)||Kr(o)?!1:Le(o).position==="fixed"||Gl(o,e)}function fh(t,e){let o=e.get(t);if(o)return o;let n=To(t,[],!1).filter(l=>Xe(l)&&dt(l)!=="body"),a=null,i=Le(t).position==="fixed",s=i?Zt(t):t;for(;Xe(s)&&!Kr(s);){let l=Le(s),p=_o(s);!p&&l.position==="fixed"&&(a=null),(i?!p&&!a:!p&&l.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||gr(s)&&!p&&Gl(t,s))?n=n.filter(y=>y!==s):a=l,s=Zt(s)}return e.set(t,n),n}function hh(t){let{element:e,boundary:o,rootBoundary:n,strategy:a}=t,s=[...o==="clippingAncestors"?fh(e,this._c):[].concat(o),n],l=s[0],p=s.reduce((u,y)=>{let g=$l(e,y,a);return u.top=St(g.top,u.top),u.right=jr(g.right,u.right),u.bottom=jr(g.bottom,u.bottom),u.left=St(g.left,u.left),u},$l(e,l,a));return{width:p.right-p.left,height:p.bottom-p.top,x:p.left,y:p.top}}function yh(t){return Fl(t)}function mh(t,e,o){let n=ze(e),a=ut(e),i=o==="fixed",s=qr(t,!0,i,e),l={scrollLeft:0,scrollTop:0},p=lt(0);if(n||!n&&!i)if((dt(e)!=="body"||gr(a))&&(l=Zr(e)),n){let u=qr(e,!0,i,e);p.x=u.x+e.clientLeft,p.y=u.y+e.clientTop}else a&&(p.x=zl(a));return{x:s.left+l.scrollLeft-p.x,y:s.top+l.scrollTop-p.y,width:s.width,height:s.height}}function Ul(t,e){return!ze(t)||Le(t).position==="fixed"?null:e?e(t):t.offsetParent}function jl(t,e){let o=Ee(t);if(!ze(t))return o;let n=Ul(t,e);for(;n&&kl(n)&&Le(n).position==="static";)n=Ul(n,e);return n&&(dt(n)==="html"||dt(n)==="body"&&Le(n).position==="static"&&!_o(n))?o:n||Dl(t)||o}function bh(t){return Le(t).direction==="rtl"}var ih,gh,Do,Vl,Kl=f(()=>{ma();ma();Po();Ml();ih=lt(0);gh=async function(t){let{reference:e,floating:o,strategy:n}=t,a=this.getOffsetParent||jl,i=this.getDimensions;return{reference:mh(e,await a(o),n),floating:{x:0,y:0,...await i(o)}}};Do={convertOffsetParentRelativeRectToViewportRelativeRect:ch,getDocumentElement:ut,getClippingRect:hh,getOffsetParent:jl,getElementRects:gh,getClientRects:lh,getDimensions:yh,getScale:br,isElement:Xe,isRTL:bh},Vl=(t,e,o)=>{let n=new Map,a={platform:Do,...o},i={...a.platform,_c:n};return Pl(t,e,{...a,platform:i})}});function Zl(t){return xh(t)}function ga(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function xh(t){for(let e=t;e;e=ga(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=ga(t);e;e=ga(e)){if(!(e instanceof Element))continue;let o=getComputedStyle(e);if(o.display!=="contents"&&(o.position!=="static"||o.filter!=="none"||e.tagName==="BODY"))return e}return null}var ql=f(()=>{});async function Yl(t,e,o){return Vl(t,e,{platform:{...Do,getOffsetParent:n=>Do.getOffsetParent(n,Zl)},middleware:[ya({crossAxis:!0}),ha({allowedPlacements:[o]})]})}var Ql=f(()=>{"use strict";Kl();ql()});var Xl,de,Yr,we,ne,ba=f(()=>{"use strict";Xl=b(D()),de=b(Q()),Yr=b(N());st();ia();Ql();we=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},ne=class extends Yr.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 Yr.Debouncer,this.revealDebouncer=new Yr.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Xl.html`
|
|
522
522
|
<div part="container"
|
|
523
523
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
524
524
|
@mouseenter=${this.onHover}
|
|
@@ -536,21 +536,21 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
536
536
|
</div>
|
|
537
537
|
</div>
|
|
538
538
|
</div>
|
|
539
|
-
`}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(o=>e.has(o))&&this.visible&&this.positionTooltip()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(o=>o.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="",Zl(this.slottedElement,this.tooltip,this.position).then(({x:e,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${o}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",e=>{e.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(e,o){return Math.max(e,Math.min(0,-o))}};oe.elementDefinitions={"ft-typography":ae};oe.styles=Ol;we([(0,de.property)()],oe.prototype,"text",void 0);we([(0,de.property)({type:Boolean})],oe.prototype,"manual",void 0);we([(0,de.property)({type:Boolean})],oe.prototype,"inline",void 0);we([(0,de.property)({type:Number})],oe.prototype,"delay",void 0);we([(0,de.property)()],oe.prototype,"position",void 0);we([(0,de.queryAssignedNodes)()],oe.prototype,"slotNodes",void 0);we([(0,de.query)(".ft-tooltip--container")],oe.prototype,"container",void 0);we([(0,de.query)(".ft-tooltip")],oe.prototype,"tooltip",void 0);we([(0,de.query)(".ft-tooltip--content")],oe.prototype,"tooltipContent",void 0);we([(0,de.state)()],oe.prototype,"visible",void 0);we([(0,de.eventOptions)({passive:!0})],oe.prototype,"onTouch",null);we([(0,de.eventOptions)({passive:!0})],oe.prototype,"onHover",null);we([(0,de.eventOptions)({passive:!0})],oe.prototype,"onOut",null);we([(0,de.eventOptions)({passive:!0})],oe.prototype,"onClick",null)});var Xl=f(()=>{"use strict"});var Ql,xa=f(()=>{"use strict";Ql=b(N());ba();ba();ia();Xl();(0,Ql.customElement)("ft-tooltip")(oe)});var Bo=Wt((Av,Jl)=>{Jl.exports=ftGlobals.litUnsafeHTML});function ed(t,e){var o,n,a,i;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[s,l]=(((o=bh.get(t))!==null&&o!==void 0?o:t)+"/").split("/");return(i=(a=(n=va.get(l))!==null&&n!==void 0?n:va.get(e))!==null&&a!==void 0?a:va.get(s))!==null&&i!==void 0?i:A.UNKNOWN}var Ct,A,va,bh,Rv,Sa=f(()=>{"use strict";(function(t){t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.BOOKS="",t.MENU="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.HOME="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.EXPORT="",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.USER="",t.EXTLINK="",t.CALENDAR="",t.OFFLINE="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.STAR_PLAIN="",t.TOPICS="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN="",t.ADMIN_KHUB="",t.ADMIN_THEME="",t.ADMIN_USERS="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.INFO="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.FACET_HAS_DESCENDANT="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.THIN_ARROW="",t.SIGN_IN="",t.LOGOUT="",t.TRANSLATE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.ARTICLE="",t.COLUMNS="",t.ANALYTICS="",t.COLLECTIONS="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SEARCH_IN_PUBLICATION="",t.COPY_TO_CLIPBOARD="",t.SHARED_PBK="",t.ATTACHMENTS="",t.STRIPE_ARROW_LEFT="",t.STRIPE_ARROW_RIGHT="",t.FILTERS="",t.DOT="",t.MINUS="",t.PLUS="",t.MAILS_AND_NOTIFICATIONS="",t.SAVE="",t.LOCKER="",t.ADMIN_INTEGRATION="",t.SYNC="",t.TAG="",t.BOOK_PLAIN="",t.UPLOAD="",t.ONLINE="",t.TAG_PLAIN="",t.ACCOUNT_SETTINGS="",t.PRINT="",t.DEFAULT_ROLES="",t.SHORTCUT_MENU="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.PAUSE="",t.PLAY="",t.ADMIN_PORTAL="",t.STAR="",t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.FEEDBACK_PLAIN="",t.RATE_PLAIN="",t.RATE="",t.OFFLINE_SETTINGS="",t.MY_COLLECTIONS="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.RESET="",t.MY_LIBRARY="",t.UNSTRUCTURED_DOC="",t.CONTEXTUAL="",t.THIN_ARROW_UP="",t.ARROW_RIGHT_TO_LINE="",t.DESKTOP="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_STACKED="",t.CHART_BAR_GROUPED="",t.EYE_SLASH="",t.X_MARK="",t.EXPAND_WIDE="",t.PIP="",t.PIP_WIDE="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.EXTLINK_LIGHT="",t.CLONE="",t.CLONE_LINK_SIMPLE="",t.CHART_BAR_NORMALIZED="",t.CONSUMER="",t.OCTAGON_XMARK="",t.HOURGLASS_HALF="",t.CLOCK="",t.CLOCK_THREE="",t.CALENDAR_DAY="",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="",t.WAND_MAGIC_SPARKLES="",t.PAPER_PLANE="",t.CIRCLE_STOP="",t.ARROW_ROTATE_RIGHT="",t.ARROWS_ROTATE="",t.ALIGN_RIGHT="",t.FORMAT_CLEAR="",t.ALIGN_CENTER="",t.ALIGN_LEFT="",t.PALETTE="",t.BOLD="",t.ITALIC="",t.UNDERLINE="",t.STRIKETHROUGH="",t.LINK_SIMPLE_SLASH="",t.LINK_SIMPLE="",t.ROUTE="",t.CIRCLE_USER_SLASH="",t.CIRCLE_USER_CHECK="",t.LIST_MAGNIFYING_GLASS="",t.MEDAL="",t.THUMBS_UP_THUMBS_DOWN_SOLID="",t.ARROW_TURN_DOWN_RIGHT="",t.FLASK="",t.LOCK_KEYHOLE_OPEN_SOLID="",t.HOURGLASS_END="",t.CIRCLE_QUESTION="",t.EYE="",t.SHARE="󨃱"})(Ct||(Ct={}));(function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""})(A||(A={}));va=new Map([...["abw"].map(t=>[t,A.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,A.AUDIO]),...["avi"].map(t=>[t,A.AVI]),...["chm","xhs"].map(t=>[t,A.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,A.CODE]),...["csv"].map(t=>[t,A.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,A.DITA]),...["epub"].map(t=>[t,A.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,A.EXCEL]),...["flac"].map(t=>[t,A.FLAC]),...["gif"].map(t=>[t,A.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,A.GZIP]),...["html","htm","xhtml"].map(t=>[t,A.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,A.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,A.JPEG]),...["json"].map(t=>[t,A.JSON]),...["m4a","m4p"].map(t=>[t,A.M4A]),...["mov","qt"].map(t=>[t,A.MOV]),...["mp3"].map(t=>[t,A.MP3]),...["mp4","m4v"].map(t=>[t,A.MP4]),...["ogg","oga"].map(t=>[t,A.OGG]),...["pdf","ps"].map(t=>[t,A.PDF]),...["png"].map(t=>[t,A.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,A.POWERPOINT]),...["rar"].map(t=>[t,A.RAR]),...["stp"].map(t=>[t,A.STP]),...["txt","rtf","md","mdown"].map(t=>[t,A.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,A.VIDEO]),...["wav"].map(t=>[t,A.WAV]),...["wma"].map(t=>[t,A.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,A.WORD]),...["xml","xsl","rdf"].map(t=>[t,A.XML]),...["yaml","yml","x-yaml"].map(t=>[t,A.YAML]),...["zip"].map(t=>[t,A.ZIP])]),bh=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"]]);Rv={[A.ABW]:"#91ABC6",[A.AUDIO]:"#1795E3",[A.AVI]:"#E63324",[A.CHM]:"#71C3EB",[A.CODE]:"#71C3EB",[A.CSV]:"#1F7345",[A.DITA]:"#71C3EB",[A.EPUB]:"#85B926",[A.EXCEL]:"#1F7345",[A.FLAC]:"#1795E3",[A.GIF]:"#59B031",[A.GZIP]:"#F8AB36",[A.HTML]:"#71C3EB",[A.IMAGE]:"#59B031",[A.JPEG]:"#59B031",[A.JSON]:"#71C3EB",[A.M4A]:"#1795E3",[A.MOV]:"#E63324",[A.MP3]:"#1795E3",[A.MP4]:"#E63324",[A.OGG]:"#1795E3",[A.PDF]:"#E44948",[A.PNG]:"#59B031",[A.POWERPOINT]:"#B54A2B",[A.RAR]:"#F8AB36",[A.STP]:"#3764B1",[A.TEXT]:"#3162AB",[A.UNKNOWN]:"#999999",[A.VIDEO]:"#E63324",[A.WAV]:"#1795E3",[A.WMA]:"#1795E3",[A.WORD]:"#3162AB",[A.XML]:"#71C3EB",[A.YAML]:"#71C3EB",[A.ZIP]:"#F8AB36"}});var Pe,Oa=f(()=>{"use strict";(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(Pe||(Pe={}))});var Xr,qt,td,rd,$o,Ae,Ca=f(()=>{"use strict";Xr=b(D()),qt=b(X()),td=b(N()),rd=b(Bo());Sa();Mr();Oa();$o=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Ae=class extends td.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=Xr.nothing}render(){let e=this.variant&&Object.values(Pe).includes(this.variant)?this.variant:Pe.fluid_topics,o=e!==Pe.material||!!this.value;return Xr.html`
|
|
539
|
+
`}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(o=>e.has(o))&&this.visible&&this.positionTooltip()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(o=>o.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="",Yl(this.slottedElement,this.tooltip,this.position).then(({x:e,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${o}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",e=>{e.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(e,o){return Math.max(e,Math.min(0,-o))}};ne.elementDefinitions={"ft-typography":ae};ne.styles=El;we([(0,de.property)()],ne.prototype,"text",void 0);we([(0,de.property)({type:Boolean})],ne.prototype,"manual",void 0);we([(0,de.property)({type:Boolean})],ne.prototype,"inline",void 0);we([(0,de.property)({type:Number})],ne.prototype,"delay",void 0);we([(0,de.property)()],ne.prototype,"position",void 0);we([(0,de.queryAssignedNodes)()],ne.prototype,"slotNodes",void 0);we([(0,de.query)(".ft-tooltip--container")],ne.prototype,"container",void 0);we([(0,de.query)(".ft-tooltip")],ne.prototype,"tooltip",void 0);we([(0,de.query)(".ft-tooltip--content")],ne.prototype,"tooltipContent",void 0);we([(0,de.state)()],ne.prototype,"visible",void 0);we([(0,de.eventOptions)({passive:!0})],ne.prototype,"onTouch",null);we([(0,de.eventOptions)({passive:!0})],ne.prototype,"onHover",null);we([(0,de.eventOptions)({passive:!0})],ne.prototype,"onOut",null);we([(0,de.eventOptions)({passive:!0})],ne.prototype,"onClick",null)});var Jl=f(()=>{"use strict"});var ed,xa=f(()=>{"use strict";ed=b(N());ba();ba();ia();Jl();(0,ed.customElement)("ft-tooltip")(ne)});var Bo=Wt((Uv,td)=>{td.exports=ftGlobals.litUnsafeHTML});function rd(t,e){var o,n,a,i;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[s,l]=(((o=vh.get(t))!==null&&o!==void 0?o:t)+"/").split("/");return(i=(a=(n=va.get(l))!==null&&n!==void 0?n:va.get(e))!==null&&a!==void 0?a:va.get(s))!==null&&i!==void 0?i:A.UNKNOWN}var Ct,A,va,vh,Fv,Sa=f(()=>{"use strict";(function(t){t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.BOOKS="",t.MENU="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.HOME="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.EXPORT="",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.USER="",t.EXTLINK="",t.CALENDAR="",t.OFFLINE="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.STAR_PLAIN="",t.TOPICS="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN="",t.ADMIN_KHUB="",t.ADMIN_THEME="",t.ADMIN_USERS="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.INFO="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.FACET_HAS_DESCENDANT="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.THIN_ARROW="",t.SIGN_IN="",t.LOGOUT="",t.TRANSLATE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.ARTICLE="",t.COLUMNS="",t.ANALYTICS="",t.COLLECTIONS="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SEARCH_IN_PUBLICATION="",t.COPY_TO_CLIPBOARD="",t.SHARED_PBK="",t.ATTACHMENTS="",t.STRIPE_ARROW_LEFT="",t.STRIPE_ARROW_RIGHT="",t.FILTERS="",t.DOT="",t.MINUS="",t.PLUS="",t.MAILS_AND_NOTIFICATIONS="",t.SAVE="",t.LOCKER="",t.ADMIN_INTEGRATION="",t.SYNC="",t.TAG="",t.BOOK_PLAIN="",t.UPLOAD="",t.ONLINE="",t.TAG_PLAIN="",t.ACCOUNT_SETTINGS="",t.PRINT="",t.DEFAULT_ROLES="",t.SHORTCUT_MENU="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.PAUSE="",t.PLAY="",t.ADMIN_PORTAL="",t.STAR="",t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.FEEDBACK_PLAIN="",t.RATE_PLAIN="",t.RATE="",t.OFFLINE_SETTINGS="",t.MY_COLLECTIONS="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.RESET="",t.MY_LIBRARY="",t.UNSTRUCTURED_DOC="",t.CONTEXTUAL="",t.THIN_ARROW_UP="",t.ARROW_RIGHT_TO_LINE="",t.DESKTOP="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_STACKED="",t.CHART_BAR_GROUPED="",t.EYE_SLASH="",t.X_MARK="",t.EXPAND_WIDE="",t.PIP="",t.PIP_WIDE="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.EXTLINK_LIGHT="",t.CLONE="",t.CLONE_LINK_SIMPLE="",t.CHART_BAR_NORMALIZED="",t.CONSUMER="",t.OCTAGON_XMARK="",t.HOURGLASS_HALF="",t.CLOCK="",t.CLOCK_THREE="",t.CALENDAR_DAY="",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="",t.WAND_MAGIC_SPARKLES="",t.PAPER_PLANE="",t.CIRCLE_STOP="",t.ARROW_ROTATE_RIGHT="",t.ARROWS_ROTATE="",t.ALIGN_RIGHT="",t.FORMAT_CLEAR="",t.ALIGN_CENTER="",t.ALIGN_LEFT="",t.PALETTE="",t.BOLD="",t.ITALIC="",t.UNDERLINE="",t.STRIKETHROUGH="",t.LINK_SIMPLE_SLASH="",t.LINK_SIMPLE="",t.ROUTE="",t.CIRCLE_USER_SLASH="",t.CIRCLE_USER_CHECK="",t.LIST_MAGNIFYING_GLASS="",t.MEDAL="",t.THUMBS_UP_THUMBS_DOWN_SOLID="",t.ARROW_TURN_DOWN_RIGHT="",t.FLASK="",t.LOCK_KEYHOLE_OPEN_SOLID="",t.HOURGLASS_END="",t.CIRCLE_QUESTION="",t.EYE="",t.SHARE="󨃱"})(Ct||(Ct={}));(function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""})(A||(A={}));va=new Map([...["abw"].map(t=>[t,A.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,A.AUDIO]),...["avi"].map(t=>[t,A.AVI]),...["chm","xhs"].map(t=>[t,A.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,A.CODE]),...["csv"].map(t=>[t,A.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,A.DITA]),...["epub"].map(t=>[t,A.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,A.EXCEL]),...["flac"].map(t=>[t,A.FLAC]),...["gif"].map(t=>[t,A.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,A.GZIP]),...["html","htm","xhtml"].map(t=>[t,A.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,A.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,A.JPEG]),...["json"].map(t=>[t,A.JSON]),...["m4a","m4p"].map(t=>[t,A.M4A]),...["mov","qt"].map(t=>[t,A.MOV]),...["mp3"].map(t=>[t,A.MP3]),...["mp4","m4v"].map(t=>[t,A.MP4]),...["ogg","oga"].map(t=>[t,A.OGG]),...["pdf","ps"].map(t=>[t,A.PDF]),...["png"].map(t=>[t,A.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,A.POWERPOINT]),...["rar"].map(t=>[t,A.RAR]),...["stp"].map(t=>[t,A.STP]),...["txt","rtf","md","mdown"].map(t=>[t,A.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,A.VIDEO]),...["wav"].map(t=>[t,A.WAV]),...["wma"].map(t=>[t,A.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,A.WORD]),...["xml","xsl","rdf"].map(t=>[t,A.XML]),...["yaml","yml","x-yaml"].map(t=>[t,A.YAML]),...["zip"].map(t=>[t,A.ZIP])]),vh=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"]]);Fv={[A.ABW]:"#91ABC6",[A.AUDIO]:"#1795E3",[A.AVI]:"#E63324",[A.CHM]:"#71C3EB",[A.CODE]:"#71C3EB",[A.CSV]:"#1F7345",[A.DITA]:"#71C3EB",[A.EPUB]:"#85B926",[A.EXCEL]:"#1F7345",[A.FLAC]:"#1795E3",[A.GIF]:"#59B031",[A.GZIP]:"#F8AB36",[A.HTML]:"#71C3EB",[A.IMAGE]:"#59B031",[A.JPEG]:"#59B031",[A.JSON]:"#71C3EB",[A.M4A]:"#1795E3",[A.MOV]:"#E63324",[A.MP3]:"#1795E3",[A.MP4]:"#E63324",[A.OGG]:"#1795E3",[A.PDF]:"#E44948",[A.PNG]:"#59B031",[A.POWERPOINT]:"#B54A2B",[A.RAR]:"#F8AB36",[A.STP]:"#3764B1",[A.TEXT]:"#3162AB",[A.UNKNOWN]:"#999999",[A.VIDEO]:"#E63324",[A.WAV]:"#1795E3",[A.WMA]:"#1795E3",[A.WORD]:"#3162AB",[A.XML]:"#71C3EB",[A.YAML]:"#71C3EB",[A.ZIP]:"#F8AB36"}});var Pe,Oa=f(()=>{"use strict";(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(Pe||(Pe={}))});var Qr,qt,od,nd,Mo,Ae,Ca=f(()=>{"use strict";Qr=b(D()),qt=b(Q()),od=b(N()),nd=b(Bo());Sa();$r();Oa();Mo=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Ae=class extends od.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=Qr.nothing}render(){let e=this.variant&&Object.values(Pe).includes(this.variant)?this.variant:Pe.fluid_topics,o=e!==Pe.material||!!this.value;return Qr.html`
|
|
540
540
|
<i class="ft-icon ft-icon--${e}" part="icon icon-${e}">
|
|
541
|
-
${(0,
|
|
541
|
+
${(0,nd.unsafeHTML)(this.resolvedIcon)}
|
|
542
542
|
<slot ?hidden=${o}></slot>
|
|
543
543
|
</i>
|
|
544
|
-
`}get textContent(){var e,o;return(o=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}update(e){super.update(e),["value","variant"].some(o=>e.has(o))&&this.resolveIcon()}resolveIcon(){var e,o;let n=this.value||this.textContent;switch(this.variant){case Pe.file_format:this.resolvedIcon=(e=A[n.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:n;break;case Pe.material:this.resolvedIcon=this.value||
|
|
544
|
+
`}get textContent(){var e,o;return(o=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}update(e){super.update(e),["value","variant"].some(o=>e.has(o))&&this.resolveIcon()}resolveIcon(){var e,o;let n=this.value||this.textContent;switch(this.variant){case Pe.file_format:this.resolvedIcon=(e=A[n.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:n;break;case Pe.material:this.resolvedIcon=this.value||Qr.nothing;break;default:this.resolvedIcon=(o=Ct[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};Ae.elementDefinitions={};Ae.styles=jc;Mo([(0,qt.property)()],Ae.prototype,"variant",void 0);Mo([(0,qt.property)()],Ae.prototype,"value",void 0);Mo([(0,qt.state)()],Ae.prototype,"resolvedIcon",void 0);Mo([(0,qt.query)("slot")],Ae.prototype,"slottedContent",void 0)});var ad,$o=f(()=>{"use strict";ad=b(N());Ca();$r();Oa();Ca();Sa();(0,ad.customElement)("ft-icon")(Ae)});var id,sd,Yt,Ea=f(()=>{"use strict";id=b(D()),sd=b(N());Mr();Yt=class extends sd.FtLitElement{render(){return id.html`
|
|
545
545
|
<div class="ft-loader">
|
|
546
546
|
<div></div>
|
|
547
547
|
<div></div>
|
|
548
548
|
<div></div>
|
|
549
549
|
<div></div>
|
|
550
550
|
</div>
|
|
551
|
-
`}};Yt.styles=
|
|
551
|
+
`}};Yt.styles=zc});var cd=f(()=>{"use strict"});var ld,dd=f(()=>{"use strict";ld=b(N());Ea();Mr();cd();Ea();(0,ld.customElement)("ft-loader")(Yt)});var Et,xr,ud,ye,Re,ie,wa=f(()=>{"use strict";Et=b(N());Eo();xa();st();$o();dd();xr=b(D()),ud=b(Ur()),ye=b(Q()),Re=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},ie=class extends(0,Et.toFtFormComponent)(Et.FtLitElement,"button"){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.role="button",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.addEventListener("click",e=>{var o;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((o=this.form)===null||o===void 0||o.requestSubmit())})}render(){var e;return this.addTooltipIfNeeded(xr.html`
|
|
552
552
|
<button part="button"
|
|
553
|
-
class="${(0,
|
|
553
|
+
class="${(0,ud.classMap)(this.buttonClasses)}"
|
|
554
554
|
aria-label="${(e=this.ariaLabel)!==null&&e!==void 0?e:this.getLabel()}"
|
|
555
555
|
?disabled=${this.isDisabled()}>
|
|
556
556
|
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
@@ -574,7 +574,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
574
574
|
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
|
|
575
575
|
`:xr.html`
|
|
576
576
|
<slot part="icon" name="icon"></slot>
|
|
577
|
-
`}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}getLabel(){return this.label||this.textContent}get textContent(){return(0,Et.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};ie.elementDefinitions={"ft-ripple":
|
|
577
|
+
`}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}getLabel(){return this.label||this.textContent}get textContent(){return(0,Et.unslotText)(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};ie.elementDefinitions={"ft-ripple":X,"ft-tooltip":ne,"ft-typography":ae,"ft-icon":Ae,"ft-loader":Yt};Re([(0,ye.property)({type:String,reflect:!0})],ie.prototype,"role",void 0);Re([(0,ye.property)()],ie.prototype,"type",void 0);Re([(0,ye.property)({type:Boolean})],ie.prototype,"disabled",void 0);Re([(0,ye.property)()],ie.prototype,"label",void 0);Re([(0,ye.property)()],ie.prototype,"icon",void 0);Re([(0,ye.property)()],ie.prototype,"iconVariant",void 0);Re([(0,ye.property)({type:Boolean})],ie.prototype,"trailingIcon",void 0);Re([(0,ye.property)({type:Boolean})],ie.prototype,"loading",void 0);Re([(0,ye.property)({attribute:"aria-label"})],ie.prototype,"ariaLabel",void 0);Re([(0,ye.property)()],ie.prototype,"tooltipPosition",void 0);Re([(0,ye.property)({type:Boolean})],ie.prototype,"hideTooltip",void 0);Re([(0,ye.property)({type:Boolean})],ie.prototype,"forceTooltip",void 0);Re([(0,ye.query)(".ft-button")],ie.prototype,"button",void 0);Re([(0,ye.query)(".ft-button--label slot")],ie.prototype,"slottedContent",void 0)});var Xr,pd,Uo,Te,Aa=f(()=>{"use strict";Xr=b(Q()),pd=b(N());Vn();wa();Uo=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Te=class extends ie{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=[pd.safariEllipsisFix,qc];Uo([(0,Xr.property)({type:Boolean})],Te.prototype,"primary",void 0);Uo([(0,Xr.property)({type:Boolean})],Te.prototype,"outlined",void 0);Uo([(0,Xr.property)({type:Boolean})],Te.prototype,"dense",void 0);Uo([(0,Xr.property)({type:Boolean})],Te.prototype,"round",void 0)});var fd,E,hd,Ra=f(()=>{"use strict";fd=b(D()),E=b(N());zt();Mr();$r();j();j();hd=[fd.css`
|
|
578
578
|
:host {
|
|
579
579
|
display: inline-block;
|
|
580
580
|
max-width: 100%;
|
|
@@ -976,7 +976,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
976
976
|
/** Large styles **/
|
|
977
977
|
|
|
978
978
|
.ftds--size-large {
|
|
979
|
-
${(0,E.setVariable)(
|
|
979
|
+
${(0,E.setVariable)(ve.size,h.largeIconSize)};
|
|
980
980
|
${(0,E.setVariable)(J.size,h.largeIconSize)};
|
|
981
981
|
|
|
982
982
|
height: ${h.largeHeight};
|
|
@@ -998,7 +998,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
998
998
|
/** Small styles **/
|
|
999
999
|
|
|
1000
1000
|
.ftds--size-medium {
|
|
1001
|
-
${(0,E.setVariable)(
|
|
1001
|
+
${(0,E.setVariable)(ve.size,h.mediumIconSize)};
|
|
1002
1002
|
${(0,E.setVariable)(J.size,h.mediumIconSize)};
|
|
1003
1003
|
|
|
1004
1004
|
height: ${h.mediumHeight};
|
|
@@ -1021,7 +1021,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1021
1021
|
/** Small styles **/
|
|
1022
1022
|
|
|
1023
1023
|
.ftds--size-small {
|
|
1024
|
-
${(0,E.setVariable)(
|
|
1024
|
+
${(0,E.setVariable)(ve.size,h.smallIconSize)};
|
|
1025
1025
|
${(0,E.setVariable)(J.size,h.smallIconSize)};
|
|
1026
1026
|
|
|
1027
1027
|
height: ${h.smallHeight};
|
|
@@ -1039,11 +1039,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1039
1039
|
.ftds--size-small.ft-button--icon-only {
|
|
1040
1040
|
width: ${h.smallIconOnlyWidth};
|
|
1041
1041
|
}
|
|
1042
|
-
`,E.noTextSelect]});var Jr,Wo,Fo,pt,Na=f(()=>{"use strict";wa();Jr=b(
|
|
1042
|
+
`,E.noTextSelect]});var Jr,Wo,Fo,pt,Na=f(()=>{"use strict";wa();Jr=b(Q());No();Wo=b(N());Ra();j();$o();Fo=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},pt=class extends(0,Wo.toFtdsBase)(ie){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=vo.brand,this.iconVariant=Pe.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 nr.large:return xt.body2medium;case nr.medium:return xt.caption1medium;case nr.small:return xt.caption2medium}}};pt.styles=[Wo.safariEllipsisFix,hd];Fo([(0,Jr.property)({type:Boolean})],pt.prototype,"primary",void 0);Fo([(0,Jr.property)({type:Boolean})],pt.prototype,"secondary",void 0);Fo([(0,Jr.property)({type:Boolean})],pt.prototype,"tertiary",void 0);Fo([(0,Jr.property)({type:Boolean})],pt.prototype,"round",void 0)});var yd=f(()=>{"use strict"});var md=f(()=>{"use strict"});var Ia,Ho=f(()=>{"use strict";Ia=b(N());Aa();Na();Aa();Vn();yd();Na();Ra();md();(0,Ia.customElement)("ft-button")(Te);(0,Ia.customElement)("ftds-button")(pt)});var gd,Z,Y,La,eo=f(()=>{"use strict";gd=b(D()),Z=b(N());Ho();xa();Y={height:Z.FtCssVariableFactory.create("--ft-search-input-height","","SIZE","38px"),borderRadius:Z.FtCssVariableFactory.extend("--ft-search-input-border-radius","",Z.designSystemVariables.borderRadiusS),desktopFiltersHeight:Z.FtCssVariableFactory.create("--ft-search-input-desktop-filters-height","","SIZE","350px"),floatingZIndex:Z.FtCssVariableFactory.create("--ft-search-input-floating-components-z-index","","NUMBER","3"),colorSurface:Z.FtCssVariableFactory.extend("--ft-search-input-background-color","",Z.designSystemVariables.colorSurface),colorOnSurface:Z.FtCssVariableFactory.extend("--ft-search-input-color","",Z.designSystemVariables.colorOnSurface),colorOnSurfaceMedium:Z.FtCssVariableFactory.extend("--ft-search-input-placeholder-color","",Z.designSystemVariables.colorOnSurfaceMedium),colorOutline:Z.FtCssVariableFactory.extend("--ft-search-input-outline-color","",Z.designSystemVariables.colorOutline),elevation02:Z.FtCssVariableFactory.extend("--ft-search-input-elevation","",Z.designSystemVariables.elevation02),focusOutlineColor:Z.FtCssVariableFactory.extend("--ft-search-input-focused-outline-color","",Z.designSystemVariables.colorPrimary),buttonColor:Z.FtCssVariableFactory.extend("--ft-search-input-button-color","",Z.designSystemVariables.colorPrimary),buttonRippleColor:Z.FtCssVariableFactory.extend("--ft-search-input-button-ripple-color","",Z.designSystemVariables.colorPrimary)},La=gd.css`
|
|
1043
1043
|
* {
|
|
1044
1044
|
box-sizing: border-box;
|
|
1045
|
-
${(0,
|
|
1046
|
-
${(0,
|
|
1045
|
+
${(0,Z.setVariable)(oe.color,Y.buttonColor)};
|
|
1046
|
+
${(0,Z.setVariable)(oe.rippleColor,Y.buttonRippleColor)};
|
|
1047
1047
|
}
|
|
1048
1048
|
|
|
1049
1049
|
.ft-search-input {
|
|
@@ -1097,13 +1097,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1097
1097
|
align-items: center;
|
|
1098
1098
|
height: 100%;
|
|
1099
1099
|
|
|
1100
|
-
${(0,
|
|
1100
|
+
${(0,Z.setVariable)(vt.zIndex,`calc(${Y.floatingZIndex} + 1)`)};
|
|
1101
1101
|
}
|
|
1102
1102
|
|
|
1103
1103
|
.ft-search-input > ft-button,
|
|
1104
1104
|
.ft-search-input--actions ft-button {
|
|
1105
1105
|
flex-shrink: 0;
|
|
1106
|
-
${(0,
|
|
1106
|
+
${(0,Z.setVariable)(oe.backgroundColor,"transparent")};
|
|
1107
1107
|
}
|
|
1108
1108
|
|
|
1109
1109
|
.ft-search-input .ft-search-input--launch-search,
|
|
@@ -1123,15 +1123,15 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1123
1123
|
height: 20px;
|
|
1124
1124
|
border-right: 1px solid ${Y.colorOutline};
|
|
1125
1125
|
}
|
|
1126
|
-
`});var
|
|
1126
|
+
`});var bd,xd,zo,Pa,Go=f(()=>{"use strict";bd=b(D()),xd=b(N()),zo={highlightBackgroundColor:xd.FtCssVariableFactory.create("--ft-sra-highlight-background-color","","COLOR","transparent")},Pa=bd.css`
|
|
1127
1127
|
.kwicmatch {
|
|
1128
1128
|
font-weight: 700;
|
|
1129
1129
|
background-color: ${zo.highlightBackgroundColor};
|
|
1130
1130
|
}
|
|
1131
|
-
`});var
|
|
1131
|
+
`});var vd,Sd,jo,Ta,Vo=f(()=>{"use strict";vd=b(D()),Sd=b(N()),jo={highlightBackgroundColor:Sd.FtCssVariableFactory.create("--ft-srt-highlight-background-color","","COLOR","transparent")},Ta=vd.css`
|
|
1132
1132
|
.kwicmatch {
|
|
1133
1133
|
font-weight: 700;
|
|
1134
|
-
background-color: ${
|
|
1134
|
+
background-color: ${jo.highlightBackgroundColor};
|
|
1135
1135
|
}
|
|
1136
1136
|
|
|
1137
1137
|
a {
|
|
@@ -1142,19 +1142,19 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1142
1142
|
a:focus {
|
|
1143
1143
|
outline: revert;
|
|
1144
1144
|
}
|
|
1145
|
-
`});var
|
|
1146
|
-
`});var
|
|
1147
|
-
`});var Ko,
|
|
1145
|
+
`});var Ed,wd,ka=f(()=>{"use strict";Ed=b(D()),wd=Ed.css`
|
|
1146
|
+
`});var Ad,Rd,Da=f(()=>{"use strict";Ad=b(D()),Rd=Ad.css`
|
|
1147
|
+
`});var Ko,Sh,Ba,Oh,B,Ge=f(()=>{"use strict";Ko=b(N()),Sh="ft-app-info",Ba=class extends CustomEvent{constructor(e){super("authentication-change",{detail:e})}},Oh={session:(t,e)=>{(0,Ko.deepEqual)(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>B.eventBus.dispatchEvent(new Ba(e.payload)),0))}},B=Ko.FtReduxStore.get({name:Sh,reducers:Oh,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}})});var Qt,Zo=f(()=>{"use strict";Ge();Qt=class t{static get(e){let{baseUrl:o,apiIntegrationIdentifier:n}=B.getState(),a=e??n;if(o&&a&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,a,!0)}static await(e){return new Promise(o=>{let n=t.get(e);if(n)o(n);else{let a=B.subscribe(()=>{n=t.get(e),n&&(a(),o(n))})}})}}});var Ma,Je,to=f(()=>{"use strict";Ma=b(N());Zo();Je=class{constructor(e=!0,o){var n;this.overrideApi=o;let a=this.constructor;a.commonCache=(n=a.commonCache)!==null&&n!==void 0?n:new Ma.CacheRegistry,this.cache=e?a.commonCache:new Ma.CacheRegistry}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:Qt.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Qt.await()}clearCache(){this.cache.clearAll()}}});var wt,Nd,Ch,qo,Xt,Id,$a=f(()=>{"use strict";Ge();wt=b(N());to();Ch=Symbol("clearAfterUnitTest"),qo=class extends Je{constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Nd]=()=>{this.defaultMessages={},this.cache=new wt.CacheRegistry,this.listeners={}},this.currentUiLocale=B.getState().uiLocale,B.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=B.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let o=e.name.toLowerCase();this.cache.setFinal(o,e),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,o){var n;if(e=e.toLowerCase(),Object.keys(o).length>0){let a={...(n=this.defaultMessages[e])!==null&&n!==void 0?n:{},...o};(0,wt.deepEqual)(this.defaultMessages[e],a)||(this.defaultMessages[e]=a,await this.notify(e))}await this.fetchContext(e)}resolveContext(e){var o,n;return this.fetchContext(e),(n=(o=this.cache.getNow(e))===null||o===void 0?void 0:o.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(e,o){let n=e.toLowerCase();return this.resolveContext(n)[o]}resolveMessage(e,o,...n){var a;let i=e.toLowerCase(),s=this.resolveContext(i);return new wt.ParametrizedLabelResolver((a=this.defaultMessages[i])!==null&&a!==void 0?a:{},s).resolve(o,...n)}async fetchContext(e){if(!this.cache.has(e))try{await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),await this.notify(e)}catch(o){console.error(o)}}subscribe(e,o){var n;return e=e.toLowerCase(),this.listeners[e]=(n=this.listeners[e])!==null&&n!==void 0?n:new Set,this.listeners[e].add(o),()=>{var a;return(a=this.listeners[e])===null||a===void 0?void 0:a.delete(o)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(e=>this.notify(e)))}async notify(e){this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(o=>(0,wt.delay)(0).then(()=>o()).catch(()=>null)))}};Nd=Ch;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends qo{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends qo{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});Xt=window.FluidTopicsI18nService,Id=window.FluidTopicsCustomI18nService});var Ld,$e,je,Se,se,Ua=f(()=>{"use strict";Ld=b(D()),$e=b(Q()),je=b(N());Da();Ge();$a();Zo();Se=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},se=class extends je.FtLitElement{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>Qt.get(),this.messageContexts=[],this.cache=new je.CacheRegistry,this.cleanSessionDebouncer=new je.Debouncer}render(){return Ld.html`
|
|
1148
1148
|
<slot></slot>
|
|
1149
|
-
`}update(e){super.update(e),e.has("baseUrl")&&(B.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&B.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&B.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&B.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&B.actions.noCustom(this.noCustom),e.has("editorMode")&&B.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&B.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&B.actions.session(this.session),e.has("availableUiLocales")&&B.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(o=>Qt.addContext(o)),e.has("openExternalDocumentInNewTab")&&B.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&B.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&B.actions.forcedOffline(this.forcedOffline),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(this.session==null&&this.updateSession(),this.availableUiLocales==null&&this.updateUiLocales(),this.metadataConfiguration==null&&this.updateMetadataConfiguration())}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 updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",()=>this.apiProvider().getAvailableUiLocales())}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}};se.elementDefinitions={};se.styles=wd;ve([(0,Me.property)()],se.prototype,"baseUrl",void 0);ve([(0,Me.property)()],se.prototype,"apiIntegrationIdentifier",void 0);ve([(0,Me.property)()],se.prototype,"uiLocale",void 0);ve([(0,je.jsonProperty)(null)],se.prototype,"availableUiLocales",void 0);ve([(0,je.jsonProperty)(null)],se.prototype,"metadataConfiguration",void 0);ve([(0,Me.property)({type:Boolean})],se.prototype,"editorMode",void 0);ve([(0,Me.property)({type:Boolean})],se.prototype,"noCustom",void 0);ve([(0,Me.property)({type:Boolean})],se.prototype,"openExternalDocumentInNewTab",void 0);ve([(0,Me.property)({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],se.prototype,"noCustomComponent",void 0);ve([(0,Me.property)({type:Boolean})],se.prototype,"withManualResources",void 0);ve([(0,Me.property)({type:Boolean})],se.prototype,"navigatorOnline",void 0);ve([(0,Me.property)({type:Boolean})],se.prototype,"forcedOffline",void 0);ve([(0,Me.property)({type:Object})],se.prototype,"apiProvider",void 0);ve([(0,je.jsonProperty)([])],se.prototype,"messageContexts",void 0);ve([(0,je.jsonProperty)(void 0)],se.prototype,"session",void 0)});function Oh(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var o,n,a;if(Array.isArray(t)){if(o=t.length,o!=e.length)return!1;for(n=o;n--!==0;)if(!Yo(t[n],e[n]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;for(n of t.entries())if(!Yo(n[1],e.get(n[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[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();if(a=Object.keys(t),o=a.length,o!==Object.keys(e).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,a[n]))return!1;for(n=o;n--!==0;){var i=a[n];if(!Yo(t[i],e[i]))return!1}return!0}return t!==t&&e!==e}function Yo(t,e){try{return Oh(t,e)}catch{return!1}}function Fa(t,e){return!Yo(t,e)}var Wa=f(()=>{"use strict"});var Ch,Id=f(()=>{"use strict";Wa();Ch=b(X(),1)});var Xo,Ha=f(()=>{"use strict";Xo=class{constructor(){this.queue=[]}add(e,o=!1){o&&(this.queue=this.queue.filter(n=>n.type!==e.type)),this.queue.push(e)}consume(e){let o=this.queue.find(n=>n.type===e);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}}});function Pd(t,e){let o=()=>JSON.parse(JSON.stringify(t));return(0,Ld.property)({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Fa,...e??{}})}var Ld,Td=f(()=>{"use strict";Ld=b(X(),1);Wa()});var Qo,_d=f(()=>{"use strict";Qo=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,o){return this.callbacks=[e],this.debounce(o)}queue(e,o){return this.callbacks.push(e),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,o;let n=[...this.callbacks];this.callbacks=[];let a=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,i=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(l){a(l);return}i(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}});var Jo,Eh,nS,kd,Dd=f(()=>{Jo=window,Eh=Jo.ShadowRoot&&(Jo.ShadyCSS===void 0||Jo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,nS=Symbol(),kd=(t,e)=>{Eh?t.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet):e.forEach(o=>{let n=document.createElement("style"),a=Jo.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=o.cssText,t.appendChild(n)})}});var Bd,en,$d=f(()=>{"use strict";Bd=b(D(),1);Dd();en=class extends Bd.LitElement{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([a,i])=>e.registry.define(a,i)));let o={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return kd(n,e.elementStyles),n}}});var ro,tn,Wd,Md,Ud,Hd,Fd,At,zd=f(()=>{"use strict";ro=b(X(),1);Td();_d();$d();tn=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Md=Symbol("constructorPrototype"),Ud=Symbol("constructorName"),Hd=Symbol("exportpartsDebouncer"),Fd=Symbol("dynamicDependenciesLoaded"),At=class extends en{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Wd]=new Qo(5),this[Ud]=this.constructor.name,this[Md]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ud]&&Object.setPrototypeOf(this,this[Md])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(o){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",o)}let e=this.constructor;e[Fd]||(e[Fd]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var o,n,a;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(i=>i.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(i){console.error(i,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let i=document.createElement("style");i.classList.add("ft-lit-element--custom-stylesheet"),i.innerHTML=this.customStylesheet,this.shadowRoot.append(i)}}scheduleExportpartsUpdate(){var e,o,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[Hd].run(()=>{var a,i;!((a=this.exportpartsPrefix)===null||a===void 0)&&a.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((i=this.exportpartsPrefixes)===null||i===void 0?void 0:i.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var o,n,a,i,s,l;let p=x=>x!=null&&x.trim().length>0,u=e.filter(p).map(x=>x.trim());if(u.length===0){this.removeAttribute("exportparts");return}let y=new Set;for(let x of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let O=(i=(a=x.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&i!==void 0?i:[],S=(l=(s=x.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(C=>C.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...O,...S).filter(p).map(C=>C.trim()).forEach(C=>y.add(C))}if(y.size===0){this.removeAttribute("exportparts");return}let g=[...y.values()].flatMap(x=>u.map(O=>`${x}:${O}--${x}`));this.setAttribute("exportparts",[...this.part,...g].join(", "))}};Wd=Hd;tn([(0,ro.property)()],At.prototype,"exportpartsPrefix",void 0);tn([Pd([])],At.prototype,"exportpartsPrefixes",void 0);tn([(0,ro.property)()],At.prototype,"customStylesheet",void 0);tn([(0,ro.state)()],At.prototype,"useAdoptedStyleSheets",void 0)});function oo(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var rn=f(()=>{"use strict"});var jd,Gd,Vd,on,Rt,Jt,no,Kd=f(()=>{"use strict";zd();rn();on=Symbol("internalReduxEventsUnsubscribers"),Rt=Symbol("internalStoresUnsubscribers"),Jt=Symbol("internalStores"),no=class extends At{constructor(){super(...arguments),this[jd]=new Map,this[Gd]=new Map,this[Vd]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(o=>e.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[Jt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Jt].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[Jt].get(e)}addStore(e,o){var n;o=(n=o??(oo(e)?e.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,e)}removeStore(e){let o=typeof e=="string"?e:e.name;this.unsubscribeFromStore(o),this[Jt].delete(o)}setupStore(e,o){this[Jt].set(e,o),this.subscribeToStore(e,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Jt].forEach((e,o)=>this.subscribeToStore(o,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,o)=>{let n=this.constructor.getPropertyOptions(o);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:o)){let a=this.getStore(e.store);a&&(e.store?this[Rt].has(e.store):this[Rt].size>0)&&(this[o]=e.selector(a.getState(),this))}})}subscribeToStore(e,o){var n;this[Rt].set(e,o.subscribe(()=>this.updateFromStores())),oo(o)&&o.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((a,i)=>{if(typeof this[i]=="function"&&(!a.store||o.name===a.store)){let s=l=>this[i](l);o.eventBus.addEventListener(a.eventName,s),this[on].push(()=>o.eventBus.removeEventListener(a.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[Rt].forEach((e,o)=>this.unsubscribeFromStore(o)),this[on].forEach(e=>e()),this[on]=[]}unsubscribeFromStore(e){this[Rt].has(e)&&this[Rt].get(e)(),this[Rt].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};jd=Rt,Gd=Jt,Vd=on;no.reduxProperties=new Map;no.reduxReactiveProperties=new Set;no.reduxEventListeners=new Map});function Ue(t){for(var e=arguments.length,o=Array(e>1?e-1:0),n=1;n<e;n++)o[n-1]=arguments[n];if(0)var a,i;throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function ft(t){return!!t&&!!t[ee]}function Ge(t){var e;return!!t&&(function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===Th}(t)||Array.isArray(t)||!!t[eu]||!!(!((e=t.constructor)===null||e===void 0)&&e[eu])||Xa(t)||Qa(t))}function er(t,e,o){o===void 0&&(o=!1),Or(t)===0?(o?Object.keys:Sr)(t).forEach(function(n){o&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,a){return e(a,n,t)})}function Or(t){var e=t[ee];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Xa(t)?2:Qa(t)?3:0}function vr(t,e){return Or(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function wh(t,e){return Or(t)===2?t.get(e):t[e]}function tu(t,e,o){var n=Or(t);n===2?t.set(e,o):n===3?t.add(o):t[e]=o}function ru(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function Xa(t){return Lh&&t instanceof Map}function Qa(t){return Ph&&t instanceof Set}function Nt(t){return t.o||t.t}function Ja(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=au(t);delete e[ee];for(var o=Sr(e),n=0;n<o.length;n++){var a=o[n],i=e[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(e[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:t[a]})}return Object.create(Object.getPrototypeOf(t),e)}function ei(t,e){return e===void 0&&(e=!1),ti(t)||ft(t)||!Ge(t)||(Or(t)>1&&(t.set=t.add=t.clear=t.delete=Ah),Object.freeze(t),e&&er(t,function(o,n){return ei(n,!0)},!0)),t}function Ah(){Ue(2)}function ti(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function et(t){var e=Ya[t];return e||Ue(18,t),e}function Rh(t,e){Ya[t]||(Ya[t]=e)}function Ka(){return io}function za(t,e){e&&(et("Patches"),t.u=[],t.s=[],t.v=e)}function nn(t){Za(t),t.p.forEach(Nh),t.p=null}function Za(t){t===io&&(io=t.l)}function Zd(t){return io={p:[],l:io,h:t,m:!0,_:0}}function Nh(t){var e=t[ee];e.i===0||e.i===1?e.j():e.g=!0}function ja(t,e){e._=e.p.length;var o=e.p[0],n=t!==void 0&&t!==o;return e.h.O||et("ES5").S(e,t,n),n?(o[ee].P&&(nn(e),Ue(4)),Ge(t)&&(t=an(e,t),e.l||sn(e,t)),e.u&&et("Patches").M(o[ee].t,t,e.u,e.s)):t=an(e,o,[]),nn(e),e.u&&e.v(e.u,e.s),t!==nu?t:void 0}function an(t,e,o){if(ti(e))return e;var n=e[ee];if(!n)return er(e,function(l,p){return qd(t,n,e,l,p,o)},!0),e;if(n.A!==t)return e;if(!n.P)return sn(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=Ja(n.k):n.o,i=a,s=!1;n.i===3&&(i=new Set(a),a.clear(),s=!0),er(i,function(l,p){return qd(t,n,a,l,p,o,s)}),sn(t,a,!1),o&&t.u&&et("Patches").N(n,o,t.u,t.s)}return n.o}function qd(t,e,o,n,a,i,s){if(ft(a)){var l=an(t,a,i&&e&&e.i!==3&&!vr(e.R,n)?i.concat(n):void 0);if(tu(o,n,l),!ft(l))return;t.m=!1}else s&&o.add(a);if(Ge(a)&&!ti(a)){if(!t.h.D&&t._<1)return;an(t,a),e&&e.A.l||sn(t,a)}}function sn(t,e,o){o===void 0&&(o=!1),!t.l&&t.h.D&&t.m&&ei(e,o)}function Ga(t,e){var o=t[ee];return(o?Nt(o):t)[e]}function Yd(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var n=Object.getOwnPropertyDescriptor(o,e);if(n)return n;o=Object.getPrototypeOf(o)}}function It(t){t.P||(t.P=!0,t.l&&It(t.l))}function Va(t){t.o||(t.o=Ja(t.t))}function qa(t,e,o){var n=Xa(e)?et("MapSet").F(e,o):Qa(e)?et("MapSet").T(e,o):t.O?function(a,i){var s=Array.isArray(a),l={i:s?1:0,A:i?i.A:Ka(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},p=l,u=so;s&&(p=[l],u=ao);var y=Proxy.revocable(p,u),g=y.revoke,x=y.proxy;return l.k=x,l.j=g,x}(e,o):et("ES5").J(e,o);return(o?o.A:Ka()).p.push(n),n}function Ih(t){return ft(t)||Ue(22,t),function e(o){if(!Ge(o))return o;var n,a=o[ee],i=Or(o);if(a){if(!a.P&&(a.i<4||!et("ES5").K(a)))return a.t;a.I=!0,n=Xd(o,i),a.I=!1}else n=Xd(o,i);return er(n,function(s,l){a&&wh(a.t,s)===l||tu(n,s,e(l))}),i===3?new Set(n):n}(t)}function Xd(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Ja(t)}function ou(){function t(s,l){var p=i[s];return p?p.enumerable=l:i[s]=p={configurable:!0,enumerable:l,get:function(){var u=this[ee];return so.get(u,s)},set:function(u){var y=this[ee];so.set(y,s,u)}},p}function e(s){for(var l=s.length-1;l>=0;l--){var p=s[l][ee];if(!p.P)switch(p.i){case 5:n(p)&&It(p);break;case 4:o(p)&&It(p)}}}function o(s){for(var l=s.t,p=s.k,u=Sr(p),y=u.length-1;y>=0;y--){var g=u[y];if(g!==ee){var x=l[g];if(x===void 0&&!vr(l,g))return!0;var O=p[g],S=O&&O[ee];if(S?S.t!==x:!ru(O,x))return!0}}var C=!!l[ee];return u.length!==Sr(l).length+(C?0:1)}function n(s){var l=s.k;if(l.length!==s.t.length)return!0;var p=Object.getOwnPropertyDescriptor(l,l.length-1);if(p&&!p.get)return!0;for(var u=0;u<l.length;u++)if(!l.hasOwnProperty(u))return!0;return!1}function a(s){s.g&&Ue(3,JSON.stringify(Nt(s)))}var i={};Rh("ES5",{J:function(s,l){var p=Array.isArray(s),u=function(g,x){if(g){for(var O=Array(x.length),S=0;S<x.length;S++)Object.defineProperty(O,""+S,t(S,!0));return O}var C=au(x);delete C[ee];for(var P=Sr(C),I=0;I<P.length;I++){var L=P[I];C[L]=t(L,g||!!C[L].enumerable)}return Object.create(Object.getPrototypeOf(x),C)}(p,s),y={i:p?5:4,A:l?l.A:Ka(),P:!1,I:!1,R:{},l,t:s,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,ee,{value:y,writable:!0}),u},S:function(s,l,p){p?ft(l)&&l[ee].A===s&&e(s.p):(s.u&&function u(y){if(y&&typeof y=="object"){var g=y[ee];if(g){var x=g.t,O=g.k,S=g.R,C=g.i;if(C===4)er(O,function(U){U!==ee&&(x[U]!==void 0||vr(x,U)?S[U]||u(O[U]):(S[U]=!0,It(g)))}),er(x,function(U){O[U]!==void 0||vr(O,U)||(S[U]=!1,It(g))});else if(C===5){if(n(g)&&(It(g),S.length=!0),O.length<x.length)for(var P=O.length;P<x.length;P++)S[P]=!1;else for(var I=x.length;I<O.length;I++)S[I]=!0;for(var L=Math.min(O.length,x.length),$=0;$<L;$++)O.hasOwnProperty($)||(S[$]=!0),S[$]===void 0&&u(O[$])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?o(s):n(s)}})}var Qd,io,ri,Lh,Ph,Jd,nu,eu,ee,Th,Sr,au,Ya,so,ao,_h,_e,kh,mS,gS,bS,xS,vS,SS,cn,ln=f(()=>{ri=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Lh=typeof Map<"u",Ph=typeof Set<"u",Jd=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",nu=ri?Symbol.for("immer-nothing"):((Qd={})["immer-nothing"]=!0,Qd),eu=ri?Symbol.for("immer-draftable"):"__$immer_draftable",ee=ri?Symbol.for("immer-state"):"__$immer_state",Th=""+Object.prototype.constructor,Sr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,au=Object.getOwnPropertyDescriptors||function(t){var e={};return Sr(t).forEach(function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)}),e},Ya={},so={get:function(t,e){if(e===ee)return t;var o=Nt(t);if(!vr(o,e))return function(a,i,s){var l,p=Yd(i,s);return p?"value"in p?p.value:(l=p.get)===null||l===void 0?void 0:l.call(a.k):void 0}(t,o,e);var n=o[e];return t.I||!Ge(n)?n:n===Ga(t.t,e)?(Va(t),t.o[e]=qa(t.A.h,n,t)):n},has:function(t,e){return e in Nt(t)},ownKeys:function(t){return Reflect.ownKeys(Nt(t))},set:function(t,e,o){var n=Yd(Nt(t),e);if(n?.set)return n.set.call(t.k,o),!0;if(!t.P){var a=Ga(Nt(t),e),i=a?.[ee];if(i&&i.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(ru(o,a)&&(o!==void 0||vr(t.t,e)))return!0;Va(t),It(t)}return t.o[e]===o&&(o!==void 0||e in t.o)||Number.isNaN(o)&&Number.isNaN(t.o[e])||(t.o[e]=o,t.R[e]=!0),!0},deleteProperty:function(t,e){return Ga(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,Va(t),It(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=Nt(t),n=Reflect.getOwnPropertyDescriptor(o,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:o[e]}},defineProperty:function(){Ue(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Ue(12)}},ao={};er(so,function(t,e){ao[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),ao.deleteProperty=function(t,e){return ao.set.call(this,t,e,void 0)},ao.set=function(t,e,o){return so.set.call(this,t[0],e,o,t[0])};_h=function(){function t(o){var n=this;this.O=Jd,this.D=!0,this.produce=function(a,i,s){if(typeof a=="function"&&typeof i!="function"){var l=i;i=a;var p=n;return function(C){var P=this;C===void 0&&(C=l);for(var I=arguments.length,L=Array(I>1?I-1:0),$=1;$<I;$++)L[$-1]=arguments[$];return p.produce(C,function(U){var F;return(F=i).call.apply(F,[P,U].concat(L))})}}var u;if(typeof i!="function"&&Ue(6),s!==void 0&&typeof s!="function"&&Ue(7),Ge(a)){var y=Zd(n),g=qa(n,a,void 0),x=!0;try{u=i(g),x=!1}finally{x?nn(y):Za(y)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(C){return za(y,s),ja(C,y)},function(C){throw nn(y),C}):(za(y,s),ja(u,y))}if(!a||typeof a!="object"){if((u=i(a))===void 0&&(u=a),u===nu&&(u=void 0),n.D&&ei(u,!0),s){var O=[],S=[];et("Patches").M(a,u,O,S),s(O,S)}return u}Ue(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(u){for(var y=arguments.length,g=Array(y>1?y-1:0),x=1;x<y;x++)g[x-1]=arguments[x];return n.produceWithPatches(u,function(O){return a.apply(void 0,[O].concat(g))})};var s,l,p=n.produce(a,i,function(u,y){s=u,l=y});return typeof Promise<"u"&&p instanceof Promise?p.then(function(u){return[u,s,l]}):[p,s,l]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var e=t.prototype;return e.createDraft=function(o){Ge(o)||Ue(8),ft(o)&&(o=Ih(o));var n=Zd(this),a=qa(this,o,void 0);return a[ee].C=!0,Za(n),a},e.finishDraft=function(o,n){var a=o&&o[ee],i=a.A;return za(i,n),ja(void 0,i)},e.setAutoFreeze=function(o){this.D=o},e.setUseProxies=function(o){o&&!Jd&&Ue(20),this.O=o},e.applyPatches=function(o,n){var a;for(a=n.length-1;a>=0;a--){var i=n[a];if(i.path.length===0&&i.op==="replace"){o=i.value;break}}a>-1&&(n=n.slice(a+1));var s=et("Patches").$;return ft(o)?s(o,n):this.produce(o,function(l){return s(l,n)})},t}(),_e=new _h,kh=_e.produce,mS=_e.produceWithPatches.bind(_e),gS=_e.setAutoFreeze.bind(_e),bS=_e.setUseProxies.bind(_e),xS=_e.applyPatches.bind(_e),vS=_e.createDraft.bind(_e),SS=_e.finishDraft.bind(_e),cn=kh});function Lt(t){"@babel/helpers - typeof";return Lt=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},Lt(t)}var oi=f(()=>{});function ni(t,e){if(Lt(t)!=="object"||t===null)return t;var o=t[Symbol.toPrimitive];if(o!==void 0){var n=o.call(t,e||"default");if(Lt(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var iu=f(()=>{oi()});function ai(t){var e=ni(t,"string");return Lt(e)==="symbol"?e:String(e)}var su=f(()=>{oi();iu()});function ii(t,e,o){return e=ai(e),e in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}var cu=f(()=>{su()});function lu(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),o.push.apply(o,n)}return o}function dn(t){for(var e=1;e<arguments.length;e++){var o=arguments[e]!=null?arguments[e]:{};e%2?lu(Object(o),!0).forEach(function(n){ii(t,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):lu(Object(o)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(o,n))})}return t}var du=f(()=>{cu()});function ge(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 Dh(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 ci(t,e,o){var n;if(typeof e=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(ge(0));if(typeof e=="function"&&typeof o>"u"&&(o=e,e=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(ge(1));return o(ci)(t,e)}if(typeof t!="function")throw new Error(ge(2));var a=t,i=e,s=[],l=s,p=!1;function u(){l===s&&(l=s.slice())}function y(){if(p)throw new Error(ge(3));return i}function g(C){if(typeof C!="function")throw new Error(ge(4));if(p)throw new Error(ge(5));var P=!0;return u(),l.push(C),function(){if(P){if(p)throw new Error(ge(6));P=!1,u();var L=l.indexOf(C);l.splice(L,1),s=null}}}function x(C){if(!Dh(C))throw new Error(ge(7));if(typeof C.type>"u")throw new Error(ge(8));if(p)throw new Error(ge(9));try{p=!0,i=a(i,C)}finally{p=!1}for(var P=s=l,I=0;I<P.length;I++){var L=P[I];L()}return C}function O(C){if(typeof C!="function")throw new Error(ge(10));a=C,x({type:un.REPLACE})}function S(){var C,P=g;return C={subscribe:function(L){if(typeof L!="object"||L===null)throw new Error(ge(11));function $(){L.next&&L.next(y())}$();var U=P($);return{unsubscribe:U}}},C[uu]=function(){return this},C}return x({type:un.INIT}),n={dispatch:x,subscribe:g,getState:y,replaceReducer:O},n[uu]=S,n}function Bh(t){Object.keys(t).forEach(function(e){var o=t[e],n=o(void 0,{type:un.INIT});if(typeof n>"u")throw new Error(ge(12));if(typeof o(void 0,{type:un.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(ge(13))})}function pu(t){for(var e=Object.keys(t),o={},n=0;n<e.length;n++){var a=e[n];typeof t[a]=="function"&&(o[a]=t[a])}var i=Object.keys(o),s,l;try{Bh(o)}catch(p){l=p}return function(u,y){if(u===void 0&&(u={}),l)throw l;if(0)var g;for(var x=!1,O={},S=0;S<i.length;S++){var C=i[S],P=o[C],I=u[C],L=P(I,y);if(typeof L>"u"){var $=y&&y.type;throw new Error(ge(14))}O[C]=L,x=x||L!==I}return x=x||i.length!==Object.keys(u).length,x?O:u}}function Cr(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return e.length===0?function(n){return n}:e.length===1?e[0]:e.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function fu(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(n){return function(){var a=n.apply(void 0,arguments),i=function(){throw new Error(ge(15))},s={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},l=e.map(function(p){return p(s)});return i=Cr.apply(void 0,l)(a.dispatch),dn(dn({},a),{},{dispatch:i})}}}var uu,si,un,pn=f(()=>{du();uu=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),si=function(){return Math.random().toString(36).substring(7).split("").join(".")},un={INIT:"@@redux/INIT"+si(),REPLACE:"@@redux/REPLACE"+si(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+si()}}});function hu(t){var e=function(n){var a=n.dispatch,i=n.getState;return function(s){return function(l){return typeof l=="function"?l(a,i,t):s(l)}}};return e}var yu,li,mu=f(()=>{yu=hu();yu.withExtraArgument=hu;li=yu});function Gh(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var o=e;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return e===o}function fi(t){return Ge(t)?cn(t,function(){}):t}function Zh(t){return typeof t=="boolean"}function qh(){return function(e){return Yh(e)}}function Yh(t){t===void 0&&(t={});var e=t.thunk,o=e===void 0?!0:e,n=t.immutableCheck,a=n===void 0?!0:n,i=t.serializableCheck,s=i===void 0?!0:i,l=new Vh;if(o&&(Zh(o)?l.push(li):l.push(li.withExtraArgument(o.extraArgument))),0){if(a)var p;if(s)var u}return l}function Ou(t){var e=qh(),o=t||{},n=o.reducer,a=n===void 0?void 0:n,i=o.middleware,s=i===void 0?e():i,l=o.devTools,p=l===void 0?!0:l,u=o.preloadedState,y=u===void 0?void 0:u,g=o.enhancers,x=g===void 0?void 0:g,O;if(typeof a=="function")O=a;else if(Gh(a))O=pu(a);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 S=s;if(typeof S=="function"&&(S=S(e),!ui&&!Array.isArray(S)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!ui&&S.some(function(U){return typeof U!="function"}))throw new Error("each middleware provided to configureStore must be a function");var C=fu.apply(void 0,S),P=Cr;p&&(P=jh(Pt({trace:!ui},typeof p=="object"&&p)));var I=new Kh(C),L=I;Array.isArray(x)?L=Er([C],x):typeof x=="function"&&(L=x(I));var $=P.apply(void 0,L);return ci(O,y,$)}function Tt(t,e){function o(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(e){var i=e.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return Pt(Pt({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:n[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(n){return n.type===t},o}function Cu(t){var e={},o=[],n,a={addCase:function(i,s){var l=typeof i=="string"?i:i.type;if(l in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[l]=s,a},addMatcher:function(i,s){return o.push({matcher:i,reducer:s}),a},addDefaultCase:function(i){return n=i,a}};return t(a),[e,o,n]}function Xh(t){return typeof t=="function"}function Qh(t,e,o,n){o===void 0&&(o=[]);var a=typeof e=="function"?Cu(e):[e,o,n],i=a[0],s=a[1],l=a[2],p;if(Xh(t))p=function(){return fi(t())};else{var u=fi(t);p=function(){return u}}function y(g,x){g===void 0&&(g=p());var O=Er([i[x.type]],s.filter(function(S){var C=S.matcher;return C(x)}).map(function(S){var C=S.reducer;return C}));return O.filter(function(S){return!!S}).length===0&&(O=[l]),O.reduce(function(S,C){if(C)if(ft(S)){var P=S,I=C(P,x);return I===void 0?S:I}else{if(Ge(S))return cn(S,function(L){return C(L,x)});var I=C(S,x);if(I===void 0){if(S===null)return S;throw Error("A case reducer on a non-draftable value must not return undefined")}return I}return S},g)}return y.getInitialState=p,y}function Jh(t,e){return t+"/"+e}function Eu(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof t.initialState=="function"?t.initialState:fi(t.initialState),n=t.reducers||{},a=Object.keys(n),i={},s={},l={};a.forEach(function(y){var g=n[y],x=Jh(e,y),O,S;"reducer"in g?(O=g.reducer,S=g.prepare):O=g,i[y]=O,s[x]=O,l[y]=S?Tt(x,S):Tt(x)});function p(){var y=typeof t.extraReducers=="function"?Cu(t.extraReducers):[t.extraReducers],g=y[0],x=g===void 0?{}:g,O=y[1],S=O===void 0?[]:O,C=y[2],P=C===void 0?void 0:C,I=Pt(Pt({},x),s);return Qh(o,function(L){for(var $ in I)L.addCase($,I[$]);for(var U=0,F=S;U<F.length;U++){var Oe=F[U];L.addMatcher(Oe.matcher,Oe.reducer)}P&&L.addDefaultCase(P)})}var u;return{name:e,reducer:function(y,g){return u||(u=p()),u(y,g)},actions:l,caseReducers:i,getInitialState:function(){return u||(u=p()),u.getInitialState()}}}function ny(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function ay(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var Su,$h,Er,Mh,Uh,Fh,gu,Wh,Hh,bu,Pt,di,zh,jh,US,Vh,Kh,ui,ey,ty,ry,pi,xu,oy,zS,wu,Au,Ru,jS,GS,VS,KS,hi,ZS,qS,YS,vu,XS,iy,QS,Nu=f(()=>{ln();pn();pn();pn();mu();ln();ln();Su=function(){var t=function(e,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},t(e,o)};return function(e,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");t(e,o);function n(){this.constructor=e}e.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),$h=function(t,e){var o={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(u){return function(y){return p([u,y])}}function p(u){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,a&&(i=u[0]&2?a.return:u[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,u[1])).done)return i;switch(a=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,a=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(i=o.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){o=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){o.label=u[1];break}if(u[0]===6&&o.label<i[1]){o.label=i[1],i=u;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(u);break}i[2]&&o.ops.pop(),o.trys.pop();continue}u=e.call(t,o)}catch(y){u=[6,y],a=0}finally{n=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},Er=function(t,e){for(var o=0,n=e.length,a=t.length;o<n;o++,a++)t[a]=e[o];return t},Mh=Object.defineProperty,Uh=Object.defineProperties,Fh=Object.getOwnPropertyDescriptors,gu=Object.getOwnPropertySymbols,Wh=Object.prototype.hasOwnProperty,Hh=Object.prototype.propertyIsEnumerable,bu=function(t,e,o){return e in t?Mh(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},Pt=function(t,e){for(var o in e||(e={}))Wh.call(e,o)&&bu(t,o,e[o]);if(gu)for(var n=0,a=gu(e);n<a.length;n++){var o=a[n];Hh.call(e,o)&&bu(t,o,e[o])}return t},di=function(t,e){return Uh(t,Fh(e))},zh=function(t,e,o){return new Promise(function(n,a){var i=function(p){try{l(o.next(p))}catch(u){a(u)}},s=function(p){try{l(o.throw(p))}catch(u){a(u)}},l=function(p){return p.done?n(p.value):Promise.resolve(p.value).then(i,s)};l((o=o.apply(t,e)).next())})},jh=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Cr:Cr.apply(null,arguments)},US=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};Vh=function(t){Su(e,t);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=t.apply(this,o)||this;return Object.setPrototypeOf(a,e.prototype),a}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return t.prototype.concat.apply(this,o)},e.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(e.bind.apply(e,Er([void 0],o[0].concat(this)))):new(e.bind.apply(e,Er([void 0],o.concat(this))))},e}(Array),Kh=function(t){Su(e,t);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=t.apply(this,o)||this;return Object.setPrototypeOf(a,e.prototype),a}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return t.prototype.concat.apply(this,o)},e.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(e.bind.apply(e,Er([void 0],o[0].concat(this)))):new(e.bind.apply(e,Er([void 0],o.concat(this))))},e}(Array);ui=!0;ey="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",ty=function(t){t===void 0&&(t=21);for(var e="",o=t;o--;)e+=ey[Math.random()*64|0];return e},ry=["name","message","stack","code"],pi=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),xu=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),oy=function(t){if(typeof t=="object"&&t!==null){for(var e={},o=0,n=ry;o<n.length;o++){var a=n[o];typeof t[a]=="string"&&(e[a]=t[a])}return e}return{message:String(t)}},zS=function(){function t(e,o,n){var a=Tt(e+"/fulfilled",function(y,g,x,O){return{payload:y,meta:di(Pt({},O||{}),{arg:x,requestId:g,requestStatus:"fulfilled"})}}),i=Tt(e+"/pending",function(y,g,x){return{payload:void 0,meta:di(Pt({},x||{}),{arg:g,requestId:y,requestStatus:"pending"})}}),s=Tt(e+"/rejected",function(y,g,x,O,S){return{payload:O,error:(n&&n.serializeError||oy)(y||"Rejected"),meta:di(Pt({},S||{}),{arg:x,requestId:g,rejectedWithValue:!!O,requestStatus:"rejected",aborted:y?.name==="AbortError",condition:y?.name==="ConditionError"})}}),l=!1,p=typeof AbortController<"u"?AbortController:function(){function y(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return y.prototype.abort=function(){},y}();function u(y){return function(g,x,O){var S=n?.idGenerator?n.idGenerator(y):ty(),C=new p,P,I=!1;function L(U){P=U,C.abort()}var $=function(){return zh(this,null,function(){var U,F,Oe,Ze,be,qe,pe;return $h(this,function(m){switch(m.label){case 0:return m.trys.push([0,4,,5]),Ze=(U=n?.condition)==null?void 0:U.call(n,y,{getState:x,extra:O}),ay(Ze)?[4,Ze]:[3,2];case 1:Ze=m.sent(),m.label=2;case 2:if(Ze===!1||C.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return I=!0,be=new Promise(function(v,k){return C.signal.addEventListener("abort",function(){return k({name:"AbortError",message:P||"Aborted"})})}),g(i(S,y,(F=n?.getPendingMeta)==null?void 0:F.call(n,{requestId:S,arg:y},{getState:x,extra:O}))),[4,Promise.race([be,Promise.resolve(o(y,{dispatch:g,getState:x,extra:O,requestId:S,signal:C.signal,abort:L,rejectWithValue:function(v,k){return new pi(v,k)},fulfillWithValue:function(v,k){return new xu(v,k)}})).then(function(v){if(v instanceof pi)throw v;return v instanceof xu?a(v.payload,S,y,v.meta):a(v,S,y)})])];case 3:return Oe=m.sent(),[3,5];case 4:return qe=m.sent(),Oe=qe instanceof pi?s(null,S,y,qe.payload,qe.meta):s(qe,S,y),[3,5];case 5:return pe=n&&!n.dispatchConditionRejection&&s.match(Oe)&&Oe.meta.condition,pe||g(Oe),[2,Oe]}})})}();return Object.assign($,{abort:L,requestId:S,arg:y,unwrap:function(){return $.then(ny)}})}}return Object.assign(u,{pending:i,rejected:s,fulfilled:a,typePrefix:e})}return t.withTypes=function(){return t},t}();wu="listener",Au="completed",Ru="cancelled",jS="task-"+Ru,GS="task-"+Au,VS=wu+"-"+Ru,KS=wu+"-"+Au,hi="listenerMiddleware",ZS=Tt(hi+"/add"),qS=Tt(hi+"/removeAll"),YS=Tt(hi+"/remove"),XS=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(vu||(vu=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},iy=function(t){return function(e){setTimeout(e,t)}},QS=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:iy(10);ou()});var Iu,Lu=f(()=>{"use strict";Nu();rn();Ha();window.ftReduxStores||(window.ftReduxStores={});Iu=class t{static get(e){var o;let n=typeof e=="string"?e:e.name,a=typeof e=="string"?void 0:e,i=window.ftReduxStores[n];if(oo(i))return i;if(a==null)return;let s=Eu({...a,reducers:(o=a.reducers)!==null&&o!==void 0?o:{}}),l=Ou({reducer:(p,u)=>u.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof u.type=="string"&&u.type.startsWith("DEFAULT_VALUE_SETTER__")?{...p,...u.overwrites}:s.reducer(p,u)});return window.ftReduxStores[a.name]=new t(s,l)}constructor(e,o){this.reduxSlice=e,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Xo,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,a,i)=>{let s=a,l=n[s];return l?(...p)=>{let u=l(...p);return this.reduxStore.dispatch(u),u}:p=>{this.setState({[s]:p})}}})}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 Pu=f(()=>{"use strict";Id();Ha();Kd();Lu();rn()});var Tu=f(()=>{"use strict"});var sy,_u=f(()=>{"use strict";sy=b(X());Pu();Tu();ze()});var fn,yi=f(()=>{"use strict";ze();to();fn=class extends Je{async listMySearches(){let e=B.getState().session;return e?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}}});var hn,mi=f(()=>{"use strict";ze();to();hn=class extends Je{async listMyBookmarks(){let e=B.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}}});var mn,cy,yn,gi,ku,bi=f(()=>{"use strict";mn=b(N());yi();mi();ze();cy="ft-user-assets",yn=mn.FtReduxStore.get({name:cy,initialState:{savedSearches:void 0,bookmarks:void 0}}),gi=class{constructor(){this.currentSession=B.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new hn,this.savedSearchesService=new fn,B.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:o}=B.getState();(0,mn.deepEqual)((e=this.currentSession)===null||e===void 0?void 0:e.profile,o?.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),yn.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),yn.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();yn.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let o=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;yn.actions.bookmarks(o)}}},ku=new gi});var xi,Du=f(()=>{"use strict";ze();xi=class{addCommand(e,o=!1){B.commands.add(e,o)}consumeCommand(e){return B.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new xi});var Bu,vi,$u=f(()=>{"use strict";Bu=b(N()),vi=class{highlightHtml(e,o,n){(0,Bu.highlightHtml)(e,o,n)}};window.FluidTopicsHighlightHtmlService=new vi});var Mu,Si,Uu=f(()=>{"use strict";Mu=b(N());ze();Si=class{isDate(e){var o,n,a,i;return(i=(a=((n=(o=B.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&n!==void 0?n:[]).find(l=>l.key===e))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1}format(e,o){var n,a,i;return Mu.DateFormatter.format(e,(n=o?.locale)!==null&&n!==void 0?n:B.getState().uiLocale,(a=o?.longFormat)!==null&&a!==void 0?a:!1,(i=o?.withTime)!==null&&i!==void 0?i:!1)}};window.FluidTopicsDateService=new Si});var Fu=f(()=>{"use strict";mi();Zo();Du();Ma();to();$u();yi();Uu()});var Wu=f(()=>{"use strict"});var Hu,wr=f(()=>{"use strict";Hu=b(N());Ua();_u();ze();bi();Fu();Da();Wu();Ua();(0,Hu.customElement)("ft-app-context")(se)});function Fe(t){var e;class o extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?Rd:Qt}i18n(a,i,...s){var l;if(typeof a=="string")return this.i18nService.resolveMessage(a,i,...s);let p=(l=a.args)!==null&&l!==void 0?l:a.argsProvider?a.argsProvider(this):[];return this.i18nService.resolveMessage(a.context,a.key,...p)}onI18nUpdate(a){var i,s,l;(i=this[Oi])===null||i===void 0||i.forEach((p,u)=>{let y=this.getI18nAttributeValue(u);y&&(this[u]=this.getI18nAttributeMessage(y,p,a))}),(s=this[Ci])===null||s===void 0||s.forEach((p,u)=>{let y=this.getI18nListAttributeValues(u);this[u]=y?.map(g=>this.getI18nAttributeMessage(g,p,a))}),(l=this[gn])===null||l===void 0||l.forEach((p,u)=>{p.context.toLowerCase()===a.toLowerCase()&&(this[u]=this.i18n(p))}),setTimeout(()=>this.requestUpdate(),0)}buildI18nAttributeMessage(a,i){return{...a,message:this.i18n({context:a.context,key:a.key,...i})}}getI18nAttributeMessage(a,i,s){var l;let p=!s||((l=a.context)===null||l===void 0?void 0:l.toLowerCase())===s.toLowerCase();return a.context&&a.key&&p?this.buildI18nAttributeMessage(a,i):a}update(a){var i,s,l;super.update(a),(i=this[Oi])===null||i===void 0||i.forEach((p,u)=>{let y=this.getI18nAttributeValue(u);y?.context&&y.key&&(a.has(u)||p.argsProvider!=null)&&(this.addI18nContextIfNeeded(y,a,u),this[u]=this.getI18nAttributeMessage(y,p))}),(s=this[Ci])===null||s===void 0||s.forEach((p,u)=>{let y=this.getI18nListAttributeValues(u);(a.has(u)||p.argsProvider!=null)&&(this[u]=y?.map(g=>(this.addI18nContextIfNeeded(g,a,u),this.getI18nAttributeMessage(g,p))))}),(l=this[gn])===null||l===void 0||l.forEach((p,u)=>{p.argsProvider!=null&&(this[u]=this.i18n(p))})}getI18nAttributeValue(a){return this[a]}getI18nListAttributeValues(a){return this[a]}addI18nContextIfNeeded(a,i,s){a.context&&a.key&&i.has(s)&&this.addI18nContext(a.context)}connectedCallback(){var a,i,s,l,p,u;super.connectedCallback(),new Set([...(i=(a=this[gn])===null||a===void 0?void 0:a.values())!==null&&i!==void 0?i:[],...[...(l=(s=this[Oi])===null||s===void 0?void 0:s.keys())!==null&&l!==void 0?l:[]].map(y=>this.getI18nAttributeValue(y)),...[...(u=(p=this[Ci])===null||p===void 0?void 0:p.keys())!==null&&u!==void 0?u:[]].flatMap(y=>this.getI18nListAttributeValues(y))].map(y=>y?.context)).forEach(y=>y&&this.addI18nMessages(y))}addI18nMessages(a,i){a=a.toLowerCase(),this[co].has(a)||this[co].set(a,this.i18nService.subscribe(a,()=>this.onI18nUpdate(a))),this.i18nService.prepareContext(a,i??{}),this.onI18nUpdate(a)}addI18nContext(a,i){this.addI18nMessages(typeof a=="string"?a:a.name,i)}disconnectedCallback(){super.disconnectedCallback(),this[co].forEach(a=>a()),this[co].clear()}}return e=co,ly([(0,ju.property)({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}var xn,ju,ly,Oi,Ci,gn,co,zu,bn,vn=f(()=>{"use strict";xn=b(N());wr();ju=b(X()),ly=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Oi=Symbol("i18nAttributes"),Ci=Symbol("i18nListAttributes"),gn=Symbol("i18nProperties"),co=Symbol("i18nUnsubs");zu=class extends Fe(xn.FtLitElement){},bn=class extends Fe(xn.FtLitElementRedux){}});var Sn,On,Cn,lo,Ve,Ei=f(()=>{"use strict";Sn=b(D()),On=b(X()),Cn=b(N());ka();vn();wr();lo=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Ve=class extends bn{constructor(){super(),this.editorMode=!1,this.addStore(B)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":Sn.nothing:Sn.html`
|
|
1149
|
+
`}update(e){super.update(e),e.has("baseUrl")&&(B.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&B.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&B.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&B.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&B.actions.noCustom(this.noCustom),e.has("editorMode")&&B.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&B.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&B.actions.session(this.session),e.has("availableUiLocales")&&B.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(o=>Xt.addContext(o)),e.has("openExternalDocumentInNewTab")&&B.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&B.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&B.actions.forcedOffline(this.forcedOffline),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(this.session==null&&this.updateSession(),this.availableUiLocales==null&&this.updateUiLocales(),this.metadataConfiguration==null&&this.updateMetadataConfiguration())}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 updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",()=>this.apiProvider().getAvailableUiLocales())}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}};se.elementDefinitions={};se.styles=Rd;Se([(0,$e.property)()],se.prototype,"baseUrl",void 0);Se([(0,$e.property)()],se.prototype,"apiIntegrationIdentifier",void 0);Se([(0,$e.property)()],se.prototype,"uiLocale",void 0);Se([(0,je.jsonProperty)(null)],se.prototype,"availableUiLocales",void 0);Se([(0,je.jsonProperty)(null)],se.prototype,"metadataConfiguration",void 0);Se([(0,$e.property)({type:Boolean})],se.prototype,"editorMode",void 0);Se([(0,$e.property)({type:Boolean})],se.prototype,"noCustom",void 0);Se([(0,$e.property)({type:Boolean})],se.prototype,"openExternalDocumentInNewTab",void 0);Se([(0,$e.property)({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],se.prototype,"noCustomComponent",void 0);Se([(0,$e.property)({type:Boolean})],se.prototype,"withManualResources",void 0);Se([(0,$e.property)({type:Boolean})],se.prototype,"navigatorOnline",void 0);Se([(0,$e.property)({type:Boolean})],se.prototype,"forcedOffline",void 0);Se([(0,$e.property)({type:Object})],se.prototype,"apiProvider",void 0);Se([(0,je.jsonProperty)([])],se.prototype,"messageContexts",void 0);Se([(0,je.jsonProperty)(void 0)],se.prototype,"session",void 0)});function Eh(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var o,n,a;if(Array.isArray(t)){if(o=t.length,o!=e.length)return!1;for(n=o;n--!==0;)if(!Yo(t[n],e[n]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;for(n of t.entries())if(!Yo(n[1],e.get(n[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[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();if(a=Object.keys(t),o=a.length,o!==Object.keys(e).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,a[n]))return!1;for(n=o;n--!==0;){var i=a[n];if(!Yo(t[i],e[i]))return!1}return!0}return t!==t&&e!==e}function Yo(t,e){try{return Eh(t,e)}catch{return!1}}function Fa(t,e){return!Yo(t,e)}var Wa=f(()=>{"use strict"});var wh,Pd=f(()=>{"use strict";Wa();wh=b(Q(),1)});var Qo,Ha=f(()=>{"use strict";Qo=class{constructor(){this.queue=[]}add(e,o=!1){o&&(this.queue=this.queue.filter(n=>n.type!==e.type)),this.queue.push(e)}consume(e){let o=this.queue.find(n=>n.type===e);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}}});function _d(t,e){let o=()=>JSON.parse(JSON.stringify(t));return(0,Td.property)({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Fa,...e??{}})}var Td,kd=f(()=>{"use strict";Td=b(Q(),1);Wa()});var Xo,Dd=f(()=>{"use strict";Xo=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,o){return this.callbacks=[e],this.debounce(o)}queue(e,o){return this.callbacks.push(e),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,o;let n=[...this.callbacks];this.callbacks=[];let a=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,i=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(l){a(l);return}i(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}});var Jo,Ah,gS,Bd,Md=f(()=>{Jo=window,Ah=Jo.ShadowRoot&&(Jo.ShadyCSS===void 0||Jo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,gS=Symbol(),Bd=(t,e)=>{Ah?t.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet):e.forEach(o=>{let n=document.createElement("style"),a=Jo.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=o.cssText,t.appendChild(n)})}});var $d,en,Ud=f(()=>{"use strict";$d=b(D(),1);Md();en=class extends $d.LitElement{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([a,i])=>e.registry.define(a,i)));let o={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return Bd(n,e.elementStyles),n}}});var ro,tn,zd,Fd,Wd,Gd,Hd,At,jd=f(()=>{"use strict";ro=b(Q(),1);kd();Dd();Ud();tn=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Fd=Symbol("constructorPrototype"),Wd=Symbol("constructorName"),Gd=Symbol("exportpartsDebouncer"),Hd=Symbol("dynamicDependenciesLoaded"),At=class extends en{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[zd]=new Xo(5),this[Wd]=this.constructor.name,this[Fd]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Wd]&&Object.setPrototypeOf(this,this[Fd])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(o){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",o)}let e=this.constructor;e[Hd]||(e[Hd]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var o,n,a;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(i=>i.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(i){console.error(i,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let i=document.createElement("style");i.classList.add("ft-lit-element--custom-stylesheet"),i.innerHTML=this.customStylesheet,this.shadowRoot.append(i)}}scheduleExportpartsUpdate(){var e,o,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[Gd].run(()=>{var a,i;!((a=this.exportpartsPrefix)===null||a===void 0)&&a.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((i=this.exportpartsPrefixes)===null||i===void 0?void 0:i.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var o,n,a,i,s,l;let p=x=>x!=null&&x.trim().length>0,u=e.filter(p).map(x=>x.trim());if(u.length===0){this.removeAttribute("exportparts");return}let y=new Set;for(let x of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let O=(i=(a=x.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&i!==void 0?i:[],S=(l=(s=x.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(C=>C.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...O,...S).filter(p).map(C=>C.trim()).forEach(C=>y.add(C))}if(y.size===0){this.removeAttribute("exportparts");return}let g=[...y.values()].flatMap(x=>u.map(O=>`${x}:${O}--${x}`));this.setAttribute("exportparts",[...this.part,...g].join(", "))}};zd=Gd;tn([(0,ro.property)()],At.prototype,"exportpartsPrefix",void 0);tn([_d([])],At.prototype,"exportpartsPrefixes",void 0);tn([(0,ro.property)()],At.prototype,"customStylesheet",void 0);tn([(0,ro.state)()],At.prototype,"useAdoptedStyleSheets",void 0)});function oo(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var rn=f(()=>{"use strict"});var Vd,Kd,Zd,on,Rt,Jt,no,qd=f(()=>{"use strict";jd();rn();on=Symbol("internalReduxEventsUnsubscribers"),Rt=Symbol("internalStoresUnsubscribers"),Jt=Symbol("internalStores"),no=class extends At{constructor(){super(...arguments),this[Vd]=new Map,this[Kd]=new Map,this[Zd]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(o=>e.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[Jt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Jt].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[Jt].get(e)}addStore(e,o){var n;o=(n=o??(oo(e)?e.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,e)}removeStore(e){let o=typeof e=="string"?e:e.name;this.unsubscribeFromStore(o),this[Jt].delete(o)}setupStore(e,o){this[Jt].set(e,o),this.subscribeToStore(e,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Jt].forEach((e,o)=>this.subscribeToStore(o,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,o)=>{let n=this.constructor.getPropertyOptions(o);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:o)){let a=this.getStore(e.store);a&&(e.store?this[Rt].has(e.store):this[Rt].size>0)&&(this[o]=e.selector(a.getState(),this))}})}subscribeToStore(e,o){var n;this[Rt].set(e,o.subscribe(()=>this.updateFromStores())),oo(o)&&o.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((a,i)=>{if(typeof this[i]=="function"&&(!a.store||o.name===a.store)){let s=l=>this[i](l);o.eventBus.addEventListener(a.eventName,s),this[on].push(()=>o.eventBus.removeEventListener(a.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[Rt].forEach((e,o)=>this.unsubscribeFromStore(o)),this[on].forEach(e=>e()),this[on]=[]}unsubscribeFromStore(e){this[Rt].has(e)&&this[Rt].get(e)(),this[Rt].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Vd=Rt,Kd=Jt,Zd=on;no.reduxProperties=new Map;no.reduxReactiveProperties=new Set;no.reduxEventListeners=new Map});function Ue(t){for(var e=arguments.length,o=Array(e>1?e-1:0),n=1;n<e;n++)o[n-1]=arguments[n];if(0)var a,i;throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function ft(t){return!!t&&!!t[ee]}function Ve(t){var e;return!!t&&(function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===kh}(t)||Array.isArray(t)||!!t[ru]||!!(!((e=t.constructor)===null||e===void 0)&&e[ru])||Qa(t)||Xa(t))}function er(t,e,o){o===void 0&&(o=!1),Or(t)===0?(o?Object.keys:Sr)(t).forEach(function(n){o&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,a){return e(a,n,t)})}function Or(t){var e=t[ee];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Qa(t)?2:Xa(t)?3:0}function vr(t,e){return Or(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Rh(t,e){return Or(t)===2?t.get(e):t[e]}function ou(t,e,o){var n=Or(t);n===2?t.set(e,o):n===3?t.add(o):t[e]=o}function nu(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function Qa(t){return Th&&t instanceof Map}function Xa(t){return _h&&t instanceof Set}function Nt(t){return t.o||t.t}function Ja(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=su(t);delete e[ee];for(var o=Sr(e),n=0;n<o.length;n++){var a=o[n],i=e[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(e[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:t[a]})}return Object.create(Object.getPrototypeOf(t),e)}function ei(t,e){return e===void 0&&(e=!1),ti(t)||ft(t)||!Ve(t)||(Or(t)>1&&(t.set=t.add=t.clear=t.delete=Nh),Object.freeze(t),e&&er(t,function(o,n){return ei(n,!0)},!0)),t}function Nh(){Ue(2)}function ti(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function et(t){var e=Ya[t];return e||Ue(18,t),e}function Ih(t,e){Ya[t]||(Ya[t]=e)}function Ka(){return io}function za(t,e){e&&(et("Patches"),t.u=[],t.s=[],t.v=e)}function nn(t){Za(t),t.p.forEach(Lh),t.p=null}function Za(t){t===io&&(io=t.l)}function Yd(t){return io={p:[],l:io,h:t,m:!0,_:0}}function Lh(t){var e=t[ee];e.i===0||e.i===1?e.j():e.g=!0}function Ga(t,e){e._=e.p.length;var o=e.p[0],n=t!==void 0&&t!==o;return e.h.O||et("ES5").S(e,t,n),n?(o[ee].P&&(nn(e),Ue(4)),Ve(t)&&(t=an(e,t),e.l||sn(e,t)),e.u&&et("Patches").M(o[ee].t,t,e.u,e.s)):t=an(e,o,[]),nn(e),e.u&&e.v(e.u,e.s),t!==iu?t:void 0}function an(t,e,o){if(ti(e))return e;var n=e[ee];if(!n)return er(e,function(l,p){return Qd(t,n,e,l,p,o)},!0),e;if(n.A!==t)return e;if(!n.P)return sn(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=Ja(n.k):n.o,i=a,s=!1;n.i===3&&(i=new Set(a),a.clear(),s=!0),er(i,function(l,p){return Qd(t,n,a,l,p,o,s)}),sn(t,a,!1),o&&t.u&&et("Patches").N(n,o,t.u,t.s)}return n.o}function Qd(t,e,o,n,a,i,s){if(ft(a)){var l=an(t,a,i&&e&&e.i!==3&&!vr(e.R,n)?i.concat(n):void 0);if(ou(o,n,l),!ft(l))return;t.m=!1}else s&&o.add(a);if(Ve(a)&&!ti(a)){if(!t.h.D&&t._<1)return;an(t,a),e&&e.A.l||sn(t,a)}}function sn(t,e,o){o===void 0&&(o=!1),!t.l&&t.h.D&&t.m&&ei(e,o)}function ja(t,e){var o=t[ee];return(o?Nt(o):t)[e]}function Xd(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var n=Object.getOwnPropertyDescriptor(o,e);if(n)return n;o=Object.getPrototypeOf(o)}}function It(t){t.P||(t.P=!0,t.l&&It(t.l))}function Va(t){t.o||(t.o=Ja(t.t))}function qa(t,e,o){var n=Qa(e)?et("MapSet").F(e,o):Xa(e)?et("MapSet").T(e,o):t.O?function(a,i){var s=Array.isArray(a),l={i:s?1:0,A:i?i.A:Ka(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},p=l,u=so;s&&(p=[l],u=ao);var y=Proxy.revocable(p,u),g=y.revoke,x=y.proxy;return l.k=x,l.j=g,x}(e,o):et("ES5").J(e,o);return(o?o.A:Ka()).p.push(n),n}function Ph(t){return ft(t)||Ue(22,t),function e(o){if(!Ve(o))return o;var n,a=o[ee],i=Or(o);if(a){if(!a.P&&(a.i<4||!et("ES5").K(a)))return a.t;a.I=!0,n=Jd(o,i),a.I=!1}else n=Jd(o,i);return er(n,function(s,l){a&&Rh(a.t,s)===l||ou(n,s,e(l))}),i===3?new Set(n):n}(t)}function Jd(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Ja(t)}function au(){function t(s,l){var p=i[s];return p?p.enumerable=l:i[s]=p={configurable:!0,enumerable:l,get:function(){var u=this[ee];return so.get(u,s)},set:function(u){var y=this[ee];so.set(y,s,u)}},p}function e(s){for(var l=s.length-1;l>=0;l--){var p=s[l][ee];if(!p.P)switch(p.i){case 5:n(p)&&It(p);break;case 4:o(p)&&It(p)}}}function o(s){for(var l=s.t,p=s.k,u=Sr(p),y=u.length-1;y>=0;y--){var g=u[y];if(g!==ee){var x=l[g];if(x===void 0&&!vr(l,g))return!0;var O=p[g],S=O&&O[ee];if(S?S.t!==x:!nu(O,x))return!0}}var C=!!l[ee];return u.length!==Sr(l).length+(C?0:1)}function n(s){var l=s.k;if(l.length!==s.t.length)return!0;var p=Object.getOwnPropertyDescriptor(l,l.length-1);if(p&&!p.get)return!0;for(var u=0;u<l.length;u++)if(!l.hasOwnProperty(u))return!0;return!1}function a(s){s.g&&Ue(3,JSON.stringify(Nt(s)))}var i={};Ih("ES5",{J:function(s,l){var p=Array.isArray(s),u=function(g,x){if(g){for(var O=Array(x.length),S=0;S<x.length;S++)Object.defineProperty(O,""+S,t(S,!0));return O}var C=su(x);delete C[ee];for(var P=Sr(C),I=0;I<P.length;I++){var L=P[I];C[L]=t(L,g||!!C[L].enumerable)}return Object.create(Object.getPrototypeOf(x),C)}(p,s),y={i:p?5:4,A:l?l.A:Ka(),P:!1,I:!1,R:{},l,t:s,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,ee,{value:y,writable:!0}),u},S:function(s,l,p){p?ft(l)&&l[ee].A===s&&e(s.p):(s.u&&function u(y){if(y&&typeof y=="object"){var g=y[ee];if(g){var x=g.t,O=g.k,S=g.R,C=g.i;if(C===4)er(O,function(U){U!==ee&&(x[U]!==void 0||vr(x,U)?S[U]||u(O[U]):(S[U]=!0,It(g)))}),er(x,function(U){O[U]!==void 0||vr(O,U)||(S[U]=!1,It(g))});else if(C===5){if(n(g)&&(It(g),S.length=!0),O.length<x.length)for(var P=O.length;P<x.length;P++)S[P]=!1;else for(var I=x.length;I<O.length;I++)S[I]=!0;for(var L=Math.min(O.length,x.length),M=0;M<L;M++)O.hasOwnProperty(M)||(S[M]=!0),S[M]===void 0&&u(O[M])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?o(s):n(s)}})}var eu,io,ri,Th,_h,tu,iu,ru,ee,kh,Sr,su,Ya,so,ao,Dh,_e,Bh,IS,LS,PS,TS,_S,kS,cn,ln=f(()=>{ri=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Th=typeof Map<"u",_h=typeof Set<"u",tu=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",iu=ri?Symbol.for("immer-nothing"):((eu={})["immer-nothing"]=!0,eu),ru=ri?Symbol.for("immer-draftable"):"__$immer_draftable",ee=ri?Symbol.for("immer-state"):"__$immer_state",kh=""+Object.prototype.constructor,Sr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,su=Object.getOwnPropertyDescriptors||function(t){var e={};return Sr(t).forEach(function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)}),e},Ya={},so={get:function(t,e){if(e===ee)return t;var o=Nt(t);if(!vr(o,e))return function(a,i,s){var l,p=Xd(i,s);return p?"value"in p?p.value:(l=p.get)===null||l===void 0?void 0:l.call(a.k):void 0}(t,o,e);var n=o[e];return t.I||!Ve(n)?n:n===ja(t.t,e)?(Va(t),t.o[e]=qa(t.A.h,n,t)):n},has:function(t,e){return e in Nt(t)},ownKeys:function(t){return Reflect.ownKeys(Nt(t))},set:function(t,e,o){var n=Xd(Nt(t),e);if(n?.set)return n.set.call(t.k,o),!0;if(!t.P){var a=ja(Nt(t),e),i=a?.[ee];if(i&&i.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(nu(o,a)&&(o!==void 0||vr(t.t,e)))return!0;Va(t),It(t)}return t.o[e]===o&&(o!==void 0||e in t.o)||Number.isNaN(o)&&Number.isNaN(t.o[e])||(t.o[e]=o,t.R[e]=!0),!0},deleteProperty:function(t,e){return ja(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,Va(t),It(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=Nt(t),n=Reflect.getOwnPropertyDescriptor(o,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:o[e]}},defineProperty:function(){Ue(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Ue(12)}},ao={};er(so,function(t,e){ao[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),ao.deleteProperty=function(t,e){return ao.set.call(this,t,e,void 0)},ao.set=function(t,e,o){return so.set.call(this,t[0],e,o,t[0])};Dh=function(){function t(o){var n=this;this.O=tu,this.D=!0,this.produce=function(a,i,s){if(typeof a=="function"&&typeof i!="function"){var l=i;i=a;var p=n;return function(C){var P=this;C===void 0&&(C=l);for(var I=arguments.length,L=Array(I>1?I-1:0),M=1;M<I;M++)L[M-1]=arguments[M];return p.produce(C,function(U){var F;return(F=i).call.apply(F,[P,U].concat(L))})}}var u;if(typeof i!="function"&&Ue(6),s!==void 0&&typeof s!="function"&&Ue(7),Ve(a)){var y=Yd(n),g=qa(n,a,void 0),x=!0;try{u=i(g),x=!1}finally{x?nn(y):Za(y)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(C){return za(y,s),Ga(C,y)},function(C){throw nn(y),C}):(za(y,s),Ga(u,y))}if(!a||typeof a!="object"){if((u=i(a))===void 0&&(u=a),u===iu&&(u=void 0),n.D&&ei(u,!0),s){var O=[],S=[];et("Patches").M(a,u,O,S),s(O,S)}return u}Ue(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(u){for(var y=arguments.length,g=Array(y>1?y-1:0),x=1;x<y;x++)g[x-1]=arguments[x];return n.produceWithPatches(u,function(O){return a.apply(void 0,[O].concat(g))})};var s,l,p=n.produce(a,i,function(u,y){s=u,l=y});return typeof Promise<"u"&&p instanceof Promise?p.then(function(u){return[u,s,l]}):[p,s,l]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var e=t.prototype;return e.createDraft=function(o){Ve(o)||Ue(8),ft(o)&&(o=Ph(o));var n=Yd(this),a=qa(this,o,void 0);return a[ee].C=!0,Za(n),a},e.finishDraft=function(o,n){var a=o&&o[ee],i=a.A;return za(i,n),Ga(void 0,i)},e.setAutoFreeze=function(o){this.D=o},e.setUseProxies=function(o){o&&!tu&&Ue(20),this.O=o},e.applyPatches=function(o,n){var a;for(a=n.length-1;a>=0;a--){var i=n[a];if(i.path.length===0&&i.op==="replace"){o=i.value;break}}a>-1&&(n=n.slice(a+1));var s=et("Patches").$;return ft(o)?s(o,n):this.produce(o,function(l){return s(l,n)})},t}(),_e=new Dh,Bh=_e.produce,IS=_e.produceWithPatches.bind(_e),LS=_e.setAutoFreeze.bind(_e),PS=_e.setUseProxies.bind(_e),TS=_e.applyPatches.bind(_e),_S=_e.createDraft.bind(_e),kS=_e.finishDraft.bind(_e),cn=Bh});function Lt(t){"@babel/helpers - typeof";return Lt=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},Lt(t)}var oi=f(()=>{});function ni(t,e){if(Lt(t)!=="object"||t===null)return t;var o=t[Symbol.toPrimitive];if(o!==void 0){var n=o.call(t,e||"default");if(Lt(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var cu=f(()=>{oi()});function ai(t){var e=ni(t,"string");return Lt(e)==="symbol"?e:String(e)}var lu=f(()=>{oi();cu()});function ii(t,e,o){return e=ai(e),e in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}var du=f(()=>{lu()});function uu(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),o.push.apply(o,n)}return o}function dn(t){for(var e=1;e<arguments.length;e++){var o=arguments[e]!=null?arguments[e]:{};e%2?uu(Object(o),!0).forEach(function(n){ii(t,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):uu(Object(o)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(o,n))})}return t}var pu=f(()=>{du()});function ge(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 Mh(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 ci(t,e,o){var n;if(typeof e=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(ge(0));if(typeof e=="function"&&typeof o>"u"&&(o=e,e=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(ge(1));return o(ci)(t,e)}if(typeof t!="function")throw new Error(ge(2));var a=t,i=e,s=[],l=s,p=!1;function u(){l===s&&(l=s.slice())}function y(){if(p)throw new Error(ge(3));return i}function g(C){if(typeof C!="function")throw new Error(ge(4));if(p)throw new Error(ge(5));var P=!0;return u(),l.push(C),function(){if(P){if(p)throw new Error(ge(6));P=!1,u();var L=l.indexOf(C);l.splice(L,1),s=null}}}function x(C){if(!Mh(C))throw new Error(ge(7));if(typeof C.type>"u")throw new Error(ge(8));if(p)throw new Error(ge(9));try{p=!0,i=a(i,C)}finally{p=!1}for(var P=s=l,I=0;I<P.length;I++){var L=P[I];L()}return C}function O(C){if(typeof C!="function")throw new Error(ge(10));a=C,x({type:un.REPLACE})}function S(){var C,P=g;return C={subscribe:function(L){if(typeof L!="object"||L===null)throw new Error(ge(11));function M(){L.next&&L.next(y())}M();var U=P(M);return{unsubscribe:U}}},C[fu]=function(){return this},C}return x({type:un.INIT}),n={dispatch:x,subscribe:g,getState:y,replaceReducer:O},n[fu]=S,n}function $h(t){Object.keys(t).forEach(function(e){var o=t[e],n=o(void 0,{type:un.INIT});if(typeof n>"u")throw new Error(ge(12));if(typeof o(void 0,{type:un.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(ge(13))})}function hu(t){for(var e=Object.keys(t),o={},n=0;n<e.length;n++){var a=e[n];typeof t[a]=="function"&&(o[a]=t[a])}var i=Object.keys(o),s,l;try{$h(o)}catch(p){l=p}return function(u,y){if(u===void 0&&(u={}),l)throw l;if(0)var g;for(var x=!1,O={},S=0;S<i.length;S++){var C=i[S],P=o[C],I=u[C],L=P(I,y);if(typeof L>"u"){var M=y&&y.type;throw new Error(ge(14))}O[C]=L,x=x||L!==I}return x=x||i.length!==Object.keys(u).length,x?O:u}}function Cr(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return e.length===0?function(n){return n}:e.length===1?e[0]:e.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function yu(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(n){return function(){var a=n.apply(void 0,arguments),i=function(){throw new Error(ge(15))},s={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},l=e.map(function(p){return p(s)});return i=Cr.apply(void 0,l)(a.dispatch),dn(dn({},a),{},{dispatch:i})}}}var fu,si,un,pn=f(()=>{pu();fu=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),si=function(){return Math.random().toString(36).substring(7).split("").join(".")},un={INIT:"@@redux/INIT"+si(),REPLACE:"@@redux/REPLACE"+si(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+si()}}});function mu(t){var e=function(n){var a=n.dispatch,i=n.getState;return function(s){return function(l){return typeof l=="function"?l(a,i,t):s(l)}}};return e}var gu,li,bu=f(()=>{gu=mu();gu.withExtraArgument=mu;li=gu});function Kh(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var o=e;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return e===o}function fi(t){return Ve(t)?cn(t,function(){}):t}function Yh(t){return typeof t=="boolean"}function Qh(){return function(e){return Xh(e)}}function Xh(t){t===void 0&&(t={});var e=t.thunk,o=e===void 0?!0:e,n=t.immutableCheck,a=n===void 0?!0:n,i=t.serializableCheck,s=i===void 0?!0:i,l=new Zh;if(o&&(Yh(o)?l.push(li):l.push(li.withExtraArgument(o.extraArgument))),0){if(a)var p;if(s)var u}return l}function Eu(t){var e=Qh(),o=t||{},n=o.reducer,a=n===void 0?void 0:n,i=o.middleware,s=i===void 0?e():i,l=o.devTools,p=l===void 0?!0:l,u=o.preloadedState,y=u===void 0?void 0:u,g=o.enhancers,x=g===void 0?void 0:g,O;if(typeof a=="function")O=a;else if(Kh(a))O=hu(a);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 S=s;if(typeof S=="function"&&(S=S(e),!ui&&!Array.isArray(S)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!ui&&S.some(function(U){return typeof U!="function"}))throw new Error("each middleware provided to configureStore must be a function");var C=yu.apply(void 0,S),P=Cr;p&&(P=Vh(Pt({trace:!ui},typeof p=="object"&&p)));var I=new qh(C),L=I;Array.isArray(x)?L=Er([C],x):typeof x=="function"&&(L=x(I));var M=P.apply(void 0,L);return ci(O,y,M)}function Tt(t,e){function o(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(e){var i=e.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return Pt(Pt({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:n[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(n){return n.type===t},o}function wu(t){var e={},o=[],n,a={addCase:function(i,s){var l=typeof i=="string"?i:i.type;if(l in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[l]=s,a},addMatcher:function(i,s){return o.push({matcher:i,reducer:s}),a},addDefaultCase:function(i){return n=i,a}};return t(a),[e,o,n]}function Jh(t){return typeof t=="function"}function ey(t,e,o,n){o===void 0&&(o=[]);var a=typeof e=="function"?wu(e):[e,o,n],i=a[0],s=a[1],l=a[2],p;if(Jh(t))p=function(){return fi(t())};else{var u=fi(t);p=function(){return u}}function y(g,x){g===void 0&&(g=p());var O=Er([i[x.type]],s.filter(function(S){var C=S.matcher;return C(x)}).map(function(S){var C=S.reducer;return C}));return O.filter(function(S){return!!S}).length===0&&(O=[l]),O.reduce(function(S,C){if(C)if(ft(S)){var P=S,I=C(P,x);return I===void 0?S:I}else{if(Ve(S))return cn(S,function(L){return C(L,x)});var I=C(S,x);if(I===void 0){if(S===null)return S;throw Error("A case reducer on a non-draftable value must not return undefined")}return I}return S},g)}return y.getInitialState=p,y}function ty(t,e){return t+"/"+e}function Au(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof t.initialState=="function"?t.initialState:fi(t.initialState),n=t.reducers||{},a=Object.keys(n),i={},s={},l={};a.forEach(function(y){var g=n[y],x=ty(e,y),O,S;"reducer"in g?(O=g.reducer,S=g.prepare):O=g,i[y]=O,s[x]=O,l[y]=S?Tt(x,S):Tt(x)});function p(){var y=typeof t.extraReducers=="function"?wu(t.extraReducers):[t.extraReducers],g=y[0],x=g===void 0?{}:g,O=y[1],S=O===void 0?[]:O,C=y[2],P=C===void 0?void 0:C,I=Pt(Pt({},x),s);return ey(o,function(L){for(var M in I)L.addCase(M,I[M]);for(var U=0,F=S;U<F.length;U++){var Oe=F[U];L.addMatcher(Oe.matcher,Oe.reducer)}P&&L.addDefaultCase(P)})}var u;return{name:e,reducer:function(y,g){return u||(u=p()),u(y,g)},actions:l,caseReducers:i,getInitialState:function(){return u||(u=p()),u.getInitialState()}}}function iy(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function sy(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var Cu,Uh,Er,Fh,Wh,Hh,xu,zh,Gh,vu,Pt,di,jh,Vh,XS,Zh,qh,ui,ry,oy,ny,pi,Su,ay,rO,Ru,Nu,Iu,oO,nO,aO,iO,hi,sO,cO,lO,Ou,dO,cy,uO,Lu=f(()=>{ln();pn();pn();pn();bu();ln();ln();Cu=function(){var t=function(e,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},t(e,o)};return function(e,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");t(e,o);function n(){this.constructor=e}e.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),Uh=function(t,e){var o={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(u){return function(y){return p([u,y])}}function p(u){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,a&&(i=u[0]&2?a.return:u[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,u[1])).done)return i;switch(a=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,a=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(i=o.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){o=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){o.label=u[1];break}if(u[0]===6&&o.label<i[1]){o.label=i[1],i=u;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(u);break}i[2]&&o.ops.pop(),o.trys.pop();continue}u=e.call(t,o)}catch(y){u=[6,y],a=0}finally{n=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},Er=function(t,e){for(var o=0,n=e.length,a=t.length;o<n;o++,a++)t[a]=e[o];return t},Fh=Object.defineProperty,Wh=Object.defineProperties,Hh=Object.getOwnPropertyDescriptors,xu=Object.getOwnPropertySymbols,zh=Object.prototype.hasOwnProperty,Gh=Object.prototype.propertyIsEnumerable,vu=function(t,e,o){return e in t?Fh(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},Pt=function(t,e){for(var o in e||(e={}))zh.call(e,o)&&vu(t,o,e[o]);if(xu)for(var n=0,a=xu(e);n<a.length;n++){var o=a[n];Gh.call(e,o)&&vu(t,o,e[o])}return t},di=function(t,e){return Wh(t,Hh(e))},jh=function(t,e,o){return new Promise(function(n,a){var i=function(p){try{l(o.next(p))}catch(u){a(u)}},s=function(p){try{l(o.throw(p))}catch(u){a(u)}},l=function(p){return p.done?n(p.value):Promise.resolve(p.value).then(i,s)};l((o=o.apply(t,e)).next())})},Vh=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Cr:Cr.apply(null,arguments)},XS=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};Zh=function(t){Cu(e,t);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=t.apply(this,o)||this;return Object.setPrototypeOf(a,e.prototype),a}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return t.prototype.concat.apply(this,o)},e.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(e.bind.apply(e,Er([void 0],o[0].concat(this)))):new(e.bind.apply(e,Er([void 0],o.concat(this))))},e}(Array),qh=function(t){Cu(e,t);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=t.apply(this,o)||this;return Object.setPrototypeOf(a,e.prototype),a}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return t.prototype.concat.apply(this,o)},e.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(e.bind.apply(e,Er([void 0],o[0].concat(this)))):new(e.bind.apply(e,Er([void 0],o.concat(this))))},e}(Array);ui=!0;ry="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",oy=function(t){t===void 0&&(t=21);for(var e="",o=t;o--;)e+=ry[Math.random()*64|0];return e},ny=["name","message","stack","code"],pi=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),Su=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),ay=function(t){if(typeof t=="object"&&t!==null){for(var e={},o=0,n=ny;o<n.length;o++){var a=n[o];typeof t[a]=="string"&&(e[a]=t[a])}return e}return{message:String(t)}},rO=function(){function t(e,o,n){var a=Tt(e+"/fulfilled",function(y,g,x,O){return{payload:y,meta:di(Pt({},O||{}),{arg:x,requestId:g,requestStatus:"fulfilled"})}}),i=Tt(e+"/pending",function(y,g,x){return{payload:void 0,meta:di(Pt({},x||{}),{arg:g,requestId:y,requestStatus:"pending"})}}),s=Tt(e+"/rejected",function(y,g,x,O,S){return{payload:O,error:(n&&n.serializeError||ay)(y||"Rejected"),meta:di(Pt({},S||{}),{arg:x,requestId:g,rejectedWithValue:!!O,requestStatus:"rejected",aborted:y?.name==="AbortError",condition:y?.name==="ConditionError"})}}),l=!1,p=typeof AbortController<"u"?AbortController:function(){function y(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return y.prototype.abort=function(){},y}();function u(y){return function(g,x,O){var S=n?.idGenerator?n.idGenerator(y):oy(),C=new p,P,I=!1;function L(U){P=U,C.abort()}var M=function(){return jh(this,null,function(){var U,F,Oe,Ze,xe,qe,pe;return Uh(this,function(m){switch(m.label){case 0:return m.trys.push([0,4,,5]),Ze=(U=n?.condition)==null?void 0:U.call(n,y,{getState:x,extra:O}),sy(Ze)?[4,Ze]:[3,2];case 1:Ze=m.sent(),m.label=2;case 2:if(Ze===!1||C.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return I=!0,xe=new Promise(function(v,k){return C.signal.addEventListener("abort",function(){return k({name:"AbortError",message:P||"Aborted"})})}),g(i(S,y,(F=n?.getPendingMeta)==null?void 0:F.call(n,{requestId:S,arg:y},{getState:x,extra:O}))),[4,Promise.race([xe,Promise.resolve(o(y,{dispatch:g,getState:x,extra:O,requestId:S,signal:C.signal,abort:L,rejectWithValue:function(v,k){return new pi(v,k)},fulfillWithValue:function(v,k){return new Su(v,k)}})).then(function(v){if(v instanceof pi)throw v;return v instanceof Su?a(v.payload,S,y,v.meta):a(v,S,y)})])];case 3:return Oe=m.sent(),[3,5];case 4:return qe=m.sent(),Oe=qe instanceof pi?s(null,S,y,qe.payload,qe.meta):s(qe,S,y),[3,5];case 5:return pe=n&&!n.dispatchConditionRejection&&s.match(Oe)&&Oe.meta.condition,pe||g(Oe),[2,Oe]}})})}();return Object.assign(M,{abort:L,requestId:S,arg:y,unwrap:function(){return M.then(iy)}})}}return Object.assign(u,{pending:i,rejected:s,fulfilled:a,typePrefix:e})}return t.withTypes=function(){return t},t}();Ru="listener",Nu="completed",Iu="cancelled",oO="task-"+Iu,nO="task-"+Nu,aO=Ru+"-"+Iu,iO=Ru+"-"+Nu,hi="listenerMiddleware",sO=Tt(hi+"/add"),cO=Tt(hi+"/removeAll"),lO=Tt(hi+"/remove"),dO=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(Ou||(Ou=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},cy=function(t){return function(e){setTimeout(e,t)}},uO=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:cy(10);au()});var Pu,Tu=f(()=>{"use strict";Lu();rn();Ha();window.ftReduxStores||(window.ftReduxStores={});Pu=class t{static get(e){var o;let n=typeof e=="string"?e:e.name,a=typeof e=="string"?void 0:e,i=window.ftReduxStores[n];if(oo(i))return i;if(a==null)return;let s=Au({...a,reducers:(o=a.reducers)!==null&&o!==void 0?o:{}}),l=Eu({reducer:(p,u)=>u.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof u.type=="string"&&u.type.startsWith("DEFAULT_VALUE_SETTER__")?{...p,...u.overwrites}:s.reducer(p,u)});return window.ftReduxStores[a.name]=new t(s,l)}constructor(e,o){this.reduxSlice=e,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Qo,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,a,i)=>{let s=a,l=n[s];return l?(...p)=>{let u=l(...p);return this.reduxStore.dispatch(u),u}:p=>{this.setState({[s]:p})}}})}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 _u=f(()=>{"use strict";Pd();Ha();qd();Tu();rn()});var ku=f(()=>{"use strict"});var ly,Du=f(()=>{"use strict";ly=b(Q());_u();ku();Ge()});var fn,yi=f(()=>{"use strict";Ge();to();fn=class extends Je{async listMySearches(){let e=B.getState().session;return e?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}}});var hn,mi=f(()=>{"use strict";Ge();to();hn=class extends Je{async listMyBookmarks(){let e=B.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}}});var mn,dy,yn,gi,Bu,bi=f(()=>{"use strict";mn=b(N());yi();mi();Ge();dy="ft-user-assets",yn=mn.FtReduxStore.get({name:dy,initialState:{savedSearches:void 0,bookmarks:void 0}}),gi=class{constructor(){this.currentSession=B.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new hn,this.savedSearchesService=new fn,B.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:o}=B.getState();(0,mn.deepEqual)((e=this.currentSession)===null||e===void 0?void 0:e.profile,o?.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),yn.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),yn.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();yn.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let o=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;yn.actions.bookmarks(o)}}},Bu=new gi});var xi,Mu=f(()=>{"use strict";Ge();xi=class{addCommand(e,o=!1){B.commands.add(e,o)}consumeCommand(e){return B.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new xi});var $u,vi,Uu=f(()=>{"use strict";$u=b(N()),vi=class{highlightHtml(e,o,n){(0,$u.highlightHtml)(e,o,n)}};window.FluidTopicsHighlightHtmlService=new vi});var Fu,Si,Wu=f(()=>{"use strict";Fu=b(N());Ge();Si=class{isDate(e){var o,n,a,i;return(i=(a=((n=(o=B.getState().metadataConfiguration)===null||o===void 0?void 0:o.descriptors)!==null&&n!==void 0?n:[]).find(l=>l.key===e))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1}format(e,o){var n,a,i;return Fu.DateFormatter.format(e,(n=o?.locale)!==null&&n!==void 0?n:B.getState().uiLocale,(a=o?.longFormat)!==null&&a!==void 0?a:!1,(i=o?.withTime)!==null&&i!==void 0?i:!1)}};window.FluidTopicsDateService=new Si});var Hu=f(()=>{"use strict";mi();Zo();Mu();$a();to();Uu();yi();Wu()});var zu=f(()=>{"use strict"});var Gu,wr=f(()=>{"use strict";Gu=b(N());Ua();Du();Ge();bi();Hu();Da();zu();Ua();(0,Gu.customElement)("ft-app-context")(se)});function Fe(t){var e;class o extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?Id:Xt}i18n(a,i,...s){var l;if(typeof a=="string")return this.i18nService.resolveMessage(a,i,...s);let p=(l=a.args)!==null&&l!==void 0?l:a.argsProvider?a.argsProvider(this):[];return this.i18nService.resolveMessage(a.context,a.key,...p)}onI18nUpdate(a){var i,s,l;(i=this[Oi])===null||i===void 0||i.forEach((p,u)=>{let y=this.getI18nAttributeValue(u);y&&(this[u]=this.getI18nAttributeMessage(y,p,a))}),(s=this[Ci])===null||s===void 0||s.forEach((p,u)=>{let y=this.getI18nListAttributeValues(u);this[u]=y?.map(g=>this.getI18nAttributeMessage(g,p,a))}),(l=this[gn])===null||l===void 0||l.forEach((p,u)=>{p.context.toLowerCase()===a.toLowerCase()&&(this[u]=this.i18n(p))}),setTimeout(()=>this.requestUpdate(),0)}buildI18nAttributeMessage(a,i){return{...a,message:this.i18n({context:a.context,key:a.key,...i})}}getI18nAttributeMessage(a,i,s){var l;let p=!s||((l=a.context)===null||l===void 0?void 0:l.toLowerCase())===s.toLowerCase();return a.context&&a.key&&p?this.buildI18nAttributeMessage(a,i):a}update(a){var i,s,l;super.update(a),(i=this[Oi])===null||i===void 0||i.forEach((p,u)=>{let y=this.getI18nAttributeValue(u);y?.context&&y.key&&(a.has(u)||p.argsProvider!=null)&&(this.addI18nContextIfNeeded(y,a,u),this[u]=this.getI18nAttributeMessage(y,p))}),(s=this[Ci])===null||s===void 0||s.forEach((p,u)=>{let y=this.getI18nListAttributeValues(u);(a.has(u)||p.argsProvider!=null)&&(this[u]=y?.map(g=>(this.addI18nContextIfNeeded(g,a,u),this.getI18nAttributeMessage(g,p))))}),(l=this[gn])===null||l===void 0||l.forEach((p,u)=>{p.argsProvider!=null&&(this[u]=this.i18n(p))})}getI18nAttributeValue(a){return this[a]}getI18nListAttributeValues(a){return this[a]}addI18nContextIfNeeded(a,i,s){a.context&&a.key&&i.has(s)&&this.addI18nContext(a.context)}connectedCallback(){var a,i,s,l,p,u;super.connectedCallback(),new Set([...(i=(a=this[gn])===null||a===void 0?void 0:a.values())!==null&&i!==void 0?i:[],...[...(l=(s=this[Oi])===null||s===void 0?void 0:s.keys())!==null&&l!==void 0?l:[]].map(y=>this.getI18nAttributeValue(y)),...[...(u=(p=this[Ci])===null||p===void 0?void 0:p.keys())!==null&&u!==void 0?u:[]].flatMap(y=>this.getI18nListAttributeValues(y))].map(y=>y?.context)).forEach(y=>y&&this.addI18nMessages(y))}addI18nMessages(a,i){a=a.toLowerCase(),this[co].has(a)||this[co].set(a,this.i18nService.subscribe(a,()=>this.onI18nUpdate(a))),this.i18nService.prepareContext(a,i??{}),this.onI18nUpdate(a)}addI18nContext(a,i){this.addI18nMessages(typeof a=="string"?a:a.name,i)}disconnectedCallback(){super.disconnectedCallback(),this[co].forEach(a=>a()),this[co].clear()}}return e=co,uy([(0,Vu.property)({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}var xn,Vu,uy,Oi,Ci,gn,co,ju,bn,vn=f(()=>{"use strict";xn=b(N());wr();Vu=b(Q()),uy=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Oi=Symbol("i18nAttributes"),Ci=Symbol("i18nListAttributes"),gn=Symbol("i18nProperties"),co=Symbol("i18nUnsubs");ju=class extends Fe(xn.FtLitElement){},bn=class extends Fe(xn.FtLitElementRedux){}});var Sn,On,Cn,lo,Ke,Ei=f(()=>{"use strict";Sn=b(D()),On=b(Q()),Cn=b(N());ka();vn();wr();lo=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Ke=class extends bn{constructor(){super(),this.editorMode=!1,this.addStore(B)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":Sn.nothing:Sn.html`
|
|
1150
1150
|
<span class="ft-i18n">
|
|
1151
1151
|
${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
|
|
1152
1152
|
</span>
|
|
1153
|
-
`}update(e){var o;super.update(e),["context","key","defaultMessage"].some(n=>e.has(n))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};
|
|
1154
|
-
`)===0?
|
|
1155
|
-
`});var Np=f(()=>{"use strict"});var Ip,hy,Lp,Pp=f(()=>{"use strict";Ip=b(N()),hy={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)=>{t.request.paging.perPage=e.payload},setPageNumber:(t,e)=>{t.request.paging.page=e.payload},setRequestSort:(t,e)=>{t.request.sort=e.payload},setRequestFilters:(t,e)=>{t.request.metadataFilters=e.payload},setRequestFacets:(t,e)=>{t.request.facets=e.payload},setRequestVirtualField:(t,e)=>{t.request.virtualField=e.payload},setRequestScope:(t,e)=>{t.request.scope=e.payload},setRequestClusterSortCriterion:(t,e)=>{var o;t.request.clusterSortCriterions=(o=e.payload)!==null&&o!==void 0?o:[]},setResults:(t,e)=>{t.results=e.payload},setFacets:(t,e)=>{t.facets=e.payload},setSpellcheck:(t,e)=>{t.spellcheck=e.payload},setLocales:(t,e)=>{t.locales=e.payload},setPaging:(t,e)=>{t.paging=e.payload},setLiveQuery:(t,e)=>{t.liveQuery=e.payload},setSuggestResults:(t,e)=>{t.suggestResults=e.payload}},Lp=t=>Ip.FtReduxStore.get({name:"ft-search-"+t,initialState:{request:{query:"",clusterSortCriterions:[],metadataFilters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:""},reducers:hy})});var Pn,Tp=f(()=>{"use strict";wr();Pn=class extends Je{async launchSearch(e){return this.cache.get(this.hash(e),async()=>(await this.awaitApi).search(e),2*60*1e3)}async launchSuggest(e){return this.cache.get(this.hash(e),async()=>(await this.awaitApi).getSuggestions(e),2*60*1e3)}async getAvailableSearchLocales(){return this.cache.get("available-locales",async()=>(await this.awaitApi).getAvailableSearchLocales())}hash(e){return""+Array.from(JSON.stringify(e)).reduce((o,n)=>0|31*o+n.charCodeAt(0),0)}}});var ot,_p,fo,Pr,_i=f(()=>{"use strict";ot=b(N());Pp();Ni();Tp();_p=t=>t.request.virtualField===Rr.TITLE_ONLY&&t.request.scope===Ir.DOCUMENTS,fo=class t extends Event{constructor(){super(t.eventName)}};fo.eventName="search-context-clear-all-filters";Pr=class t{static build(e,o){return new t(Lp(e.trim()||"context"),o)}constructor(e,o){this.store=e,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.localesDebouncer=new ot.Debouncer(10),this.searchDebouncer=new ot.Debouncer(100),this.suggestDebouncer=new ot.Debouncer(300),this.service=o??new Pn}async initService(){return this.updateLocales(),this.launchSearch()}setQuery(e){this.store.actions.setRequestQuery(e),this.store.actions.setLiveQuery(e),this.store.actions.setPageNumber(1),this.launchSearch()}setContentLocale(e){let o=this.store.getState().locales,n=this.store.getState().request.contentLocale;if(e!=n){if(o){let a=i=>o.some(s=>s.lang==i);a(e)||(e=a(n)?n:o[0].lang)}this.store.actions.setRequestContentLocale(e),this.store.actions.setPageNumber(1),this.store.actions.setRequestFilters([]),this.launchSearch()}return e}setPageSize(e){this.store.actions.setPageSize(e),this.launchSearch()}setPageNumber(e){this.store.actions.setPageNumber(e),this.launchSearch()}setSort(e){this.store.actions.setRequestSort(e),this.store.actions.setPageNumber(1),this.launchSearch()}setFilters(e){let o=e.filter(n=>!n.valueFilter||n.valueFilter.values.length>0);this.store.actions.setRequestFilters(o),this.store.actions.setPageNumber(1),o.forEach(n=>{this.facetIds.includes(n.key)||(this.facetIds=[...this.facetIds,n.key])}),this.launchSearch()}setClusterSortCriterion(e){this.store.actions.setRequestClusterSortCriterion(e),this.launchSearch()}setSearchInDocumentTitlesOnly(e){e?(this.store.actions.setRequestVirtualField(Rr.TITLE_ONLY),this.store.actions.setRequestScope(Ir.DOCUMENTS)):(this.store.actions.setRequestVirtualField(Rr.EVERYWHERE),this.store.actions.setRequestScope(Ir.DEFAULT)),this.launchSearch()}setVirtualField(e){this.store.actions.setRequestVirtualField(e),this.launchSearch()}get searchInDocumentTitlesOnly(){return _p(this.store.getState())}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new fo)}addFacet(e){this.facetIds=[...this.facetIds,e],this.launchSearch()}replaceFacet(e,o){let n=this.facetIds.filter(a=>a!=e);o&&n.push(o),this.facetIds=n,this.launchSearch()}get facetIds(){return this.store.getState().request.facets.map(e=>e.id)}set facetIds(e){let n=[...new Set(e)].map(a=>({id:a}));this.store.actions.setRequestFacets(n)}setFilter(e,o){this.setValueFilter(e,o)}setValueFilter(e,o){let n=this.store.getState().request.metadataFilters,a={key:e,valueFilter:{values:o,negative:!1}},i=[...n.filter(s=>!s.valueFilter),...n.filter(s=>s.valueFilter&&s.key!==a.key),a];this.setFilters(i)}setDateFilter(e,o){let n=this.store.getState().request.metadataFilters,a={key:e,dateFilter:{type:o}},i=[...n.filter(s=>!s.dateFilter),...n.filter(s=>s.dateFilter&&s.key!==a.key),a];this.setFilters(i)}removeDateFilter(e){let o=this.store.getState().request.metadataFilters,n=[...o.filter(a=>!a.dateFilter),...o.filter(a=>a.dateFilter&&a.key!==e)];this.setFilters(n)}setRangeFilter(e,o,n){let a=this.store.getState().request.metadataFilters,i={key:e,rangeFilter:{from:o,to:n}},s=[...a.filter(l=>!l.rangeFilter),...a.filter(l=>l.rangeFilter&&l.key!==i.key),i];this.setFilters(s)}removeRangeFilter(e){let o=this.store.getState().request.metadataFilters,n=[...o.filter(a=>!a.rangeFilter),...o.filter(a=>a.rangeFilter&&a.key!==e)];this.setFilters(n)}setLiveQuery(e){this.store.actions.setLiveQuery(e),this.launchSuggest()}setRequest(e){this.store.actions.setRequest({...e,facets:this.store.getState().request.facets}),this.store.actions.setLiveQuery(e.query),this.store.actions.setPageNumber(1),this.launchSearch()}setScope(e){this.store.actions.setRequestScope(e),this.launchSearch()}setIgnoreEmptyQuery(e){this.ignoreEmptyQuery=e,this.launchSearch()}setOpenExternalDocumentInNewTab(e){this.openExternalDocumentInNewTab=e}updateLocales(){return this.localesDebouncer.run(async()=>this.store.actions.setLocales((await this.service.getAvailableSearchLocales()).contentLocales))}launchSearch(){return this.searchDebouncer.run(()=>this.fetchSearchData())}launchSuggest(){return this.suggestDebouncer.run(()=>this.fetchSuggestData())}async fetchSearchData(){var e,o;try{(e=this.cancelableSearch)===null||e===void 0||e.cancel();let n=this.store.getState().request;if(this.store.actions.setPaging(void 0),this.ignoreEmptyQuery&&n.query.length==0)this.store.actions.setResults(void 0),this.store.actions.setFacets(void 0),this.store.actions.setSpellcheck(void 0);else{this.cancelableSearch=(0,ot.cancelable)(this.service.launchSearch(n));let a=await this.cancelableSearch;if(a.paging.currentPage<=1)this.store.actions.setResults(a.results),this.store.actions.setFacets(a.facets),this.store.actions.setSpellcheck(a.spellcheck);else{let i=((o=this.store.getState().results)!==null&&o!==void 0?o:[]).concat(a.results);this.store.actions.setResults(i)}this.store.actions.setPaging(a.paging)}}catch(n){!(n instanceof ot.CanceledPromiseError)&&this.errorHandler&&this.errorHandler(n)}}async fetchSuggestData(){var e;try{let o=this.store.getState(),n=o.request,a={input:o.liveQuery,metadataFilters:n.metadataFilters,sort:n.sort,contentLocale:n.contentLocale,scope:n.scope};(e=this.cancelableSuggest)===null||e===void 0||e.cancel(),this.cancelableSuggest=(0,ot.cancelable)(this.service.launchSuggest(a));let i=await this.cancelableSuggest;this.store.actions.setSuggestResults(i.suggestions)}catch(o){!(o instanceof ot.CanceledPromiseError)&&this.errorHandler&&this.errorHandler(o)}}clear(){this.store.clear()}}});function my(t){var e;class o extends t{constructor(){super(...arguments),this[e]=0}setSearchStateManager(a){this.clearStateManager(),this.stateManager=a,this.addStore(a.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[ki]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[ki]):this.dispatchEvent(new Di)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=ki,yy([(0,Dp.state)()],o.prototype,"stateManager",void 0),o}var kp,Dp,yy,Di,ki,Ne,kt=f(()=>{"use strict";kp=b(N()),Dp=b(X());Np();_i();yy=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Di=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},ki=Symbol("registerInterval");Ne=class extends my(kp.FtLitElementRedux){}});var Bp,ht,Ke,Se,Tn,_n,kn,ne,Bi=f(()=>{"use strict";Bp=b(D()),ht=b(X()),Ke=b(N());Ti();kt();wr();bi();Se=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Tn=class extends CustomEvent{constructor(e){super("ft-search-load-error",{detail:e})}},_n=class extends CustomEvent{constructor(e){super("ft-search-request-change",{detail:e})}},kn=class extends CustomEvent{constructor(e,o,n){super("ft-search-results-change",{detail:{request:e,paging:o,spellcheck:n}})}},ne=class extends Ke.FtLitElementRedux{get stateManager(){if(this._stateManager==null){let e=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=Pr.build(this.id||(""+Math.round(Math.random()*999e3)).padStart(6,"0"),e),this._stateManager.errorHandler=o=>this.handleLoadError(o),this.addStore(this.stateManager.store,"search")}return this._stateManager}constructor(){super(),this.query="",this.pageSize=20,this.searchInDocumentTitlesOnly=!1,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.filters=[],this.sort=[],this.addStore(B)}render(){return Bp.html`
|
|
1153
|
+
`}update(e){var o;super.update(e),["context","key","defaultMessage"].some(n=>e.has(n))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};Ke.elementDefinitions={};Ke.styles=wd;lo([(0,Cn.redux)()],Ke.prototype,"editorMode",void 0);lo([(0,On.property)()],Ke.prototype,"context",void 0);lo([(0,On.property)()],Ke.prototype,"key",void 0);lo([(0,Cn.jsonProperty)([])],Ke.prototype,"args",void 0);lo([(0,On.property)()],Ke.prototype,"defaultMessage",void 0)});var tt,Ku=f(()=>{"use strict";wr();tt=class t{static build(e){return new t(e)}static fromGwt(e){return new t(e)}constructor(e){this.name=e,this.properties=new Proxy({},{get:(o,n)=>{let a=n;return i=>({context:this.name,key:a,args:typeof i=="function"?void 0:i,argsProvider:typeof i=="function"?i:void 0})}}),this.messages=new Proxy({},{get:(o,n)=>(...a)=>Xt.resolveMessage(this.name,n,...a)}),this.rawMessages=new Proxy({},{get:(o,n)=>Xt.resolveRawMessage(this.name,n)})}}});var Zu=f(()=>{"use strict";vn()});var qu=f(()=>{"use strict"});var Yu,rt=f(()=>{"use strict";Yu=b(N());Ei();Ku();vn();Zu();ka();qu();Ei();(0,Yu.customElement)("ft-i18n")(Ke)});var tp=Wt((_t,ep)=>{var wn=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,An=function(){function t(){this.fetch=!1,this.DOMException=wn.DOMException}return t.prototype=wn,new t}();(function(t){var e=function(o){var n=typeof t<"u"&&t||typeof self<"u"&&self||typeof global<"u"&&global||{},a={searchParams:"URLSearchParams"in n,iterable:"Symbol"in n&&"iterator"in Symbol,blob:"FileReader"in n&&"Blob"in n&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in n,arrayBuffer:"ArrayBuffer"in n};function i(m){return m&&DataView.prototype.isPrototypeOf(m)}if(a.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(m){return m&&s.indexOf(Object.prototype.toString.call(m))>-1};function p(m){if(typeof m!="string"&&(m=String(m)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(m)||m==="")throw new TypeError('Invalid character in header field name: "'+m+'"');return m.toLowerCase()}function u(m){return typeof m!="string"&&(m=String(m)),m}function y(m){var v={next:function(){var k=m.shift();return{done:k===void 0,value:k}}};return a.iterable&&(v[Symbol.iterator]=function(){return v}),v}function g(m){this.map={},m instanceof g?m.forEach(function(v,k){this.append(k,v)},this):Array.isArray(m)?m.forEach(function(v){if(v.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+v.length);this.append(v[0],v[1])},this):m&&Object.getOwnPropertyNames(m).forEach(function(v){this.append(v,m[v])},this)}g.prototype.append=function(m,v){m=p(m),v=u(v);var k=this.map[m];this.map[m]=k?k+", "+v:v},g.prototype.delete=function(m){delete this.map[p(m)]},g.prototype.get=function(m){return m=p(m),this.has(m)?this.map[m]:null},g.prototype.has=function(m){return this.map.hasOwnProperty(p(m))},g.prototype.set=function(m,v){this.map[p(m)]=u(v)},g.prototype.forEach=function(m,v){for(var k in this.map)this.map.hasOwnProperty(k)&&m.call(v,this.map[k],k,this)},g.prototype.keys=function(){var m=[];return this.forEach(function(v,k){m.push(k)}),y(m)},g.prototype.values=function(){var m=[];return this.forEach(function(v){m.push(v)}),y(m)},g.prototype.entries=function(){var m=[];return this.forEach(function(v,k){m.push([k,v])}),y(m)},a.iterable&&(g.prototype[Symbol.iterator]=g.prototype.entries);function x(m){if(!m._noBody){if(m.bodyUsed)return Promise.reject(new TypeError("Already read"));m.bodyUsed=!0}}function O(m){return new Promise(function(v,k){m.onload=function(){v(m.result)},m.onerror=function(){k(m.error)}})}function S(m){var v=new FileReader,k=O(v);return v.readAsArrayBuffer(m),k}function C(m){var v=new FileReader,k=O(v),q=/charset=([A-Za-z0-9_-]+)/.exec(m.type),te=q?q[1]:"utf-8";return v.readAsText(m,te),k}function P(m){for(var v=new Uint8Array(m),k=new Array(v.length),q=0;q<v.length;q++)k[q]=String.fromCharCode(v[q]);return k.join("")}function I(m){if(m.slice)return m.slice(0);var v=new Uint8Array(m.byteLength);return v.set(new Uint8Array(m)),v.buffer}function L(){return this.bodyUsed=!1,this._initBody=function(m){this.bodyUsed=this.bodyUsed,this._bodyInit=m,m?typeof m=="string"?this._bodyText=m:a.blob&&Blob.prototype.isPrototypeOf(m)?this._bodyBlob=m:a.formData&&FormData.prototype.isPrototypeOf(m)?this._bodyFormData=m:a.searchParams&&URLSearchParams.prototype.isPrototypeOf(m)?this._bodyText=m.toString():a.arrayBuffer&&a.blob&&i(m)?(this._bodyArrayBuffer=I(m.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(m)||l(m))?this._bodyArrayBuffer=I(m):this._bodyText=m=Object.prototype.toString.call(m):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof m=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):a.searchParams&&URLSearchParams.prototype.isPrototypeOf(m)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},a.blob&&(this.blob=function(){var m=x(this);if(m)return m;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 m=x(this);return m||(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(a.blob)return this.blob().then(S);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var m=x(this);if(m)return m;if(this._bodyBlob)return C(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(P(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},a.formData&&(this.formData=function(){return this.text().then(Oe)}),this.json=function(){return this.text().then(JSON.parse)},this}var M=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function U(m){var v=m.toUpperCase();return M.indexOf(v)>-1?v:m}function F(m,v){if(!(this instanceof F))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');v=v||{};var k=v.body;if(m instanceof F){if(m.bodyUsed)throw new TypeError("Already read");this.url=m.url,this.credentials=m.credentials,v.headers||(this.headers=new g(m.headers)),this.method=m.method,this.mode=m.mode,this.signal=m.signal,!k&&m._bodyInit!=null&&(k=m._bodyInit,m.bodyUsed=!0)}else this.url=String(m);if(this.credentials=v.credentials||this.credentials||"same-origin",(v.headers||!this.headers)&&(this.headers=new g(v.headers)),this.method=U(v.method||this.method||"GET"),this.mode=v.mode||this.mode||null,this.signal=v.signal||this.signal||function(){if("AbortController"in n){var W=new AbortController;return W.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&k)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(k),(this.method==="GET"||this.method==="HEAD")&&(v.cache==="no-store"||v.cache==="no-cache")){var q=/([?&])_=[^&]*/;if(q.test(this.url))this.url=this.url.replace(q,"$1_="+new Date().getTime());else{var te=/\?/;this.url+=(te.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}F.prototype.clone=function(){return new F(this,{body:this._bodyInit})};function Oe(m){var v=new FormData;return m.trim().split("&").forEach(function(k){if(k){var q=k.split("="),te=q.shift().replace(/\+/g," "),W=q.join("=").replace(/\+/g," ");v.append(decodeURIComponent(te),decodeURIComponent(W))}}),v}function Ze(m){var v=new g,k=m.replace(/\r?\n[\t ]+/g," ");return k.split("\r").map(function(q){return q.indexOf(`
|
|
1154
|
+
`)===0?q.substr(1,q.length):q}).forEach(function(q){var te=q.split(":"),W=te.shift().trim();if(W){var bo=te.join(":").trim();try{v.append(W,bo)}catch(zn){console.warn("Response "+zn.message)}}}),v}L.call(F.prototype);function xe(m,v){if(!(this instanceof xe))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(v||(v={}),this.type="default",this.status=v.status===void 0?200:v.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=v.statusText===void 0?"":""+v.statusText,this.headers=new g(v.headers),this.url=v.url||"",this._initBody(m)}L.call(xe.prototype),xe.prototype.clone=function(){return new xe(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new g(this.headers),url:this.url})},xe.error=function(){var m=new xe(null,{status:200,statusText:""});return m.ok=!1,m.status=0,m.type="error",m};var qe=[301,302,303,307,308];xe.redirect=function(m,v){if(qe.indexOf(v)===-1)throw new RangeError("Invalid status code");return new xe(null,{status:v,headers:{location:m}})},o.DOMException=n.DOMException;try{new o.DOMException}catch{o.DOMException=function(v,k){this.message=v,this.name=k;var q=Error(v);this.stack=q.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function pe(m,v){return new Promise(function(k,q){var te=new F(m,v);if(te.signal&&te.signal.aborted)return q(new o.DOMException("Aborted","AbortError"));var W=new XMLHttpRequest;function bo(){W.abort()}W.onload=function(){var fe={statusText:W.statusText,headers:Ze(W.getAllResponseHeaders()||"")};te.url.indexOf("file://")===0&&(W.status<200||W.status>599)?fe.status=200:fe.status=W.status,fe.url="responseURL"in W?W.responseURL:fe.headers.get("X-Request-URL");var Ft="response"in W?W.response:W.responseText;setTimeout(function(){k(new xe(Ft,fe))},0)},W.onerror=function(){setTimeout(function(){q(new TypeError("Network request failed"))},0)},W.ontimeout=function(){setTimeout(function(){q(new TypeError("Network request timed out"))},0)},W.onabort=function(){setTimeout(function(){q(new o.DOMException("Aborted","AbortError"))},0)};function zn(fe){try{return fe===""&&n.location.href?n.location.href:fe}catch{return fe}}if(W.open(te.method,zn(te.url),!0),te.credentials==="include"?W.withCredentials=!0:te.credentials==="omit"&&(W.withCredentials=!1),"responseType"in W&&(a.blob?W.responseType="blob":a.arrayBuffer&&(W.responseType="arraybuffer")),v&&typeof v.headers=="object"&&!(v.headers instanceof g||n.Headers&&v.headers instanceof n.Headers)){var fs=[];Object.getOwnPropertyNames(v.headers).forEach(function(fe){fs.push(p(fe)),W.setRequestHeader(fe,u(v.headers[fe]))}),te.headers.forEach(function(fe,Ft){fs.indexOf(Ft)===-1&&W.setRequestHeader(Ft,fe)})}else te.headers.forEach(function(fe,Ft){W.setRequestHeader(Ft,fe)});te.signal&&(te.signal.addEventListener("abort",bo),W.onreadystatechange=function(){W.readyState===4&&te.signal.removeEventListener("abort",bo)}),W.send(typeof te._bodyInit>"u"?null:te._bodyInit)})}return pe.polyfill=!0,n.fetch||(n.fetch=pe,n.Headers=g,n.Request=F,n.Response=xe),o.Headers=g,o.Request=F,o.Response=xe,o.fetch=pe,o}({})})(An);An.fetch.ponyfill=!0;delete An.fetch.polyfill;var Ar=wn.fetch?wn:An;_t=Ar.fetch;_t.default=Ar.fetch;_t.fetch=Ar.fetch;_t.Headers=Ar.Headers;_t.Request=Ar.Request;_t.Response=Ar.Response;ep.exports=_t});var rp=f(()=>{});var op,np,ap,ip,sp,cp,lp,dp,up,pp,fp,Rr,hp,Rn,yp,mp,Nr,Ir,ue,Ri=f(()=>{(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(op||(op={}));(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(np||(np={}));(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"})(ap||(ap={}));(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"})(ip||(ip={}));(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(sp||(sp={}));(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(cp||(cp={}));(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(lp||(lp={}));(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(dp||(dp={}));(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"})(up||(up={}));(function(t){t.ASC="ASC",t.DESC="DESC"})(pp||(pp={}));(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(fp||(fp={}));(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(Rr||(Rr={}));(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})(hp||(hp={}));(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(Rn||(Rn={}));(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(yp||(yp={}));(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(mp||(mp={}));(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(Nr||(Nr={}));(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"})(Ir||(Ir={}));(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.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.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"})(ue||(ue={}))});var gp,bp=f(()=>{(function(t){t.VALID="VALID",t.INVALID="INVALID"})(gp||(gp={}))});var DC,xp=f(()=>{Ri();DC={[ue.PERSONAL_BOOK_SHARE_USER]:[ue.PERSONAL_BOOK_USER],[ue.HTML_EXPORT_USER]:[ue.PERSONAL_BOOK_USER],[ue.PDF_EXPORT_USER]:[ue.PERSONAL_BOOK_USER],[ue.KHUB_ADMIN]:[ue.CONTENT_PUBLISHER],[ue.ADMIN]:[ue.KHUB_ADMIN,ue.USERS_ADMIN,ue.PORTAL_ADMIN],[ue.DEVELOPER]:[ue.BETA_USER,ue.DEBUG_USER]}});var vp=f(()=>{});var hy,Ni=f(()=>{hy=b(tp(),1);rp();Ri();bp();xp();vp()});var Sp,Op=f(()=>{ta();Sp=t=>t??le});var Cp=f(()=>{Op()});function Ep(t){var e,o,n,a,i;return((a=(o=(e=t.map)===null||e===void 0?void 0:e.openMode)!==null&&o!==void 0?o:(n=t.topic)===null||n===void 0?void 0:n.openMode)!==null&&a!==void 0?a:(i=t.document)===null||i===void 0?void 0:i.openMode)===Rn.EXTERNAL}function Nn(t){var e,o,n,a,i;if(Ep(t))return(a=(o=(e=t.map)===null||e===void 0?void 0:e.originUrl)!==null&&o!==void 0?o:(n=t.topic)===null||n===void 0?void 0:n.originUrl)!==null&&a!==void 0?a:(i=t.document)===null||i===void 0?void 0:i.originUrl;switch(t.type){case Nr.MAP:return t.map.readerUrl;case Nr.DOCUMENT:return t.document.viewerUrl;case Nr.TOPIC:return t.topic.readerUrl}return""}function wp(t,e){return Sp(e&&Ep(t)?"_blank":void 0)}var Lr,Ii=f(()=>{"use strict";Ni();Cp();Lr=class extends CustomEvent{constructor(e,o){super("ft-search-result-click",{detail:{result:e,rank:o},bubbles:!0,composed:!0})}}});var Ip,yy,Pi,Ti=f(()=>{"use strict";Ip=b(D()),yy={},Pi=Ip.css`
|
|
1155
|
+
`});var Lp=f(()=>{"use strict"});var Pp,my,Tp,_p=f(()=>{"use strict";Pp=b(N()),my={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)=>{t.request.paging.perPage=e.payload},setPageNumber:(t,e)=>{t.request.paging.page=e.payload},setRequestSort:(t,e)=>{t.request.sort=e.payload},setRequestFilters:(t,e)=>{t.request.metadataFilters=e.payload},setRequestFacets:(t,e)=>{t.request.facets=e.payload},setRequestVirtualField:(t,e)=>{t.request.virtualField=e.payload},setRequestScope:(t,e)=>{t.request.scope=e.payload},setOtherQueryParams:(t,e)=>{t.request.otherQueryParams=e.payload},setRequestClusterSortCriterion:(t,e)=>{var o;t.request.clusterSortCriterions=(o=e.payload)!==null&&o!==void 0?o:[]},setResults:(t,e)=>{t.results=e.payload},setFacets:(t,e)=>{t.facets=e.payload},setSpellcheck:(t,e)=>{t.spellcheck=e.payload},setLocales:(t,e)=>{t.locales=e.payload},setPaging:(t,e)=>{t.paging=e.payload},setLiveQuery:(t,e)=>{t.liveQuery=e.payload},setSuggestResults:(t,e)=>{t.suggestResults=e.payload}},Tp=t=>Pp.FtReduxStore.get({name:"ft-search-"+t,initialState:{request:{query:"",clusterSortCriterions:[],metadataFilters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:""},reducers:my})});var Pn,kp=f(()=>{"use strict";wr();Pn=class extends Je{async launchSearch(e){return this.cache.get(this.hash(e),async()=>(await this.awaitApi).search(e),2*60*1e3)}async launchSuggest(e){return this.cache.get(this.hash(e),async()=>(await this.awaitApi).getSuggestions(e),2*60*1e3)}async getAvailableSearchLocales(){return this.cache.get("available-locales",async()=>(await this.awaitApi).getAvailableSearchLocales())}hash(e){return""+Array.from(JSON.stringify(e)).reduce((o,n)=>0|31*o+n.charCodeAt(0),0)}}});var ot,Dp,fo,Pr,_i=f(()=>{"use strict";ot=b(N());_p();Ni();kp();Dp=t=>t.request.virtualField===Rr.TITLE_ONLY&&t.request.scope===Ir.DOCUMENTS,fo=class t extends Event{constructor(){super(t.eventName)}};fo.eventName="search-context-clear-all-filters";Pr=class t{static build(e,o){return new t(Tp(e.trim()||"context"),o)}constructor(e,o){this.store=e,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.localesDebouncer=new ot.Debouncer(10),this.searchDebouncer=new ot.Debouncer(100),this.suggestDebouncer=new ot.Debouncer(300),this.service=o??new Pn}async initService(){return this.updateLocales(),this.launchSearch()}setQuery(e){this.store.actions.setRequestQuery(e),this.store.actions.setLiveQuery(e),this.store.actions.setPageNumber(1),this.launchSearch()}setContentLocale(e){let o=this.store.getState().locales,n=this.store.getState().request.contentLocale;if(e!=n){if(o){let a=i=>o.some(s=>s.lang==i);a(e)||(e=a(n)?n:o[0].lang)}this.store.actions.setRequestContentLocale(e),this.store.actions.setPageNumber(1),this.store.actions.setRequestFilters([]),this.launchSearch()}return e}setPageSize(e){this.store.actions.setPageSize(e),this.launchSearch()}setPageNumber(e){this.store.actions.setPageNumber(e),this.launchSearch()}setSort(e){this.store.actions.setRequestSort(e),this.store.actions.setPageNumber(1),this.launchSearch()}setFilters(e){let o=e.filter(n=>!n.valueFilter||n.valueFilter.values.length>0);this.store.actions.setRequestFilters(o),this.store.actions.setPageNumber(1),o.forEach(n=>{this.facetIds.includes(n.key)||(this.facetIds=[...this.facetIds,n.key])}),this.launchSearch()}setClusterSortCriterion(e){this.store.actions.setRequestClusterSortCriterion(e),this.launchSearch()}setSearchInDocumentTitlesOnly(e){e?(this.store.actions.setRequestVirtualField(Rr.TITLE_ONLY),this.store.actions.setRequestScope(Ir.DOCUMENTS)):(this.store.actions.setRequestVirtualField(Rr.EVERYWHERE),this.store.actions.setRequestScope(Ir.DEFAULT)),this.launchSearch()}setVirtualField(e){this.store.actions.setRequestVirtualField(e),this.launchSearch()}get searchInDocumentTitlesOnly(){return Dp(this.store.getState())}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new fo)}addFacet(e){this.facetIds=[...this.facetIds,e],this.launchSearch()}replaceFacet(e,o){let n=this.facetIds.filter(a=>a!=e);o&&n.push(o),this.facetIds=n,this.launchSearch()}get facetIds(){return this.store.getState().request.facets.map(e=>e.id)}set facetIds(e){let n=[...new Set(e)].map(a=>({id:a}));this.store.actions.setRequestFacets(n)}setFilter(e,o){this.setValueFilter(e,o)}setValueFilter(e,o){let n=this.store.getState().request.metadataFilters,a={key:e,valueFilter:{values:o,negative:!1}},i=[...n.filter(s=>!s.valueFilter),...n.filter(s=>s.valueFilter&&s.key!==a.key),a];this.setFilters(i)}setDateFilter(e,o){let n=this.store.getState().request.metadataFilters,a={key:e,dateFilter:{type:o}},i=[...n.filter(s=>!s.dateFilter),...n.filter(s=>s.dateFilter&&s.key!==a.key),a];this.setFilters(i)}removeDateFilter(e){let o=this.store.getState().request.metadataFilters,n=[...o.filter(a=>!a.dateFilter),...o.filter(a=>a.dateFilter&&a.key!==e)];this.setFilters(n)}setRangeFilter(e,o,n){let a=this.store.getState().request.metadataFilters,i={key:e,rangeFilter:{from:o,to:n}},s=[...a.filter(l=>!l.rangeFilter),...a.filter(l=>l.rangeFilter&&l.key!==i.key),i];this.setFilters(s)}removeRangeFilter(e){let o=this.store.getState().request.metadataFilters,n=[...o.filter(a=>!a.rangeFilter),...o.filter(a=>a.rangeFilter&&a.key!==e)];this.setFilters(n)}setLiveQuery(e){this.store.actions.setLiveQuery(e),this.launchSuggest()}setRequest(e){this.store.actions.setRequest({...e,facets:this.store.getState().request.facets}),this.store.actions.setLiveQuery(e.query),this.store.actions.setPageNumber(1),this.launchSearch()}setScope(e){this.store.actions.setRequestScope(e),this.launchSearch()}setOtherQueryParams(e){this.store.actions.setOtherQueryParams(e)}setIgnoreEmptyQuery(e){this.ignoreEmptyQuery=e,this.launchSearch()}setOpenExternalDocumentInNewTab(e){this.openExternalDocumentInNewTab=e}updateLocales(){return this.localesDebouncer.run(async()=>this.store.actions.setLocales((await this.service.getAvailableSearchLocales()).contentLocales))}launchSearch(){return this.searchDebouncer.run(()=>this.fetchSearchData())}launchSuggest(){return this.suggestDebouncer.run(()=>this.fetchSuggestData())}async fetchSearchData(){var e,o;try{(e=this.cancelableSearch)===null||e===void 0||e.cancel();let n=this.store.getState().request;if(this.store.actions.setPaging(void 0),this.ignoreEmptyQuery&&n.query.length==0)this.store.actions.setResults(void 0),this.store.actions.setFacets(void 0),this.store.actions.setSpellcheck(void 0);else{this.cancelableSearch=(0,ot.cancelable)(this.service.launchSearch(n));let a=await this.cancelableSearch;if(a.paging.currentPage<=1)this.store.actions.setResults(a.results),this.store.actions.setFacets(a.facets),this.store.actions.setSpellcheck(a.spellcheck);else{let i=((o=this.store.getState().results)!==null&&o!==void 0?o:[]).concat(a.results);this.store.actions.setResults(i)}this.store.actions.setPaging(a.paging)}}catch(n){!(n instanceof ot.CanceledPromiseError)&&this.errorHandler&&this.errorHandler(n)}}async fetchSuggestData(){var e;try{let o=this.store.getState(),n=o.request,a={input:o.liveQuery,metadataFilters:n.metadataFilters,sort:n.sort,contentLocale:n.contentLocale,scope:n.scope};(e=this.cancelableSuggest)===null||e===void 0||e.cancel(),this.cancelableSuggest=(0,ot.cancelable)(this.service.launchSuggest(a));let i=await this.cancelableSuggest;this.store.actions.setSuggestResults(i.suggestions)}catch(o){!(o instanceof ot.CanceledPromiseError)&&this.errorHandler&&this.errorHandler(o)}}clear(){this.store.clear()}}});function by(t){var e;class o extends t{constructor(){super(...arguments),this[e]=0}setSearchStateManager(a){this.clearStateManager(),this.stateManager=a,this.addStore(a.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[ki]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[ki]):this.dispatchEvent(new Di)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=ki,gy([(0,Mp.state)()],o.prototype,"stateManager",void 0),o}var Bp,Mp,gy,Di,ki,Ne,kt=f(()=>{"use strict";Bp=b(N()),Mp=b(Q());Lp();_i();gy=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Di=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},ki=Symbol("registerInterval");Ne=class extends by(Bp.FtLitElementRedux){}});var $p,ht,He,be,Tn,_n,kn,re,Bi=f(()=>{"use strict";$p=b(D()),ht=b(Q()),He=b(N());Ti();kt();wr();bi();be=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Tn=class extends CustomEvent{constructor(e){super("ft-search-load-error",{detail:e})}},_n=class extends CustomEvent{constructor(e){super("ft-search-request-change",{detail:e})}},kn=class extends CustomEvent{constructor(e,o,n){super("ft-search-results-change",{detail:{request:e,paging:o,spellcheck:n}})}},re=class extends He.FtLitElementRedux{get stateManager(){if(this._stateManager==null){let e=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=Pr.build(this.id||(""+Math.round(Math.random()*999e3)).padStart(6,"0"),e),this._stateManager.errorHandler=o=>this.handleLoadError(o),this.addStore(this.stateManager.store,"search")}return this._stateManager}constructor(){super(),this.query="",this.pageSize=20,this.searchInDocumentTitlesOnly=!1,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.filters=[],this.sort=[],this.otherQueryParams={},this.addStore(B)}render(){return $p.html`
|
|
1156
1156
|
<slot @register-ft-search-component=${this.registerComponent}></slot>
|
|
1157
|
-
`}update(e){super.update(e),e.has("query")&&this.query!==void 0&&this.stateManager.setQuery(this.query),e.has("contentLocale")&&this.contentLocale!==void 0&&this.stateManager.setContentLocale(this.contentLocale),e.has("filters")&&this.filters!==void 0&&this.stateManager.setFilters(this.filters),e.has("sort")&&this.sort!==void 0&&this.stateManager.setSort(this.sort),e.has("pageSize")&&this.pageSize!==void 0&&this.stateManager.setPageSize(this.pageSize),e.has("searchInDocumentTitlesOnly")&&this.searchInDocumentTitlesOnly!==void 0&&this.stateManager.setSearchInDocumentTitlesOnly(this.searchInDocumentTitlesOnly),e.has("scope")&&this.scope!==void 0&&this.stateManager.setScope(this.scope),e.has("virtualField")&&this.virtualField!==void 0&&this.stateManager.setVirtualField(this.virtualField),e.has("ignoreEmptyQuery")&&this.ignoreEmptyQuery!==void 0&&this.stateManager.setIgnoreEmptyQuery(this.ignoreEmptyQuery),e.has("openExternalDocumentInNewTab")&&this.openExternalDocumentInNewTab!==void 0&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("session")&&this.session!==void 0&&(this.stateManager.service.clearCache(),this.stateManager.initService())}connectedCallback(){super.connectedCallback(),this.stateManager.initService(),this.stateManager.setQuery(this.query),this.stateManager.setContentLocale(this.contentLocale),this.stateManager.setFilters(this.filters),this.stateManager.setPageSize(this.pageSize),this.stateManager.setSort(this.sort)}contentAvailableCallback(e){super.contentAvailableCallback(e),e.has("request")&&this.request&&this.dispatchEvent(new _n(this.request)),e.has("paging")&&this.paging!==void 0&&this.dispatchEvent(new kn(this.request,this.paging,this.autocorrect))}registerComponent(e){e.stopPropagation();let o=e.composedPath()[0];this.register(o)}register(e){e.setSearchStateManager(this.stateManager)}handleLoadError(e){this.dispatchEvent(new Tn(e))}reloadSavedSearches(){
|
|
1157
|
+
`}update(e){super.update(e),e.has("query")&&this.query!==void 0&&this.stateManager.setQuery(this.query),e.has("contentLocale")&&this.contentLocale!==void 0&&this.stateManager.setContentLocale(this.contentLocale),e.has("filters")&&this.filters!==void 0&&this.stateManager.setFilters(this.filters),e.has("sort")&&this.sort!==void 0&&this.stateManager.setSort(this.sort),e.has("pageSize")&&this.pageSize!==void 0&&this.stateManager.setPageSize(this.pageSize),e.has("searchInDocumentTitlesOnly")&&this.searchInDocumentTitlesOnly!==void 0&&this.stateManager.setSearchInDocumentTitlesOnly(this.searchInDocumentTitlesOnly),e.has("scope")&&this.scope!==void 0&&this.stateManager.setScope(this.scope),e.has("virtualField")&&this.virtualField!==void 0&&this.stateManager.setVirtualField(this.virtualField),e.has("ignoreEmptyQuery")&&this.ignoreEmptyQuery!==void 0&&this.stateManager.setIgnoreEmptyQuery(this.ignoreEmptyQuery),e.has("openExternalDocumentInNewTab")&&this.openExternalDocumentInNewTab!==void 0&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("otherQueryParams")&&this.otherQueryParams!==void 0&&this.stateManager.setOtherQueryParams(this.otherQueryParams),e.has("session")&&this.session!==void 0&&(this.stateManager.service.clearCache(),this.stateManager.initService())}connectedCallback(){super.connectedCallback(),this.stateManager.initService(),this.stateManager.setQuery(this.query),this.stateManager.setContentLocale(this.contentLocale),this.stateManager.setFilters(this.filters),this.stateManager.setPageSize(this.pageSize),this.stateManager.setSort(this.sort),this.stateManager.setOtherQueryParams(this.otherQueryParams)}contentAvailableCallback(e){super.contentAvailableCallback(e),e.has("request")&&this.request&&this.dispatchEvent(new _n(this.request)),e.has("paging")&&this.paging!==void 0&&this.dispatchEvent(new kn(this.request,this.paging,this.autocorrect))}registerComponent(e){e.stopPropagation();let o=e.composedPath()[0];this.register(o)}register(e){e.setSearchStateManager(this.stateManager)}handleLoadError(e){this.dispatchEvent(new Tn(e))}reloadSavedSearches(){Bu.clearMySearches()}clear(){this.stateManager.clear()}};re.elementDefinitions={};re.styles=Pi;be([(0,He.redux)({store:B.name})],re.prototype,"session",void 0);be([(0,ht.property)()],re.prototype,"query",void 0);be([(0,ht.property)()],re.prototype,"contentLocale",void 0);be([(0,ht.property)({type:Number})],re.prototype,"pageSize",void 0);be([(0,ht.property)({type:Boolean})],re.prototype,"searchInDocumentTitlesOnly",void 0);be([(0,ht.property)()],re.prototype,"scope",void 0);be([(0,ht.property)()],re.prototype,"virtualField",void 0);be([(0,ht.property)({type:Boolean})],re.prototype,"ignoreEmptyQuery",void 0);be([(0,He.redux)({store:B.name})],re.prototype,"openExternalDocumentInNewTab",void 0);be([(0,He.jsonProperty)([])],re.prototype,"filters",void 0);be([(0,He.jsonProperty)([])],re.prototype,"sort",void 0);be([(0,He.jsonProperty)({})],re.prototype,"otherQueryParams",void 0);be([(0,He.redux)({store:"search"})],re.prototype,"request",void 0);be([(0,He.redux)({store:"search"})],re.prototype,"paging",void 0);be([(0,He.redux)({store:"search",selector:t=>t.spellcheck})],re.prototype,"autocorrect",void 0);be([(0,ht.property)({attribute:!1})],re.prototype,"searchServiceProvider",void 0)});var Up=f(()=>{"use strict"});var Wp={};Ht(Wp,{ClearAllFiltersEvent:()=>fo,FtSearchContext:()=>re,FtSearchContextCssVariables:()=>yy,FtSearchStateManager:()=>Pr,LoadErrorEvent:()=>Tn,SearchRequestChangeEvent:()=>_n,SearchResultsChangeEvent:()=>kn,searchInDocumentTitlesOnlySelector:()=>Dp,styles:()=>Pi});var Fp,Hp=f(()=>{"use strict";Fp=b(N());Bi();Ti();Up();Bi();_i();(0,Fp.customElement)("ft-search-context")(re)});var ho,zp=f(()=>{"use strict";rt();ho=tt.build("designedSearchInput")});var Gp,jp,Vp=f(()=>{"use strict";Gp=b(D());eo();jp=Gp.css`
|
|
1158
1158
|
* {
|
|
1159
1159
|
box-sizing: border-box;
|
|
1160
1160
|
}
|
|
@@ -1196,11 +1196,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1196
1196
|
flex-grow: 1;
|
|
1197
1197
|
flex-shrink: 1;
|
|
1198
1198
|
}
|
|
1199
|
-
`});var
|
|
1199
|
+
`});var Mi=Wt((DE,Kp)=>{Kp.exports=ftGlobals.litRepeat});var Bn,Dn,qp,Yp,Zp,$i,tr,Qp=f(()=>{"use strict";Bn=b(N()),Dn=b(D()),qp=b(Q());Vp();Yp=b(Mi());$o();Eo();st();kt();Zp=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},$i=class extends CustomEvent{constructor(e){super("suggestion-selected",{detail:e})}},tr=class extends Ne{render(){return Dn.html`
|
|
1200
1200
|
<div class="ft-search-input-suggestion ft-word-wrap"
|
|
1201
1201
|
part="container"
|
|
1202
1202
|
@keydown=${e=>this.onSuggestKeyDown(e)}>
|
|
1203
|
-
${(0,
|
|
1203
|
+
${(0,Yp.repeat)(this.suggestResults||[],e=>e.value,e=>Dn.html`
|
|
1204
1204
|
<a href="#"
|
|
1205
1205
|
part="suggestion"
|
|
1206
1206
|
class="ft-search-input-suggestion--suggestion"
|
|
@@ -1212,10 +1212,10 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1212
1212
|
</a>
|
|
1213
1213
|
`)}
|
|
1214
1214
|
</div>
|
|
1215
|
-
`}onSuggestKeyDown(e){var o,n,a,i,s,l;switch(e.key){case"ArrowUp":(a=(n=(o=this.getFocusedSuggestionElement())===null||o===void 0?void 0:o.previousElementSibling)!==null&&n!==void 0?n:this.getLastSuggestionElement())===null||a===void 0||a.focus(),e.preventDefault(),e.stopPropagation();break;case"ArrowDown":(l=(s=(i=this.getFocusedSuggestionElement())===null||i===void 0?void 0:i.nextElementSibling)!==null&&s!==void 0?s:this.getFirstSuggestionElement())===null||l===void 0||l.focus(),e.preventDefault(),e.stopPropagation();break}}onSuggestKeyUp(e,o){(e.key==="Enter"||e.key===" ")&&this.onSuggestSelected(e,o)}onSuggestSelected(e,o){e.preventDefault(),this.dispatchEvent(new
|
|
1215
|
+
`}onSuggestKeyDown(e){var o,n,a,i,s,l;switch(e.key){case"ArrowUp":(a=(n=(o=this.getFocusedSuggestionElement())===null||o===void 0?void 0:o.previousElementSibling)!==null&&n!==void 0?n:this.getLastSuggestionElement())===null||a===void 0||a.focus(),e.preventDefault(),e.stopPropagation();break;case"ArrowDown":(l=(s=(i=this.getFocusedSuggestionElement())===null||i===void 0?void 0:i.nextElementSibling)!==null&&s!==void 0?s:this.getFirstSuggestionElement())===null||l===void 0||l.focus(),e.preventDefault(),e.stopPropagation();break}}onSuggestKeyUp(e,o){(e.key==="Enter"||e.key===" ")&&this.onSuggestSelected(e,o)}onSuggestSelected(e,o){e.preventDefault(),this.dispatchEvent(new $i(o))}getIcon(e){let o=e.type==="DOCUMENT"?Pe.file_format:Pe.fluid_topics,n;switch(e.type){case"MAP":n=e.editorialType==="BOOK"?Ct.BOOK:Ct.ARTICLE;break;case"DOCUMENT":n=rd(e.mimeType,e.filenameExtension);break;case"TOPIC":n=Ct.TOPICS;break}return Dn.html`
|
|
1216
1216
|
<ft-icon .variant="${o}" .value="${n}" part="suggestion-icon"></ft-icon>
|
|
1217
|
-
`}getFocusedSuggestionElement(){return this.shadowRoot.querySelector(".ft-search-input-suggestion--suggestion:focus-within")}getLastSuggestionElement(){let e=this.shadowRoot.querySelectorAll(".ft-search-input-suggestion--suggestion");return e.length>0?e[e.length-1]:null}getFirstSuggestionElement(){return this.shadowRoot.querySelector(".ft-search-input-suggestion--suggestion")}focusFirstSuggestion(){var e;(e=this.getFirstSuggestionElement())===null||e===void 0||e.focus()}};tr.elementDefinitions={"ft-ripple":
|
|
1218
|
-
<div class="${(0,
|
|
1217
|
+
`}getFocusedSuggestionElement(){return this.shadowRoot.querySelector(".ft-search-input-suggestion--suggestion:focus-within")}getLastSuggestionElement(){let e=this.shadowRoot.querySelectorAll(".ft-search-input-suggestion--suggestion");return e.length>0?e[e.length-1]:null}getFirstSuggestionElement(){return this.shadowRoot.querySelector(".ft-search-input-suggestion--suggestion")}focusFirstSuggestion(){var e;(e=this.getFirstSuggestionElement())===null||e===void 0||e.focus()}};tr.elementDefinitions={"ft-ripple":X,"ft-typography":ae,"ft-icon":Ae};tr.styles=[Bn.wordWrap,jp];Zp([(0,Bn.redux)()],tr.prototype,"suggestResults",void 0);tr=Zp([(0,qp.customElement)("ft-search-input-suggestion")],tr)});var Ui,_r,yo,Xp,Tr,ke,Fi=f(()=>{"use strict";Ui=b(D()),_r=b(N());eo();kt();rt();zp();yo=b(Q()),Xp=b(Ur());Qp();Ho();st();Tr=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},ke=class extends Fe(Ne){constructor(){super(),this.liveQuery="",this.forceCloseSuggestion=!1,this.addI18nContext(ho)}render(){var e,o;let n={"ft-search-input":!0,"ft-search-input--with-suggestions":(o=(e=this.suggestResults)===null||e===void 0?void 0:e.length)!==null&&o!==void 0?o:!1,"ft-search-input--with-suggestions-closed":this.forceCloseSuggestion};return Ui.html`
|
|
1218
|
+
<div class="${(0,Xp.classMap)(n)}" @focusout=${()=>this.forceCloseSuggestion=!1} role="search">
|
|
1219
1219
|
<div class="ft-search-input--input-container" part="input-container" tabindex="-1">
|
|
1220
1220
|
<div class="ft-search-input--input-outline" part="input-outline">
|
|
1221
1221
|
<input class="ft-search-input--input ft-typography--body2"
|
|
@@ -1252,57 +1252,57 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1252
1252
|
></ft-button>
|
|
1253
1253
|
</div>
|
|
1254
1254
|
</div>
|
|
1255
|
-
`}onSearchBarKeyDown(e){switch(e.key){case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestion.focusFirstSuggestion();break;case"Backspace":e.stopPropagation();break}}onSearchBarKeyUp(e){switch(e.key){case"Backspace":e.stopPropagation();break;case"Enter":this.launchSearch(this.input.value);break;default:break}}onInput(e){var o;(o=this.stateManager)===null||o===void 0||o.setLiveQuery(this.input.value),this.forceCloseSuggestion=!1}launchSearch(e){var o;(o=this.stateManager)===null||o===void 0||o.setQuery(e),this.forceCloseSuggestion=!0,this.dispatchEvent(new CustomEvent("change",{detail:e}))}onSuggestionSelected(e){this.launchSearch(e.detail)}};ke.elementDefinitions={"ft-search-input-suggestion":tr,"ft-button":Te};ke.styles=[Oo,_r.noTextInputDefaultClearButton,La];Tr([(0,_r.redux)()],ke.prototype,"request",void 0);Tr([(0,_r.redux)()],ke.prototype,"liveQuery",void 0);Tr([(0,_r.redux)()],ke.prototype,"suggestResults",void 0);Tr([(0,yo.state)()],ke.prototype,"forceCloseSuggestion",void 0);Tr([(0,yo.query)(".ft-search-input--input")],ke.prototype,"input",void 0);Tr([(0,yo.query)("ft-search-input-suggestion")],ke.prototype,"suggestion",void 0)});var
|
|
1256
|
-
`});var zi,
|
|
1255
|
+
`}onSearchBarKeyDown(e){switch(e.key){case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestion.focusFirstSuggestion();break;case"Backspace":e.stopPropagation();break}}onSearchBarKeyUp(e){switch(e.key){case"Backspace":e.stopPropagation();break;case"Enter":this.launchSearch(this.input.value);break;default:break}}onInput(e){var o;(o=this.stateManager)===null||o===void 0||o.setLiveQuery(this.input.value),this.forceCloseSuggestion=!1}launchSearch(e){var o;(o=this.stateManager)===null||o===void 0||o.setQuery(e),this.forceCloseSuggestion=!0,this.dispatchEvent(new CustomEvent("change",{detail:e}))}onSuggestionSelected(e){this.launchSearch(e.detail)}};ke.elementDefinitions={"ft-search-input-suggestion":tr,"ft-button":Te};ke.styles=[Oo,_r.noTextInputDefaultClearButton,La];Tr([(0,_r.redux)()],ke.prototype,"request",void 0);Tr([(0,_r.redux)()],ke.prototype,"liveQuery",void 0);Tr([(0,_r.redux)()],ke.prototype,"suggestResults",void 0);Tr([(0,yo.state)()],ke.prototype,"forceCloseSuggestion",void 0);Tr([(0,yo.query)(".ft-search-input--input")],ke.prototype,"input",void 0);Tr([(0,yo.query)("ft-search-input-suggestion")],ke.prototype,"suggestion",void 0)});var Jp=f(()=>{"use strict"});var tf={};Ht(tf,{FtSearchInput:()=>ke,FtSearchInputCssVariables:()=>Y,styles:()=>La});var ef,rf=f(()=>{"use strict";ef=b(N());Fi();eo();Jp();Fi();(0,ef.customElement)("ft-search-input")(ke)});var of,xy,Wi,Hi=f(()=>{"use strict";of=b(D()),xy={},Wi=of.css`
|
|
1256
|
+
`});var zi,nf=f(()=>{"use strict";rt();zi=tt.fromGwt("designedActionBlockAriaLabels")});var Mn,Gi,af,yt,ji=f(()=>{"use strict";Mn=b(D()),Gi=b(N());Hi();Ho();kt();rt();nf();af=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},yt=class extends Fe(Ne){constructor(){super(),this.currentPage=1,this.isLastPage=!0,this.addI18nContext(zi)}render(){return this.isLastPage?Mn.nothing:Mn.html`
|
|
1257
1257
|
<ft-button @click="${this.loadMore}">
|
|
1258
1258
|
${zi.messages.searchPageLoadMore()}
|
|
1259
1259
|
</ft-button>
|
|
1260
|
-
`}loadMore(){var e;(e=this.stateManager)===null||e===void 0||e.setPageNumber(this.currentPage+1)}};yt.elementDefinitions={"ft-button":Te};yt.styles=Wi;
|
|
1261
|
-
<ft-typography variant="body1" part="text">${(0,
|
|
1260
|
+
`}loadMore(){var e;(e=this.stateManager)===null||e===void 0||e.setPageNumber(this.currentPage+1)}};yt.elementDefinitions={"ft-button":Te};yt.styles=Wi;af([(0,Gi.redux)({store:"search",selector:t=>{var e,o;return(o=(e=t.paging)===null||e===void 0?void 0:e.currentPage)!==null&&o!==void 0?o:1}})],yt.prototype,"currentPage",void 0);af([(0,Gi.redux)({store:"search",selector:t=>{var e,o;return(o=(e=t.paging)===null||e===void 0?void 0:e.isLastPage)!==null&&o!==void 0?o:!0}})],yt.prototype,"isLastPage",void 0)});var sf=f(()=>{"use strict"});var lf={};Ht(lf,{FtSearchLoadMoreButton:()=>yt,FtSearchLoadMoreButtonCssVariables:()=>xy,styles:()=>Wi});var cf,df=f(()=>{"use strict";cf=b(N());ji();Hi();sf();ji();(0,cf.customElement)("ft-search-load-more-button")(yt)});function vy(t){var e;class o extends t{constructor(){super(...arguments),this[e]=0}setResultStateManager(a){this.resultStateManager=a}unregisterResultStateManager(){this.resultStateManager&&(this.resultStateManager.unregisterComponent(this),this.resultStateManager=void 0)}connectedCallback(){super.connectedCallback(),this[Ki]=window.setInterval(()=>this.tryToRegisterToResultContext(),50)}tryToRegisterToResultContext(){this.result!=null?window.clearInterval(this[Ki]):this.dispatchEvent(new Zi)}disconnectedCallback(){super.disconnectedCallback(),this.unregisterResultStateManager()}}return e=Ki,Vi([(0,$n.property)({attribute:!1})],o.prototype,"cluster",void 0),Vi([(0,$n.property)({attribute:!1})],o.prototype,"result",void 0),Vi([(0,$n.property)({attribute:!1,type:Number})],o.prototype,"rank",void 0),o}var $n,Vi,Zi,Ki,kr,qi=f(()=>{"use strict";kt();$n=b(Q()),Vi=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Zi=class extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}},Ki=Symbol("registerInterval");kr=class extends vy(Ne){}});var Yi,uf,rr,Qi=f(()=>{"use strict";Yi=b(D());qi();Go();uf=b(Bo());st();rr=class extends kr{render(){let e=this.result?this.selectAbstract(this.result):void 0;return e?Yi.html`
|
|
1261
|
+
<ft-typography variant="body1" part="text">${(0,uf.unsafeHTML)(e)}</ft-typography>
|
|
1262
1262
|
`:Yi.html`
|
|
1263
1263
|
<style>
|
|
1264
1264
|
:host {
|
|
1265
1265
|
display: none !important;
|
|
1266
1266
|
}
|
|
1267
1267
|
</style>
|
|
1268
|
-
`}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(o=>o.setAttribute("part","kwicmatch"))}};rr.elementDefinitions={"ft-typography":ae};rr.styles=Pa});var
|
|
1268
|
+
`}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(o=>o.setAttribute("part","kwicmatch"))}};rr.elementDefinitions={"ft-typography":ae};rr.styles=Pa});var pf=f(()=>{"use strict"});var hf={};Ht(hf,{FtSearchResultAbstract:()=>rr,FtSearchResultAbstractCssVariables:()=>zo,styles:()=>Pa});var ff,Xi=f(()=>{"use strict";ff=b(N());Qi();Go();pf();Qi();(0,ff.customElement)("ft-search-result-abstract")(rr)});var mo,yf,mf,Sy,Dt,Ji=f(()=>{"use strict";mo=b(D()),yf=b(Q());qi();Vo();st();mf=b(Bo());Ii();Sy=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Dt=class extends kr{constructor(){super(...arguments),this.withoutLink=!1}render(){var e;return this.result?this.withoutLink?this.renderTitle():mo.html`
|
|
1269
1269
|
<a href="${Nn(this.result)}"
|
|
1270
1270
|
@click=${this.onResultClick}
|
|
1271
|
-
target="${
|
|
1271
|
+
target="${wp(this.result,(e=this.stateManager)===null||e===void 0?void 0:e.openExternalDocumentInNewTab)}"
|
|
1272
1272
|
part="link">
|
|
1273
1273
|
${this.renderTitle()}
|
|
1274
1274
|
</a>
|
|
1275
1275
|
`:mo.nothing}renderTitle(){return mo.html`
|
|
1276
|
-
<ft-typography variant="title" part="text">${(0,
|
|
1277
|
-
`}onResultClick(){this.dispatchEvent(new Lr(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){super.contentAvailableCallback(e),this.shadowRoot.querySelectorAll(".kwicmatch").forEach(o=>o.setAttribute("part","kwicmatch"))}};Dt.elementDefinitions={"ft-typography":ae};Dt.styles=Ta;
|
|
1276
|
+
<ft-typography variant="title" part="text">${(0,mf.unsafeHTML)(this.selectTitle(this.result))}</ft-typography>
|
|
1277
|
+
`}onResultClick(){this.dispatchEvent(new Lr(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){super.contentAvailableCallback(e),this.shadowRoot.querySelectorAll(".kwicmatch").forEach(o=>o.setAttribute("part","kwicmatch"))}};Dt.elementDefinitions={"ft-typography":ae};Dt.styles=Ta;Sy([(0,yf.property)({type:Boolean})],Dt.prototype,"withoutLink",void 0)});var gf=f(()=>{"use strict"});var xf={};Ht(xf,{FtSearchResultTitle:()=>Dt,FtSearchResultTitleCssVariables:()=>jo,styles:()=>Ta});var bf,es=f(()=>{"use strict";bf=b(N());Ji();Vo();gf();Ji();(0,bf.customElement)("ft-search-result-title")(Dt)});var vf,Oy,ts,rs=f(()=>{"use strict";vf=b(D()),Oy={},ts=vf.css`
|
|
1278
1278
|
[part="no-results-message"] {
|
|
1279
1279
|
text-align: center;
|
|
1280
1280
|
padding: 12px;
|
|
1281
1281
|
}
|
|
1282
|
-
`});var
|
|
1282
|
+
`});var Sf,Of,os=f(()=>{"use strict";Sf=b(D()),Of=Sf.css`
|
|
1283
1283
|
a {
|
|
1284
1284
|
color: inherit;
|
|
1285
1285
|
text-decoration: inherit;
|
|
1286
1286
|
}
|
|
1287
|
-
`});var Un,
|
|
1287
|
+
`});var Un,Cf=f(()=>{"use strict";Un=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,o){this.cluster=e,this.rank=o,this.selectResult(this.cluster.entries[0])}selectResult(e){this.result=e,this.onResultSelected(e),this.registeredComponents.forEach(o=>this.bindComponent(o))}clear(){this.registeredComponents=[]}bindComponent(e){e.cluster=this.cluster,e.result=this.result,e.rank=this.rank}}});var Ef,go,wf,as,ns,mt,is=f(()=>{"use strict";Ef=b(D()),go=b(Q()),wf=b(N());os();Cf();as=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},ns=class extends CustomEvent{constructor(e){super("ft-search-result-cluster-change",{detail:e,bubbles:!0,composed:!0})}},mt=class extends wf.FtLitElement{constructor(){super(...arguments),this.index=0,this.stateManager=new Un(e=>this.onResultSelected(e))}render(){return Ef.html`
|
|
1288
1288
|
<slot @register-ft-search-result-component=${this.registerComponent}></slot>
|
|
1289
|
-
`}onResultSelected(e){this.result=e,this.dispatchEvent(new ns(this.result))}registerComponent(e){e.stopPropagation();let o=e.composedPath()[0];this.register(o)}register(e){this.stateManager.registerComponent(e)}update(e){super.update(e),e.has("cluster")&&this.cluster&&this.stateManager.updateCluster(this.cluster,this.index+1)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.clear()}};mt.elementDefinitions={};mt.styles=
|
|
1289
|
+
`}onResultSelected(e){this.result=e,this.dispatchEvent(new ns(this.result))}registerComponent(e){e.stopPropagation();let o=e.composedPath()[0];this.register(o)}register(e){this.stateManager.registerComponent(e)}update(e){super.update(e),e.has("cluster")&&this.cluster&&this.stateManager.updateCluster(this.cluster,this.index+1)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.clear()}};mt.elementDefinitions={};mt.styles=Of;as([(0,go.property)({attribute:!1})],mt.prototype,"cluster",void 0);as([(0,go.state)()],mt.prototype,"result",void 0);as([(0,go.property)()],mt.prototype,"index",void 0)});var Af=f(()=>{"use strict"});var Rf,Nf=f(()=>{"use strict";Rf=b(N());is();os();Af();is();(0,Rf.customElement)("ft-search-result-context")(mt)});var Dr,If,ss=f(()=>{"use strict";rt();Dr=tt.build("searchResultsNumber"),If={results:"{0} results","results[\\=1]":"1 result"}});var Fn,Lf,Wn,Bt,or,De,cs=f(()=>{"use strict";Fn=b(D()),Lf=b(Mi()),Wn=b(Q()),Bt=b(N());rs();kt();Nf();es();Xi();rt();ss();or=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},De=class extends Fe(Ne){constructor(){super(),this.clusterPolicy="display-first-result",this.displayNoResultsMessage=!1,this.renderResult=()=>Fn.html`
|
|
1290
1290
|
<ft-search-result-title></ft-search-result-title>
|
|
1291
1291
|
<ft-search-result-abstract></ft-search-result-abstract>
|
|
1292
1292
|
`,this.clusterSortCriterion=[],this.selectedResultByCluster={},this.addI18nContext(Dr)}render(){if(this.displayNoResultsMessage&&this.results!=null&&this.results.length==0)return Fn.html`
|
|
1293
1293
|
<ft-typography part="no-results-message" variant="body1">${Dr.messages.results(0)}</ft-typography>
|
|
1294
|
-
`;let e=this.buildClusters();return(0,
|
|
1294
|
+
`;let e=this.buildClusters();return(0,Lf.repeat)(e,o=>o.id,(o,n)=>{var a;return Fn.html`
|
|
1295
1295
|
<ft-search-result-context .cluster=${o} index="${n}"
|
|
1296
1296
|
@ft-search-result-cluster-change="${i=>this.onClusterChange(o.id,i.detail)}">
|
|
1297
1297
|
${this.renderResult((a=this.selectedResultByCluster[o.id])!==null&&a!==void 0?a:o.entries[0],n)}
|
|
1298
1298
|
</ft-search-result-context>
|
|
1299
|
-
`})}update(e){var o;super.update(e),(e.has("clusterSortCriterion")||e.has("stateManager")&&this.clusterSortCriterion)&&((o=this.stateManager)===null||o===void 0||o.setClusterSortCriterion(this.clusterSortCriterion))}contentAvailableCallback(e){var o;if(super.contentAvailableCallback(e),e.has("requestWithoutPaging")){let n=(o=this.renderRoot)===null||o===void 0?void 0:o.querySelector("ft-search-result-context");n&&Bt.scrollHelper.scrollIntoViewIfPossible(n,{position:1,behavior:"smooth"})}}onClusterChange(e,o){this.selectedResultByCluster[e]=o}buildClusters(){switch(this.clusterPolicy){case"display-all-results":return this.buildAllResultsClusters();default:return this.buildFullClusters()}}buildFullClusters(){var e,o;return(o=(e=this.results)===null||e===void 0?void 0:e.map(n=>({id:this.clusterId(n.entries[0]),entries:n.entries})))!==null&&o!==void 0?o:[]}buildAllResultsClusters(){var e,o;let n=(o=(e=this.results)===null||e===void 0?void 0:e.flatMap(a=>a.entries.map(i=>({id:this.clusterId(i),entries:[i]}))))!==null&&o!==void 0?o:[];return this.paging&&this.paging.page===1?n.slice(0,this.paging.perPage):n}clusterId(e){var o,n,a,i,s;return(i=(n=(o=e.map)===null||o===void 0?void 0:o.mapId)!==null&&n!==void 0?n:(a=e.topic)===null||a===void 0?void 0:a.tocId)!==null&&i!==void 0?i:(s=e.document)===null||s===void 0?void 0:s.documentId}};De.styles=ts;or([(0,Wn.property)({type:String,attribute:"cluster-policy"})],De.prototype,"clusterPolicy",void 0);or([(0,Wn.property)({type:Boolean})],De.prototype,"displayNoResultsMessage",void 0);or([(0,Wn.property)({attribute:!1})],De.prototype,"renderResult",void 0);or([(0,Bt.jsonProperty)([])],De.prototype,"clusterSortCriterion",void 0);or([(0,Bt.redux)({selector:t=>({...t.request,paging:void 0})})],De.prototype,"requestWithoutPaging",void 0);or([(0,Bt.redux)({selector:t=>t.request.paging})],De.prototype,"paging",void 0);or([(0,Bt.redux)()],De.prototype,"results",void 0)});var
|
|
1299
|
+
`})}update(e){var o;super.update(e),(e.has("clusterSortCriterion")||e.has("stateManager")&&this.clusterSortCriterion)&&((o=this.stateManager)===null||o===void 0||o.setClusterSortCriterion(this.clusterSortCriterion))}contentAvailableCallback(e){var o;if(super.contentAvailableCallback(e),e.has("requestWithoutPaging")){let n=(o=this.renderRoot)===null||o===void 0?void 0:o.querySelector("ft-search-result-context");n&&Bt.scrollHelper.scrollIntoViewIfPossible(n,{position:1,behavior:"smooth"})}}onClusterChange(e,o){this.selectedResultByCluster[e]=o}buildClusters(){switch(this.clusterPolicy){case"display-all-results":return this.buildAllResultsClusters();default:return this.buildFullClusters()}}buildFullClusters(){var e,o;return(o=(e=this.results)===null||e===void 0?void 0:e.map(n=>({id:this.clusterId(n.entries[0]),entries:n.entries})))!==null&&o!==void 0?o:[]}buildAllResultsClusters(){var e,o;let n=(o=(e=this.results)===null||e===void 0?void 0:e.flatMap(a=>a.entries.map(i=>({id:this.clusterId(i),entries:[i]}))))!==null&&o!==void 0?o:[];return this.paging&&this.paging.page===1?n.slice(0,this.paging.perPage):n}clusterId(e){var o,n,a,i,s;return(i=(n=(o=e.map)===null||o===void 0?void 0:o.mapId)!==null&&n!==void 0?n:(a=e.topic)===null||a===void 0?void 0:a.tocId)!==null&&i!==void 0?i:(s=e.document)===null||s===void 0?void 0:s.documentId}};De.styles=ts;or([(0,Wn.property)({type:String,attribute:"cluster-policy"})],De.prototype,"clusterPolicy",void 0);or([(0,Wn.property)({type:Boolean})],De.prototype,"displayNoResultsMessage",void 0);or([(0,Wn.property)({attribute:!1})],De.prototype,"renderResult",void 0);or([(0,Bt.jsonProperty)([])],De.prototype,"clusterSortCriterion",void 0);or([(0,Bt.redux)({selector:t=>({...t.request,paging:void 0})})],De.prototype,"requestWithoutPaging",void 0);or([(0,Bt.redux)({selector:t=>t.request.paging})],De.prototype,"paging",void 0);or([(0,Bt.redux)()],De.prototype,"results",void 0)});var Pf=f(()=>{"use strict"});var _f={};Ht(_f,{FtSearchResults:()=>De,FtSearchResultsCssVariables:()=>Oy,styles:()=>ts});var Tf,kf=f(()=>{"use strict";Tf=b(N());cs();rs();Pf();cs();(0,Tf.customElement)("ft-search-results")(De)});var Df,Cy,ls,ds=f(()=>{"use strict";Df=b(D()),Cy={},ls=Df.css`
|
|
1300
1300
|
|
|
1301
|
-
`});var Hn,
|
|
1301
|
+
`});var Hn,Bf,Ey,Mt,us=f(()=>{"use strict";Hn=b(D()),Bf=b(N());ds();kt();rt();ss();st();Ey=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Mt=class extends Fe(Ne){constructor(){super(),this.addI18nContext(Dr,If)}render(){return this.paging==null?Hn.nothing:Hn.html`
|
|
1302
1302
|
<ft-typography variant="body1">
|
|
1303
1303
|
${Dr.messages.results(this.paging.totalClustersCount)}
|
|
1304
1304
|
</ft-typography>
|
|
1305
|
-
`}}
|
|
1305
|
+
`}};Mt.elementDefinitions={"ft-typography":ae};Mt.styles=ls;Ey([(0,Bf.redux)()],Mt.prototype,"paging",void 0)});var Mf=f(()=>{"use strict"});var Uf={};Ht(Uf,{FtSearchResultsNumber:()=>Mt,FtSearchResultsNumberCssVariables:()=>Cy,styles:()=>ls});var $f,Ff=f(()=>{"use strict";$f=b(N());us();ds();Mf();us();(0,$f.customElement)("ft-search-results-number")(Mt)});var Wf=b(N());var Be=b(D()),ps=b(N());var _a=b(D()),_=b(N());var Cs=b(D()),H=b(N());zt();var V={padding:H.FtCssVariableFactory.create("--ft-card-padding","","SIZE","12px"),borderRadius:H.FtCssVariableFactory.extend("--ft-card-border-radius","",H.designSystemVariables.borderRadiusM),borderStyle:H.FtCssVariableFactory.create("--ft-card-border-style","","UNKNOWN","none"),borderColor:H.FtCssVariableFactory.extend("--ft-card-border-color","",H.designSystemVariables.colorOutline),hoverBorderColor:H.FtCssVariableFactory.extend("--ft-card-hover-border-color","",H.designSystemVariables.colorPrimary),outlineStyle:H.FtCssVariableFactory.create("--ft-card-outline-style","","UNKNOWN","solid"),outlineWidth:H.FtCssVariableFactory.create("--ft-card-outline-width","","SIZE","0"),outlineColor:H.FtCssVariableFactory.extend("--ft-card-outline-color","",H.designSystemVariables.colorPrimary),selectedOutlineStyle:H.FtCssVariableFactory.create("--ft-card-selected-outline-style","","UNKNOWN","solid"),selectedOutlineWidth:H.FtCssVariableFactory.create("--ft-card-selected-outline-width","","SIZE","2px"),selectedOutlineColor:H.FtCssVariableFactory.extend("--ft-card-selected-outline-color","",H.designSystemVariables.colorPrimary),selectedBorderRadius:H.FtCssVariableFactory.extend("--ft-card-selected-border-radius","",H.designSystemVariables.borderRadiusM),colorSurface:H.FtCssVariableFactory.extend("--ft-card-background-color","",H.designSystemVariables.colorSurface),colorOnSurfaceMedium:H.FtCssVariableFactory.extend("--ft-card-content-color","",H.designSystemVariables.colorOnSurfaceMedium),colorOnSurfaceHigh:H.FtCssVariableFactory.extend("--ft-card-title-color","",H.designSystemVariables.colorOnSurfaceHigh),elevation02:H.FtCssVariableFactory.extend("--ft-card-elevation","",H.designSystemVariables.elevation02),elevation04:H.FtCssVariableFactory.extend("--ft-card-selected-elevation","",H.designSystemVariables.elevation04)},Es=Cs.css`
|
|
1306
1306
|
:host {
|
|
1307
1307
|
display: block;
|
|
1308
1308
|
}
|
|
@@ -1380,7 +1380,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1380
1380
|
#action {
|
|
1381
1381
|
grid-area: actions;
|
|
1382
1382
|
}
|
|
1383
|
-
`;eo();
|
|
1383
|
+
`;eo();Go();zt();Vo();var me={searchFieldBackgroundColor:_.FtCssVariableFactory.extend("--ft-rsid-search-field-background-color","",_.designSystemVariables.colorSurface),searchFieldBorderColor:_.FtCssVariableFactory.extend("--ft-rsid-search-field-border-color","",_.designSystemVariables.colorOutline),searchFieldTextColor:_.FtCssVariableFactory.extend("--ft-rsid-search-field-text-color","",_.designSystemVariables.colorOnSurface),searchFieldBorderRadius:_.FtCssVariableFactory.extend("--ft-rsid-search-field-border-radius","",_.designSystemVariables.borderRadiusS),searchButtonColor:_.FtCssVariableFactory.extend("--ft-rsid-search-field-button-color","",_.designSystemVariables.colorPrimary),resultsNumberColor:_.FtCssVariableFactory.extend("--ft-rsid-results-number-color","",_.designSystemVariables.colorOnSurfaceMedium),resultBackgroundColor:_.FtCssVariableFactory.extend("--ft-rsid-result-background-color","",_.designSystemVariables.colorSurface),resultBorderColor:_.FtCssVariableFactory.extend("--ft-rsid-result-border-color","",_.designSystemVariables.colorOutline),resultBorderRadius:_.FtCssVariableFactory.extend("--ft-rsid-result-border-radius","",_.designSystemVariables.borderRadiusS),resultTitleTextColor:_.FtCssVariableFactory.extend("--ft-rsid-result-title-text-color","",_.designSystemVariables.colorOnSurface),resultBreadcrumbTextColor:_.FtCssVariableFactory.extend("--ft-rsid-result-breadcrumb-text-color","",_.designSystemVariables.colorOnSurfaceMedium),resultContentTextColor:_.FtCssVariableFactory.extend("--ft-rsid-result-content-text-color","",_.designSystemVariables.colorOnSurface),resultHighlightBackgroundColor:_.FtCssVariableFactory.create("--ft-rsid-result-highlight-background-color","","COLOR","#FFF26E"),resultHoverBackgroundColor:_.FtCssVariableFactory.extend("--ft-rsid-result-hover-background-color","",_.designSystemVariables.colorPrimary),resultHoverBorderColor:_.FtCssVariableFactory.extend("--ft-rsid-result-hover-border-color","",_.designSystemVariables.colorPrimary)},Od=_a.css`
|
|
1384
1384
|
.ft-search-in-doc--container {
|
|
1385
1385
|
display: flex;
|
|
1386
1386
|
flex-direction: column;
|
|
@@ -1406,7 +1406,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1406
1406
|
ft-search-load-more-button {
|
|
1407
1407
|
margin: auto;
|
|
1408
1408
|
}
|
|
1409
|
-
`,
|
|
1409
|
+
`,Cd=_a.css`
|
|
1410
1410
|
ft-card {
|
|
1411
1411
|
margin-bottom: 8px;
|
|
1412
1412
|
${(0,_.setVariable)(V.elevation04,"none")};
|
|
@@ -1420,7 +1420,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1420
1420
|
|
|
1421
1421
|
ft-search-result-title {
|
|
1422
1422
|
color: ${me.resultTitleTextColor};
|
|
1423
|
-
${(0,_.setVariable)(
|
|
1423
|
+
${(0,_.setVariable)(jo.highlightBackgroundColor,me.resultHighlightBackgroundColor)};
|
|
1424
1424
|
}
|
|
1425
1425
|
|
|
1426
1426
|
.breadcrumb {
|
|
@@ -1447,8 +1447,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1447
1447
|
text-decoration: none;
|
|
1448
1448
|
color: inherit;
|
|
1449
1449
|
}
|
|
1450
|
-
`;rt();var
|
|
1451
|
-
<div id="container" part="container" class=${(0,
|
|
1450
|
+
`;rt();var Xu=b(N()),Ju=b(Q());var Qu;(function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"})(Qu||(Qu={}));var py=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Ai=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},wi=Symbol("registerInterval");function fy(t){var e;class o extends t{constructor(){super(...arguments),this[e]=0}setReaderStateManager(a){this.clearStateManager(),this.stateManager=a,this.addStore(a.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var a;return(a=this.stateManager)===null||a===void 0?void 0:a.service}connectedCallback(){super.connectedCallback(),this[wi]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[wi]):this.dispatchEvent(new Ai)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=wi,py([(0,Ju.state)()],o.prototype,"stateManager",void 0),o}var En=class extends fy(Xu.FtLitElementRedux){};var Ut=b(Q());Ii();var In=class extends CustomEvent{constructor(e){super("ft-reader-search-in-document",{composed:!0,bubbles:!0,detail:e})}};rt();var Li=tt.build("designedReaderSearchInDocument");var Np=b(N());var uo=b(D()),po=b(Q()),Ap=b(N());Eo();st();var Rp=b(Ur()),Ln=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},We=class extends Ap.FtLitElement{constructor(){super(...arguments),this.title="",this.clickable=!1,this.selected=!1,this.noHeader=!1}render(){let e={selected:this.selected,clickable:this.clickable,"no-header":this.noHeader};return uo.html`
|
|
1451
|
+
<div id="container" part="container" class=${(0,Rp.classMap)(e)}>
|
|
1452
1452
|
${this.clickable?uo.html`
|
|
1453
1453
|
<ft-ripple primary ?selected=${this.selected}></ft-ripple>
|
|
1454
1454
|
`:uo.nothing}
|
|
@@ -1465,8 +1465,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1465
1465
|
</ft-typography>
|
|
1466
1466
|
</div>
|
|
1467
1467
|
</div>
|
|
1468
|
-
`}};We.elementDefinitions={"ft-ripple":
|
|
1469
|
-
<style> ${
|
|
1468
|
+
`}};We.elementDefinitions={"ft-ripple":X,"ft-typography":ae};We.styles=Es;Ln([(0,po.property)()],We.prototype,"title",void 0);Ln([(0,po.property)({type:Boolean})],We.prototype,"clickable",void 0);Ln([(0,po.property)({type:Boolean})],We.prototype,"selected",void 0);Ln([(0,po.property)({type:Boolean})],We.prototype,"noHeader",void 0);(0,Np.customElement)("ft-card")(We);var $t=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Ie=class t extends Fe(En){constructor(){super(),this.searchInDocumentQuery="",this.hideResultTitle=!1,this.hideResultBreadcrumb=!1,this.hideResultAbstract=!1,this.hideResultsNumber=!1,this.userHasDoneManualAction=!1,this.uniqueId="search-in-document-"+(""+Math.round(Math.random()*999e3)).padStart(6,"0"),this.addI18nContext(Li)}get filters(){return[{key:"ft:publicationId",valueFilter:{negative:!1,values:[this.map.id]}}]}renderResult(e,o){var n;return Be.html`
|
|
1469
|
+
<style> ${Cd}</style>
|
|
1470
1470
|
<a href="${Nn(e)}" @click="${()=>this.onLinkClick(e,o)} }">
|
|
1471
1471
|
<ft-card clickable noheader>
|
|
1472
1472
|
<div class="result-container">
|
|
@@ -1504,7 +1504,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1504
1504
|
</slot>
|
|
1505
1505
|
</div>
|
|
1506
1506
|
</ft-search-context>
|
|
1507
|
-
`:Be.nothing}update(e){super.update(e),e.has("map")&&this.searchContext&&this.searchContext.clear(),["hideResultTitle","hideResultBreadcrumb","hideResultAbstract"].some(o=>e.has(o))&&this.searchResults&&this.searchResults.requestUpdate()}onLinkClick(e,o){this.dispatchEvent(new Lr(e,o))}importDynamicDependencies(){super.importDynamicDependencies();let e=t.registry;Promise.resolve().then(()=>(
|
|
1507
|
+
`:Be.nothing}update(e){super.update(e),e.has("map")&&this.searchContext&&this.searchContext.clear(),["hideResultTitle","hideResultBreadcrumb","hideResultAbstract"].some(o=>e.has(o))&&this.searchResults&&this.searchResults.requestUpdate()}onLinkClick(e,o){this.dispatchEvent(new Lr(e,o))}importDynamicDependencies(){super.importDynamicDependencies();let e=t.registry;Promise.resolve().then(()=>(Hp(),Wp)).then(({FtSearchContext:o})=>e.define("ft-search-context",o)),Promise.resolve().then(()=>(rf(),tf)).then(({FtSearchInput:o})=>e.define("ft-search-input",o)),Promise.resolve().then(()=>(df(),lf)).then(({FtSearchLoadMoreButton:o})=>e.define("ft-search-load-more-button",o)),Promise.resolve().then(()=>(Xi(),hf)).then(({FtSearchResultAbstract:o})=>e.define("ft-search-result-abstract",o)),Promise.resolve().then(()=>(es(),xf)).then(({FtSearchResultTitle:o})=>e.define("ft-search-result-title",o)),Promise.resolve().then(()=>(kf(),_f)).then(({FtSearchResults:o})=>e.define("ft-search-results",o)),Promise.resolve().then(()=>(Ff(),Uf)).then(({FtSearchResultsNumber:o})=>e.define("ft-search-results-number",o))}};Ie.elementDefinitions={"ft-card":We};Ie.styles=Od;$t([(0,ps.redux)()],Ie.prototype,"map",void 0);$t([(0,ps.redux)()],Ie.prototype,"searchInDocumentQuery",void 0);$t([(0,Ut.query)("ft-search-context")],Ie.prototype,"searchContext",void 0);$t([(0,Ut.query)("ft-search-results")],Ie.prototype,"searchResults",void 0);$t([(0,Ut.property)({type:Boolean})],Ie.prototype,"hideResultTitle",void 0);$t([(0,Ut.property)({type:Boolean})],Ie.prototype,"hideResultBreadcrumb",void 0);$t([(0,Ut.property)({type:Boolean})],Ie.prototype,"hideResultAbstract",void 0);$t([(0,Ut.property)({type:Boolean})],Ie.prototype,"hideResultsNumber",void 0);(0,Wf.customElement)("ft-reader-search-in-document")(Ie);})();
|
|
1508
1508
|
/*! Bundled license information:
|
|
1509
1509
|
|
|
1510
1510
|
lit-html/lit-html.js:
|