@fluid-topics/ft-modal 1.1.116
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/README.md +34 -0
- package/build/FtDsModalMessages.d.ts +6 -0
- package/build/FtDsModalMessages.js +5 -0
- package/build/ft-modal.light.js +1202 -0
- package/build/ft-modal.min.js +1424 -0
- package/build/ftds-modal-confirm.d.ts +17 -0
- package/build/ftds-modal-confirm.js +97 -0
- package/build/ftds-modal.d.ts +19 -0
- package/build/ftds-modal.js +104 -0
- package/build/ftds-modal.properties.d.ts +7 -0
- package/build/ftds-modal.properties.js +2 -0
- package/build/ftds-modal.styles.d.ts +3 -0
- package/build/ftds-modal.styles.js +79 -0
- package/build/index.d.ts +4 -0
- package/build/index.js +9 -0
- package/package.json +29 -0
|
@@ -0,0 +1,1202 @@
|
|
|
1
|
+
"use strict";(()=>{var Rc=Object.create;var ln=Object.defineProperty;var Lc=Object.getOwnPropertyDescriptor;var Pc=Object.getOwnPropertyNames;var Ic=Object.getPrototypeOf,kc=Object.prototype.hasOwnProperty;var We=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports);var $c=(e,o,r,n)=>{if(o&&typeof o=="object"||typeof o=="function")for(let a of Pc(o))!kc.call(e,a)&&a!==r&&ln(e,a,{get:()=>o[a],enumerable:!(n=Lc(o,a))||n.enumerable});return e};var S=(e,o,r)=>(r=e!=null?Rc(Ic(e)):{},$c(o||!e||!e.__esModule?ln(r,"default",{value:e,enumerable:!0}):r,e));var k=We((Jl,sn)=>{sn.exports=ftGlobals.wcUtils});var _=We((Ql,dn)=>{dn.exports=ftGlobals.lit});var Z=We((ts,fn)=>{fn.exports=ftGlobals.litDecorators});var lo=We((es,pn)=>{pn.exports=ftGlobals.litClassMap});var pi=We((ty,fi)=>{fi.exports=ftGlobals.litUnsafeHTML});var cn=S(k());var io=S(_()),co=S(Z()),Be=S(k()),Ec=S(lo());var Dn=S(_());var Rt=S(_(),1),Ut=e=>typeof e=="string"?(0,Rt.unsafeCSS)(e):e,t=class{static create(o,r,n,a){let i=s=>Ut(s??a),l=Rt.css`var(${Ut(o)}, ${i(a)})`;return l.name=o,l.description=r,l.category=n,l.defaultValue=a,l.defaultCssValue=i,l.get=s=>Rt.css`var(${Ut(o)}, ${i(s)})`,l.breadcrumb=()=>[],l.lastResortDefaultValue=()=>a,l}static extend(o,r,n,a){let i=s=>n.get(s??a),l=Rt.css`var(${Ut(o)}, ${i(a)})`;return l.name=o,l.description=r,l.category=n.category,l.fallbackVariable=n,l.defaultValue=a,l.defaultCssValue=i,l.get=s=>Rt.css`var(${Ut(o)}, ${i(s)})`,l.breadcrumb=()=>[n.name,...n.breadcrumb()],l.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),l}static external(o,r){let n=i=>o.fallbackVariable?o.fallbackVariable.get(i??o.defaultValue):Ut(i??o.lastResortDefaultValue()),a=Rt.css`var(${Ut(o.name)}, ${n(o.defaultValue)})`;return a.name=o.name,a.category=o.category,a.fallbackVariable=o.fallbackVariable,a.defaultValue=o.defaultValue,a.context=r,a.defaultCssValue=n,a.get=i=>Rt.css`var(${Ut(o.name)}, ${n(i)})`,a.breadcrumb=()=>o.fallbackVariable?[o.fallbackVariable.name,...o.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>o.lastResortDefaultValue(),a}};var c={colorWhite:t.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:t.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:t.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:t.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:t.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:t.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:t.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:t.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:t.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:t.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:t.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:t.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:t.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:t.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:t.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:t.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:t.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:t.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:t.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:t.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:t.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:t.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:t.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:t.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:t.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:t.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:t.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:t.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:t.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:t.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:t.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:t.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:t.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:t.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:t.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:t.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:t.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:t.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:t.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:t.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:t.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:t.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:t.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:t.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:t.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:t.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:t.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:t.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:t.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:t.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:t.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:t.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:t.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:t.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:t.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:t.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:t.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:t.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:t.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:t.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:t.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:t.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:t.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:t.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:t.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:t.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:t.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:t.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:t.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:t.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:t.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:t.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:t.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:t.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:t.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:t.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:t.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:t.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:t.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:t.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:t.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:t.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:t.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:t.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:t.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:t.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:t.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:t.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:t.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:t.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:t.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:t.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:t.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:t.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:t.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:t.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:t.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:t.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:t.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:t.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:t.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:t.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:t.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:t.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:t.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:t.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:t.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:t.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:t.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:t.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:t.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:t.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:t.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:t.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:t.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:t.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:t.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:t.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:t.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:t.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:t.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:t.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:t.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:t.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:t.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:t.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:t.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:t.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:t.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:t.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:t.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:t.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:t.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:t.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:t.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:t.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:t.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:t.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:t.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:t.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:t.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:t.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:t.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:t.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:t.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:t.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:t.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:t.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:t.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:t.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:t.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:t.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:t.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:t.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:t.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:t.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:t.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:t.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:t.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:t.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:t.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:t.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:t.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:t.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:t.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:t.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:t.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:t.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:t.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:t.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:t.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:t.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:t.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:t.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:t.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:t.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:t.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:t.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:t.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:t.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:t.create("--ft-opacity-0","","NUMBER","0"),opacity8:t.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:t.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:t.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:t.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:t.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:t.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:t.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:t.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:t.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:t.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:t.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:t.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:t.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:t.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:t.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)")},un={fontFamily:t.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:t.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-display-textCase","","UNKNOWN","none")},yn={fontFamily:t.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:t.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},hn={fontFamily:t.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:t.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},mn={fontFamily:t.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:t.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:t.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},gn={fontFamily:t.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:t.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},bn={fontFamily:t.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},xn={fontFamily:t.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},vn={fontFamily:t.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:t.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Sn={fontFamily:t.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Tc={fontFamily:t.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:t.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:t.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},On={fontFamily:t.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Cn={fontFamily:t.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},wn={fontFamily:t.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},En={fontFamily:t.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Nn={fontFamily:t.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},An={fontFamily:t.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Rn={fontFamily:t.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Ln={fontFamily:t.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Pn={fontFamily:t.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},In={fontFamily:t.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},kn={fontFamily:t.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},$n={fontFamily:t.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Tn={fontFamily:t.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Bn={fontFamily:t.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Wn={fontFamily:t.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},_n={fontFamily:t.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},so={display:un,"title-1":yn,"title-2":hn,"title-3":mn,"body-1-regular":gn,"body-1-medium":bn,"body-1-semibold":xn,"body-2-regular":vn,"body-2-medium":Sn,"body-2-medium-underline":Tc,"body-2-semibold":On,"label-1-medium":Cn,"label-1-semibold":wn,"label-1-bold":En,"label-2-medium":Nn,"label-2-semibold":An,"label-2-bold":Rn,"caption-1-medium":Ln,"caption-1-semibold":Pn,"caption-1-bold":In,"caption-2-medium":kn,"caption-2-semibold":$n,"caption-2-bold":Tn,"caption-3-medium":Bn,"caption-3-semibold":Wn,"caption-3-bold":_n};var d={backgroundActionPrimary:t.extend("--ft-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:t.extend("--ft-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:t.extend("--ft-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:t.extend("--ft-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:t.extend("--ft-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:t.extend("--ft-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:t.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:t.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:t.extend("--ft-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:t.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:t.extend("--ft-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:t.extend("--ft-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:t.extend("--ft-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:t.extend("--ft-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:t.extend("--ft-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:t.extend("--ft-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:t.extend("--ft-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:t.extend("--ft-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:t.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
2
|
+
Also for action icons.`,c.colorGray200),contentGlobalSubtle:t.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:t.extend("--ft-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:t.extend("--ft-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:t.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:t.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:t.extend("--ft-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:t.extend("--ft-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:t.extend("--ft-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:t.extend("--ft-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:t.extend("--ft-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:t.extend("--ft-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:t.extend("--ft-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:t.extend("--ft-border-global-primary","Used as border for element like input.",c.colorGray50),borderGlobalSubtle:t.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",c.colorGray30),borderInputPrimary:t.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:t.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)};var u={largeHeight:t.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:t.extend("--ft-button-large-horizontal-padding","",c.spacing4),largeGap:t.extend("--ft-button-large-gap","",c.spacing2),largeBorderRadius:t.extend("--ft-button-large-border-radius","",c.borderRadiusS),largeIconSize:t.extend("--ft-button-large-icon-size","",c.iconSize3),largeBorderWidth:t.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:t.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:t.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:t.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:t.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:t.extend("--ft-button-medium-horizontal-padding","",c.spacing3),mediumGap:t.extend("--ft-button-medium-gap","",c.spacing2),mediumBorderRadius:t.extend("--ft-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:t.extend("--ft-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:t.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:t.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:t.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:t.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:t.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:t.extend("--ft-button-small-horizontal-padding","",c.spacing2),smallGap:t.extend("--ft-button-small-gap","",c.spacing1),smallBorderRadius:t.extend("--ft-button-small-border-radius","",c.borderRadiusS),smallIconSize:t.extend("--ft-button-small-icon-size","",c.iconSize1),smallBorderWidth:t.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:t.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:t.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:t.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:t.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:t.extend("--ft-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:t.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:t.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:t.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:t.extend("--ft-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:t.extend("--ft-button-primary-brand-background-color","",d.backgroundActionPrimary),primaryBrandColor:t.extend("--ft-button-primary-brand-color","",d.contentGlobalOnColor),primaryBrandIconColor:t.extend("--ft-button-primary-brand-icon-color","",d.contentGlobalOnColor),primaryBrandStateLayerColor:t.extend("--ft-button-primary-brand-state-layer-color","",d.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:t.extend("--ft-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:t.extend("--ft-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:t.extend("--ft-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:t.extend("--ft-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:t.extend("--ft-button-focus-focus-ring-color","",d.borderActionFocusRing),tertiaryBrandBackgroundColor:t.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:t.extend("--ft-button-tertiary-brand-color","",d.contentActionPrimary),tertiaryBrandIconColor:t.extend("--ft-button-tertiary-brand-icon-color","",d.contentActionPrimary),tertiaryBrandStateLayerColor:t.extend("--ft-button-tertiary-brand-state-layer-color","",d.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:t.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:t.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:t.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:t.extend("--ft-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:t.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:t.extend("--ft-button-tertiary-info-color","",d.contentInfoPrimary),tertiaryInfoIconColor:t.extend("--ft-button-tertiary-info-icon-color","",d.contentInfoPrimary),tertiaryInfoStateLayerColor:t.extend("--ft-button-tertiary-info-state-layer-color","",d.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:t.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:t.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:t.extend("--ft-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:t.extend("--ft-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:t.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:t.extend("--ft-button-tertiary-success-color","",d.contentSuccessPrimary),tertiarySuccessIconColor:t.extend("--ft-button-tertiary-success-icon-color","",d.contentSuccessPrimary),tertiarySuccessStateLayerColor:t.extend("--ft-button-tertiary-success-state-layer-color","",d.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:t.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:t.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:t.extend("--ft-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:t.extend("--ft-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:t.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:t.extend("--ft-button-tertiary-warning-color","",d.contentWarningPrimary),tertiaryWarningIconColor:t.extend("--ft-button-tertiary-warning-icon-color","",d.contentWarningPrimary),tertiaryWarningStateLayerColor:t.extend("--ft-button-tertiary-warning-state-layer-color","",d.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:t.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:t.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:t.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:t.extend("--ft-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:t.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:t.extend("--ft-button-tertiary-error-color","",d.contentErrorPrimary),tertiaryErrorIconColor:t.extend("--ft-button-tertiary-error-icon-color","",d.contentErrorPrimary),tertiaryErrorStateLayerColor:t.extend("--ft-button-tertiary-error-state-layer-color","",d.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:t.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:t.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:t.extend("--ft-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:t.extend("--ft-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:t.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:t.extend("--ft-button-tertiary-neutral-icon-color","",d.contentGlobalSecondary),tertiaryNeutralColor:t.extend("--ft-button-tertiary-neutral-color","",d.contentGlobalSecondary),tertiaryNeutralStateLayerColor:t.extend("--ft-button-tertiary-neutral-state-layer-color","",d.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:t.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:t.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:t.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:t.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:t.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:t.extend("--ft-button-secondary-brand-color","",d.contentActionPrimary),secondaryBrandIconColor:t.extend("--ft-button-secondary-brand-icon-color","",d.contentActionPrimary),secondaryBrandStateLayerColor:t.extend("--ft-button-secondary-brand-state-layer-color","",d.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:t.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:t.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:t.extend("--ft-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:t.extend("--ft-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:t.extend("--ft-button-secondary-brand-border-color","",d.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:t.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:t.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:t.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:t.extend("--ft-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:t.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:t.extend("--ft-button-secondary-neutral-color","",d.contentGlobalSecondary),secondaryNeutralIconColor:t.extend("--ft-button-secondary-neutral-icon-color","",d.contentGlobalSecondary),secondaryNeutralStateLayerColor:t.extend("--ft-button-secondary-neutral-state-layer-color","",d.contentGlobalSecondary),secondaryNeutralBorderColor:t.extend("--ft-button-secondary-neutral-border-color","",d.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:t.extend("--ft-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:t.extend("--ft-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:t.extend("--ft-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:t.extend("--ft-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:t.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:t.extend("--ft-button-secondary-info-border-color","",d.borderInfoPrimary),secondaryInfoColor:t.extend("--ft-button-secondary-info-color","",d.contentInfoPrimary),secondaryInfoIconColor:t.extend("--ft-button-secondary-info-icon-color","",d.contentInfoPrimary),secondaryInfoStateLayerColor:t.extend("--ft-button-secondary-info-state-layer-color","",d.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:t.extend("--ft-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:t.extend("--ft-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:t.extend("--ft-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:t.extend("--ft-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:t.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:t.extend("--ft-button-secondary-success-border-color","",d.borderSuccessPrimary),secondarySuccessColor:t.extend("--ft-button-secondary-success-color","",d.contentSuccessPrimary),secondarySuccessIconColor:t.extend("--ft-button-secondary-success-icon-color","",d.contentSuccessPrimary),secondarySuccessStateLayerColor:t.extend("--ft-button-secondary-success-state-layer-color","",d.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:t.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:t.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:t.extend("--ft-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:t.extend("--ft-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:t.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:t.extend("--ft-button-secondary-warning-border-color","",d.borderWarningPrimary),secondaryWarningColor:t.extend("--ft-button-secondary-warning-color","",d.contentWarningPrimary),secondaryWarningIconColor:t.extend("--ft-button-secondary-warning-icon-color","",d.contentWarningPrimary),secondaryWarningStateLayerColor:t.extend("--ft-button-secondary-warning-state-layer-color","",d.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:t.extend("--ft-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:t.extend("--ft-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:t.extend("--ft-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:t.extend("--ft-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:t.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:t.extend("--ft-button-secondary-error-border-color","",d.contentErrorPrimary),secondaryErrorColor:t.extend("--ft-button-secondary-error-color","",d.contentErrorPrimary),secondaryErrorIconColor:t.extend("--ft-button-secondary-error-icon-color","",d.contentErrorPrimary),secondaryErrorStateLayerColor:t.extend("--ft-button-secondary-error-state-layer-color","",d.contentErrorPrimary)};var hs={neutralOffHoverStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:t.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",d.borderActionFocusRing),neutralOffActiveStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:t.extend("--ft-chip-choice-neutral-off-background-color","",d.backgroundGlobalOnSurface),neutralOffBorderColor:t.extend("--ft-chip-choice-neutral-off-border-color","",d.borderGlobalPrimary),neutralOffColor:t.extend("--ft-chip-choice-neutral-off-color","",d.contentGlobalSecondary),neutralOffStateLayerColor:t.extend("--ft-chip-choice-neutral-off-state-layer-color","",d.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:t.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",d.borderActionFocusRing),neutralOnActiveStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:t.extend("--ft-chip-choice-neutral-on-background-color","",d.backgroundGlobalOnSurface),neutralOnBorderColor:t.extend("--ft-chip-choice-neutral-on-border-color","",d.borderGlobalPrimary),neutralOnColor:t.extend("--ft-chip-choice-neutral-on-color","",d.contentGlobalPrimary),neutralOnIconColor:t.extend("--ft-chip-choice-neutral-on-icon-color","",d.contentGlobalPrimary),neutralOnStateLayerColor:t.extend("--ft-chip-choice-neutral-on-state-layer-color","",d.contentGlobalPrimary),largeMinHeight:t.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:t.extend("--ft-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:t.extend("--ft-chip-choice-large-gap","",c.spacing1),largeBorderRadius:t.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:t.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:t.extend("--ft-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:t.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:t.extend("--ft-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:t.extend("--ft-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:t.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:t.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:t.extend("--ft-chip-choice-medium-icon-size","",c.iconSize2)};var vs={largeMinHeight:t.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:t.extend("--ft-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:t.extend("--ft-chip-large-button-right-padding","",c.spacing1),largeGap:t.extend("--ft-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:t.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:t.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:t.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:t.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:t.extend("--ft-chip-large-icon-size","",c.iconSize3),mediumMinHeight:t.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:t.extend("--ft-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:t.extend("--ft-chip-medium-button-right-padding","",c.spacing05),mediumGap:t.extend("--ft-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:t.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:t.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:t.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:t.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:t.extend("--ft-chip-medium-icon-size","",c.iconSize2),smallMinHeight:t.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:t.extend("--ft-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:t.extend("--ft-chip-small-button-right-padding","",c.spacing05),smallGap:t.extend("--ft-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:t.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:t.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:t.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:t.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:t.extend("--ft-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:t.extend("--ft-chip-neutral-background-color","",d.backgroundGlobalOnSurface),neutralColor:t.extend("--ft-chip-neutral-color","",d.contentGlobalSecondary),neutralIconColor:t.extend("--ft-chip-neutral-icon-color","",d.contentGlobalSecondary),neutralBorderColor:t.extend("--ft-chip-neutral-border-color","",d.borderGlobalSubtle),infoBackgroundColor:t.extend("--ft-chip-info-background-color","",d.backgroundInfoSubtle),infoColor:t.extend("--ft-chip-info-color","",d.contentInfoPrimary),infoIconColor:t.extend("--ft-chip-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:t.extend("--ft-chip-info-border-color","",d.borderInfoSubtle),successBackgroundColor:t.extend("--ft-chip-success-background-color","",d.backgroundSuccessSubtle),successColor:t.extend("--ft-chip-success-color","",d.contentSuccessPrimary),successIconColor:t.extend("--ft-chip-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:t.extend("--ft-chip-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-chip-warning-background-color","",d.backgroundWarningSubtle),warningColor:t.extend("--ft-chip-warning-color","",d.contentWarningPrimary),warningIconColor:t.extend("--ft-chip-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:t.extend("--ft-chip-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-chip-error-background-color","",d.backgroundErrorSubtle),errorColor:t.extend("--ft-chip-error-color","",d.contentErrorPrimary),errorIconColor:t.extend("--ft-chip-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:t.extend("--ft-chip-error-border-color","",d.borderErrorSubtle)};var Es={brandHoverOpacity:t.extend("--ft-link-brand-hover-opacity","",c.opacity80),brandHoverColor:t.extend("--ft-link-brand-hover-color","",d.contentActionPrimary),brandFocusFocusRingColor:t.extend("--ft-link-brand-focus-focus-ring-color","",d.borderActionFocusRing),brandFocusColor:t.extend("--ft-link-brand-focus-color","",d.contentActionPrimary),brandDefaultColor:t.extend("--ft-link-brand-default-color","",d.contentActionPrimary),brandActiveColor:t.extend("--ft-link-brand-active-color","",d.contentActionPrimary),infoHoverOpacity:t.extend("--ft-link-info-hover-opacity","",c.opacity80),infoHoverColor:t.extend("--ft-link-info-hover-color","",d.contentInfoPrimary),infoFocusFocusRingColor:t.extend("--ft-link-info-focus-focus-ring-color","",d.borderActionFocusRing),infoFocusColor:t.extend("--ft-link-info-focus-color","",d.contentInfoPrimary),infoDefaultColor:t.extend("--ft-link-info-default-color","",d.contentInfoPrimary),infoActiveColor:t.extend("--ft-link-info-active-color","",d.contentInfoPrimary),neutralFocusFocusRingColor:t.extend("--ft-link-neutral-focus-focus-ring-color","",d.borderActionFocusRing),neutralFocusColor:t.extend("--ft-link-neutral-focus-color","",d.contentActionPrimary),neutralDefaultColor:t.extend("--ft-link-neutral-default-color","",d.contentGlobalPrimary),neutralHoverColor:t.extend("--ft-link-neutral-hover-color","",d.contentActionPrimary),neutralActiveColor:t.extend("--ft-link-neutral-active-color","",d.contentActionPrimary),neutralVisitedColor:t.extend("--ft-link-neutral-visited-color","",c.colorBrand100)};var Ps={iconSize:t.extend("--ft-banner-icon-size","",c.iconSize5),borderWidth:t.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:t.extend("--ft-banner-left-padding","",c.spacing6),rightPadding:t.extend("--ft-banner-right-padding","",c.spacing6),verticalPadding:t.extend("--ft-banner-vertical-padding","",c.spacing6),horizontalSideGap:t.extend("--ft-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:t.extend("--ft-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:t.extend("--ft-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:t.extend("--ft-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:t.extend("--ft-banner-info-background-color","",d.backgroundInfoSubtle),infoColor:t.extend("--ft-banner-info-color","",d.contentInfoPrimary),infoIconColor:t.extend("--ft-banner-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:t.extend("--ft-banner-info-border-color","",d.borderInfoSubtle)};var Bs={horizontalPadding:t.extend("--ft-badge-horizontal-padding","",c.spacing1),verticalPadding:t.extend("--ft-badge-vertical-padding","",c.spacing1),borderRadius:t.extend("--ft-badge-border-radius","",c.borderRadiusPill),color:t.extend("--ft-badge-color","",d.contentGlobalOnColor),backgroundColor:t.extend("--ft-badge-background-color","",d.contentActionPrimary)};var Ms={horizontalGap:t.extend("--ft-breadcrumb-horizontal-gap","",c.spacing1),verticalGap:t.extend("--ft-breadcrumb-vertical-gap","",c.spacing2),currentColor:t.extend("--ft-breadcrumb-current-color","",d.contentGlobalPrimary),previousNonClickableColor:t.extend("--ft-breadcrumb-previous-non-clickable-color","",d.contentGlobalSecondary),iconColor:t.extend("--ft-breadcrumb-icon-color","",d.contentGlobalSubtle)};var js={horizontalPadding:t.extend("--ft-page-header-horizontal-padding","",c.spacing6),horizontalGap:t.extend("--ft-page-header-horizontal-gap","",c.spacing4),verticalGap:t.extend("--ft-page-header-vertical-gap","",c.spacing2),classicVerticalPadding:t.extend("--ft-page-header-classic-vertical-padding","",c.spacing6),multilineVerticalPadding:t.extend("--ft-page-header-multiline-vertical-padding","",c.spacing4),inlineVerticalPadding:t.extend("--ft-page-header-inline-vertical-padding","",c.spacing2),backgroundColor:t.extend("--ft-page-header-background-color","",c.colorWhite),bottomBorderColor:t.extend("--ft-page-header-bottom-border-color","",d.borderGlobalSubtle),titleColor:t.extend("--ft-page-header-title-color","",d.contentGlobalPrimary),subtitleColor:t.extend("--ft-page-header-subtitle-color","",d.contentGlobalSecondary)};var D={smallContainerTargetWidth:t.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:t.extend("--ft-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:t.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:t.extend("--ft-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:t.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:t.extend("--ft-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:t.extend("--ft-modal-overlay-background-color","",c.colorGray700),overlayOpacity:t.extend("--ft-modal-overlay-opacity","",c.opacity40),shadow:t.extend("--ft-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:t.extend("--ft-modal-body-background-color","",c.colorWhite),bodyColor:t.extend("--ft-modal-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:t.extend("--ft-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:t.extend("--ft-modal-body-vertical-gap","",c.spacing6),headerBackgroundColor:t.extend("--ft-modal-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-modal-header-border-color","",d.borderGlobalSubtle),headerColor:t.extend("--ft-modal-header-color","",d.contentGlobalPrimary),headerLeadingIconColor:t.extend("--ft-modal-header-leading-icon-color","",d.contentGlobalPrimary),headerVerticalPadding:t.extend("--ft-modal-header-vertical-padding","",c.spacing1),headerRightPadding:t.extend("--ft-modal-header-right-padding","",c.spacing1),headerLeftPadding:t.extend("--ft-modal-header-left-padding","",c.spacing6),headerGap:t.extend("--ft-modal-header-gap","",c.spacing2),headerBorderBottomWidth:t.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:t.extend("--ft-modal-border-radius","",c.borderRadiusM)};var td={overlayOpacity:t.extend("--ft-drawer-overlay-opacity","",c.opacity40),shadow:t.extend("--ft-drawer-shadow","",c.shadowElevation03),bodyColor:t.extend("--ft-drawer-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:t.extend("--ft-drawer-body-vertical-padding","",c.spacing6),bodyGap:t.extend("--ft-drawer-body-gap","",c.spacing6),bodyBackgroundColor:t.extend("--ft-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:t.extend("--ft-drawer-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-drawer-header-border-color","",d.borderGlobalSubtle),headerColor:t.extend("--ft-drawer-header-color","",d.contentGlobalPrimary),headerTrailingIconColor:t.extend("--ft-drawer-header-trailing-icon-color","",d.contentGlobalSecondary),headerHeight:t.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:t.extend("--ft-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:t.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:t.extend("--ft-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:t.extend("--ft-drawer-buttons-bar-background-color","",d.backgroundGlobalOnSurface),buttonsBarBorderColor:t.extend("--ft-drawer-buttons-bar-border-color","",d.borderGlobalSubtle),buttonsBarColor:t.extend("--ft-drawer-buttons-bar-color","",d.contentGlobalPrimary),buttonsBarHorizontalPadding:t.extend("--ft-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:t.extend("--ft-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:t.extend("--ft-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:t.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:t.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:t.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:t.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:t.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:t.extend("--ft-drawer-overlay-background-color","",c.colorGray700)};var ad={offBorderBottomWidth:t.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:t.extend("--ft-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:t.extend("--ft-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:t.extend("--ft-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:t.extend("--ft-tabs-off-disabled-component-opacity","",c.opacity40),offColor:t.extend("--ft-tabs-off-color","",d.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-tabs-off-state-layer-color","",d.contentGlobalSubtle),offBorderBottomColor:t.extend("--ft-tabs-off-border-bottom-color","",d.borderGlobalSubtle),activeTabIndicatorHeight:t.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:t.extend("--ft-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:t.extend("--ft-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:t.extend("--ft-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:t.extend("--ft-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:t.extend("--ft-tabs-horizontal-gap","",c.spacing1),verticalGap:t.extend("--ft-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:t.extend("--ft-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:t.extend("--ft-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:t.extend("--ft-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:t.extend("--ft-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:t.extend("--ft-tabs-on-color","",d.contentActionPrimary),onStateLayerColor:t.extend("--ft-tabs-on-state-layer-color","",d.contentActionPrimary),onActiveTabIndicatorColor:t.extend("--ft-tabs-on-active-tab-indicator-color","",d.contentActionPrimary),iconOnlyHorizontalPadding:t.extend("--ft-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:t.extend("--ft-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:t.extend("--ft-tabs-alert-top-padding","",c.spacing1),alertRightPadding:t.extend("--ft-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:t.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-tabs-focus-focus-ring-color","",d.borderActionFocusRing)};var dd={fieldHorizontalPadding:t.extend("--ft-text-input-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:t.extend("--ft-text-input-field-horizontal-gap","",c.spacing3),fieldVerticalGap:t.extend("--ft-text-input-field-vertical-gap","",c.spacing05),fieldIconSize:t.extend("--ft-text-input-field-icon-size","",c.iconSize3),fieldHeight:t.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:t.extend("--ft-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:t.extend("--ft-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:t.extend("--ft-text-input-helper-icon-size","",c.iconSize2),borderRadius:t.extend("--ft-text-input-border-radius","",c.borderRadiusM),backgroundColor:t.extend("--ft-text-input-background-color","",c.colorWhite),contentValueColor:t.extend("--ft-text-input-content-value-color","",d.contentGlobalPrimary),trailingIconColor:t.extend("--ft-text-input-trailing-icon-color","",d.contentGlobalSubtle),labelColor:t.extend("--ft-text-input-label-color","",d.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-input-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-input-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-text-input-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-input-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-input-error-helper-icon-color","",d.contentErrorIconOnly),warningBorderWidth:t.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:t.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-text-input-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:t.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-text-input-disabled-component-opacity","",c.opacity40)};var hd={backgroundColor:t.extend("--ft-text-area-background-color","",c.colorWhite),contentValueColor:t.extend("--ft-text-area-content-value-color","",d.contentGlobalPrimary),labelColor:t.extend("--ft-text-area-label-color","",d.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-area-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-area-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-text-area-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-area-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-area-error-helper-icon-color","",d.contentErrorIconOnly),focusFocusRingColor:t.extend("--ft-text-area-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:t.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:t.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:t.extend("--ft-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:t.extend("--ft-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:t.extend("--ft-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:t.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:t.extend("--ft-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:t.extend("--ft-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:t.extend("--ft-text-area-helper-icon-size","",c.iconSize2),borderRadius:t.extend("--ft-text-area-border-radius","",c.borderRadiusM)};var vd={height:t.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:t.extend("--ft-floating-menu-horizontal-padding","",c.spacing4),offIconColor:t.extend("--ft-floating-menu-off-icon-color","",d.contentGlobalPrimary),offColor:t.extend("--ft-floating-menu-off-color","",d.contentGlobalPrimary),onColor:t.extend("--ft-floating-menu-on-color","",d.contentActionPrimary),onStateLayerColor:t.extend("--ft-floating-menu-on-state-layer-color","",d.contentActionPrimary),gap:t.extend("--ft-floating-menu-gap","",c.spacing3),focusFocusRingColor:t.extend("--ft-floating-menu-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:t.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:t.extend("--ft-floating-menu-focus-state-layer-opacity","",c.opacity8),hoverStateLayerOpacity:t.extend("--ft-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:t.extend("--ft-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:t.extend("--ft-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:t.extend("--ft-floating-menu-icon-size","",c.iconSize3),backgroundColor:t.extend("--ft-floating-menu-background-color","",d.backgroundGlobalOnSurface),shadow:t.extend("--ft-floating-menu-shadow","",c.shadowElevation02)};var Ed={fieldHorizontalPadding:t.extend("--ft-combobox-single-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-single-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:t.extend("--ft-combobox-single-select-field-vertical-gap","",c.spacing05),fieldIconSize:t.extend("--ft-combobox-single-select-field-icon-size","",c.iconSize3),fieldHeight:t.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:t.extend("--ft-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:t.extend("--ft-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:t.extend("--ft-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:t.extend("--ft-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:t.extend("--ft-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:t.extend("--ft-combobox-single-select-border-radius","",c.borderRadiusM),backgroundColor:t.extend("--ft-combobox-single-select-background-color","",c.colorWhite),labelColor:t.extend("--ft-combobox-single-select-label-color","",d.contentGlobalSubtle),contentValueColor:t.extend("--ft-combobox-single-select-content-value-color","",d.contentGlobalPrimary),trailingIconColor:t.extend("--ft-combobox-single-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-single-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-single-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-combobox-single-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-single-select-error-helper-text-color","",d.contentErrorPrimary),warningBorderWidth:t.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-single-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-single-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-single-select-warning-helper-icon-color","",d.contentWarningIconOnly),focusOutlineWidth:t.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-single-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:t.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-combobox-single-select-disabled-component-opacity","",c.opacity40)};var Pd={backgroundColor:t.extend("--ft-combobox-multi-select-background-color","",c.colorWhite),labelColor:t.extend("--ft-combobox-multi-select-label-color","",d.contentGlobalSubtle),trailingIconColor:t.extend("--ft-combobox-multi-select-trailing-icon-color","",d.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-multi-select-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-multi-select-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:t.extend("--ft-combobox-multi-select-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-multi-select-error-helper-text-color","",d.contentErrorPrimary),errorHelperIcon:t.extend("--ft-combobox-multi-select-error-helper-icon","",d.contentErrorIconOnly),errorBorderWidth:t.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-multi-select-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-multi-select-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-multi-select-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:t.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-multi-select-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:t.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:t.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-combobox-multi-select-disabled-component-opacity","",c.opacity40),helperHorizontalPadding:t.extend("--ft-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:t.extend("--ft-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:t.extend("--ft-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:t.extend("--ft-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:t.extend("--ft-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:t.extend("--ft-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:t.extend("--ft-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:t.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:t.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:t.extend("--ft-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:t.extend("--ft-combobox-multi-select-border-radius","",c.borderRadiusM)};var Bd={backgroundColor:t.extend("--ft-popover-background-color","",d.backgroundGlobalOnSurface),horizontalPadding:t.extend("--ft-popover-horizontal-padding","",c.spacing6),verticalPadding:t.extend("--ft-popover-vertical-padding","",c.spacing6),titleColor:t.extend("--ft-popover-title-color","",d.contentGlobalPrimary),bodyColor:t.extend("--ft-popover-body-color","",d.contentGlobalSecondary),linkColor:t.extend("--ft-popover-link-color","",d.contentActionPrimary),gap:t.extend("--ft-popover-gap","",c.spacing3),borderRadius:t.extend("--ft-popover-border-radius","",c.borderRadiusM),shadow:t.extend("--ft-popover-shadow","",c.shadowElevation02),maxWidth:t.create("--ft-popover-max-width","","SIZE","440px")};var Md={hoverStateLayerOpacity:t.extend("--ft-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:t.extend("--ft-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:t.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:t.extend("--ft-collapsible-focus-focus-ring-color","",d.borderActionFocusRing),activeStateLayerOpacity:t.extend("--ft-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:t.extend("--ft-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:t.extend("--ft-collapsible-horizontal-padding","",c.spacing4),verticalPadding:t.extend("--ft-collapsible-vertical-padding","",c.spacing3),color:t.extend("--ft-collapsible-color","",d.contentGlobalPrimary),stateLayerColor:t.extend("--ft-collapsible-state-layer-color","",d.contentGlobalPrimary),backgroundColor:t.extend("--ft-collapsible-background-color","",d.backgroundGlobalOnSurface),borderColor:t.extend("--ft-collapsible-border-color","",d.borderGlobalSubtle),iconSize:t.extend("--ft-collapsible-icon-size","",c.iconSize3)};var jd={groupHorizontalPadding:t.extend("--ft-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:t.extend("--ft-switch-group-vertical-padding","",c.spacing1),groupGap:t.extend("--ft-switch-group-gap","",c.spacing1),groupBackgroundColor:t.extend("--ft-switch-group-background-color","",d.backgroundGlobalSurface),groupBorderColor:t.extend("--ft-switch-group-border-color","",d.borderGlobalSubtle),groupBorderRadius:t.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:t.extend("--ft-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:t.extend("--ft-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:t.extend("--ft-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:t.extend("--ft-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:t.extend("--ft-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:t.extend("--ft-switch-off-disabled-component-opacity","",c.opacity40),offColor:t.extend("--ft-switch-off-color","",d.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-switch-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:t.extend("--ft-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:t.extend("--ft-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:t.extend("--ft-switch-on-disabled-component-opacity","",c.opacity40),onColor:t.extend("--ft-switch-on-color","",d.contentActionPrimary),onStateLayerColor:t.extend("--ft-switch-on-state-layer-color","",d.contentActionPrimary),iconHorizontalPadding:t.extend("--ft-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:t.extend("--ft-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:t.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-switch-focus-focus-ring-color","",d.borderActionFocusRing),optionBorderRadius:t.extend("--ft-switch-option-border-radius","",c.borderRadiusS)};var Yd={color1Light:t.extend("--ft-chart-1-light","for area color charts",c.colorBrand40),color1Base:t.extend("--ft-chart-1-base","for line charts",c.colorBrand0),color2Light:t.extend("--ft-chart-2-light","for area color charts",c.colorYellow60),color2Base:t.extend("--ft-chart-2-base","for line charts",c.colorYellow100),color3Light:t.extend("--ft-chart-3-light","",c.colorUltramarine40),color3Base:t.extend("--ft-chart-3-base","",c.colorUltramarine70),color4Light:t.extend("--ft-chart-4-light","",c.colorCyan50),color4Base:t.extend("--ft-chart-4-base","",c.colorCyan100),color5Light:t.extend("--ft-chart-5-light","",c.colorRed40),color5Base:t.extend("--ft-chart-5-base","",c.colorRed60),color6Light:t.extend("--ft-chart-6-light","",c.colorGreen40),color6Base:t.extend("--ft-chart-6-base","",c.colorGreen70),color7Light:t.extend("--ft-chart-7-light","",c.colorOrange70),color7Base:t.extend("--ft-chart-7-base","",c.colorOrange100),color8Light:t.extend("--ft-chart-8-light","",c.colorAvocado70),color8Base:t.extend("--ft-chart-8-base","",c.colorAvocado200),color9Light:t.extend("--ft-chart-9-light","",c.colorBrown50),color9Base:t.extend("--ft-chart-9-base","",c.colorBrown200),color10Light:t.extend("--ft-chart-10-light","",c.colorGray50),color10Base:t.extend("--ft-chart-10-base","",c.colorGray80),monochrome10:t.extend("--ft-chart-monochrome-10","",c.colorBrand10),monochrome20:t.extend("--ft-chart-monochrome-20","",c.colorBrand20),monochrome30:t.extend("--ft-chart-monochrome-30","",c.colorBrand40),monochrome40:t.extend("--ft-chart-monochrome-40","",c.colorBrand60),monochrome50:t.extend("--ft-chart-monochrome-50","",c.colorBrand0),monochrome60:t.extend("--ft-chart-monochrome-60","",c.colorBrand200)};var Qd={color1IconColor:t.extend("--ft-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:t.extend("--ft-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:t.extend("--ft-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:t.extend("--ft-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:t.extend("--ft-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:t.extend("--ft-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:t.extend("--ft-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:t.extend("--ft-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:t.extend("--ft-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:t.extend("--ft-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:t.extend("--ft-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:t.extend("--ft-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:t.extend("--ft-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:t.extend("--ft-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:t.extend("--ft-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:t.extend("--ft-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)};var nf={borderWidth:t.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:t.extend("--ft-notice-horizontal-padding","",c.spacing3),verticalPadding:t.extend("--ft-notice-vertical-padding","",c.spacing2),borderRadius:t.extend("--ft-notice-border-radius","",c.borderRadiusS),gap:t.extend("--ft-notice-gap","",c.spacing2),iconSize:t.extend("--ft-notice-icon-size","",c.iconSize3),infoBackgroundColor:t.extend("--ft-notice-info-background-color","",d.backgroundInfoSubtle),infoBorderColor:t.extend("--ft-notice-info-border-color","",d.borderInfoSubtle),infoColor:t.extend("--ft-notice-info-color","",d.contentInfoPrimary),infoIconColor:t.extend("--ft-notice-info-icon-color","",d.contentInfoIconOnly),warningBackgroundColor:t.extend("--ft-notice-warning-background-color","",d.backgroundWarningSubtle),warningBorderColor:t.extend("--ft-notice-warning-border-color","",d.borderWarningSubtle),warningColor:t.extend("--ft-notice-warning-color","",d.contentWarningPrimary),warningIconColor:t.extend("--ft-notice-warning-icon-color","",d.contentWarningIconOnly),errorBackgroundColor:t.extend("--ft-notice-error-background-color","",d.backgroundErrorSubtle),errorBorderColor:t.extend("--ft-notice-error-border-color","",d.borderErrorSubtle),errorColor:t.extend("--ft-notice-error-color","",d.contentErrorPrimary),errorIconColor:t.extend("--ft-notice-error-icon-color","",d.contentErrorIconOnly),successBackgroundColor:t.extend("--ft-notice-success-background-color","",d.backgroundSuccessSubtle),successBorderColor:t.extend("--ft-notice-success-border-color","",d.borderSuccessSubtle),successColor:t.extend("--ft-notice-success-color","",d.contentSuccessPrimary),successIconColor:t.extend("--ft-notice-success-icon-color","",d.contentSuccessIconOnly)};var df={color:t.extend("--ft-checkbox-color","",d.contentGlobalPrimary),checkedBackgroundColor:t.extend("--ft-checkbox-checked-background-color","",d.contentActionPrimary),checkedStateLayerColor:t.extend("--ft-checkbox-checked-state-layer-color","",d.contentActionPrimary),checkedIconColor:t.extend("--ft-checkbox-checked-icon-color","",d.contentGlobalOnColor),checkedHoverStateLayerOpacity:t.extend("--ft-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:t.extend("--ft-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:t.extend("--ft-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:t.extend("--ft-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:t.extend("--ft-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:t.extend("--ft-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:t.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:t.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:t.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:t.extend("--ft-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:t.extend("--ft-checkbox-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:t.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:t.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:t.extend("--ft-checkbox-gap","",c.spacing3)};var hf={offHoverStateLayerOpacity:t.extend("--ft-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:t.extend("--ft-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:t.extend("--ft-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:t.extend("--ft-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:t.extend("--ft-toggle-off-background-color","",d.contentGlobalSubtle),offIconColor:t.extend("--ft-toggle-off-icon-color","",d.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-toggle-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:t.extend("--ft-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:t.extend("--ft-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:t.extend("--ft-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:t.extend("--ft-toggle-on-background-color","",d.contentActionPrimary),onStateLayerColor:t.extend("--ft-toggle-on-state-layer-color","",d.contentActionPrimary),onIconColor:t.extend("--ft-toggle-on-icon-color","",d.contentActionPrimary),color:t.extend("--ft-toggle-color","",d.contentGlobalPrimary),focusFocusRingColor:t.extend("--ft-toggle-focus-focus-ring-color","",d.borderActionFocusRing),gap:t.extend("--ft-toggle-gap","",c.spacing3)};var vf={color:t.extend("--ft-radio-color","",d.contentGlobalPrimary),selectedRadioColor:t.extend("--ft-radio-selected-radio-color","",d.contentActionPrimary),selectedStateLayerColor:t.extend("--ft-radio-selected-state-layer-color","",d.contentActionPrimary),selectedHoverStateLayerOpacity:t.extend("--ft-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:t.extend("--ft-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:t.extend("--ft-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:t.extend("--ft-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:t.extend("--ft-radio-unselected-state-layer-color","",d.borderInputPrimary),unselectedBorderColor:t.extend("--ft-radio-unselected-border-color","",d.borderInputPrimary),unselectedHoverStateLayerOpacity:t.extend("--ft-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:t.extend("--ft-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:t.extend("--ft-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:t.extend("--ft-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:t.extend("--ft-radio-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:t.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:t.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:t.extend("--ft-radio-gap","",c.spacing3)};var Ef={iconSize:t.extend("--ft-notification-icon-size","",c.iconSize4),leftPadding:t.extend("--ft-notification-left-padding","",c.spacing5),rightPadding:t.extend("--ft-notification-right-padding","",c.spacing4),verticalPadding:t.extend("--ft-notification-vertical-padding","",c.spacing3),infoBackgroundColor:t.extend("--ft-notification-info-background-color","",d.backgroundInfoSubtle),infoColor:t.extend("--ft-notification-info-color","",d.contentInfoPrimary),infoIconColor:t.extend("--ft-notification-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:t.extend("--ft-notification-info-border-color","",d.borderInfoSubtle),successBackgroundColor:t.extend("--ft-notification-success-background-color","",d.backgroundSuccessSubtle),successColor:t.extend("--ft-notification-success-color","",d.contentSuccessPrimary),successIconColor:t.extend("--ft-notification-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:t.extend("--ft-notification-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-notification-warning-background-color","",d.backgroundWarningSubtle),warningColor:t.extend("--ft-notification-warning-color","",d.contentWarningPrimary),warningIconColor:t.extend("--ft-notification-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:t.extend("--ft-notification-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-notification-error-background-color","",d.backgroundErrorSubtle),errorColor:t.extend("--ft-notification-error-color","",d.contentErrorPrimary),errorIconColor:t.extend("--ft-notification-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:t.extend("--ft-notification-error-border-color","",d.borderErrorSubtle),borderRadius:t.extend("--ft-notification-border-radius","",c.borderRadiusPill),borderWidth:t.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:t.extend("--ft-notification-leading-gap","",c.spacing2),trailingGap:t.extend("--ft-notification-trailing-gap","",c.spacing8)};var Pf={horizontalPadding:t.extend("--ft-tooltip-horizontal-padding","",c.spacing2),verticalPadding:t.extend("--ft-tooltip-vertical-padding","",c.spacing2),borderRadius:t.extend("--ft-tooltip-border-radius","",c.borderRadiusS),color:t.extend("--ft-tooltip-color","",d.contentGlobalOnColor),backgroundColor:t.extend("--ft-tooltip-background-color","",d.contentGlobalPrimary),backgroundOpacity:t.extend("--ft-tooltip-background-opacity","",c.opacity80),shadow:t.extend("--ft-tooltip-shadow","",c.shadowElevation02),maxWidth:t.create("--ft-tooltip-max-width","","SIZE","256px"),gap:t.extend("--ft-tooltip-gap","",c.spacing05)};var fo;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(fo||(fo={}));var ct;(function(e){e.large="large",e.medium="medium",e.small="small"})(ct||(ct={}));var er=S(k());var zn=[Dn.css`
|
|
3
|
+
|
|
4
|
+
.ftds--size-small [part=dialog] {
|
|
5
|
+
--ftds-modal--target-width: ${D.smallContainerTargetWidth};
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.ftds--size-medium [part=dialog] {
|
|
9
|
+
--ftds-modal--target-width: ${D.mediumContainerTargetWidth};
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.ftds--size-large [part=dialog] {
|
|
13
|
+
--ftds-modal--target-width: ${D.largeContainerTargetWidth};
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
[part=dialog] {
|
|
17
|
+
padding: 0;
|
|
18
|
+
border: none;
|
|
19
|
+
box-shadow: ${D.shadow};
|
|
20
|
+
border-radius: ${D.borderRadius};
|
|
21
|
+
width: var(--ftds-modal--target-width);
|
|
22
|
+
margin:
|
|
23
|
+
auto
|
|
24
|
+
max(
|
|
25
|
+
${er.foundation.spacing6},
|
|
26
|
+
calc((100% - var(--ftds-modal--target-width)) / 2)
|
|
27
|
+
);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
::backdrop {
|
|
31
|
+
background-color: rgba(from ${D.overlayBackgroundColor} r g b / ${D.overlayOpacity});
|
|
32
|
+
border-radius: unset;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
[part=header] {
|
|
36
|
+
padding: ${D.headerVerticalPadding} ${D.headerRightPadding} ${D.headerVerticalPadding} ${D.headerLeftPadding};
|
|
37
|
+
display: flex;
|
|
38
|
+
align-items: center;
|
|
39
|
+
gap: ${D.headerGap};
|
|
40
|
+
border-color: ${D.headerBorderColor};
|
|
41
|
+
border-bottom-width: ${D.headerBorderBottomWidth};
|
|
42
|
+
border-bottom-style: solid;
|
|
43
|
+
color: ${D.headerColor};
|
|
44
|
+
background-color: ${D.headerBackgroundColor};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
[part=heading] {
|
|
48
|
+
flex-grow: 1;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
[part=icon] {
|
|
52
|
+
color: ${D.headerLeadingIconColor};
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
[part=closing-button] {
|
|
56
|
+
justify-self: flex-end;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
[part=body] {
|
|
60
|
+
padding: ${D.bodyVerticalPadding} ${D.bodyHorizontalPadding};
|
|
61
|
+
display: flex;
|
|
62
|
+
flex-direction: column;
|
|
63
|
+
gap: ${D.bodyVerticalGap};
|
|
64
|
+
color: ${D.bodyColor};
|
|
65
|
+
background-color: ${D.bodyBackgroundColor};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
[part=actions] {
|
|
69
|
+
align-self: flex-end;
|
|
70
|
+
display: flex;
|
|
71
|
+
gap: ${er.foundation.spacing3}
|
|
72
|
+
}
|
|
73
|
+
`];var Cr=S(k());var qe=S(Z()),vi=S(k());var ua=S(_()),P=S(k());var jn=S(_()),F=S(k()),Mn=F.FtCssVariableFactory.extend("--ft-ripple-color","",F.designSystemVariables.colorContent),O={color:Mn,backgroundColor:F.FtCssVariableFactory.extend("--ft-ripple-background-color","",Mn),opacityContentOnSurfacePressed:F.FtCssVariableFactory.external(F.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:F.FtCssVariableFactory.external(F.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:F.FtCssVariableFactory.external(F.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:F.FtCssVariableFactory.external(F.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:F.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},Un=F.FtCssVariableFactory.extend("--ft-ripple-color","",F.designSystemVariables.colorPrimary),Hn={color:Un,backgroundColor:F.FtCssVariableFactory.extend("--ft-ripple-background-color","",Un)},Fn=F.FtCssVariableFactory.extend("--ft-ripple-color","",F.designSystemVariables.colorSecondary),Gn={color:Fn,backgroundColor:F.FtCssVariableFactory.extend("--ft-ripple-background-color","",Fn)},Kn=jn.css`
|
|
74
|
+
:host {
|
|
75
|
+
display: contents;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.ft-ripple {
|
|
79
|
+
position: absolute;
|
|
80
|
+
inset: 0;
|
|
81
|
+
pointer-events: none;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
85
|
+
overflow: hidden;
|
|
86
|
+
border-radius: ${O.borderRadius};
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.ft-ripple .ft-ripple--background,
|
|
90
|
+
.ft-ripple .ft-ripple--effect {
|
|
91
|
+
position: absolute;
|
|
92
|
+
opacity: 0;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.ft-ripple .ft-ripple--effect {
|
|
96
|
+
aspect-ratio: 1;
|
|
97
|
+
width: auto;
|
|
98
|
+
height: auto;
|
|
99
|
+
min-width: 170%;
|
|
100
|
+
min-height: 170%;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.ft-ripple .ft-ripple--background{
|
|
104
|
+
width: 100%;
|
|
105
|
+
height: 100%;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.ft-ripple.ft-ripple--unbounded .ft-ripple--effect,
|
|
109
|
+
.ft-ripple.ft-ripple--unbounded .ft-ripple--background {
|
|
110
|
+
aspect-ratio: 1;
|
|
111
|
+
width: auto;
|
|
112
|
+
height: auto;
|
|
113
|
+
max-width: unset;
|
|
114
|
+
max-height: unset;
|
|
115
|
+
min-width: 100%;
|
|
116
|
+
min-height: 100%;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.ft-ripple .ft-ripple--background {
|
|
120
|
+
background-color: ${O.backgroundColor};
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.ft-ripple .ft-ripple--effect {
|
|
124
|
+
background-color: ${O.color};
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
128
|
+
background-color: ${Gn.backgroundColor};
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
132
|
+
background-color: ${Gn.color};
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
136
|
+
background-color: ${Hn.backgroundColor};
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
140
|
+
background-color: ${Hn.color};
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.ft-ripple .ft-ripple--background {
|
|
144
|
+
top: 0;
|
|
145
|
+
left: 0;
|
|
146
|
+
transition: opacity 75ms linear;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.ft-ripple .ft-ripple--effect,
|
|
150
|
+
.ft-ripple.ft-ripple--unbounded .ft-ripple--background {
|
|
151
|
+
border-radius: 50%;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.ft-ripple .ft-ripple--effect {
|
|
155
|
+
transform: translate(-50%, -50%) scale(0.15);
|
|
156
|
+
transition: transform 300ms ease, opacity 75ms linear;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.ft-ripple.ft-ripple--unbounded .ft-ripple--effect,
|
|
160
|
+
.ft-ripple.ft-ripple--unbounded .ft-ripple--background {
|
|
161
|
+
left: 50%;
|
|
162
|
+
top: 50%;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.ft-ripple.ft-ripple--unbounded .ft-ripple--background {
|
|
166
|
+
transform: translate(-50%, -50%);
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
170
|
+
opacity: ${O.opacityContentOnSurfaceHover};
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
174
|
+
opacity: ${O.opacityContentOnSurfaceSelected};
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
178
|
+
opacity: ${O.opacityContentOnSurfaceFocused};
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
182
|
+
opacity: ${O.opacityContentOnSurfacePressed};
|
|
183
|
+
transform: translate(-50%, -50%) scale(1);
|
|
184
|
+
}
|
|
185
|
+
`;var ut=S(_()),w=S(k());var po=S(_());function Zn(e){let o=so[e];return po.css`
|
|
186
|
+
.ft-typography--${(0,po.unsafeCSS)(e)} {
|
|
187
|
+
font-family: ${o.fontFamily};
|
|
188
|
+
font-size: ${o.fontSize};
|
|
189
|
+
font-weight: ${o.fontWeight};
|
|
190
|
+
letter-spacing: ${o.letterSpacing};
|
|
191
|
+
line-height: ${o.lineHeight};
|
|
192
|
+
text-transform: ${o.textCase};
|
|
193
|
+
}
|
|
194
|
+
`}var Vn=w.FtCssVariableFactory.extend("--ft-typography-font-family","",w.designSystemVariables.titleFont),Lt=w.FtCssVariableFactory.extend("--ft-typography-font-family","",w.designSystemVariables.contentFont),A={fontFamily:Lt,fontSize:w.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:w.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:w.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:w.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:w.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},ue={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Vn),fontSize:w.FtCssVariableFactory.extend("--ft-typography-title-font-size","",A.fontSize,"20px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",A.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",A.letterSpacing,"0.15px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-title-line-height","",A.lineHeight,"1.2"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",A.textTransform,"inherit")},ye={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Vn),fontSize:w.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",A.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",A.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",A.letterSpacing,"0.105px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",A.lineHeight,"1.7"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",A.textTransform,"inherit")},he={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",Lt),fontSize:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",A.fontSize,"16px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",A.fontWeight,"600"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",A.letterSpacing,"0.144px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",A.lineHeight,"1.5"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",A.textTransform,"inherit")},me={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",Lt),fontSize:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",A.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",A.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",A.letterSpacing,"0.098px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",A.lineHeight,"1.7"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",A.textTransform,"inherit")},ge={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",Lt),fontSize:w.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",A.fontSize,"16px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",A.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",A.letterSpacing,"0.496px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",A.lineHeight,"1.5"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",A.textTransform,"inherit")},be={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",Lt),fontSize:w.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",A.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",A.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",A.letterSpacing,"0.252px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",A.lineHeight,"1.4"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",A.textTransform,"inherit")},xe={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",Lt),fontSize:w.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",A.fontSize,"12px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",A.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",A.letterSpacing,"0.396px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",A.lineHeight,"1.33"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",A.textTransform,"inherit")},ve={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",Lt),fontSize:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",A.fontSize,"10px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",A.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",A.letterSpacing,"0.33px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",A.lineHeight,"1.6"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",A.textTransform,"inherit")},Se={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",Lt),fontSize:w.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",A.fontSize,"10px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",A.fontWeight,"normal"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",A.letterSpacing,"1.5px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",A.lineHeight,"1.6"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",A.textTransform,"uppercase")},Ct={fontFamily:w.FtCssVariableFactory.extend("--ft-typography-button-font-family","",Lt),fontSize:w.FtCssVariableFactory.extend("--ft-typography-button-font-size","",A.fontSize,"14px"),fontWeight:w.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",A.fontWeight,"600"),letterSpacing:w.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",A.letterSpacing,"1.246px"),lineHeight:w.FtCssVariableFactory.extend("--ft-typography-button-line-height","",A.lineHeight,"1.15"),textTransform:w.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",A.textTransform,"uppercase")},Yn=ut.css`
|
|
195
|
+
.ft-typography--title {
|
|
196
|
+
font-family: ${ue.fontFamily};
|
|
197
|
+
font-size: ${ue.fontSize};
|
|
198
|
+
font-weight: ${ue.fontWeight};
|
|
199
|
+
letter-spacing: ${ue.letterSpacing};
|
|
200
|
+
line-height: ${ue.lineHeight};
|
|
201
|
+
text-transform: ${ue.textTransform};
|
|
202
|
+
}
|
|
203
|
+
`,qn=ut.css`
|
|
204
|
+
.ft-typography--title-dense {
|
|
205
|
+
font-family: ${ye.fontFamily};
|
|
206
|
+
font-size: ${ye.fontSize};
|
|
207
|
+
font-weight: ${ye.fontWeight};
|
|
208
|
+
letter-spacing: ${ye.letterSpacing};
|
|
209
|
+
line-height: ${ye.lineHeight};
|
|
210
|
+
text-transform: ${ye.textTransform};
|
|
211
|
+
}
|
|
212
|
+
`,Xn=ut.css`
|
|
213
|
+
.ft-typography--subtitle1 {
|
|
214
|
+
font-family: ${he.fontFamily};
|
|
215
|
+
font-size: ${he.fontSize};
|
|
216
|
+
font-weight: ${he.fontWeight};
|
|
217
|
+
letter-spacing: ${he.letterSpacing};
|
|
218
|
+
line-height: ${he.lineHeight};
|
|
219
|
+
text-transform: ${he.textTransform};
|
|
220
|
+
}
|
|
221
|
+
`,Jn=ut.css`
|
|
222
|
+
.ft-typography--subtitle2 {
|
|
223
|
+
font-family: ${me.fontFamily};
|
|
224
|
+
font-size: ${me.fontSize};
|
|
225
|
+
font-weight: ${me.fontWeight};
|
|
226
|
+
letter-spacing: ${me.letterSpacing};
|
|
227
|
+
line-height: ${me.lineHeight};
|
|
228
|
+
text-transform: ${me.textTransform};
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
`,Qn=ut.css`
|
|
232
|
+
.ft-typography--body1 {
|
|
233
|
+
font-family: ${ge.fontFamily};
|
|
234
|
+
font-size: ${ge.fontSize};
|
|
235
|
+
font-weight: ${ge.fontWeight};
|
|
236
|
+
letter-spacing: ${ge.letterSpacing};
|
|
237
|
+
line-height: ${ge.lineHeight};
|
|
238
|
+
text-transform: ${ge.textTransform};
|
|
239
|
+
}
|
|
240
|
+
`,ta=ut.css`
|
|
241
|
+
.ft-typography--body2 {
|
|
242
|
+
font-family: ${be.fontFamily};
|
|
243
|
+
font-size: ${be.fontSize};
|
|
244
|
+
font-weight: ${be.fontWeight};
|
|
245
|
+
letter-spacing: ${be.letterSpacing};
|
|
246
|
+
line-height: ${be.lineHeight};
|
|
247
|
+
text-transform: ${be.textTransform};
|
|
248
|
+
}
|
|
249
|
+
`,ea=ut.css`
|
|
250
|
+
.ft-typography--caption {
|
|
251
|
+
font-family: ${xe.fontFamily};
|
|
252
|
+
font-size: ${xe.fontSize};
|
|
253
|
+
font-weight: ${xe.fontWeight};
|
|
254
|
+
letter-spacing: ${xe.letterSpacing};
|
|
255
|
+
line-height: ${xe.lineHeight};
|
|
256
|
+
text-transform: ${xe.textTransform};
|
|
257
|
+
}
|
|
258
|
+
`,oa=ut.css`
|
|
259
|
+
.ft-typography--breadcrumb {
|
|
260
|
+
font-family: ${ve.fontFamily};
|
|
261
|
+
font-size: ${ve.fontSize};
|
|
262
|
+
font-weight: ${ve.fontWeight};
|
|
263
|
+
letter-spacing: ${ve.letterSpacing};
|
|
264
|
+
line-height: ${ve.lineHeight};
|
|
265
|
+
text-transform: ${ve.textTransform};
|
|
266
|
+
}
|
|
267
|
+
`,ra=ut.css`
|
|
268
|
+
.ft-typography--overline {
|
|
269
|
+
font-family: ${Se.fontFamily};
|
|
270
|
+
font-size: ${Se.fontSize};
|
|
271
|
+
font-weight: ${Se.fontWeight};
|
|
272
|
+
letter-spacing: ${Se.letterSpacing};
|
|
273
|
+
line-height: ${Se.lineHeight};
|
|
274
|
+
text-transform: ${Se.textTransform};
|
|
275
|
+
}
|
|
276
|
+
`,na=ut.css`
|
|
277
|
+
.ft-typography--button {
|
|
278
|
+
font-family: ${Ct.fontFamily};
|
|
279
|
+
font-size: ${Ct.fontSize};
|
|
280
|
+
font-weight: ${Ct.fontWeight};
|
|
281
|
+
letter-spacing: ${Ct.letterSpacing};
|
|
282
|
+
line-height: ${Ct.lineHeight};
|
|
283
|
+
text-transform: ${Ct.textTransform};
|
|
284
|
+
}
|
|
285
|
+
`,aa=ut.css`
|
|
286
|
+
.ft-typography {
|
|
287
|
+
vertical-align: inherit;
|
|
288
|
+
}
|
|
289
|
+
`,ia=[Object.keys(so).map(e=>Zn(e))];var ca=S(_()),_e=S(k()),B={color:_e.FtCssVariableFactory.extend("--ft-loader-color","",_e.designSystemVariables.colorPrimary),size:_e.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},la=ca.css`
|
|
290
|
+
:host {
|
|
291
|
+
line-height: 0;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
.ft-loader {
|
|
295
|
+
display: inline-block;
|
|
296
|
+
position: relative;
|
|
297
|
+
|
|
298
|
+
width: ${B.size};
|
|
299
|
+
height: ${B.size};
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
.ft-loader div {
|
|
303
|
+
position: absolute;
|
|
304
|
+
top: 37.5%;
|
|
305
|
+
width: 25%;
|
|
306
|
+
height: 25%;
|
|
307
|
+
border-radius: 50%;
|
|
308
|
+
background: ${B.color};
|
|
309
|
+
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
.ft-loader div:nth-child(1) {
|
|
313
|
+
left: 2.5%;
|
|
314
|
+
animation: appear 0.6s infinite;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
.ft-loader div:nth-child(2) {
|
|
318
|
+
left: 2.5%;
|
|
319
|
+
animation: move 0.6s infinite;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
.ft-loader div:nth-child(3) {
|
|
323
|
+
left: 37.5%;
|
|
324
|
+
animation: move 0.6s infinite;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
.ft-loader div:nth-child(4) {
|
|
328
|
+
left: 72.5%;
|
|
329
|
+
animation: disappear 0.6s infinite;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
@keyframes appear {
|
|
333
|
+
0% {
|
|
334
|
+
transform: scale(0);
|
|
335
|
+
}
|
|
336
|
+
100% {
|
|
337
|
+
transform: scale(1);
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
@keyframes disappear {
|
|
342
|
+
0% {
|
|
343
|
+
transform: scale(1);
|
|
344
|
+
}
|
|
345
|
+
100% {
|
|
346
|
+
transform: scale(0);
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
@keyframes move {
|
|
351
|
+
0% {
|
|
352
|
+
transform: translate(0, 0);
|
|
353
|
+
}
|
|
354
|
+
100% {
|
|
355
|
+
transform: translate(calc(0.35 * ${B.size}), 0);
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
`;var sa=S(_()),Pt=S(k()),X={size:Pt.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Pt.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",Pt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Pt.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",Pt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Pt.FtCssVariableFactory.extend("--ft-icon-material-font-family","",Pt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Pt.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},da=sa.css`
|
|
359
|
+
:host, i.ft-icon {
|
|
360
|
+
display: inline-flex;
|
|
361
|
+
align-items: center;
|
|
362
|
+
flex-shrink: 0;
|
|
363
|
+
flex-grow: 0;
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
:host {
|
|
367
|
+
width: ${X.size};
|
|
368
|
+
height: ${X.size};
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
i.ft-icon {
|
|
372
|
+
width: 100%;
|
|
373
|
+
height: 100%;
|
|
374
|
+
font-size: ${X.size};
|
|
375
|
+
line-height: 1;
|
|
376
|
+
font-weight: normal;
|
|
377
|
+
text-transform: none;
|
|
378
|
+
font-style: normal;
|
|
379
|
+
font-variant: normal;
|
|
380
|
+
speak: none;
|
|
381
|
+
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
|
|
382
|
+
text-rendering: auto;
|
|
383
|
+
-webkit-font-smoothing: antialiased;
|
|
384
|
+
-moz-osx-font-smoothing: grayscale;
|
|
385
|
+
vertical-align: ${X.verticalAlign};
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
i.ft-icon.ft-icon--fluid-topics {
|
|
389
|
+
font-family: ${X.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
390
|
+
|
|
391
|
+
/* Ugly fix because font is broken */
|
|
392
|
+
font-size: calc(0.75 * ${X.size});
|
|
393
|
+
line-height: ${X.size};
|
|
394
|
+
position: relative;
|
|
395
|
+
top: -4%;
|
|
396
|
+
justify-content: center;
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
.ft-icon--file-format {
|
|
400
|
+
font-family: ${X.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
.ft-icon--material {
|
|
404
|
+
font-family: ${X.materialFontFamily}, "Material Icons", sans-serif;
|
|
405
|
+
}
|
|
406
|
+
`;var fa=P.FtCssVariableFactory.extend("--ft-button-color","",P.designSystemVariables.colorPrimary),j={backgroundColor:P.FtCssVariableFactory.extend("--ft-button-background-color","",P.designSystemVariables.colorSurface),borderRadius:P.FtCssVariableFactory.extend("--ft-button-border-radius","",P.designSystemVariables.borderRadiusL),color:fa,fontSize:P.FtCssVariableFactory.extend("--ft-button-font-size","",Ct.fontSize),iconSize:P.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:P.FtCssVariableFactory.extend("--ft-button-ripple-color","",fa),verticalPadding:P.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:P.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:P.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:P.FtCssVariableFactory.external(P.designSystemVariables.colorOpacityDisabled,"Design system")},pa=P.FtCssVariableFactory.extend("--ft-button-primary-color","",P.FtCssVariableFactory.extend("--ft-button-color","",P.designSystemVariables.colorOnPrimary)),or={backgroundColor:P.FtCssVariableFactory.extend("--ft-button-primary-background-color","",P.FtCssVariableFactory.extend("--ft-button-background-color","",P.designSystemVariables.colorPrimary)),color:pa,rippleColor:P.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",pa)},wt={borderRadius:P.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",P.FtCssVariableFactory.extend("--ft-button-border-radius","",P.designSystemVariables.borderRadiusM)),verticalPadding:P.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:P.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:P.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},ya=[ua.css`
|
|
407
|
+
:host {
|
|
408
|
+
display: inline-block;
|
|
409
|
+
max-width: 100%;
|
|
410
|
+
pointer-events: none;
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
button {
|
|
414
|
+
box-shadow: 0px 0px 0px transparent;
|
|
415
|
+
border: 0px solid transparent;
|
|
416
|
+
text-shadow: 0px 0px 0px transparent;
|
|
417
|
+
font-size: ${j.fontSize};
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
button:hover {
|
|
421
|
+
box-shadow: 0px 0px 0px transparent;
|
|
422
|
+
border: 0px solid transparent;
|
|
423
|
+
text-shadow: 0px 0px 0px transparent;
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
button:active {
|
|
427
|
+
outline: none;
|
|
428
|
+
border: none;
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
button:focus {
|
|
432
|
+
outline: 0;
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
.ft-button {
|
|
436
|
+
position: relative;
|
|
437
|
+
display: flex;
|
|
438
|
+
justify-content: center;
|
|
439
|
+
align-items: center;
|
|
440
|
+
width: 100%;
|
|
441
|
+
overflow: hidden;
|
|
442
|
+
box-sizing: border-box;
|
|
443
|
+
border: none;
|
|
444
|
+
pointer-events: auto;
|
|
445
|
+
|
|
446
|
+
--ft-button-internal-line-height: max(calc(${j.fontSize} + 2px), ${j.iconSize});
|
|
447
|
+
--ft-button-internal-color: ${j.color};
|
|
448
|
+
${(0,P.setVariable)(X.size,j.iconSize)};
|
|
449
|
+
${(0,P.setVariable)(O.color,j.rippleColor)};
|
|
450
|
+
|
|
451
|
+
border-radius: ${j.borderRadius};
|
|
452
|
+
padding: ${j.verticalPadding} ${j.horizontalPadding};
|
|
453
|
+
background-color: ${j.backgroundColor};
|
|
454
|
+
color: var(--ft-button-internal-color);
|
|
455
|
+
-webkit-mask-image: radial-gradient(white, black);
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
.ft-button.ft-button--outlined {
|
|
459
|
+
border: 1px solid var(--ft-button-internal-color);
|
|
460
|
+
padding: calc(${j.verticalPadding} - 1px) calc(${j.horizontalPadding} - 1px);
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
.ft-button.ft-button--dense {
|
|
464
|
+
padding: ${wt.verticalPadding} ${wt.horizontalPadding};
|
|
465
|
+
border-radius: ${wt.borderRadius};
|
|
466
|
+
gap: ${wt.iconPadding};
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
.ft-button.ft-button--dense.ft-button--outlined {
|
|
470
|
+
padding: calc(${wt.verticalPadding} - 1px) calc(${wt.horizontalPadding} - 1px);
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
.ft-button:not([disabled]):hover {
|
|
474
|
+
cursor: pointer;
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
.ft-button--round {
|
|
478
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${j.verticalPadding});
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
.ft-button--round.ft-button--dense {
|
|
482
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${wt.verticalPadding});
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
.ft-button[disabled] {
|
|
486
|
+
filter: grayscale(1);
|
|
487
|
+
opacity: ${j.opacityDisabled};
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
.ft-button.ft-button--primary {
|
|
491
|
+
background-color: ${or.backgroundColor};
|
|
492
|
+
--ft-button-internal-color: ${or.color};
|
|
493
|
+
${(0,P.setVariable)(O.color,or.rippleColor)};
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
.ft-button:focus {
|
|
497
|
+
outline: none;
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
.ft-button--label {
|
|
501
|
+
position: relative;
|
|
502
|
+
overflow: hidden;
|
|
503
|
+
white-space: nowrap;
|
|
504
|
+
text-overflow: ellipsis;
|
|
505
|
+
display: block;
|
|
506
|
+
margin: 0 ${j.iconPadding};
|
|
507
|
+
${(0,P.setVariable)(Ct.fontSize,"1em")};
|
|
508
|
+
${(0,P.setVariable)(Ct.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
.ft-button--dense .ft-button--label {
|
|
512
|
+
margin: 0 ${wt.iconPadding};
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
.ft-button--label[hidden] {
|
|
516
|
+
display: none;
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
[part="icon"] {
|
|
520
|
+
flex-shrink: 0;
|
|
521
|
+
position: relative;
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
.ft-button--label[hidden] + [part="icon"] {
|
|
525
|
+
margin: 0 calc(${j.horizontalPadding} * -1);
|
|
526
|
+
padding: 0 ${j.verticalPadding};
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
.ft-button--dense .ft-button--label[hidden] + [part="icon"] {
|
|
530
|
+
margin: 0 calc(${wt.horizontalPadding} * -1);
|
|
531
|
+
padding: 0 ${wt.verticalPadding};
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
.ft-button:not(.ft-button--trailing-icon) [part="label"]{
|
|
535
|
+
order: 2;
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
ft-loader {
|
|
539
|
+
${(0,P.setVariable)(B.size,j.iconSize)};
|
|
540
|
+
${(0,P.setVariable)(B.color,"var(--ft-button-internal-color)")};
|
|
541
|
+
}
|
|
542
|
+
`,P.noTextSelect];var Le=S(k());var ga=S(k());var ha=S(_()),V=S(Z()),ma=S(lo()),De=S(k());var tt=function(e,o,r,n){var a=arguments.length,i=a<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,o,r,n);else for(var s=e.length-1;s>=0;s--)(l=e[s])&&(i=(a<3?l(i):a>3?l(o,r,i):l(o,r))||i);return a>3&&i&&Object.defineProperty(o,r,i),i},z=class extends De.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 De.Debouncer(1e3),this.onTransitionStart=o=>{o.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=o=>{o.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new De.Debouncer(10),this.moveRipple=o=>{var r,n;let{x:a,y:i}=this.getCoordinates(o),l=(n=(r=this.ripple)===null||r===void 0?void 0:r.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(a!=null?a-l.x:l.width/2),this.originY=Math.round(i!=null?i-l.y:l.height/2)},this.startPress=o=>{this.moveRipple(o),this.pressed=!this.isIgnored(o)},this.endPress=()=>{this.pressed=!1},this.startHover=o=>{this.hovered=!this.isIgnored(o)},this.endHover=()=>{this.hovered=!1},this.startFocus=o=>{this.focused=this.isFocusVisible(o?.target)&&!this.isIgnored(o)},this.endFocus=()=>{this.focused=!1}}render(){let o={"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 ha.html`
|
|
543
|
+
<style>
|
|
544
|
+
.ft-ripple .ft-ripple--effect {
|
|
545
|
+
left: ${this.originX}px;
|
|
546
|
+
top: ${this.originY}px;
|
|
547
|
+
}
|
|
548
|
+
</style>
|
|
549
|
+
<div class="${(0,ma.classMap)(o)}">
|
|
550
|
+
<div class="ft-ripple--background"></div>
|
|
551
|
+
<div class="ft-ripple--effect"></div>
|
|
552
|
+
</div>
|
|
553
|
+
`}contentAvailableCallback(o){super.contentAvailableCallback(o),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(o){var r,n;super.update(o),o.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.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 o,r;let n=(o=this.shadowRoot)===null||o===void 0?void 0:o.host.parentElement;n&&this.setupFor((r=this.target)!==null&&r!==void 0?r:n)}setupFor(o){if(this.setupDebouncer.cancel(),this.target===o)return;this.onDisconnect&&this.onDisconnect(),this.target=o,o.setAttribute("data-is-ft-ripple-target","true");let r=(...s)=>f=>{s.forEach(p=>window.addEventListener(p,this.endPress,{once:!0})),this.startPress(f)},n=r("mouseup","contextmenu"),a=r("touchend","touchcancel"),i=s=>{["Enter"," "].includes(s.key)&&r("keyup")(s)},l={passive:!0};o.addEventListener("mouseover",this.startHover,l),o.addEventListener("mousemove",this.moveRipple,l),o.addEventListener("mouseleave",this.endHover,l),o.addEventListener("mousedown",n,l),o.addEventListener("touchstart",a,l),o.addEventListener("touchmove",this.moveRipple,l),o.addEventListener("keydown",i,l),o.addEventListener("focus",this.startFocus,l),o.addEventListener("blur",this.endFocus,l),o.addEventListener("focusin",this.startFocus,l),o.addEventListener("focusout",this.endFocus,l),this.onDisconnect=()=>{o.removeAttribute("data-is-ft-ripple-target"),o.removeEventListener("mouseover",this.startHover,l),o.removeEventListener("mousemove",this.moveRipple,l),o.removeEventListener("mouseleave",this.endHover,l),o.removeEventListener("mousedown",n,l),o.removeEventListener("touchstart",a,l),o.removeEventListener("touchmove",this.moveRipple,l),o.removeEventListener("keydown",i,l),o.removeEventListener("focus",this.startFocus,l),o.removeEventListener("blur",this.endFocus,l),o.removeEventListener("focusin",this.startFocus,l),o.removeEventListener("focusout",this.endFocus,l),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(o){let r=o,n=o,a,i;return r.x!=null?{x:a,y:i}=r:n.touches!=null&&(a=n.touches[0].clientX,i=n.touches[0].clientY),{x:a,y:i}}isFocusVisible(o){return o instanceof HTMLElement?o.matches(":focus-visible"):!0}isIgnored(o){if(this.disabled)return!0;if(o!=null)for(let r of o.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};z.elementDefinitions={};z.styles=Kn;tt([(0,V.property)({type:Boolean})],z.prototype,"primary",void 0);tt([(0,V.property)({type:Boolean})],z.prototype,"secondary",void 0);tt([(0,V.property)({type:Boolean})],z.prototype,"unbounded",void 0);tt([(0,V.property)({type:Boolean})],z.prototype,"activated",void 0);tt([(0,V.property)({type:Boolean})],z.prototype,"selected",void 0);tt([(0,V.property)({type:Boolean})],z.prototype,"disabled",void 0);tt([(0,V.state)()],z.prototype,"hovered",void 0);tt([(0,V.state)()],z.prototype,"focused",void 0);tt([(0,V.state)()],z.prototype,"pressed",void 0);tt([(0,V.state)()],z.prototype,"rippling",void 0);tt([(0,V.state)()],z.prototype,"originX",void 0);tt([(0,V.state)()],z.prototype,"originY",void 0);tt([(0,V.query)(".ft-ripple")],z.prototype,"ripple",void 0);tt([(0,V.query)(".ft-ripple--effect")],z.prototype,"rippleEffect",void 0);(0,ga.customElement)("ft-ripple")(z);var di=S(k());var si=S(_()),G=S(Z()),Ve=S(k());var _a=S(k());var sr=globalThis,uo=sr.trustedTypes,ba=uo?uo.createPolicy("lit-html",{createHTML:e=>e}):void 0,wa="$lit$",Ht=`lit$${(Math.random()+"").slice(9)}$`,Ea="?"+Ht,Bc=`<${Ea}>`,re=document,yo=()=>re.createComment(""),Me=e=>e===null||typeof e!="object"&&typeof e!="function",Na=Array.isArray,Wc=e=>Na(e)||typeof e?.[Symbol.iterator]=="function",rr=`[
|
|
554
|
+
\f\r]`,ze=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,xa=/-->/g,va=/>/g,ee=RegExp(`>|${rr}(?:([^\\s"'>=/]+)(${rr}*=${rr}*(?:[^
|
|
555
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Sa=/'/g,Oa=/"/g,Aa=/^(?:script|style|textarea|title)$/i,Ra=e=>(o,...r)=>({_$litType$:e,strings:o,values:r}),La=Ra(1),Pa=Ra(2),Ue=Symbol.for("lit-noChange"),K=Symbol.for("lit-nothing"),Ca=new WeakMap,oe=re.createTreeWalker(re,129);function Ia(e,o){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return ba!==void 0?ba.createHTML(o):o}var _c=(e,o)=>{let r=e.length-1,n=[],a,i=o===2?"<svg>":"",l=ze;for(let s=0;s<r;s++){let f=e[s],p,y,h=-1,m=0;for(;m<f.length&&(l.lastIndex=m,y=l.exec(f),y!==null);)m=l.lastIndex,l===ze?y[1]==="!--"?l=xa:y[1]!==void 0?l=va:y[2]!==void 0?(Aa.test(y[2])&&(a=RegExp("</"+y[2],"g")),l=ee):y[3]!==void 0&&(l=ee):l===ee?y[0]===">"?(l=a??ze,h=-1):y[1]===void 0?h=-2:(h=l.lastIndex-y[2].length,p=y[1],l=y[3]===void 0?ee:y[3]==='"'?Oa:Sa):l===Oa||l===Sa?l=ee:l===xa||l===va?l=ze:(l=ee,a=void 0);let b=l===ee&&e[s+1].startsWith("/>")?" ":"";i+=l===ze?f+Bc:h>=0?(n.push(p),f.slice(0,h)+wa+f.slice(h)+Ht+b):f+Ht+(h===-2?s:b)}return[Ia(e,i+(e[r]||"<?>")+(o===2?"</svg>":"")),n]},He=class e{constructor({strings:o,_$litType$:r},n){let a;this.parts=[];let i=0,l=0,s=o.length-1,f=this.parts,[p,y]=_c(o,r);if(this.el=e.createElement(p,n),oe.currentNode=this.el.content,r===2){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(a=oe.nextNode())!==null&&f.length<s;){if(a.nodeType===1){if(a.hasAttributes())for(let h of a.getAttributeNames())if(h.endsWith(wa)){let m=y[l++],b=a.getAttribute(h).split(Ht),g=/([.?@])?(.*)/.exec(m);f.push({type:1,index:i,name:g[2],strings:b,ctor:g[1]==="."?ar:g[1]==="?"?ir:g[1]==="@"?cr:Ce}),a.removeAttribute(h)}else h.startsWith(Ht)&&(f.push({type:6,index:i}),a.removeAttribute(h));if(Aa.test(a.tagName)){let h=a.textContent.split(Ht),m=h.length-1;if(m>0){a.textContent=uo?uo.emptyScript:"";for(let b=0;b<m;b++)a.append(h[b],yo()),oe.nextNode(),f.push({type:2,index:++i});a.append(h[m],yo())}}}else if(a.nodeType===8)if(a.data===Ea)f.push({type:2,index:i});else{let h=-1;for(;(h=a.data.indexOf(Ht,h+1))!==-1;)f.push({type:7,index:i}),h+=Ht.length-1}i++}}static createElement(o,r){let n=re.createElement("template");return n.innerHTML=o,n}};function Oe(e,o,r=e,n){if(o===Ue)return o;let a=n!==void 0?r._$Co?.[n]:r._$Cl,i=Me(o)?void 0:o._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(e),a._$AT(e,r,n)),n!==void 0?(r._$Co??=[])[n]=a:r._$Cl=a),a!==void 0&&(o=Oe(e,a._$AS(e,o.values),a,n)),o}var nr=class{constructor(o,r){this._$AV=[],this._$AN=void 0,this._$AD=o,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(o){let{el:{content:r},parts:n}=this._$AD,a=(o?.creationScope??re).importNode(r,!0);oe.currentNode=a;let i=oe.nextNode(),l=0,s=0,f=n[0];for(;f!==void 0;){if(l===f.index){let p;f.type===2?p=new ho(i,i.nextSibling,this,o):f.type===1?p=new f.ctor(i,f.name,f.strings,this,o):f.type===6&&(p=new lr(i,this,o)),this._$AV.push(p),f=n[++s]}l!==f?.index&&(i=oe.nextNode(),l++)}return oe.currentNode=re,a}p(o){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(o,n,r),r+=n.strings.length-2):n._$AI(o[r])),r++}},ho=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(o,r,n,a){this.type=2,this._$AH=K,this._$AN=void 0,this._$AA=o,this._$AB=r,this._$AM=n,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let o=this._$AA.parentNode,r=this._$AM;return r!==void 0&&o?.nodeType===11&&(o=r.parentNode),o}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(o,r=this){o=Oe(this,o,r),Me(o)?o===K||o==null||o===""?(this._$AH!==K&&this._$AR(),this._$AH=K):o!==this._$AH&&o!==Ue&&this._(o):o._$litType$!==void 0?this.g(o):o.nodeType!==void 0?this.$(o):Wc(o)?this.T(o):this._(o)}k(o){return this._$AA.parentNode.insertBefore(o,this._$AB)}$(o){this._$AH!==o&&(this._$AR(),this._$AH=this.k(o))}_(o){this._$AH!==K&&Me(this._$AH)?this._$AA.nextSibling.data=o:this.$(re.createTextNode(o)),this._$AH=o}g(o){let{values:r,_$litType$:n}=o,a=typeof n=="number"?this._$AC(o):(n.el===void 0&&(n.el=He.createElement(Ia(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(r);else{let i=new nr(a,this),l=i.u(this.options);i.p(r),this.$(l),this._$AH=i}}_$AC(o){let r=Ca.get(o.strings);return r===void 0&&Ca.set(o.strings,r=new He(o)),r}T(o){Na(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,a=0;for(let i of o)a===r.length?r.push(n=new e(this.k(yo()),this.k(yo()),this,this.options)):n=r[a],n._$AI(i),a++;a<r.length&&(this._$AR(n&&n._$AB.nextSibling,a),r.length=a)}_$AR(o=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);o&&o!==this._$AB;){let n=o.nextSibling;o.remove(),o=n}}setConnected(o){this._$AM===void 0&&(this._$Cv=o,this._$AP?.(o))}},Ce=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(o,r,n,a,i){this.type=1,this._$AH=K,this._$AN=void 0,this.element=o,this.name=r,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=K}_$AI(o,r=this,n,a){let i=this.strings,l=!1;if(i===void 0)o=Oe(this,o,r,0),l=!Me(o)||o!==this._$AH&&o!==Ue,l&&(this._$AH=o);else{let s=o,f,p;for(o=i[0],f=0;f<i.length-1;f++)p=Oe(this,s[n+f],r,f),p===Ue&&(p=this._$AH[f]),l||=!Me(p)||p!==this._$AH[f],p===K?o=K:o!==K&&(o+=(p??"")+i[f+1]),this._$AH[f]=p}l&&!a&&this.O(o)}O(o){o===K?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,o??"")}},ar=class extends Ce{constructor(){super(...arguments),this.type=3}O(o){this.element[this.name]=o===K?void 0:o}},ir=class extends Ce{constructor(){super(...arguments),this.type=4}O(o){this.element.toggleAttribute(this.name,!!o&&o!==K)}},cr=class extends Ce{constructor(o,r,n,a,i){super(o,r,n,a,i),this.type=5}_$AI(o,r=this){if((o=Oe(this,o,r,0)??K)===Ue)return;let n=this._$AH,a=o===K&&n!==K||o.capture!==n.capture||o.once!==n.once||o.passive!==n.passive,i=o!==K&&(n===K||a);a&&this.element.removeEventListener(this.name,this,n),i&&this.element.addEventListener(this.name,this,o),this._$AH=o}handleEvent(o){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,o):this._$AH.handleEvent(o)}},lr=class{constructor(o,r,n){this.element=o,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(o){Oe(this,o)}};var Dc=sr.litHtmlPolyfillSupport;Dc?.(He,ho),(sr.litHtmlVersions??=[]).push("3.1.0");var $a=Symbol.for(""),zc=e=>{if(e?.r===$a)return e?._$litStatic$},dr=e=>({_$litStatic$:e,r:$a});var ka=new Map,Ta=e=>(o,...r)=>{let n=r.length,a,i,l=[],s=[],f,p=0,y=!1;for(;p<n;){for(f=o[p];p<n&&(i=r[p],(a=zc(i))!==void 0);)f+=a+o[++p],y=!0;p!==n&&s.push(i),l.push(f),p++}if(p===n&&l.push(o[n]),y){let h=l.join("$$lit$$");(o=ka.get(h))===void 0&&(l.raw=l,ka.set(h,o=l)),r=s}return e(o,...r)},fr=Ta(La),lu=Ta(Pa);var pr=S(Z()),Wa=S(k());var yt;(function(e){e.title="title",e.title_dense="title-dense",e.subtitle1="subtitle1",e.subtitle2="subtitle2",e.body1="body1",e.body2="body2",e.caption="caption",e.breadcrumb="breadcrumb",e.overline="overline",e.button="button",e.display="display",e.title1="title-1",e.title2="title-2",e.title3="title-3",e.body1regular="body-1-regular",e.body1medium="body-1-medium",e.body1semibold="body-1-semibold",e.body2regular="body-2-regular",e.body2medium="body-2-medium",e.body2semibold="body-2-semibold",e.label1medium="label-1-medium",e.label1semibold="label-1-semibold",e.label1bold="label-1-bold",e.label2medium="label-2-medium",e.label2semibold="label-2-semibold",e.label2bold="label-2-bold",e.caption1medium="caption-1-medium",e.caption1semibold="caption-1-semibold",e.caption1bold="caption-1-bold",e.caption2medium="caption-2-medium",e.caption2semibold="caption-2-semibold",e.caption2bold="caption-2-bold"})(yt||(yt={}));var Ba=function(e,o,r,n){var a=arguments.length,i=a<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,o,r,n);else for(var s=e.length-1;s>=0;s--)(l=e[s])&&(i=(a<3?l(i):a>3?l(o,r,i):l(o,r))||i);return a>3&&i&&Object.defineProperty(o,r,i),i},J=class extends Wa.FtLitElement{constructor(){super(...arguments),this.variant=yt.body1}render(){return this.element?fr`
|
|
556
|
+
<${dr(this.element)}
|
|
557
|
+
part="text"
|
|
558
|
+
class="ft-typography ft-typography--${this.variant}">
|
|
559
|
+
<slot></slot>
|
|
560
|
+
</${dr(this.element)}>
|
|
561
|
+
`:fr`
|
|
562
|
+
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
563
|
+
`}};J.styles=[Yn,qn,Xn,Jn,Qn,ta,ea,oa,ra,na,aa,...ia];Ba([(0,pr.property)()],J.prototype,"element",void 0);Ba([(0,pr.property)()],J.prototype,"variant",void 0);(0,_a.customElement)("ft-typography")(J);var Da=S(_()),It=S(k()),we={distance:It.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:It.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:It.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:It.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:It.FtCssVariableFactory.external(It.designSystemVariables.borderRadiusS,"Design system"),maxWidth:It.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},za=Da.css`
|
|
564
|
+
.ft-tooltip--container {
|
|
565
|
+
display: block;
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
.ft-tooltip--inline {
|
|
569
|
+
display: inline-block;
|
|
570
|
+
max-width: 100%;
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
.ft-tooltip {
|
|
574
|
+
position: fixed;
|
|
575
|
+
box-sizing: border-box;
|
|
576
|
+
overflow: hidden;
|
|
577
|
+
width: max-content;
|
|
578
|
+
max-width: ${we.maxWidth};
|
|
579
|
+
text-align: center;
|
|
580
|
+
padding: ${we.distance};
|
|
581
|
+
z-index: ${we.zIndex};
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
.ft-tooltip--content {
|
|
585
|
+
padding: 4px 8px;
|
|
586
|
+
border-radius: ${we.borderRadiusS};
|
|
587
|
+
background-color: ${we.backgroundColor};
|
|
588
|
+
color: ${we.color};
|
|
589
|
+
position: relative;
|
|
590
|
+
word-break: break-word;
|
|
591
|
+
}
|
|
592
|
+
`;var Ua=["top","right","bottom","left"],Ma=["start","end"],yr=Ua.reduce((e,o)=>e.concat(o,o+"-"+Ma[0],o+"-"+Ma[1]),[]),Fe=Math.min,Ft=Math.max,Ge=Math.round;var kt=e=>({x:e,y:e}),Mc={left:"right",right:"left",bottom:"top",top:"bottom"},Uc={start:"end",end:"start"};function hr(e,o,r){return Ft(e,Fe(o,r))}function mo(e,o){return typeof e=="function"?e(o):e}function Ee(e){return e.split("-")[0]}function Gt(e){return e.split("-")[1]}function mr(e){return e==="x"?"y":"x"}function gr(e){return e==="y"?"height":"width"}function go(e){return["top","bottom"].includes(Ee(e))?"y":"x"}function br(e){return mr(go(e))}function Ha(e,o,r){r===void 0&&(r=!1);let n=Gt(e),a=br(e),i=gr(a),l=a==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return o.reference[i]>o.floating[i]&&(l=ur(l)),[l,ur(l)]}function Fa(e){return e.replace(/start|end/g,o=>Uc[o])}function ur(e){return e.replace(/left|right|bottom|top/g,o=>Mc[o])}function Hc(e){return{top:0,right:0,bottom:0,left:0,...e}}function Ga(e){return typeof e!="number"?Hc(e):{top:e,right:e,bottom:e,left:e}}function ne(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function ja(e,o,r){let{reference:n,floating:a}=e,i=go(o),l=br(o),s=gr(l),f=Ee(o),p=i==="y",y=n.x+n.width/2-a.width/2,h=n.y+n.height/2-a.height/2,m=n[s]/2-a[s]/2,b;switch(f){case"top":b={x:y,y:n.y-a.height};break;case"bottom":b={x:y,y:n.y+n.height};break;case"right":b={x:n.x+n.width,y:h};break;case"left":b={x:n.x-a.width,y:h};break;default:b={x:n.x,y:n.y}}switch(Gt(o)){case"start":b[l]-=m*(r&&p?-1:1);break;case"end":b[l]+=m*(r&&p?-1:1);break}return b}var Ka=async(e,o,r)=>{let{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:l}=r,s=i.filter(Boolean),f=await(l.isRTL==null?void 0:l.isRTL(o)),p=await l.getElementRects({reference:e,floating:o,strategy:a}),{x:y,y:h}=ja(p,n,f),m=n,b={},g=0;for(let v=0;v<s.length;v++){let{name:R,fn:E}=s[v],{x:N,y:L,data:$,reset:T}=await E({x:y,y:h,initialPlacement:n,placement:m,strategy:a,middlewareData:b,rects:p,platform:l,elements:{reference:e,floating:o}});if(y=N??y,h=L??h,b={...b,[R]:{...b[R],...$}},T&&g<=50){g++,typeof T=="object"&&(T.placement&&(m=T.placement),T.rects&&(p=T.rects===!0?await l.getElementRects({reference:e,floating:o,strategy:a}):T.rects),{x:y,y:h}=ja(p,m,f)),v=-1;continue}}return{x:y,y:h,placement:m,strategy:a,middlewareData:b}};async function xr(e,o){var r;o===void 0&&(o={});let{x:n,y:a,platform:i,rects:l,elements:s,strategy:f}=e,{boundary:p="clippingAncestors",rootBoundary:y="viewport",elementContext:h="floating",altBoundary:m=!1,padding:b=0}=mo(o,e),g=Ga(b),R=s[m?h==="floating"?"reference":"floating":h],E=ne(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(R)))==null||r?R:R.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(s.floating)),boundary:p,rootBoundary:y,strategy:f})),N=h==="floating"?{...l.floating,x:n,y:a}:l.reference,L=await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),$=await(i.isElement==null?void 0:i.isElement(L))?await(i.getScale==null?void 0:i.getScale(L))||{x:1,y:1}:{x:1,y:1},T=ne(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:N,offsetParent:L,strategy:f}):N);return{top:(E.top-T.top+g.top)/$.y,bottom:(T.bottom-E.bottom+g.bottom)/$.y,left:(E.left-T.left+g.left)/$.x,right:(T.right-E.right+g.right)/$.x}}function Fc(e,o,r){return(e?[...r.filter(a=>Gt(a)===e),...r.filter(a=>Gt(a)!==e)]:r.filter(a=>Ee(a)===a)).filter(a=>e?Gt(a)===e||(o?Fa(a)!==a:!1):!0)}var vr=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(o){var r,n,a;let{rects:i,middlewareData:l,placement:s,platform:f,elements:p}=o,{crossAxis:y=!1,alignment:h,allowedPlacements:m=yr,autoAlignment:b=!0,...g}=mo(e,o),v=h!==void 0||m===yr?Fc(h||null,b,m):m,R=await xr(o,g),E=((r=l.autoPlacement)==null?void 0:r.index)||0,N=v[E];if(N==null)return{};let L=Ha(N,i,await(f.isRTL==null?void 0:f.isRTL(p.floating)));if(s!==N)return{reset:{placement:v[0]}};let $=[R[Ee(N)],R[L[0]],R[L[1]]],T=[...((n=l.autoPlacement)==null?void 0:n.overflows)||[],{placement:N,overflows:$}],ft=v[E+1];if(ft)return{data:{index:E+1,overflows:T},reset:{placement:ft}};let zt=T.map(at=>{let pt=Gt(at.placement);return[at.placement,pt&&y?at.overflows.slice(0,2).reduce((it,te)=>it+te,0):at.overflows[0],at.overflows]}).sort((at,pt)=>at[1]-pt[1]),Mt=((a=zt.filter(at=>at[2].slice(0,Gt(at[0])?2:3).every(pt=>pt<=0))[0])==null?void 0:a[0])||zt[0][0];return Mt!==s?{data:{index:E+1,overflows:T},reset:{placement:Mt}}:{}}}};var Sr=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(o){let{x:r,y:n,placement:a}=o,{mainAxis:i=!0,crossAxis:l=!1,limiter:s={fn:R=>{let{x:E,y:N}=R;return{x:E,y:N}}},...f}=mo(e,o),p={x:r,y:n},y=await xr(o,f),h=go(Ee(a)),m=mr(h),b=p[m],g=p[h];if(i){let R=m==="y"?"top":"left",E=m==="y"?"bottom":"right",N=b+y[R],L=b-y[E];b=hr(N,b,L)}if(l){let R=h==="y"?"top":"left",E=h==="y"?"bottom":"right",N=g+y[R],L=g-y[E];g=hr(N,g,L)}let v=s.fn({...o,[m]:b,[h]:g});return{...v,data:{x:v.x-r,y:v.y-n}}}}};function $t(e){return Va(e)?(e.nodeName||"").toLowerCase():"#document"}function et(e){var o;return(e==null||(o=e.ownerDocument)==null?void 0:o.defaultView)||window}function Tt(e){var o;return(o=(Va(e)?e.ownerDocument:e.document)||window.document)==null?void 0:o.documentElement}function Va(e){return e instanceof Node||e instanceof et(e).Node}function Et(e){return e instanceof Element||e instanceof et(e).Element}function bt(e){return e instanceof HTMLElement||e instanceof et(e).HTMLElement}function Za(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof et(e).ShadowRoot}function Ne(e){let{overflow:o,overflowX:r,overflowY:n,display:a}=lt(e);return/auto|scroll|overlay|hidden|clip/.test(o+n+r)&&!["inline","contents"].includes(a)}function Ya(e){return["table","td","th"].includes($t(e))}function xo(e){let o=vo(),r=lt(e);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!o&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!o&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function qa(e){let o=ae(e);for(;bt(o)&&!je(o);){if(xo(o))return o;o=ae(o)}return null}function vo(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function je(e){return["html","body","#document"].includes($t(e))}function lt(e){return et(e).getComputedStyle(e)}function Ke(e){return Et(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function ae(e){if($t(e)==="html")return e;let o=e.assignedSlot||e.parentNode||Za(e)&&e.host||Tt(e);return Za(o)?o.host:o}function Xa(e){let o=ae(e);return je(o)?e.ownerDocument?e.ownerDocument.body:e.body:bt(o)&&Ne(o)?o:Xa(o)}function bo(e,o,r){var n;o===void 0&&(o=[]),r===void 0&&(r=!0);let a=Xa(e),i=a===((n=e.ownerDocument)==null?void 0:n.body),l=et(a);return i?o.concat(l,l.visualViewport||[],Ne(a)?a:[],l.frameElement&&r?bo(l.frameElement):[]):o.concat(a,bo(a,[],r))}function ti(e){let o=lt(e),r=parseFloat(o.width)||0,n=parseFloat(o.height)||0,a=bt(e),i=a?e.offsetWidth:r,l=a?e.offsetHeight:n,s=Ge(r)!==i||Ge(n)!==l;return s&&(r=i,n=l),{width:r,height:n,$:s}}function ei(e){return Et(e)?e:e.contextElement}function Ae(e){let o=ei(e);if(!bt(o))return kt(1);let r=o.getBoundingClientRect(),{width:n,height:a,$:i}=ti(o),l=(i?Ge(r.width):r.width)/n,s=(i?Ge(r.height):r.height)/a;return(!l||!Number.isFinite(l))&&(l=1),(!s||!Number.isFinite(s))&&(s=1),{x:l,y:s}}var Kc=kt(0);function oi(e){let o=et(e);return!vo()||!o.visualViewport?Kc:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function Zc(e,o,r){return o===void 0&&(o=!1),!r||o&&r!==et(e)?!1:o}function Ze(e,o,r,n){o===void 0&&(o=!1),r===void 0&&(r=!1);let a=e.getBoundingClientRect(),i=ei(e),l=kt(1);o&&(n?Et(n)&&(l=Ae(n)):l=Ae(e));let s=Zc(i,r,n)?oi(i):kt(0),f=(a.left+s.x)/l.x,p=(a.top+s.y)/l.y,y=a.width/l.x,h=a.height/l.y;if(i){let m=et(i),b=n&&Et(n)?et(n):n,g=m.frameElement;for(;g&&n&&b!==m;){let v=Ae(g),R=g.getBoundingClientRect(),E=lt(g),N=R.left+(g.clientLeft+parseFloat(E.paddingLeft))*v.x,L=R.top+(g.clientTop+parseFloat(E.paddingTop))*v.y;f*=v.x,p*=v.y,y*=v.x,h*=v.y,f+=N,p+=L,g=et(g).frameElement}}return ne({width:y,height:h,x:f,y:p})}function Vc(e){let{rect:o,offsetParent:r,strategy:n}=e,a=bt(r),i=Tt(r);if(r===i)return o;let l={scrollLeft:0,scrollTop:0},s=kt(1),f=kt(0);if((a||!a&&n!=="fixed")&&(($t(r)!=="body"||Ne(i))&&(l=Ke(r)),bt(r))){let p=Ze(r);s=Ae(r),f.x=p.x+r.clientLeft,f.y=p.y+r.clientTop}return{width:o.width*s.x,height:o.height*s.y,x:o.x*s.x-l.scrollLeft*s.x+f.x,y:o.y*s.y-l.scrollTop*s.y+f.y}}function Yc(e){return Array.from(e.getClientRects())}function ri(e){return Ze(Tt(e)).left+Ke(e).scrollLeft}function qc(e){let o=Tt(e),r=Ke(e),n=e.ownerDocument.body,a=Ft(o.scrollWidth,o.clientWidth,n.scrollWidth,n.clientWidth),i=Ft(o.scrollHeight,o.clientHeight,n.scrollHeight,n.clientHeight),l=-r.scrollLeft+ri(e),s=-r.scrollTop;return lt(n).direction==="rtl"&&(l+=Ft(o.clientWidth,n.clientWidth)-a),{width:a,height:i,x:l,y:s}}function Xc(e,o){let r=et(e),n=Tt(e),a=r.visualViewport,i=n.clientWidth,l=n.clientHeight,s=0,f=0;if(a){i=a.width,l=a.height;let p=vo();(!p||p&&o==="fixed")&&(s=a.offsetLeft,f=a.offsetTop)}return{width:i,height:l,x:s,y:f}}function Jc(e,o){let r=Ze(e,!0,o==="fixed"),n=r.top+e.clientTop,a=r.left+e.clientLeft,i=bt(e)?Ae(e):kt(1),l=e.clientWidth*i.x,s=e.clientHeight*i.y,f=a*i.x,p=n*i.y;return{width:l,height:s,x:f,y:p}}function Ja(e,o,r){let n;if(o==="viewport")n=Xc(e,r);else if(o==="document")n=qc(Tt(e));else if(Et(o))n=Jc(o,r);else{let a=oi(e);n={...o,x:o.x-a.x,y:o.y-a.y}}return ne(n)}function ni(e,o){let r=ae(e);return r===o||!Et(r)||je(r)?!1:lt(r).position==="fixed"||ni(r,o)}function Qc(e,o){let r=o.get(e);if(r)return r;let n=bo(e,[],!1).filter(s=>Et(s)&&$t(s)!=="body"),a=null,i=lt(e).position==="fixed",l=i?ae(e):e;for(;Et(l)&&!je(l);){let s=lt(l),f=xo(l);!f&&s.position==="fixed"&&(a=null),(i?!f&&!a:!f&&s.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||Ne(l)&&!f&&ni(e,l))?n=n.filter(y=>y!==l):a=s,l=ae(l)}return o.set(e,n),n}function tl(e){let{element:o,boundary:r,rootBoundary:n,strategy:a}=e,l=[...r==="clippingAncestors"?Qc(o,this._c):[].concat(r),n],s=l[0],f=l.reduce((p,y)=>{let h=Ja(o,y,a);return p.top=Ft(h.top,p.top),p.right=Fe(h.right,p.right),p.bottom=Fe(h.bottom,p.bottom),p.left=Ft(h.left,p.left),p},Ja(o,s,a));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function el(e){return ti(e)}function ol(e,o,r){let n=bt(o),a=Tt(o),i=r==="fixed",l=Ze(e,!0,i,o),s={scrollLeft:0,scrollTop:0},f=kt(0);if(n||!n&&!i)if(($t(o)!=="body"||Ne(a))&&(s=Ke(o)),n){let p=Ze(o,!0,i,o);f.x=p.x+o.clientLeft,f.y=p.y+o.clientTop}else a&&(f.x=ri(a));return{x:l.left+s.scrollLeft-f.x,y:l.top+s.scrollTop-f.y,width:l.width,height:l.height}}function Qa(e,o){return!bt(e)||lt(e).position==="fixed"?null:o?o(e):e.offsetParent}function ai(e,o){let r=et(e);if(!bt(e))return r;let n=Qa(e,o);for(;n&&Ya(n)&<(n).position==="static";)n=Qa(n,o);return n&&($t(n)==="html"||$t(n)==="body"&<(n).position==="static"&&!xo(n))?r:n||qa(e)||r}var rl=async function(e){let{reference:o,floating:r,strategy:n}=e,a=this.getOffsetParent||ai,i=this.getDimensions;return{reference:ol(o,await a(r),n),floating:{x:0,y:0,...await i(r)}}};function nl(e){return lt(e).direction==="rtl"}var So={convertOffsetParentRelativeRectToViewportRelativeRect:Vc,getDocumentElement:Tt,getClippingRect:tl,getOffsetParent:ai,getElementRects:rl,getClientRects:Yc,getDimensions:el,getScale:Ae,isElement:Et,isRTL:nl};var ii=(e,o,r)=>{let n=new Map,a={platform:So,...r},i={...a.platform,_c:n};return Ka(e,o,{...a,platform:i})};function ci(e){return al(e)}function Or(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function al(e){for(let o=e;o;o=Or(o))if(o instanceof Element&&getComputedStyle(o).display==="none")return null;for(let o=Or(e);o;o=Or(o)){if(!(o instanceof Element))continue;let r=getComputedStyle(o);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||o.tagName==="BODY"))return o}return null}async function li(e,o,r){return ii(e,o,{platform:{...So,getOffsetParent:n=>So.getOffsetParent(n,ci)},middleware:[Sr({crossAxis:!0}),vr({allowedPlacements:[r]})]})}var ot=function(e,o,r,n){var a=arguments.length,i=a<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,o,r,n);else for(var s=e.length-1;s>=0;s--)(l=e[s])&&(i=(a<3?l(i):a>3?l(o,r,i):l(o,r))||i);return a>3&&i&&Object.defineProperty(o,r,i),i},M=class extends Ve.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 Ve.Debouncer,this.revealDebouncer=new Ve.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return si.html`
|
|
593
|
+
<div part="container"
|
|
594
|
+
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
595
|
+
@mouseenter=${this.onHover}
|
|
596
|
+
@mouseleave=${this.onOut}
|
|
597
|
+
@focusin=${this.onHover}
|
|
598
|
+
@focusout=${this.onOut}
|
|
599
|
+
@touchstart=${this.onTouch}>
|
|
600
|
+
<slot part="slot" @click=${this.onClick}></slot>
|
|
601
|
+
<div part="tooltip" role="tooltip" inert
|
|
602
|
+
class="ft-tooltip ft-tooltip--${this.validPosition}"
|
|
603
|
+
?hidden=${!this.visible}>
|
|
604
|
+
<div part="tooltip-content" class="ft-tooltip--content">
|
|
605
|
+
<slot name="text"></slot>
|
|
606
|
+
<ft-typography variant="caption" ?hidden=${!this.text}>${this.text}</ft-typography>
|
|
607
|
+
</div>
|
|
608
|
+
</div>
|
|
609
|
+
</div>
|
|
610
|
+
`}updated(o){o.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(o)}contentAvailableCallback(o){super.contentAvailableCallback(o),["visible","text"].some(r=>o.has(r))&&this.visible&&this.positionTooltip()}async show(o){this.visible=!0,o!=null&&await this.hideDebounce.run(()=>{this.hide()},o)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var o;return((o=this.slotNodes)!==null&&o!==void 0?o:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let o=this.tooltipContent.style;switch(o.transition="none",this.validPosition){case"top":o.top=this.tooltip.clientHeight+"px",o.left="0";break;case"bottom":o.top=-this.tooltip.clientHeight+"px",o.left="0";break;case"left":o.top="0",o.left=this.tooltip.clientWidth+"px";break;case"right":o.top="0",o.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",li(this.slottedElement,this.tooltip,this.position).then(({x:o,y:r})=>{this.tooltip&&(this.tooltip.style.left=`${o}px`,this.tooltip.style.top=`${r}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",o=>{o.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(o,r){return Math.max(o,Math.min(0,-r))}};M.elementDefinitions={"ft-typography":J};M.styles=za;ot([(0,G.property)()],M.prototype,"text",void 0);ot([(0,G.property)({type:Boolean})],M.prototype,"manual",void 0);ot([(0,G.property)({type:Boolean})],M.prototype,"inline",void 0);ot([(0,G.property)({type:Number})],M.prototype,"delay",void 0);ot([(0,G.property)()],M.prototype,"position",void 0);ot([(0,G.queryAssignedNodes)()],M.prototype,"slotNodes",void 0);ot([(0,G.query)(".ft-tooltip--container")],M.prototype,"container",void 0);ot([(0,G.query)(".ft-tooltip")],M.prototype,"tooltip",void 0);ot([(0,G.query)(".ft-tooltip--content")],M.prototype,"tooltipContent",void 0);ot([(0,G.state)()],M.prototype,"visible",void 0);ot([(0,G.eventOptions)({passive:!0})],M.prototype,"onTouch",null);ot([(0,G.eventOptions)({passive:!0})],M.prototype,"onHover",null);ot([(0,G.eventOptions)({passive:!0})],M.prototype,"onOut",null);ot([(0,G.eventOptions)({passive:!0})],M.prototype,"onClick",null);(0,di.customElement)("ft-tooltip")(M);var hi=S(k());var Ye=S(_()),ie=S(Z()),ui=S(k()),yi=S(pi());var Bt;(function(e){e.ADD_TO_PBK="",e.ALERT="",e.ADD_ALERT="",e.BACK_TO_SEARCH="",e.ADD_BOOKMARK="",e.BOOKMARK="",e.BOOKS="",e.MENU="",e.DOWNLOAD="",e.EDIT="",e.FEEDBACK="",e.HOME="",e.MODIFY_PBK="",e.SCHEDULED="",e.SEARCH="",e.EXPORT="",e.TOC="",e.WRITE_UGC="",e.TRASH="",e.USER="",e.EXTLINK="",e.CALENDAR="",e.OFFLINE="",e.BOOK="",e.DOWNLOAD_PLAIN="",e.CHECK="",e.STAR_PLAIN="",e.TOPICS="",e.DISC="",e.CIRCLE="",e.SHARED="",e.SORT_UNSORTED="",e.SORT_UP="",e.SORT_DOWN="",e.WORKING="",e.CLOSE="",e.ZOOM_OUT="",e.ZOOM_IN="",e.ZOOM_REALSIZE="",e.ZOOM_FULLSCREEN="",e.ADMIN_RESTRICTED="",e.ADMIN="",e.ADMIN_KHUB="",e.ADMIN_THEME="",e.ADMIN_USERS="",e.WARNING="",e.CONTEXT="",e.SEARCH_HOME="",e.STEPS="",e.ICON_EXPAND="",e.ICON_COLLAPSE="",e.INFO="",e.MINUS_PLAIN="",e.PLUS_PLAIN="",e.FACET_HAS_DESCENDANT="",e.TRIANGLE_BOTTOM="",e.TRIANGLE_LEFT="",e.TRIANGLE_RIGHT="",e.TRIANGLE_TOP="",e.THIN_ARROW="",e.SIGN_IN="",e.LOGOUT="",e.TRANSLATE="",e.CLOSE_PLAIN="",e.CHECK_PLAIN="",e.ARTICLE="",e.COLUMNS="",e.ANALYTICS="",e.COLLECTIONS="",e.ARROW_DOWN="",e.ARROW_LEFT="",e.ARROW_RIGHT="",e.ARROW_UP="",e.SEARCH_IN_PUBLICATION="",e.COPY_TO_CLIPBOARD="",e.SHARED_PBK="",e.ATTACHMENTS="",e.STRIPE_ARROW_LEFT="",e.STRIPE_ARROW_RIGHT="",e.FILTERS="",e.DOT="",e.MINUS="",e.PLUS="",e.MAILS_AND_NOTIFICATIONS="",e.SAVE="",e.LOCKER="",e.ADMIN_INTEGRATION="",e.SYNC="",e.TAG="",e.BOOK_PLAIN="",e.UPLOAD="",e.ONLINE="",e.TAG_PLAIN="",e.ACCOUNT_SETTINGS="",e.PRINT="",e.DEFAULT_ROLES="",e.SHORTCUT_MENU="",e.RELATIVES_PLAIN="",e.RELATIVES="",e.PAUSE="",e.PLAY="",e.ADMIN_PORTAL="",e.STAR="",e.THUMBS_DOWN="",e.THUMBS_DOWN_PLAIN="",e.THUMBS_UP="",e.THUMBS_UP_PLAIN="",e.FEEDBACK_PLAIN="",e.RATE_PLAIN="",e.RATE="",e.OFFLINE_SETTINGS="",e.MY_COLLECTIONS="",e.THIN_ARROW_LEFT="",e.THIN_ARROW_RIGHT="",e.RESET="",e.MY_LIBRARY="",e.UNSTRUCTURED_DOC="",e.CONTEXTUAL="",e.THIN_ARROW_UP="",e.ARROW_RIGHT_TO_LINE="",e.DESKTOP="",e.TABLET_LANDSCAPE="",e.TABLET_PORTRAIT="",e.MOBILE_LANDSCAPE="",e.MOBILE_PORTRAIT="",e.DIAGRAM_SUNBURST="",e.DIAGRAM_SANKEY="",e.COMMENT_QUESTION="",e.COMMENT_QUESTION_PLAIN="",e.MESSAGE_BOT="",e.CHART_SIMPLE="",e.BARS_PROGRESS="",e.BOOK_OPEN_GEAR="",e.BOOK_OPEN_GEAR_SLASH="",e.LINE_CHART="",e.STACKED_CHART="",e.CHART_BAR_STACKED="",e.CHART_BAR_GROUPED="",e.EYE_SLASH="",e.X_MARK="",e.EXPAND_WIDE="",e.PIP="",e.PIP_WIDE="",e.LIFE_RING="",e.GLOBE="",e.PIGGY_BANK="",e.EXTLINK_LIGHT="",e.CLONE="",e.CLONE_LINK_SIMPLE="",e.CHART_BAR_NORMALIZED="",e.CONSUMER="",e.OCTAGON_XMARK="",e.HOURGLASS_HALF="",e.CLOCK="",e.CLOCK_THREE="",e.CALENDAR_DAY="",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="",e.WAND_MAGIC_SPARKLES="",e.PAPER_PLANE="",e.CIRCLE_STOP="",e.ARROW_ROTATE_RIGHT="",e.ARROWS_ROTATE="",e.ALIGN_RIGHT="",e.FORMAT_CLEAR="",e.ALIGN_CENTER="",e.ALIGN_LEFT="",e.PALETTE="",e.BOLD="",e.ITALIC="",e.UNDERLINE="",e.STRIKETHROUGH="",e.LINK_SIMPLE_SLASH="",e.LINK_SIMPLE="",e.ROUTE="",e.CIRCLE_USER_SLASH="",e.CIRCLE_USER_CHECK="",e.LIST_MAGNIFYING_GLASS="",e.MEDAL="",e.THUMBS_UP_THUMBS_DOWN_SOLID="",e.ARROW_TURN_DOWN_RIGHT="",e.FLASK="",e.LOCK_KEYHOLE_OPEN_SOLID="",e.HOURGLASS_END="",e.CIRCLE_QUESTION="",e.EYE="",e.SHARE="󨃱"})(Bt||(Bt={}));var C;(function(e){e.UNKNOWN="",e.ABW="",e.AUDIO="",e.AVI="",e.CHM="",e.CODE="",e.CSV="",e.DITA="",e.EPUB="",e.EXCEL="",e.FLAC="",e.GIF="",e.GZIP="",e.HTML="",e.IMAGE="",e.JPEG="",e.JSON="",e.M4A="",e.MOV="",e.MP3="",e.MP4="",e.OGG="",e.PDF="",e.PNG="",e.POWERPOINT="",e.RAR="",e.STP="",e.TEXT="",e.VIDEO="",e.WAV="",e.WMA="",e.WORD="",e.XML="",e.YAML="",e.ZIP=""})(C||(C={}));var ey=new Map([...["abw"].map(e=>[e,C.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(e=>[e,C.AUDIO]),...["avi"].map(e=>[e,C.AVI]),...["chm","xhs"].map(e=>[e,C.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(e=>[e,C.CODE]),...["csv"].map(e=>[e,C.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,C.DITA]),...["epub"].map(e=>[e,C.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,C.EXCEL]),...["flac"].map(e=>[e,C.FLAC]),...["gif"].map(e=>[e,C.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,C.GZIP]),...["html","htm","xhtml"].map(e=>[e,C.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(e=>[e,C.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,C.JPEG]),...["json"].map(e=>[e,C.JSON]),...["m4a","m4p"].map(e=>[e,C.M4A]),...["mov","qt"].map(e=>[e,C.MOV]),...["mp3"].map(e=>[e,C.MP3]),...["mp4","m4v"].map(e=>[e,C.MP4]),...["ogg","oga"].map(e=>[e,C.OGG]),...["pdf","ps"].map(e=>[e,C.PDF]),...["png"].map(e=>[e,C.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,C.POWERPOINT]),...["rar"].map(e=>[e,C.RAR]),...["stp"].map(e=>[e,C.STP]),...["txt","rtf","md","mdown"].map(e=>[e,C.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(e=>[e,C.VIDEO]),...["wav"].map(e=>[e,C.WAV]),...["wma"].map(e=>[e,C.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,C.WORD]),...["xml","xsl","rdf"].map(e=>[e,C.XML]),...["yaml","yml","x-yaml"].map(e=>[e,C.YAML]),...["zip"].map(e=>[e,C.ZIP])]);var oy={[C.ABW]:"#91ABC6",[C.AUDIO]:"#1795E3",[C.AVI]:"#E63324",[C.CHM]:"#71C3EB",[C.CODE]:"#71C3EB",[C.CSV]:"#1F7345",[C.DITA]:"#71C3EB",[C.EPUB]:"#85B926",[C.EXCEL]:"#1F7345",[C.FLAC]:"#1795E3",[C.GIF]:"#59B031",[C.GZIP]:"#F8AB36",[C.HTML]:"#71C3EB",[C.IMAGE]:"#59B031",[C.JPEG]:"#59B031",[C.JSON]:"#71C3EB",[C.M4A]:"#1795E3",[C.MOV]:"#E63324",[C.MP3]:"#1795E3",[C.MP4]:"#E63324",[C.OGG]:"#1795E3",[C.PDF]:"#E44948",[C.PNG]:"#59B031",[C.POWERPOINT]:"#B54A2B",[C.RAR]:"#F8AB36",[C.STP]:"#3764B1",[C.TEXT]:"#3162AB",[C.UNKNOWN]:"#999999",[C.VIDEO]:"#E63324",[C.WAV]:"#1795E3",[C.WMA]:"#1795E3",[C.WORD]:"#3162AB",[C.XML]:"#71C3EB",[C.YAML]:"#71C3EB",[C.ZIP]:"#F8AB36"};var Nt;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(Nt||(Nt={}));var Oo=function(e,o,r,n){var a=arguments.length,i=a<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,o,r,n);else for(var s=e.length-1;s>=0;s--)(l=e[s])&&(i=(a<3?l(i):a>3?l(o,r,i):l(o,r))||i);return a>3&&i&&Object.defineProperty(o,r,i),i},rt=class extends ui.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=Ye.nothing}render(){let o=this.variant&&Object.values(Nt).includes(this.variant)?this.variant:Nt.fluid_topics,r=o!==Nt.material||!!this.value;return Ye.html`
|
|
611
|
+
<i class="ft-icon ft-icon--${o}" part="icon icon-${o}">
|
|
612
|
+
${(0,yi.unsafeHTML)(this.resolvedIcon)}
|
|
613
|
+
<slot ?hidden=${r}></slot>
|
|
614
|
+
</i>
|
|
615
|
+
`}get textContent(){var o,r;return(r=(o=this.slottedContent)===null||o===void 0?void 0:o.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&r!==void 0?r:""}update(o){super.update(o),["value","variant"].some(r=>o.has(r))&&this.resolveIcon()}resolveIcon(){var o,r;let n=this.value||this.textContent;switch(this.variant){case Nt.file_format:this.resolvedIcon=(o=C[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break;case Nt.material:this.resolvedIcon=this.value||Ye.nothing;break;default:this.resolvedIcon=(r=Bt[n.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:n;break}}firstUpdated(o){super.firstUpdated(o),setTimeout(()=>this.resolveIcon())}};rt.elementDefinitions={};rt.styles=da;Oo([(0,ie.property)()],rt.prototype,"variant",void 0);Oo([(0,ie.property)()],rt.prototype,"value",void 0);Oo([(0,ie.state)()],rt.prototype,"resolvedIcon",void 0);Oo([(0,ie.query)("slot")],rt.prototype,"slottedContent",void 0);(0,hi.customElement)("ft-icon")(rt);var bi=S(k());var mi=S(_()),gi=S(k());var ce=class extends gi.FtLitElement{render(){return mi.html`
|
|
616
|
+
<div class="ft-loader">
|
|
617
|
+
<div></div>
|
|
618
|
+
<div></div>
|
|
619
|
+
<div></div>
|
|
620
|
+
<div></div>
|
|
621
|
+
</div>
|
|
622
|
+
`}};ce.styles=la;(0,bi.customElement)("ft-loader")(ce);var Re=S(_()),xi=S(lo()),Y=S(Z()),nt=function(e,o,r,n){var a=arguments.length,i=a<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,o,r,n);else for(var s=e.length-1;s>=0;s--)(l=e[s])&&(i=(a<3?l(i):a>3?l(o,r,i):l(o,r))||i);return a>3&&i&&Object.defineProperty(o,r,i),i},U=class extends(0,Le.toFtFormComponent)(Le.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",o=>{var r;this.isDisabled()?(o.preventDefault(),o.stopPropagation(),o.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){var o;return this.addTooltipIfNeeded(Re.html`
|
|
623
|
+
<button part="button"
|
|
624
|
+
class="${(0,xi.classMap)(this.buttonClasses)}"
|
|
625
|
+
aria-label="${(o=this.ariaLabel)!==null&&o!==void 0?o:this.getLabel()}"
|
|
626
|
+
?disabled=${this.isDisabled()}>
|
|
627
|
+
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
628
|
+
<ft-typography part="label"
|
|
629
|
+
variant=${this.typographyVariant}
|
|
630
|
+
element="span"
|
|
631
|
+
class="ft-button--label ${Le.isSafari?"ft-safari-ellipsis-fix":""}"
|
|
632
|
+
?hidden=${!this.hasTextContent()}>
|
|
633
|
+
<slot @slotchange=${this.onSlotchange}></slot>
|
|
634
|
+
</ft-typography>
|
|
635
|
+
${this.resolveIcon()}
|
|
636
|
+
</button>
|
|
637
|
+
`)}addTooltipIfNeeded(o){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?Re.html`
|
|
638
|
+
<ft-tooltip part="tooltip"
|
|
639
|
+
text="${this.getLabel()}"
|
|
640
|
+
position="${this.tooltipPosition}">
|
|
641
|
+
${o}
|
|
642
|
+
</ft-tooltip>
|
|
643
|
+
`:o}resolveIcon(){return this.loading?Re.html`
|
|
644
|
+
<ft-loader part="loader icon"></ft-loader> `:this.icon?Re.html`
|
|
645
|
+
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
|
|
646
|
+
`:Re.html`
|
|
647
|
+
<slot part="icon" name="icon"></slot>
|
|
648
|
+
`}focus(){var o;(o=this.button)===null||o===void 0||o.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(o){return o instanceof HTMLSlotElement?o.assignedNodes().map(r=>this.unslotText(r)).join(""):o?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};U.elementDefinitions={"ft-ripple":z,"ft-tooltip":M,"ft-typography":J,"ft-icon":rt,"ft-loader":ce};nt([(0,Y.property)({type:String,reflect:!0})],U.prototype,"role",void 0);nt([(0,Y.property)()],U.prototype,"type",void 0);nt([(0,Y.property)({type:Boolean})],U.prototype,"disabled",void 0);nt([(0,Y.property)()],U.prototype,"label",void 0);nt([(0,Y.property)()],U.prototype,"icon",void 0);nt([(0,Y.property)()],U.prototype,"iconVariant",void 0);nt([(0,Y.property)({type:Boolean})],U.prototype,"trailingIcon",void 0);nt([(0,Y.property)({type:Boolean})],U.prototype,"loading",void 0);nt([(0,Y.property)({attribute:"aria-label"})],U.prototype,"ariaLabel",void 0);nt([(0,Y.property)()],U.prototype,"tooltipPosition",void 0);nt([(0,Y.property)({type:Boolean})],U.prototype,"hideTooltip",void 0);nt([(0,Y.property)({type:Boolean})],U.prototype,"forceTooltip",void 0);nt([(0,Y.query)(".ft-button")],U.prototype,"button",void 0);nt([(0,Y.query)(".ft-button--label slot")],U.prototype,"slottedContent",void 0);var Co=function(e,o,r,n){var a=arguments.length,i=a<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,o,r,n);else for(var s=e.length-1;s>=0;s--)(l=e[s])&&(i=(a<3?l(i):a>3?l(o,r,i):l(o,r))||i);return a>3&&i&&Object.defineProperty(o,r,i),i},Wt=class extends U{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"}};Wt.styles=[vi.safariEllipsisFix,ya];Co([(0,qe.property)({type:Boolean})],Wt.prototype,"primary",void 0);Co([(0,qe.property)({type:Boolean})],Wt.prototype,"outlined",void 0);Co([(0,qe.property)({type:Boolean})],Wt.prototype,"dense",void 0);Co([(0,qe.property)({type:Boolean})],Wt.prototype,"round",void 0);var Xe=S(Z());var Eo=S(k());var Si=S(_()),x=S(k());var Oi=[Si.css`
|
|
649
|
+
:host {
|
|
650
|
+
display: inline-block;
|
|
651
|
+
max-width: 100%;
|
|
652
|
+
pointer-events: none;
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
/** Remove default button styles **/
|
|
656
|
+
|
|
657
|
+
button {
|
|
658
|
+
box-shadow: 0 0 0 transparent;
|
|
659
|
+
border: 0 solid transparent;
|
|
660
|
+
text-shadow: 0 0 0 transparent;
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
button:hover {
|
|
664
|
+
box-shadow: 0 0 0 transparent;
|
|
665
|
+
text-shadow: 0 0 0 transparent;
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
button:active {
|
|
669
|
+
outline: none;
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
button:focus {
|
|
673
|
+
outline: 0;
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
/** Base styles **/
|
|
677
|
+
|
|
678
|
+
.ft-button {
|
|
679
|
+
position: relative;
|
|
680
|
+
display: flex;
|
|
681
|
+
justify-content: center;
|
|
682
|
+
align-items: center;
|
|
683
|
+
width: 100%;
|
|
684
|
+
overflow: hidden;
|
|
685
|
+
box-sizing: border-box;
|
|
686
|
+
pointer-events: auto;
|
|
687
|
+
}
|
|
688
|
+
|
|
689
|
+
.ft-button:not([disabled]):hover {
|
|
690
|
+
cursor: pointer;
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
.ft-button:focus {
|
|
694
|
+
outline: none;
|
|
695
|
+
}
|
|
696
|
+
|
|
697
|
+
.ft-button:focus-visible {
|
|
698
|
+
outline-color: ${u.focusFocusRingColor};
|
|
699
|
+
outline-style: solid;
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
ft-icon {
|
|
703
|
+
flex-shrink: 0;
|
|
704
|
+
position: relative;
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
.ft-button:not(.ft-button--trailing-icon) ft-icon,
|
|
708
|
+
.ft-button:not(.ft-button--trailing-icon) ft-loader {
|
|
709
|
+
order: -1;
|
|
710
|
+
}
|
|
711
|
+
|
|
712
|
+
.ft-button--label {
|
|
713
|
+
position: relative;
|
|
714
|
+
overflow: hidden;
|
|
715
|
+
white-space: nowrap;
|
|
716
|
+
text-overflow: ellipsis;
|
|
717
|
+
display: block;
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
.ft-button--label[hidden] {
|
|
721
|
+
display: none;
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
.ft-button.ft-button--icon-only {
|
|
725
|
+
padding: unset;
|
|
726
|
+
border-radius: 50%;
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
/** Brand Primary styles **/
|
|
730
|
+
|
|
731
|
+
.ftds--family-brand.ft-button--primary {
|
|
732
|
+
${(0,x.setVariable)(B.color,u.primaryBrandIconColor)};
|
|
733
|
+
|
|
734
|
+
${(0,x.setVariable)(O.color,u.primaryBrandStateLayerColor)};
|
|
735
|
+
${(0,x.setVariable)(O.opacityContentOnSurfaceHover,u.primaryBrandHoverStateLayerOpacity)};
|
|
736
|
+
${(0,x.setVariable)(O.opacityContentOnSurfaceFocused,u.primaryBrandFocusStateLayerOpacity)};
|
|
737
|
+
${(0,x.setVariable)(O.opacityContentOnSurfaceSelected,u.primaryBrandActiveStateLayerOpacity)};
|
|
738
|
+
${(0,x.setVariable)(O.opacityContentOnSurfacePressed,u.primaryBrandActiveStateLayerOpacity)};
|
|
739
|
+
|
|
740
|
+
background-color: ${u.primaryBrandBackgroundColor};
|
|
741
|
+
color: ${u.primaryBrandColor};
|
|
742
|
+
border-style: none;
|
|
743
|
+
}
|
|
744
|
+
|
|
745
|
+
.ftds--family-brand.ft-button--primary[disabled] {
|
|
746
|
+
opacity: ${u.primaryBrandDisabledComponentOpacity};
|
|
747
|
+
}
|
|
748
|
+
|
|
749
|
+
.ftds--family-brand.ft-button--primary ft-icon {
|
|
750
|
+
color: ${u.primaryBrandIconColor};
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
/** Brand Secondary styles **/
|
|
754
|
+
|
|
755
|
+
.ftds--family-brand.ft-button--secondary {
|
|
756
|
+
${(0,x.setVariable)(B.color,u.secondaryBrandIconColor)};
|
|
757
|
+
|
|
758
|
+
${(0,x.setVariable)(O.color,u.secondaryBrandStateLayerColor)};
|
|
759
|
+
${(0,x.setVariable)(O.opacityContentOnSurfaceHover,u.secondaryBrandHoverStateLayerOpacity)};
|
|
760
|
+
${(0,x.setVariable)(O.opacityContentOnSurfaceFocused,u.secondaryBrandFocusStateLayerOpacity)};
|
|
761
|
+
${(0,x.setVariable)(O.opacityContentOnSurfaceSelected,u.secondaryBrandActiveStateLayerOpacity)};
|
|
762
|
+
${(0,x.setVariable)(O.opacityContentOnSurfacePressed,u.secondaryBrandActiveStateLayerOpacity)};
|
|
763
|
+
|
|
764
|
+
background-color: ${u.secondaryBrandBackgroundColor};
|
|
765
|
+
color: ${u.secondaryBrandColor};
|
|
766
|
+
border-color: ${u.secondaryBrandBorderColor};
|
|
767
|
+
border-style: solid;
|
|
768
|
+
}
|
|
769
|
+
|
|
770
|
+
.ftds--family-brand.ft-button--secondary[disabled] {
|
|
771
|
+
opacity: ${u.secondaryBrandDisabledComponentOpacity};
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
.ftds--family-brand.ft-button--secondary ft-icon {
|
|
775
|
+
color: ${u.secondaryBrandIconColor};
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
/** Brand Tertiary styles **/
|
|
779
|
+
|
|
780
|
+
.ftds--family-brand.ft-button--tertiary {
|
|
781
|
+
${(0,x.setVariable)(B.color,u.tertiaryBrandIconColor)};
|
|
782
|
+
|
|
783
|
+
${(0,x.setVariable)(O.color,u.tertiaryBrandStateLayerColor)};
|
|
784
|
+
${(0,x.setVariable)(O.opacityContentOnSurfaceHover,u.tertiaryBrandHoverStateLayerOpacity)};
|
|
785
|
+
${(0,x.setVariable)(O.opacityContentOnSurfaceFocused,u.tertiaryBrandFocusStateLayerOpacity)};
|
|
786
|
+
${(0,x.setVariable)(O.opacityContentOnSurfaceSelected,u.tertiaryBrandActiveStateLayerOpacity)};
|
|
787
|
+
${(0,x.setVariable)(O.opacityContentOnSurfacePressed,u.tertiaryBrandActiveStateLayerOpacity)};
|
|
788
|
+
|
|
789
|
+
background-color: ${u.tertiaryBrandBackgroundColor};
|
|
790
|
+
color: ${u.tertiaryBrandColor};
|
|
791
|
+
border-style: none;
|
|
792
|
+
}
|
|
793
|
+
|
|
794
|
+
.ftds--family-brand.ft-button--tertiary[disabled] {
|
|
795
|
+
opacity: ${u.tertiaryBrandDisabledComponentOpacity};
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
.ftds--family-brand.ft-button--tertiary ft-icon {
|
|
799
|
+
color: ${u.tertiaryBrandIconColor};
|
|
800
|
+
}
|
|
801
|
+
|
|
802
|
+
/** Neutral Secondary styles **/
|
|
803
|
+
|
|
804
|
+
.ftds--family-neutral.ft-button--secondary {
|
|
805
|
+
${(0,x.setVariable)(B.color,u.secondaryNeutralIconColor)};
|
|
806
|
+
|
|
807
|
+
${(0,x.setVariable)(O.backgroundColor,u.secondaryNeutralStateLayerColor)};
|
|
808
|
+
${(0,x.setVariable)(O.opacityContentOnSurfaceHover,u.secondaryNeutralHoverStateLayerOpacity)};
|
|
809
|
+
${(0,x.setVariable)(O.opacityContentOnSurfaceFocused,u.secondaryNeutralFocusStateLayerOpacity)};
|
|
810
|
+
${(0,x.setVariable)(O.opacityContentOnSurfaceSelected,u.secondaryNeutralActiveStateLayerOpacity)};
|
|
811
|
+
${(0,x.setVariable)(O.opacityContentOnSurfacePressed,u.secondaryNeutralActiveStateLayerOpacity)};
|
|
812
|
+
|
|
813
|
+
background-color: ${u.secondaryNeutralBackgroundColor};
|
|
814
|
+
color: ${u.secondaryNeutralColor};
|
|
815
|
+
border-color: ${u.secondaryNeutralBorderColor};
|
|
816
|
+
border-style: solid;
|
|
817
|
+
}
|
|
818
|
+
|
|
819
|
+
.ftds--family-neutral.ft-button--secondary[disabled] {
|
|
820
|
+
opacity: ${u.secondaryNeutralDisabledComponentOpacity};
|
|
821
|
+
}
|
|
822
|
+
|
|
823
|
+
.ftds--family-neutral.ft-button--secondary ft-icon {
|
|
824
|
+
color: ${u.secondaryNeutralIconColor};
|
|
825
|
+
}
|
|
826
|
+
|
|
827
|
+
/** Neutral Tertiary styles **/
|
|
828
|
+
|
|
829
|
+
.ftds--family-neutral.ft-button--tertiary {
|
|
830
|
+
${(0,x.setVariable)(B.color,u.tertiaryNeutralIconColor)};
|
|
831
|
+
|
|
832
|
+
${(0,x.setVariable)(O.backgroundColor,u.tertiaryNeutralStateLayerColor)};
|
|
833
|
+
${(0,x.setVariable)(O.opacityContentOnSurfaceHover,u.tertiaryNeutralHoverStateLayerOpacity)};
|
|
834
|
+
${(0,x.setVariable)(O.opacityContentOnSurfaceFocused,u.tertiaryNeutralFocusStateLayerOpacity)};
|
|
835
|
+
${(0,x.setVariable)(O.opacityContentOnSurfaceSelected,u.tertiaryNeutralActiveStateLayerOpacity)};
|
|
836
|
+
${(0,x.setVariable)(O.opacityContentOnSurfacePressed,u.tertiaryNeutralActiveStateLayerOpacity)};
|
|
837
|
+
|
|
838
|
+
background-color: ${u.tertiaryNeutralBackgroundColor};
|
|
839
|
+
color: ${u.tertiaryNeutralColor};
|
|
840
|
+
border-style: none;
|
|
841
|
+
}
|
|
842
|
+
|
|
843
|
+
.ftds--family-neutral.ft-button--tertiary[disabled] {
|
|
844
|
+
opacity: ${u.tertiaryNeutralDisabledComponentOpacity};
|
|
845
|
+
}
|
|
846
|
+
|
|
847
|
+
.ftds--family-neutral.ft-button--tertiary ft-icon {
|
|
848
|
+
color: ${u.tertiaryNeutralIconColor};
|
|
849
|
+
}
|
|
850
|
+
|
|
851
|
+
/** Info Secondary styles **/
|
|
852
|
+
|
|
853
|
+
.ftds--family-info.ft-button--secondary {
|
|
854
|
+
${(0,x.setVariable)(B.color,u.secondaryInfoIconColor)};
|
|
855
|
+
|
|
856
|
+
${(0,x.setVariable)(O.backgroundColor,u.secondaryInfoStateLayerColor)};
|
|
857
|
+
${(0,x.setVariable)(O.opacityContentOnSurfaceHover,u.secondaryInfoHoverStateLayerOpacity)};
|
|
858
|
+
${(0,x.setVariable)(O.opacityContentOnSurfaceFocused,u.secondaryInfoFocusStateLayerOpacity)};
|
|
859
|
+
${(0,x.setVariable)(O.opacityContentOnSurfaceSelected,u.secondaryInfoActiveStateLayerOpacity)};
|
|
860
|
+
${(0,x.setVariable)(O.opacityContentOnSurfacePressed,u.secondaryInfoActiveStateLayerOpacity)};
|
|
861
|
+
|
|
862
|
+
background-color: ${u.secondaryInfoBackgroundColor};
|
|
863
|
+
color: ${u.secondaryInfoColor};
|
|
864
|
+
border-color: ${u.secondaryInfoBorderColor};
|
|
865
|
+
border-style: solid;
|
|
866
|
+
}
|
|
867
|
+
|
|
868
|
+
.ftds--family-info.ft-button--secondary[disabled] {
|
|
869
|
+
opacity: ${u.secondaryInfoDisabledComponentOpacity};
|
|
870
|
+
}
|
|
871
|
+
|
|
872
|
+
.ftds--family-info.ft-button--secondary ft-icon {
|
|
873
|
+
color: ${u.secondaryInfoIconColor};
|
|
874
|
+
}
|
|
875
|
+
|
|
876
|
+
/** Info Tertiary styles **/
|
|
877
|
+
|
|
878
|
+
.ftds--family-info.ft-button--tertiary {
|
|
879
|
+
${(0,x.setVariable)(B.color,u.tertiaryInfoIconColor)};
|
|
880
|
+
|
|
881
|
+
${(0,x.setVariable)(O.backgroundColor,u.tertiaryInfoStateLayerColor)};
|
|
882
|
+
${(0,x.setVariable)(O.opacityContentOnSurfaceHover,u.tertiaryInfoHoverStateLayerOpacity)};
|
|
883
|
+
${(0,x.setVariable)(O.opacityContentOnSurfaceFocused,u.tertiaryInfoFocusStateLayerOpacity)};
|
|
884
|
+
${(0,x.setVariable)(O.opacityContentOnSurfaceSelected,u.tertiaryInfoActiveStateLayerOpacity)};
|
|
885
|
+
${(0,x.setVariable)(O.opacityContentOnSurfacePressed,u.tertiaryInfoActiveStateLayerOpacity)};
|
|
886
|
+
|
|
887
|
+
background-color: ${u.tertiaryInfoBackgroundColor};
|
|
888
|
+
color: ${u.tertiaryInfoColor};
|
|
889
|
+
border-style: none;
|
|
890
|
+
}
|
|
891
|
+
|
|
892
|
+
.ftds--family-info.ft-button--tertiary[disabled] {
|
|
893
|
+
opacity: ${u.tertiaryInfoDisabledComponentOpacity};
|
|
894
|
+
}
|
|
895
|
+
|
|
896
|
+
.ftds--family-info.ft-button--tertiary ft-icon {
|
|
897
|
+
color: ${u.tertiaryInfoIconColor};
|
|
898
|
+
}
|
|
899
|
+
|
|
900
|
+
/** Success Secondary styles **/
|
|
901
|
+
|
|
902
|
+
.ftds--family-success.ft-button--secondary {
|
|
903
|
+
${(0,x.setVariable)(B.color,u.secondarySuccessIconColor)};
|
|
904
|
+
|
|
905
|
+
${(0,x.setVariable)(O.backgroundColor,u.secondarySuccessStateLayerColor)};
|
|
906
|
+
${(0,x.setVariable)(O.opacityContentOnSurfaceHover,u.secondarySuccessHoverStateLayerOpacity)};
|
|
907
|
+
${(0,x.setVariable)(O.opacityContentOnSurfaceFocused,u.secondarySuccessFocusStateLayerOpacity)};
|
|
908
|
+
${(0,x.setVariable)(O.opacityContentOnSurfaceSelected,u.secondarySuccessActiveStateLayerOpacity)};
|
|
909
|
+
${(0,x.setVariable)(O.opacityContentOnSurfacePressed,u.secondarySuccessActiveStateLayerOpacity)};
|
|
910
|
+
|
|
911
|
+
background-color: ${u.secondarySuccessBackgroundColor};
|
|
912
|
+
color: ${u.secondarySuccessColor};
|
|
913
|
+
border-color: ${u.secondarySuccessBorderColor};
|
|
914
|
+
border-style: solid;
|
|
915
|
+
}
|
|
916
|
+
|
|
917
|
+
.ftds--family-success.ft-button--secondary[disabled] {
|
|
918
|
+
opacity: ${u.secondarySuccessDisabledComponentOpacity};
|
|
919
|
+
}
|
|
920
|
+
|
|
921
|
+
.ftds--family-success.ft-button--secondary ft-icon {
|
|
922
|
+
color: ${u.secondarySuccessIconColor};
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
/** Success Tertiary styles **/
|
|
926
|
+
|
|
927
|
+
.ftds--family-success.ft-button--tertiary {
|
|
928
|
+
${(0,x.setVariable)(B.color,u.tertiarySuccessIconColor)};
|
|
929
|
+
|
|
930
|
+
${(0,x.setVariable)(O.backgroundColor,u.tertiarySuccessStateLayerColor)};
|
|
931
|
+
${(0,x.setVariable)(O.opacityContentOnSurfaceHover,u.tertiarySuccessHoverStateLayerOpacity)};
|
|
932
|
+
${(0,x.setVariable)(O.opacityContentOnSurfaceFocused,u.tertiarySuccessFocusStateLayerOpacity)};
|
|
933
|
+
${(0,x.setVariable)(O.opacityContentOnSurfaceSelected,u.tertiarySuccessActiveStateLayerOpacity)};
|
|
934
|
+
${(0,x.setVariable)(O.opacityContentOnSurfacePressed,u.tertiarySuccessActiveStateLayerOpacity)};
|
|
935
|
+
|
|
936
|
+
background-color: ${u.tertiarySuccessBackgroundColor};
|
|
937
|
+
color: ${u.tertiarySuccessColor};
|
|
938
|
+
border-style: none;
|
|
939
|
+
}
|
|
940
|
+
|
|
941
|
+
.ftds--family-success.ft-button--tertiary[disabled] {
|
|
942
|
+
opacity: ${u.tertiarySuccessDisabledComponentOpacity};
|
|
943
|
+
}
|
|
944
|
+
|
|
945
|
+
.ftds--family-success.ft-button--tertiary ft-icon {
|
|
946
|
+
color: ${u.tertiarySuccessIconColor};
|
|
947
|
+
}
|
|
948
|
+
|
|
949
|
+
/** Warning Secondary styles **/
|
|
950
|
+
|
|
951
|
+
.ftds--family-warning.ft-button--secondary {
|
|
952
|
+
${(0,x.setVariable)(B.color,u.secondaryWarningIconColor)};
|
|
953
|
+
|
|
954
|
+
${(0,x.setVariable)(O.backgroundColor,u.secondaryWarningStateLayerColor)};
|
|
955
|
+
${(0,x.setVariable)(O.opacityContentOnSurfaceHover,u.secondaryWarningHoverStateLayerOpacity)};
|
|
956
|
+
${(0,x.setVariable)(O.opacityContentOnSurfaceFocused,u.secondaryWarningFocusStateLayerOpacity)};
|
|
957
|
+
${(0,x.setVariable)(O.opacityContentOnSurfaceSelected,u.secondaryWarningActiveStateLayerOpacity)};
|
|
958
|
+
${(0,x.setVariable)(O.opacityContentOnSurfacePressed,u.secondaryWarningActiveStateLayerOpacity)};
|
|
959
|
+
|
|
960
|
+
background-color: ${u.secondaryWarningBackgroundColor};
|
|
961
|
+
color: ${u.secondaryWarningColor};
|
|
962
|
+
border-color: ${u.secondaryWarningBorderColor};
|
|
963
|
+
border-style: solid;
|
|
964
|
+
}
|
|
965
|
+
|
|
966
|
+
.ftds--family-warning.ft-button--secondary[disabled] {
|
|
967
|
+
opacity: ${u.secondaryWarningDisabledComponentOpacity};
|
|
968
|
+
}
|
|
969
|
+
|
|
970
|
+
.ftds--family-warning.ft-button--secondary ft-icon {
|
|
971
|
+
color: ${u.secondaryWarningIconColor};
|
|
972
|
+
}
|
|
973
|
+
|
|
974
|
+
/** Warning Tertiary styles **/
|
|
975
|
+
|
|
976
|
+
.ftds--family-warning.ft-button--tertiary {
|
|
977
|
+
${(0,x.setVariable)(B.color,u.tertiaryWarningIconColor)};
|
|
978
|
+
|
|
979
|
+
${(0,x.setVariable)(O.backgroundColor,u.tertiaryWarningStateLayerColor)};
|
|
980
|
+
${(0,x.setVariable)(O.opacityContentOnSurfaceHover,u.tertiaryWarningHoverStateLayerOpacity)};
|
|
981
|
+
${(0,x.setVariable)(O.opacityContentOnSurfaceFocused,u.tertiaryWarningFocusStateLayerOpacity)};
|
|
982
|
+
${(0,x.setVariable)(O.opacityContentOnSurfaceSelected,u.tertiaryWarningActiveStateLayerOpacity)};
|
|
983
|
+
${(0,x.setVariable)(O.opacityContentOnSurfacePressed,u.tertiaryWarningActiveStateLayerOpacity)};
|
|
984
|
+
|
|
985
|
+
background-color: ${u.tertiaryWarningBackgroundColor};
|
|
986
|
+
color: ${u.tertiaryWarningColor};
|
|
987
|
+
border-style: none;
|
|
988
|
+
}
|
|
989
|
+
|
|
990
|
+
.ftds--family-warning.ft-button--tertiary[disabled] {
|
|
991
|
+
opacity: ${u.tertiaryWarningDisabledComponentOpacity};
|
|
992
|
+
}
|
|
993
|
+
|
|
994
|
+
.ftds--family-warning.ft-button--tertiary ft-icon {
|
|
995
|
+
color: ${u.tertiaryWarningIconColor};
|
|
996
|
+
}
|
|
997
|
+
|
|
998
|
+
/** Error Secondary styles **/
|
|
999
|
+
|
|
1000
|
+
.ftds--family-error.ft-button--secondary {
|
|
1001
|
+
${(0,x.setVariable)(B.color,u.secondaryErrorIconColor)};
|
|
1002
|
+
|
|
1003
|
+
${(0,x.setVariable)(O.backgroundColor,u.secondaryErrorStateLayerColor)};
|
|
1004
|
+
${(0,x.setVariable)(O.opacityContentOnSurfaceHover,u.secondaryErrorHoverStateLayerOpacity)};
|
|
1005
|
+
${(0,x.setVariable)(O.opacityContentOnSurfaceFocused,u.secondaryErrorFocusStateLayerOpacity)};
|
|
1006
|
+
${(0,x.setVariable)(O.opacityContentOnSurfaceSelected,u.secondaryErrorActiveStateLayerOpacity)};
|
|
1007
|
+
${(0,x.setVariable)(O.opacityContentOnSurfacePressed,u.secondaryErrorActiveStateLayerOpacity)};
|
|
1008
|
+
|
|
1009
|
+
background-color: ${u.secondaryErrorBackgroundColor};
|
|
1010
|
+
color: ${u.secondaryErrorColor};
|
|
1011
|
+
border-color: ${u.secondaryErrorBorderColor};
|
|
1012
|
+
border-style: solid;
|
|
1013
|
+
}
|
|
1014
|
+
|
|
1015
|
+
.ftds--family-error.ft-button--secondary[disabled] {
|
|
1016
|
+
opacity: ${u.secondaryErrorDisabledComponentOpacity};
|
|
1017
|
+
}
|
|
1018
|
+
|
|
1019
|
+
.ftds--family-error.ft-button--secondary ft-icon {
|
|
1020
|
+
color: ${u.secondaryErrorIconColor};
|
|
1021
|
+
}
|
|
1022
|
+
|
|
1023
|
+
/** Error Tertiary styles **/
|
|
1024
|
+
|
|
1025
|
+
.ftds--family-error.ft-button--tertiary {
|
|
1026
|
+
${(0,x.setVariable)(B.color,u.tertiaryErrorIconColor)};
|
|
1027
|
+
|
|
1028
|
+
${(0,x.setVariable)(O.backgroundColor,u.tertiaryErrorStateLayerColor)};
|
|
1029
|
+
${(0,x.setVariable)(O.opacityContentOnSurfaceHover,u.tertiaryErrorHoverStateLayerOpacity)};
|
|
1030
|
+
${(0,x.setVariable)(O.opacityContentOnSurfaceFocused,u.tertiaryErrorFocusStateLayerOpacity)};
|
|
1031
|
+
${(0,x.setVariable)(O.opacityContentOnSurfaceSelected,u.tertiaryErrorActiveStateLayerOpacity)};
|
|
1032
|
+
${(0,x.setVariable)(O.opacityContentOnSurfacePressed,u.tertiaryErrorActiveStateLayerOpacity)};
|
|
1033
|
+
|
|
1034
|
+
background-color: ${u.tertiaryErrorBackgroundColor};
|
|
1035
|
+
color: ${u.tertiaryErrorColor};
|
|
1036
|
+
border-style: none;
|
|
1037
|
+
}
|
|
1038
|
+
|
|
1039
|
+
.ftds--family-error.ft-button--tertiary[disabled] {
|
|
1040
|
+
opacity: ${u.tertiaryErrorDisabledComponentOpacity};
|
|
1041
|
+
}
|
|
1042
|
+
|
|
1043
|
+
.ftds--family-error.ft-button--tertiary ft-icon {
|
|
1044
|
+
color: ${u.tertiaryErrorIconColor};
|
|
1045
|
+
}
|
|
1046
|
+
|
|
1047
|
+
/** Large styles **/
|
|
1048
|
+
|
|
1049
|
+
.ftds--size-large {
|
|
1050
|
+
${(0,x.setVariable)(X.size,u.largeIconSize)};
|
|
1051
|
+
${(0,x.setVariable)(B.size,u.largeIconSize)};
|
|
1052
|
+
|
|
1053
|
+
height: ${u.largeHeight};
|
|
1054
|
+
padding: 0 ${u.largeHorizontalPadding};
|
|
1055
|
+
gap: ${u.largeGap};
|
|
1056
|
+
border-radius: ${u.largeBorderRadius};
|
|
1057
|
+
border-width: ${u.largeBorderWidth};
|
|
1058
|
+
}
|
|
1059
|
+
|
|
1060
|
+
.ftds--size-large:focus-visible {
|
|
1061
|
+
outline-width: ${u.largeFocusOutlineWidth};
|
|
1062
|
+
outline-offset: ${u.largeFocusOutlineOffset};
|
|
1063
|
+
}
|
|
1064
|
+
|
|
1065
|
+
.ftds--size-large.ft-button--icon-only {
|
|
1066
|
+
width: ${u.largeIconOnlyWidth};
|
|
1067
|
+
}
|
|
1068
|
+
|
|
1069
|
+
/** Small styles **/
|
|
1070
|
+
|
|
1071
|
+
.ftds--size-medium {
|
|
1072
|
+
${(0,x.setVariable)(X.size,u.mediumIconSize)};
|
|
1073
|
+
${(0,x.setVariable)(B.size,u.mediumIconSize)};
|
|
1074
|
+
|
|
1075
|
+
height: ${u.mediumHeight};
|
|
1076
|
+
padding: 0 ${u.mediumHorizontalPadding};
|
|
1077
|
+
gap: ${u.mediumGap};
|
|
1078
|
+
border-radius: ${u.mediumBorderRadius};
|
|
1079
|
+
border-width: ${u.mediumBorderWidth};
|
|
1080
|
+
}
|
|
1081
|
+
|
|
1082
|
+
.ftds--size-medium:focus-visible {
|
|
1083
|
+
outline-width: ${u.mediumFocusOutlineWidth};
|
|
1084
|
+
outline-offset: ${u.mediumFocusOutlineOffset};
|
|
1085
|
+
}
|
|
1086
|
+
|
|
1087
|
+
.ftds--size-medium.ft-button--icon-only {
|
|
1088
|
+
width: ${u.mediumIconOnlyWidth};
|
|
1089
|
+
}
|
|
1090
|
+
|
|
1091
|
+
|
|
1092
|
+
/** Small styles **/
|
|
1093
|
+
|
|
1094
|
+
.ftds--size-small {
|
|
1095
|
+
${(0,x.setVariable)(X.size,u.smallIconSize)};
|
|
1096
|
+
${(0,x.setVariable)(B.size,u.smallIconSize)};
|
|
1097
|
+
|
|
1098
|
+
height: ${u.smallHeight};
|
|
1099
|
+
padding: 0 ${u.smallHorizontalPadding};
|
|
1100
|
+
gap: ${u.smallGap};
|
|
1101
|
+
border-radius: ${u.smallBorderRadius};
|
|
1102
|
+
border-width: ${u.smallBorderWidth};
|
|
1103
|
+
}
|
|
1104
|
+
|
|
1105
|
+
.ftds--size-small:focus-visible {
|
|
1106
|
+
outline-width: ${u.smallFocusOutlineWidth};
|
|
1107
|
+
outline-offset: ${u.smallFocusOutlineOffset};
|
|
1108
|
+
}
|
|
1109
|
+
|
|
1110
|
+
.ftds--size-small.ft-button--icon-only {
|
|
1111
|
+
width: ${u.smallIconOnlyWidth};
|
|
1112
|
+
}
|
|
1113
|
+
`,x.noTextSelect];var wo=function(e,o,r,n){var a=arguments.length,i=a<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,o,r,n);else for(var s=e.length-1;s>=0;s--)(l=e[s])&&(i=(a<3?l(i):a>3?l(o,r,i):l(o,r))||i);return a>3&&i&&Object.defineProperty(o,r,i),i},st=class extends(0,Eo.toFtdsBase)(U){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=fo.brand,this.iconVariant=Nt.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 ct.large:return yt.body2medium;case ct.medium:return yt.caption1medium;case ct.small:return yt.caption2medium}}};st.styles=[Eo.safariEllipsisFix,Oi];wo([(0,Xe.property)({type:Boolean})],st.prototype,"primary",void 0);wo([(0,Xe.property)({type:Boolean})],st.prototype,"secondary",void 0);wo([(0,Xe.property)({type:Boolean})],st.prototype,"tertiary",void 0);wo([(0,Xe.property)({type:Boolean})],st.prototype,"round",void 0);(0,Cr.customElement)("ft-button")(Wt);(0,Cr.customElement)("ftds-button")(st);var Cc=S(k());var Yo=S(_()),qo=S(Z()),Xo=S(k());var Ci=S(_());var wi=Ci.css`
|
|
1114
|
+
`;var Zo=S(k());var vc=S(k());var Li=S(_()),ht=S(Z()),xt=S(k());var Ei=S(_());var Ni=Ei.css`
|
|
1115
|
+
`;var No=S(k()),il="ft-app-info",wr=class extends CustomEvent{constructor(o){super("authentication-change",{detail:o})}},cl={session:(e,o)=>{(0,No.deepEqual)(e.session,o.payload)||(e.session=o.payload,setTimeout(()=>I.eventBus.dispatchEvent(new wr(o.payload)),0))}},I=No.FtReduxStore.get({name:il,reducers:cl,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 Kt=S(k());var Er=S(k());var le=class e{static get(o){let{baseUrl:r,apiIntegrationIdentifier:n}=I.getState(),a=o??n;if(r&&a&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,a,!0)}static await(o){return new Promise(r=>{let n=e.get(o);if(n)r(n);else{let a=I.subscribe(()=>{n=e.get(o),n&&(a(),r(n))})}})}};var jt=class{constructor(o=!0,r){var n;this.overrideApi=r;let a=this.constructor;a.commonCache=(n=a.commonCache)!==null&&n!==void 0?n:new Er.CacheRegistry,this.cache=o?a.commonCache:new Er.CacheRegistry}get api(){var o;return(o=this.overrideApi)!==null&&o!==void 0?o:le.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):le.await()}clearCache(){this.cache.clearAll()}};var Ai,ll=Symbol("clearAfterUnitTest"),Ao=class extends jt{constructor(o){super(),this.messageContextProvider=o,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Ai]=()=>{this.defaultMessages={},this.cache=new Kt.CacheRegistry,this.listeners={}},this.currentUiLocale=I.getState().uiLocale,I.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:o}=I.getState();this.currentUiLocale!==o&&(this.currentUiLocale=o,this.cache.clearAll(),this.notifyAll())}addContext(o){let r=o.name.toLowerCase();this.cache.setFinal(r,o),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(o,r){var n;if(o=o.toLowerCase(),Object.keys(r).length>0){let a={...(n=this.defaultMessages[o])!==null&&n!==void 0?n:{},...r};(0,Kt.deepEqual)(this.defaultMessages[o],a)||(this.defaultMessages[o]=a,await this.notify(o))}await this.fetchContext(o)}resolveContext(o){var r,n;return this.fetchContext(o),(n=(r=this.cache.getNow(o))===null||r===void 0?void 0:r.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(o,r){let n=o.toLowerCase();return this.resolveContext(n)[r]}resolveMessage(o,r,...n){var a;let i=o.toLowerCase(),l=this.resolveContext(i);return new Kt.ParametrizedLabelResolver((a=this.defaultMessages[i])!==null&&a!==void 0?a:{},l).resolve(r,...n)}async fetchContext(o){if(!this.cache.has(o))try{await this.cache.get(o,()=>this.messageContextProvider(this.currentUiLocale,o)),await this.notify(o)}catch(r){console.error(r)}}subscribe(o,r){var n;return o=o.toLowerCase(),this.listeners[o]=(n=this.listeners[o])!==null&&n!==void 0?n:new Set,this.listeners[o].add(r),()=>{var a;return(a=this.listeners[o])===null||a===void 0?void 0:a.delete(r)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(o=>this.notify(o)))}async notify(o){this.listeners[o]!=null&&await Promise.all([...this.listeners[o].values()].map(r=>(0,Kt.delay)(0).then(()=>r()).catch(()=>null)))}};Ai=ll;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Ao{constructor(){super(async(e,o)=>(await this.awaitApi).getFluidTopicsMessageContext(e,o))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Ao{constructor(){super(async(e,o)=>(await this.awaitApi).getCustomMessageContext(e,o))}});var se=window.FluidTopicsI18nService,Ri=window.FluidTopicsCustomI18nService;var Q=function(e,o,r,n){var a=arguments.length,i=a<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,o,r,n);else for(var s=e.length-1;s>=0;s--)(l=e[s])&&(i=(a<3?l(i):a>3?l(o,r,i):l(o,r))||i);return a>3&&i&&Object.defineProperty(o,r,i),i},H=class extends xt.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=()=>le.get(),this.messageContexts=[],this.cache=new xt.CacheRegistry,this.cleanSessionDebouncer=new xt.Debouncer}render(){return Li.html`
|
|
1116
|
+
<slot></slot>
|
|
1117
|
+
`}update(o){super.update(o),o.has("baseUrl")&&(I.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),o.has("apiIntegrationIdentifier")&&I.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),o.has("uiLocale")&&I.actions.uiLocale(this.uiLocale),o.has("metadataConfiguration")&&I.actions.metadataConfiguration(this.metadataConfiguration),o.has("noCustom")&&I.actions.noCustom(this.noCustom),o.has("editorMode")&&I.actions.editorMode(this.editorMode),o.has("noCustomComponent")&&I.actions.noCustomComponent(this.noCustomComponent),o.has("session")&&I.actions.session(this.session),o.has("availableUiLocales")&&I.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),o.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(r=>se.addContext(r)),o.has("openExternalDocumentInNewTab")&&I.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),o.has("navigatorOnline")&&I.actions.navigatorOnline(this.navigatorOnline),o.has("forcedOffline")&&I.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 o=await this.apiProvider().getCurrentSession();return o.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},o.idleTimeoutInMillis),o})}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",()=>this.apiProvider().getAvailableUiLocales())}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}};H.elementDefinitions={};H.styles=Ni;Q([(0,ht.property)()],H.prototype,"baseUrl",void 0);Q([(0,ht.property)()],H.prototype,"apiIntegrationIdentifier",void 0);Q([(0,ht.property)()],H.prototype,"uiLocale",void 0);Q([(0,xt.jsonProperty)(null)],H.prototype,"availableUiLocales",void 0);Q([(0,xt.jsonProperty)(null)],H.prototype,"metadataConfiguration",void 0);Q([(0,ht.property)({type:Boolean})],H.prototype,"editorMode",void 0);Q([(0,ht.property)({type:Boolean})],H.prototype,"noCustom",void 0);Q([(0,ht.property)({type:Boolean})],H.prototype,"openExternalDocumentInNewTab",void 0);Q([(0,ht.property)({converter:{fromAttribute(e){return e==="false"?!1:e==="true"||(e??!1)}}})],H.prototype,"noCustomComponent",void 0);Q([(0,ht.property)({type:Boolean})],H.prototype,"withManualResources",void 0);Q([(0,ht.property)({type:Boolean})],H.prototype,"navigatorOnline",void 0);Q([(0,ht.property)({type:Boolean})],H.prototype,"forcedOffline",void 0);Q([(0,ht.property)({type:Object})],H.prototype,"apiProvider",void 0);Q([(0,xt.jsonProperty)([])],H.prototype,"messageContexts",void 0);Q([(0,xt.jsonProperty)(void 0)],H.prototype,"session",void 0);var Vl=S(Z());function sl(e,o){if(e===o)return!0;if(e&&o&&typeof e=="object"&&typeof o=="object"){if(e.constructor!==o.constructor)return!1;var r,n,a;if(Array.isArray(e)){if(r=e.length,r!=o.length)return!1;for(n=r;n--!==0;)if(!Ro(e[n],o[n]))return!1;return!0}if(e instanceof Map&&o instanceof Map){if(e.size!==o.size)return!1;for(n of e.entries())if(!o.has(n[0]))return!1;for(n of e.entries())if(!Ro(n[1],o.get(n[0])))return!1;return!0}if(e instanceof Set&&o instanceof Set){if(e.size!==o.size)return!1;for(n of e.entries())if(!o.has(n[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===o.source&&e.flags===o.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===o.valueOf();if(a=Object.keys(e),r=a.length,r!==Object.keys(o).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(o,a[n]))return!1;for(n=r;n--!==0;){var i=a[n];if(!Ro(e[i],o[i]))return!1}return!0}return e!==e&&o!==o}function Ro(e,o){try{return sl(e,o)}catch{return!1}}function Nr(e,o){return!Ro(e,o)}var dl=S(Z(),1);var Lo=class{constructor(){this.queue=[]}add(o,r=!1){r&&(this.queue=this.queue.filter(n=>n.type!==o.type)),this.queue.push(o)}consume(o){let r=this.queue.find(n=>n.type===o);return r&&(this.queue=this.queue.filter(n=>n!==r)),r}};var Je=S(Z(),1);var Pi=S(Z(),1);function Ii(e,o){let r=()=>JSON.parse(JSON.stringify(e));return(0,Pi.property)({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Nr,...o??{}})}var Po=class{constructor(o=0){this.timeout=o,this.callbacks=[]}run(o,r){return this.callbacks=[o],this.debounce(r)}queue(o,r){return this.callbacks.push(o),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(o){return this.promise==null&&(this.promise=new Promise((r,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),o??this.timeout),this.promise}async runCallbacks(){var o,r;let n=[...this.callbacks];this.callbacks=[];let a=(o=this.rejectPromise)!==null&&o!==void 0?o:()=>null,i=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let l of n)try{await l()}catch(s){a(s);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 $i=S(_(),1);var Io=window,fl=Io.ShadowRoot&&(Io.ShadyCSS===void 0||Io.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Oh=Symbol();var ki=(e,o)=>{fl?e.adoptedStyleSheets=o.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):o.forEach(r=>{let n=document.createElement("style"),a=Io.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=r.cssText,e.appendChild(n)})};var ko=class extends $i.LitElement{createRenderRoot(){let o=this.constructor;o.elementDefinitions&&!o.registry&&(o.registry=new CustomElementRegistry,Object.entries(o.elementDefinitions).forEach(([a,i])=>o.registry.define(a,i)));let r={...o.shadowRootOptions,customElements:o.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return ki(n,o.elementStyles),n}};var $o=function(e,o,r,n){var a=arguments.length,i=a<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,o,r,n);else for(var s=e.length-1;s>=0;s--)(l=e[s])&&(i=(a<3?l(i):a>3?l(o,r,i):l(o,r))||i);return a>3&&i&&Object.defineProperty(o,r,i),i},_i,Ti=Symbol("constructorPrototype"),Bi=Symbol("constructorName"),Di=Symbol("exportpartsDebouncer"),Wi=Symbol("dynamicDependenciesLoaded"),Zt=class extends ko{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[_i]=new Po(5),this[Bi]=this.constructor.name,this[Ti]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Bi]&&Object.setPrototypeOf(this,this[Ti])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(r){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",r)}let o=this.constructor;o[Wi]||(o[Wi]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(o){super.updated(o),this.updateComplete.then(()=>{this.contentAvailableCallback(o),this.applyCustomStylesheet(o),this.scheduleExportpartsUpdate()})}contentAvailableCallback(o){}applyCustomStylesheet(o){var r,n,a;if(((n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(i=>i.remove()),this.useAdoptedStyleSheets){if(o.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 o,r,n;(!((o=this.exportpartsPrefix)===null||o===void 0)&&o.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[Di].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(o){var r,n,a,i,l,s;let f=m=>m!=null&&m.trim().length>0,p=o.filter(f).map(m=>m.trim());if(p.length===0){this.removeAttribute("exportparts");return}let y=new Set;for(let m of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let b=(i=(a=m.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&i!==void 0?i:[],g=(s=(l=m.getAttribute("exportparts"))===null||l===void 0?void 0:l.split(",").map(v=>v.split(":")[1]))!==null&&s!==void 0?s:[];new Array(...b,...g).filter(f).map(v=>v.trim()).forEach(v=>y.add(v))}if(y.size===0){this.removeAttribute("exportparts");return}let h=[...y.values()].flatMap(m=>p.map(b=>`${m}:${b}--${m}`));this.setAttribute("exportparts",[...this.part,...h].join(", "))}};_i=Di;$o([(0,Je.property)()],Zt.prototype,"exportpartsPrefix",void 0);$o([Ii([])],Zt.prototype,"exportpartsPrefixes",void 0);$o([(0,Je.property)()],Zt.prototype,"customStylesheet",void 0);$o([(0,Je.state)()],Zt.prototype,"useAdoptedStyleSheets",void 0);function Qe(e){var o;return(o=e?.isFtReduxStore)!==null&&o!==void 0?o:!1}var zi,Mi,Ui,To=Symbol("internalReduxEventsUnsubscribers"),Vt=Symbol("internalStoresUnsubscribers"),de=Symbol("internalStores"),to=class extends Zt{constructor(){super(...arguments),this[zi]=new Map,this[Mi]=new Map,this[Ui]=[]}get reduxConstructor(){return this.constructor}update(o){super.update(o),[...this.reduxConstructor.reduxReactiveProperties].some(r=>o.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[de].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[de].values()][0]}getStore(o){return o==null?this.getUnnamedStore():this[de].get(o)}addStore(o,r){var n;r=(n=r??(Qe(o)?o.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(r),this.setupStore(r,o)}removeStore(o){let r=typeof o=="string"?o:o.name;this.unsubscribeFromStore(r),this[de].delete(r)}setupStore(o,r){this[de].set(o,r),this.subscribeToStore(o,r),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[de].forEach((o,r)=>this.subscribeToStore(r,o)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((o,r)=>{let n=this.constructor.getPropertyOptions(r);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:r)){let a=this.getStore(o.store);a&&(o.store?this[Vt].has(o.store):this[Vt].size>0)&&(this[r]=o.selector(a.getState(),this))}})}subscribeToStore(o,r){var n;this[Vt].set(o,r.subscribe(()=>this.updateFromStores())),Qe(r)&&r.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((a,i)=>{if(typeof this[i]=="function"&&(!a.store||r.name===a.store)){let l=s=>this[i](s);r.eventBus.addEventListener(a.eventName,l),this[To].push(()=>r.eventBus.removeEventListener(a.eventName,l))}})),this.onStoreAvailable(o)}unsubscribeFromStores(){this[Vt].forEach((o,r)=>this.unsubscribeFromStore(r)),this[To].forEach(o=>o()),this[To]=[]}unsubscribeFromStore(o){this[Vt].has(o)&&this[Vt].get(o)(),this[Vt].delete(o)}onStoreAvailable(o){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};zi=Vt,Mi=de,Ui=To;to.reduxProperties=new Map;to.reduxReactiveProperties=new Set;to.reduxEventListeners=new Map;function mt(e){for(var o=arguments.length,r=Array(o>1?o-1:0),n=1;n<o;n++)r[n-1]=arguments[n];if(0)var a,i;throw Error("[Immer] minified error nr: "+e+(r.length?" "+r.map(function(l){return"'"+l+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function _t(e){return!!e&&!!e[W]}function vt(e){var o;return!!e&&(function(r){if(!r||typeof r!="object")return!1;var n=Object.getPrototypeOf(r);if(n===null)return!0;var a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===xl}(e)||Array.isArray(e)||!!e[Vi]||!!(!((o=e.constructor)===null||o===void 0)&&o[Vi])||Br(e)||Wr(e))}function fe(e,o,r){r===void 0&&(r=!1),ke(e)===0?(r?Object.keys:Ie)(e).forEach(function(n){r&&typeof n=="symbol"||o(n,e[n],e)}):e.forEach(function(n,a){return o(a,n,e)})}function ke(e){var o=e[W];return o?o.i>3?o.i-4:o.i:Array.isArray(e)?1:Br(e)?2:Wr(e)?3:0}function Pe(e,o){return ke(e)===2?e.has(o):Object.prototype.hasOwnProperty.call(e,o)}function pl(e,o){return ke(e)===2?e.get(o):e[o]}function Yi(e,o,r){var n=ke(e);n===2?e.set(o,r):n===3?e.add(r):e[o]=r}function qi(e,o){return e===o?e!==0||1/e==1/o:e!=e&&o!=o}function Br(e){return gl&&e instanceof Map}function Wr(e){return bl&&e instanceof Set}function Yt(e){return e.o||e.t}function _r(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var o=Qi(e);delete o[W];for(var r=Ie(o),n=0;n<r.length;n++){var a=r[n],i=o[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(o[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[a]})}return Object.create(Object.getPrototypeOf(e),o)}function Dr(e,o){return o===void 0&&(o=!1),zr(e)||_t(e)||!vt(e)||(ke(e)>1&&(e.set=e.add=e.clear=e.delete=ul),Object.freeze(e),o&&fe(e,function(r,n){return Dr(n,!0)},!0)),e}function ul(){mt(2)}function zr(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function At(e){var o=Tr[e];return o||mt(18,e),o}function yl(e,o){Tr[e]||(Tr[e]=o)}function Ir(){return oo}function Ar(e,o){o&&(At("Patches"),e.u=[],e.s=[],e.v=o)}function Bo(e){kr(e),e.p.forEach(hl),e.p=null}function kr(e){e===oo&&(oo=e.l)}function Hi(e){return oo={p:[],l:oo,h:e,m:!0,_:0}}function hl(e){var o=e[W];o.i===0||o.i===1?o.j():o.g=!0}function Rr(e,o){o._=o.p.length;var r=o.p[0],n=e!==void 0&&e!==r;return o.h.O||At("ES5").S(o,e,n),n?(r[W].P&&(Bo(o),mt(4)),vt(e)&&(e=Wo(o,e),o.l||_o(o,e)),o.u&&At("Patches").M(r[W].t,e,o.u,o.s)):e=Wo(o,r,[]),Bo(o),o.u&&o.v(o.u,o.s),e!==Ji?e:void 0}function Wo(e,o,r){if(zr(o))return o;var n=o[W];if(!n)return fe(o,function(s,f){return Fi(e,n,o,s,f,r)},!0),o;if(n.A!==e)return o;if(!n.P)return _o(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=_r(n.k):n.o,i=a,l=!1;n.i===3&&(i=new Set(a),a.clear(),l=!0),fe(i,function(s,f){return Fi(e,n,a,s,f,r,l)}),_o(e,a,!1),r&&e.u&&At("Patches").N(n,r,e.u,e.s)}return n.o}function Fi(e,o,r,n,a,i,l){if(_t(a)){var s=Wo(e,a,i&&o&&o.i!==3&&!Pe(o.R,n)?i.concat(n):void 0);if(Yi(r,n,s),!_t(s))return;e.m=!1}else l&&r.add(a);if(vt(a)&&!zr(a)){if(!e.h.D&&e._<1)return;Wo(e,a),o&&o.A.l||_o(e,a)}}function _o(e,o,r){r===void 0&&(r=!1),!e.l&&e.h.D&&e.m&&Dr(o,r)}function Lr(e,o){var r=e[W];return(r?Yt(r):e)[o]}function Gi(e,o){if(o in e)for(var r=Object.getPrototypeOf(e);r;){var n=Object.getOwnPropertyDescriptor(r,o);if(n)return n;r=Object.getPrototypeOf(r)}}function qt(e){e.P||(e.P=!0,e.l&&qt(e.l))}function Pr(e){e.o||(e.o=_r(e.t))}function $r(e,o,r){var n=Br(o)?At("MapSet").F(o,r):Wr(o)?At("MapSet").T(o,r):e.O?function(a,i){var l=Array.isArray(a),s={i:l?1:0,A:i?i.A:Ir(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},f=s,p=ro;l&&(f=[s],p=eo);var y=Proxy.revocable(f,p),h=y.revoke,m=y.proxy;return s.k=m,s.j=h,m}(o,r):At("ES5").J(o,r);return(r?r.A:Ir()).p.push(n),n}function ml(e){return _t(e)||mt(22,e),function o(r){if(!vt(r))return r;var n,a=r[W],i=ke(r);if(a){if(!a.P&&(a.i<4||!At("ES5").K(a)))return a.t;a.I=!0,n=ji(r,i),a.I=!1}else n=ji(r,i);return fe(n,function(l,s){a&&pl(a.t,l)===s||Yi(n,l,o(s))}),i===3?new Set(n):n}(e)}function ji(e,o){switch(o){case 2:return new Map(e);case 3:return Array.from(e)}return _r(e)}function Xi(){function e(l,s){var f=i[l];return f?f.enumerable=s:i[l]=f={configurable:!0,enumerable:s,get:function(){var p=this[W];return ro.get(p,l)},set:function(p){var y=this[W];ro.set(y,l,p)}},f}function o(l){for(var s=l.length-1;s>=0;s--){var f=l[s][W];if(!f.P)switch(f.i){case 5:n(f)&&qt(f);break;case 4:r(f)&&qt(f)}}}function r(l){for(var s=l.t,f=l.k,p=Ie(f),y=p.length-1;y>=0;y--){var h=p[y];if(h!==W){var m=s[h];if(m===void 0&&!Pe(s,h))return!0;var b=f[h],g=b&&b[W];if(g?g.t!==m:!qi(b,m))return!0}}var v=!!s[W];return p.length!==Ie(s).length+(v?0:1)}function n(l){var s=l.k;if(s.length!==l.t.length)return!0;var f=Object.getOwnPropertyDescriptor(s,s.length-1);if(f&&!f.get)return!0;for(var p=0;p<s.length;p++)if(!s.hasOwnProperty(p))return!0;return!1}function a(l){l.g&&mt(3,JSON.stringify(Yt(l)))}var i={};yl("ES5",{J:function(l,s){var f=Array.isArray(l),p=function(h,m){if(h){for(var b=Array(m.length),g=0;g<m.length;g++)Object.defineProperty(b,""+g,e(g,!0));return b}var v=Qi(m);delete v[W];for(var R=Ie(v),E=0;E<R.length;E++){var N=R[E];v[N]=e(N,h||!!v[N].enumerable)}return Object.create(Object.getPrototypeOf(m),v)}(f,l),y={i:f?5:4,A:s?s.A:Ir(),P:!1,I:!1,R:{},l:s,t:l,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,W,{value:y,writable:!0}),p},S:function(l,s,f){f?_t(s)&&s[W].A===l&&o(l.p):(l.u&&function p(y){if(y&&typeof y=="object"){var h=y[W];if(h){var m=h.t,b=h.k,g=h.R,v=h.i;if(v===4)fe(b,function($){$!==W&&(m[$]!==void 0||Pe(m,$)?g[$]||p(b[$]):(g[$]=!0,qt(h)))}),fe(m,function($){b[$]!==void 0||Pe(b,$)||(g[$]=!1,qt(h))});else if(v===5){if(n(h)&&(qt(h),g.length=!0),b.length<m.length)for(var R=b.length;R<m.length;R++)g[R]=!1;else for(var E=m.length;E<b.length;E++)g[E]=!0;for(var N=Math.min(b.length,m.length),L=0;L<N;L++)b.hasOwnProperty(L)||(g[L]=!0),g[L]===void 0&&p(b[L])}}}}(l.p[0]),o(l.p))},K:function(l){return l.i===4?r(l):n(l)}})}var Ki,oo,Mr=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",gl=typeof Map<"u",bl=typeof Set<"u",Zi=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Ji=Mr?Symbol.for("immer-nothing"):((Ki={})["immer-nothing"]=!0,Ki),Vi=Mr?Symbol.for("immer-draftable"):"__$immer_draftable",W=Mr?Symbol.for("immer-state"):"__$immer_state";var xl=""+Object.prototype.constructor,Ie=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Qi=Object.getOwnPropertyDescriptors||function(e){var o={};return Ie(e).forEach(function(r){o[r]=Object.getOwnPropertyDescriptor(e,r)}),o},Tr={},ro={get:function(e,o){if(o===W)return e;var r=Yt(e);if(!Pe(r,o))return function(a,i,l){var s,f=Gi(i,l);return f?"value"in f?f.value:(s=f.get)===null||s===void 0?void 0:s.call(a.k):void 0}(e,r,o);var n=r[o];return e.I||!vt(n)?n:n===Lr(e.t,o)?(Pr(e),e.o[o]=$r(e.A.h,n,e)):n},has:function(e,o){return o in Yt(e)},ownKeys:function(e){return Reflect.ownKeys(Yt(e))},set:function(e,o,r){var n=Gi(Yt(e),o);if(n?.set)return n.set.call(e.k,r),!0;if(!e.P){var a=Lr(Yt(e),o),i=a?.[W];if(i&&i.t===r)return e.o[o]=r,e.R[o]=!1,!0;if(qi(r,a)&&(r!==void 0||Pe(e.t,o)))return!0;Pr(e),qt(e)}return e.o[o]===r&&(r!==void 0||o in e.o)||Number.isNaN(r)&&Number.isNaN(e.o[o])||(e.o[o]=r,e.R[o]=!0),!0},deleteProperty:function(e,o){return Lr(e.t,o)!==void 0||o in e.t?(e.R[o]=!1,Pr(e),qt(e)):delete e.R[o],e.o&&delete e.o[o],!0},getOwnPropertyDescriptor:function(e,o){var r=Yt(e),n=Reflect.getOwnPropertyDescriptor(r,o);return n&&{writable:!0,configurable:e.i!==1||o!=="length",enumerable:n.enumerable,value:r[o]}},defineProperty:function(){mt(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){mt(12)}},eo={};fe(ro,function(e,o){eo[e]=function(){return arguments[0]=arguments[0][0],o.apply(this,arguments)}}),eo.deleteProperty=function(e,o){return eo.set.call(this,e,o,void 0)},eo.set=function(e,o,r){return ro.set.call(this,e[0],o,r,e[0])};var vl=function(){function e(r){var n=this;this.O=Zi,this.D=!0,this.produce=function(a,i,l){if(typeof a=="function"&&typeof i!="function"){var s=i;i=a;var f=n;return function(v){var R=this;v===void 0&&(v=s);for(var E=arguments.length,N=Array(E>1?E-1:0),L=1;L<E;L++)N[L-1]=arguments[L];return f.produce(v,function($){var T;return(T=i).call.apply(T,[R,$].concat(N))})}}var p;if(typeof i!="function"&&mt(6),l!==void 0&&typeof l!="function"&&mt(7),vt(a)){var y=Hi(n),h=$r(n,a,void 0),m=!0;try{p=i(h),m=!1}finally{m?Bo(y):kr(y)}return typeof Promise<"u"&&p instanceof Promise?p.then(function(v){return Ar(y,l),Rr(v,y)},function(v){throw Bo(y),v}):(Ar(y,l),Rr(p,y))}if(!a||typeof a!="object"){if((p=i(a))===void 0&&(p=a),p===Ji&&(p=void 0),n.D&&Dr(p,!0),l){var b=[],g=[];At("Patches").M(a,p,b,g),l(b,g)}return p}mt(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(p){for(var y=arguments.length,h=Array(y>1?y-1:0),m=1;m<y;m++)h[m-1]=arguments[m];return n.produceWithPatches(p,function(b){return a.apply(void 0,[b].concat(h))})};var l,s,f=n.produce(a,i,function(p,y){l=p,s=y});return typeof Promise<"u"&&f instanceof Promise?f.then(function(p){return[p,l,s]}):[f,l,s]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var o=e.prototype;return o.createDraft=function(r){vt(r)||mt(8),_t(r)&&(r=ml(r));var n=Hi(this),a=$r(this,r,void 0);return a[W].C=!0,kr(n),a},o.finishDraft=function(r,n){var a=r&&r[W],i=a.A;return Ar(i,n),Rr(void 0,i)},o.setAutoFreeze=function(r){this.D=r},o.setUseProxies=function(r){r&&!Zi&&mt(20),this.O=r},o.applyPatches=function(r,n){var a;for(a=n.length-1;a>=0;a--){var i=n[a];if(i.path.length===0&&i.op==="replace"){r=i.value;break}}a>-1&&(n=n.slice(a+1));var l=At("Patches").$;return _t(r)?l(r,n):this.produce(r,function(s){return l(s,n)})},e}(),dt=new vl,Sl=dt.produce,Th=dt.produceWithPatches.bind(dt),Bh=dt.setAutoFreeze.bind(dt),Wh=dt.setUseProxies.bind(dt),_h=dt.applyPatches.bind(dt),Dh=dt.createDraft.bind(dt),zh=dt.finishDraft.bind(dt),Do=Sl;function Xt(e){"@babel/helpers - typeof";return Xt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},Xt(e)}function Ur(e,o){if(Xt(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,o||"default");if(Xt(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(o==="string"?String:Number)(e)}function Hr(e){var o=Ur(e,"string");return Xt(o)==="symbol"?o:String(o)}function Fr(e,o,r){return o=Hr(o),o in e?Object.defineProperty(e,o,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[o]=r,e}function tc(e,o){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function zo(e){for(var o=1;o<arguments.length;o++){var r=arguments[o]!=null?arguments[o]:{};o%2?tc(Object(r),!0).forEach(function(n){Fr(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):tc(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function q(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var ec=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Gr=function(){return Math.random().toString(36).substring(7).split("").join(".")},Mo={INIT:"@@redux/INIT"+Gr(),REPLACE:"@@redux/REPLACE"+Gr(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Gr()}};function Ol(e){if(typeof e!="object"||e===null)return!1;for(var o=e;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return Object.getPrototypeOf(e)===o}function jr(e,o,r){var n;if(typeof o=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(q(0));if(typeof o=="function"&&typeof r>"u"&&(r=o,o=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(q(1));return r(jr)(e,o)}if(typeof e!="function")throw new Error(q(2));var a=e,i=o,l=[],s=l,f=!1;function p(){s===l&&(s=l.slice())}function y(){if(f)throw new Error(q(3));return i}function h(v){if(typeof v!="function")throw new Error(q(4));if(f)throw new Error(q(5));var R=!0;return p(),s.push(v),function(){if(R){if(f)throw new Error(q(6));R=!1,p();var N=s.indexOf(v);s.splice(N,1),l=null}}}function m(v){if(!Ol(v))throw new Error(q(7));if(typeof v.type>"u")throw new Error(q(8));if(f)throw new Error(q(9));try{f=!0,i=a(i,v)}finally{f=!1}for(var R=l=s,E=0;E<R.length;E++){var N=R[E];N()}return v}function b(v){if(typeof v!="function")throw new Error(q(10));a=v,m({type:Mo.REPLACE})}function g(){var v,R=h;return v={subscribe:function(N){if(typeof N!="object"||N===null)throw new Error(q(11));function L(){N.next&&N.next(y())}L();var $=R(L);return{unsubscribe:$}}},v[ec]=function(){return this},v}return m({type:Mo.INIT}),n={dispatch:m,subscribe:h,getState:y,replaceReducer:b},n[ec]=g,n}function Cl(e){Object.keys(e).forEach(function(o){var r=e[o],n=r(void 0,{type:Mo.INIT});if(typeof n>"u")throw new Error(q(12));if(typeof r(void 0,{type:Mo.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(q(13))})}function oc(e){for(var o=Object.keys(e),r={},n=0;n<o.length;n++){var a=o[n];typeof e[a]=="function"&&(r[a]=e[a])}var i=Object.keys(r),l,s;try{Cl(r)}catch(f){s=f}return function(p,y){if(p===void 0&&(p={}),s)throw s;if(0)var h;for(var m=!1,b={},g=0;g<i.length;g++){var v=i[g],R=r[v],E=p[v],N=R(E,y);if(typeof N>"u"){var L=y&&y.type;throw new Error(q(14))}b[v]=N,m=m||N!==E}return m=m||i.length!==Object.keys(p).length,m?b:p}}function $e(){for(var e=arguments.length,o=new Array(e),r=0;r<e;r++)o[r]=arguments[r];return o.length===0?function(n){return n}:o.length===1?o[0]:o.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function rc(){for(var e=arguments.length,o=new Array(e),r=0;r<e;r++)o[r]=arguments[r];return function(n){return function(){var a=n.apply(void 0,arguments),i=function(){throw new Error(q(15))},l={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},s=o.map(function(f){return f(l)});return i=$e.apply(void 0,s)(a.dispatch),zo(zo({},a),{},{dispatch:i})}}}function nc(e){var o=function(n){var a=n.dispatch,i=n.getState;return function(l){return function(s){return typeof s=="function"?s(a,i,e):l(s)}}};return o}var ac=nc();ac.withExtraArgument=nc;var Kr=ac;var dc=function(){var e=function(o,r){return e=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])},e(o,r)};return function(o,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(o,r);function n(){this.constructor=o}o.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),wl=function(e,o){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,l;return l={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function s(p){return function(y){return f([p,y])}}function f(p){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,a&&(i=p[0]&2?a.return:p[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,p[1])).done)return i;switch(a=0,i&&(p=[p[0]&2,i.value]),p[0]){case 0:case 1:i=p;break;case 4:return r.label++,{value:p[1],done:!1};case 5:r.label++,a=p[1],p=[0];continue;case 7:p=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(p[0]===6||p[0]===2)){r=0;continue}if(p[0]===3&&(!i||p[1]>i[0]&&p[1]<i[3])){r.label=p[1];break}if(p[0]===6&&r.label<i[1]){r.label=i[1],i=p;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(p);break}i[2]&&r.ops.pop(),r.trys.pop();continue}p=o.call(e,r)}catch(y){p=[6,y],a=0}finally{n=i=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},Te=function(e,o){for(var r=0,n=o.length,a=e.length;r<n;r++,a++)e[a]=o[r];return e},El=Object.defineProperty,Nl=Object.defineProperties,Al=Object.getOwnPropertyDescriptors,ic=Object.getOwnPropertySymbols,Rl=Object.prototype.hasOwnProperty,Ll=Object.prototype.propertyIsEnumerable,cc=function(e,o,r){return o in e?El(e,o,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[o]=r},Jt=function(e,o){for(var r in o||(o={}))Rl.call(o,r)&&cc(e,r,o[r]);if(ic)for(var n=0,a=ic(o);n<a.length;n++){var r=a[n];Ll.call(o,r)&&cc(e,r,o[r])}return e},Zr=function(e,o){return Nl(e,Al(o))},Pl=function(e,o,r){return new Promise(function(n,a){var i=function(f){try{s(r.next(f))}catch(p){a(p)}},l=function(f){try{s(r.throw(f))}catch(p){a(p)}},s=function(f){return f.done?n(f.value):Promise.resolve(f.value).then(i,l)};s((r=r.apply(e,o)).next())})};var Il=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?$e:$e.apply(null,arguments)},rm=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function kl(e){if(typeof e!="object"||e===null)return!1;var o=Object.getPrototypeOf(e);if(o===null)return!0;for(var r=o;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return o===r}var $l=function(e){dc(o,e);function o(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var a=e.apply(this,r)||this;return Object.setPrototypeOf(a,o.prototype),a}return Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return e.prototype.concat.apply(this,r)},o.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(o.bind.apply(o,Te([void 0],r[0].concat(this)))):new(o.bind.apply(o,Te([void 0],r.concat(this))))},o}(Array),Tl=function(e){dc(o,e);function o(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var a=e.apply(this,r)||this;return Object.setPrototypeOf(a,o.prototype),a}return Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return e.prototype.concat.apply(this,r)},o.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(o.bind.apply(o,Te([void 0],r[0].concat(this)))):new(o.bind.apply(o,Te([void 0],r.concat(this))))},o}(Array);function qr(e){return vt(e)?Do(e,function(){}):e}function Bl(e){return typeof e=="boolean"}function Wl(){return function(o){return _l(o)}}function _l(e){e===void 0&&(e={});var o=e.thunk,r=o===void 0?!0:o,n=e.immutableCheck,a=n===void 0?!0:n,i=e.serializableCheck,l=i===void 0?!0:i,s=new $l;if(r&&(Bl(r)?s.push(Kr):s.push(Kr.withExtraArgument(r.extraArgument))),0){if(a)var f;if(l)var p}return s}var Vr=!0;function fc(e){var o=Wl(),r=e||{},n=r.reducer,a=n===void 0?void 0:n,i=r.middleware,l=i===void 0?o():i,s=r.devTools,f=s===void 0?!0:s,p=r.preloadedState,y=p===void 0?void 0:p,h=r.enhancers,m=h===void 0?void 0:h,b;if(typeof a=="function")b=a;else if(kl(a))b=oc(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 g=l;if(typeof g=="function"&&(g=g(o),!Vr&&!Array.isArray(g)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Vr&&g.some(function($){return typeof $!="function"}))throw new Error("each middleware provided to configureStore must be a function");var v=rc.apply(void 0,g),R=$e;f&&(R=Il(Jt({trace:!Vr},typeof f=="object"&&f)));var E=new Tl(v),N=E;Array.isArray(m)?N=Te([v],m):typeof m=="function"&&(N=m(E));var L=R.apply(void 0,N);return jr(b,y,L)}function Qt(e,o){function r(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(o){var i=o.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return Jt(Jt({type:e,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:e,payload:n[0]}}return r.toString=function(){return""+e},r.type=e,r.match=function(n){return n.type===e},r}function pc(e){var o={},r=[],n,a={addCase:function(i,l){var s=typeof i=="string"?i:i.type;if(s in o)throw new Error("addCase cannot be called with two reducers for the same action type");return o[s]=l,a},addMatcher:function(i,l){return r.push({matcher:i,reducer:l}),a},addDefaultCase:function(i){return n=i,a}};return e(a),[o,r,n]}function Dl(e){return typeof e=="function"}function zl(e,o,r,n){r===void 0&&(r=[]);var a=typeof o=="function"?pc(o):[o,r,n],i=a[0],l=a[1],s=a[2],f;if(Dl(e))f=function(){return qr(e())};else{var p=qr(e);f=function(){return p}}function y(h,m){h===void 0&&(h=f());var b=Te([i[m.type]],l.filter(function(g){var v=g.matcher;return v(m)}).map(function(g){var v=g.reducer;return v}));return b.filter(function(g){return!!g}).length===0&&(b=[s]),b.reduce(function(g,v){if(v)if(_t(g)){var R=g,E=v(R,m);return E===void 0?g:E}else{if(vt(g))return Do(g,function(N){return v(N,m)});var E=v(g,m);if(E===void 0){if(g===null)return g;throw Error("A case reducer on a non-draftable value must not return undefined")}return E}return g},h)}return y.getInitialState=f,y}function Ml(e,o){return e+"/"+o}function uc(e){var o=e.name;if(!o)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof e.initialState=="function"?e.initialState:qr(e.initialState),n=e.reducers||{},a=Object.keys(n),i={},l={},s={};a.forEach(function(y){var h=n[y],m=Ml(o,y),b,g;"reducer"in h?(b=h.reducer,g=h.prepare):b=h,i[y]=b,l[m]=b,s[y]=g?Qt(m,g):Qt(m)});function f(){var y=typeof e.extraReducers=="function"?pc(e.extraReducers):[e.extraReducers],h=y[0],m=h===void 0?{}:h,b=y[1],g=b===void 0?[]:b,v=y[2],R=v===void 0?void 0:v,E=Jt(Jt({},m),l);return zl(r,function(N){for(var L in E)N.addCase(L,E[L]);for(var $=0,T=g;$<T.length;$++){var ft=T[$];N.addMatcher(ft.matcher,ft.reducer)}R&&N.addDefaultCase(R)})}var p;return{name:o,reducer:function(y,h){return p||(p=f()),p(y,h)},actions:s,caseReducers:i,getInitialState:function(){return p||(p=f()),p.getInitialState()}}}var Ul="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Hl=function(e){e===void 0&&(e=21);for(var o="",r=e;r--;)o+=Ul[Math.random()*64|0];return o},Fl=["name","message","stack","code"],Yr=function(){function e(o,r){this.payload=o,this.meta=r}return e}(),lc=function(){function e(o,r){this.payload=o,this.meta=r}return e}(),Gl=function(e){if(typeof e=="object"&&e!==null){for(var o={},r=0,n=Fl;r<n.length;r++){var a=n[r];typeof e[a]=="string"&&(o[a]=e[a])}return o}return{message:String(e)}},cm=function(){function e(o,r,n){var a=Qt(o+"/fulfilled",function(y,h,m,b){return{payload:y,meta:Zr(Jt({},b||{}),{arg:m,requestId:h,requestStatus:"fulfilled"})}}),i=Qt(o+"/pending",function(y,h,m){return{payload:void 0,meta:Zr(Jt({},m||{}),{arg:h,requestId:y,requestStatus:"pending"})}}),l=Qt(o+"/rejected",function(y,h,m,b,g){return{payload:b,error:(n&&n.serializeError||Gl)(y||"Rejected"),meta:Zr(Jt({},g||{}),{arg:m,requestId:h,rejectedWithValue:!!b,requestStatus:"rejected",aborted:y?.name==="AbortError",condition:y?.name==="ConditionError"})}}),s=!1,f=typeof AbortController<"u"?AbortController:function(){function y(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return y.prototype.abort=function(){},y}();function p(y){return function(h,m,b){var g=n?.idGenerator?n.idGenerator(y):Hl(),v=new f,R,E=!1;function N($){R=$,v.abort()}var L=function(){return Pl(this,null,function(){var $,T,ft,zt,tr,Mt,at;return wl(this,function(pt){switch(pt.label){case 0:return pt.trys.push([0,4,,5]),zt=($=n?.condition)==null?void 0:$.call(n,y,{getState:m,extra:b}),Kl(zt)?[4,zt]:[3,2];case 1:zt=pt.sent(),pt.label=2;case 2:if(zt===!1||v.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return E=!0,tr=new Promise(function(it,te){return v.signal.addEventListener("abort",function(){return te({name:"AbortError",message:R||"Aborted"})})}),h(i(g,y,(T=n?.getPendingMeta)==null?void 0:T.call(n,{requestId:g,arg:y},{getState:m,extra:b}))),[4,Promise.race([tr,Promise.resolve(r(y,{dispatch:h,getState:m,extra:b,requestId:g,signal:v.signal,abort:N,rejectWithValue:function(it,te){return new Yr(it,te)},fulfillWithValue:function(it,te){return new lc(it,te)}})).then(function(it){if(it instanceof Yr)throw it;return it instanceof lc?a(it.payload,g,y,it.meta):a(it,g,y)})])];case 3:return ft=pt.sent(),[3,5];case 4:return Mt=pt.sent(),ft=Mt instanceof Yr?l(null,g,y,Mt.payload,Mt.meta):l(Mt,g,y),[3,5];case 5:return at=n&&!n.dispatchConditionRejection&&l.match(ft)&&ft.meta.condition,at||h(ft),[2,ft]}})})}();return Object.assign(L,{abort:N,requestId:g,arg:y,unwrap:function(){return L.then(jl)}})}}return Object.assign(p,{pending:i,rejected:l,fulfilled:a,typePrefix:o})}return e.withTypes=function(){return e},e}();function jl(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Kl(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var yc="listener",hc="completed",mc="cancelled",lm="task-"+mc,sm="task-"+hc,dm=yc+"-"+mc,fm=yc+"-"+hc;var Xr="listenerMiddleware";var pm=Qt(Xr+"/add"),um=Qt(Xr+"/removeAll"),ym=Qt(Xr+"/remove");var sc,hm=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(sc||(sc=Promise.resolve())).then(e).catch(function(o){return setTimeout(function(){throw o},0)})},Zl=function(e){return function(o){setTimeout(o,e)}},mm=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Zl(10);Xi();window.ftReduxStores||(window.ftReduxStores={});var gc=class e{static get(o){var r;let n=typeof o=="string"?o:o.name,a=typeof o=="string"?void 0:o,i=window.ftReduxStores[n];if(Qe(i))return i;if(a==null)return;let l=uc({...a,reducers:(r=a.reducers)!==null&&r!==void 0?r:{}}),s=fc({reducer:(f,p)=>p.type==="CLEAR_FT_REDUX_STORE"?l.getInitialState():typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__")?{...f,...p.overwrites}:l.reducer(f,p)});return window.ftReduxStores[a.name]=new e(l,s)}constructor(o,r){this.reduxSlice=o,this.reduxStore=r,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Lo,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,a,i)=>{let l=a,s=n[l];return s?(...f)=>{let p=s(...f);return this.reduxStore.dispatch(p),p}:f=>{this.setState({[l]:f})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(o){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(o).join("_"),overwrites:o})}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(o){throw new Error("Not implemented yet.")}subscribe(o){return this.reduxStore.subscribe(o)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};var Go=S(k());var Uo=class extends jt{async listMySearches(){let o=I.getState().session;return o?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(o.profile.userId),5*60*1e3):[]}};var Ho=class extends jt{async listMyBookmarks(){let o=I.getState().session;return o?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(o.profile.userId),5*60*1e3):[]}};var Yl="ft-user-assets",Fo=Go.FtReduxStore.get({name:Yl,initialState:{savedSearches:void 0,bookmarks:void 0}}),Jr=class{constructor(){this.currentSession=I.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Ho,this.savedSearchesService=new Uo,I.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var o;let{session:r}=I.getState();(0,Go.deepEqual)((o=this.currentSession)===null||o===void 0?void 0:o.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Fo.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Fo.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let o=await this.savedSearchesService.listMySearches();Fo.actions.savedSearches(o)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var o;if(this.bookmarksAreUsed){let r=!((o=this.currentSession)===null||o===void 0)&&o.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;Fo.actions.bookmarks(r)}}},jm=new Jr;var Qr=class{addCommand(o,r=!1){I.commands.add(o,r)}consumeCommand(o){return I.commands.consume(o)}};window.FluidTopicsAppInfoStoreService=new Qr;var bc=S(k()),tn=class{highlightHtml(o,r,n){(0,bc.highlightHtml)(o,r,n)}};window.FluidTopicsHighlightHtmlService=new tn;var xc=S(k());var en=class{isDate(o){var r,n,a,i;return(i=(a=((n=(r=I.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&n!==void 0?n:[]).find(s=>s.key===o))===null||a===void 0?void 0:a.date)!==null&&i!==void 0?i:!1}format(o,r){var n,a,i;return xc.DateFormatter.format(o,(n=r?.locale)!==null&&n!==void 0?n:I.getState().uiLocale,(a=r?.longFormat)!==null&&a!==void 0?a:!1,(i=r?.withTime)!==null&&i!==void 0?i:!1)}};window.FluidTopicsDateService=new en;(0,vc.customElement)("ft-app-context")(H);var Oc=S(Z()),ql=function(e,o,r,n){var a=arguments.length,i=a<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,o,r,n);else for(var s=e.length-1;s>=0;s--)(l=e[s])&&(i=(a<3?l(i):a>3?l(o,r,i):l(o,r))||i);return a>3&&i&&Object.defineProperty(o,r,i),i},on=Symbol("i18nAttributes"),jo=Symbol("i18nProperties"),no=Symbol("i18nUnsubs");function Vo(e){var o;class r extends e{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[o]=new Map}get i18nService(){return this.useCustomMessageContexts?Ri:se}i18n(a,i,...l){var s;if(typeof a=="string")return this.i18nService.resolveMessage(a,i,...l);let f=(s=a.args)!==null&&s!==void 0?s:a.argsProvider?a.argsProvider(this):[];return this.i18nService.resolveMessage(a.context,a.key,...f)}onI18nUpdate(a){var i,l;(i=this[on])===null||i===void 0||i.forEach((s,f)=>{var p;let y=this.getI18nAttributeValue(f);((p=y?.context)===null||p===void 0?void 0:p.toLowerCase())===a.toLowerCase()&&this.updateI18nAttributeMessage(f,y,s)}),(l=this[jo])===null||l===void 0||l.forEach((s,f)=>{s.context.toLowerCase()===a.toLowerCase()&&(this[f]=this.i18n(s))}),setTimeout(()=>this.requestUpdate(),0)}updateI18nAttributeMessage(a,i,l){this[a]={...i,message:this.i18n({context:i.context,key:i.key,...l})}}update(a){var i,l;super.update(a),(i=this[on])===null||i===void 0||i.forEach((s,f)=>{let p=this.getI18nAttributeValue(f);p?.context&&p.key&&(a.has(f)||s.argsProvider!=null)&&(a.has(f)&&this.addI18nContext(p.context),this.updateI18nAttributeMessage(f,p,s))}),(l=this[jo])===null||l===void 0||l.forEach((s,f)=>{s.argsProvider!=null&&(this[f]=this.i18n(s))})}getI18nAttributeValue(a){return this[a]}connectedCallback(){var a,i,l,s;super.connectedCallback(),new Set([...(i=(a=this[jo])===null||a===void 0?void 0:a.values())!==null&&i!==void 0?i:[],...[...(s=(l=this[on])===null||l===void 0?void 0:l.keys())!==null&&s!==void 0?s:[]].map(f=>this.getI18nAttributeValue(f))].map(f=>f?.context)).forEach(f=>f&&this.addI18nMessages(f))}addI18nMessages(a,i){a=a.toLowerCase(),this[no].has(a)||this[no].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[no].forEach(a=>a()),this[no].clear()}}return o=no,ql([(0,Oc.property)({type:Boolean})],r.prototype,"useCustomMessageContexts",void 0),r}var Sc=class extends Vo(Zo.FtLitElement){},Ko=class extends Vo(Zo.FtLitElementRedux){};var ao=function(e,o,r,n){var a=arguments.length,i=a<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,o,r,n);else for(var s=e.length-1;s>=0;s--)(l=e[s])&&(i=(a<3?l(i):a>3?l(o,r,i):l(o,r))||i);return a>3&&i&&Object.defineProperty(o,r,i),i},St=class extends Ko{constructor(){super(),this.editorMode=!1,this.addStore(I)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":Yo.nothing:Yo.html`
|
|
1118
|
+
<span class="ft-i18n">
|
|
1119
|
+
${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
|
|
1120
|
+
</span>
|
|
1121
|
+
`}update(o){var r;super.update(o),["context","key","defaultMessage"].some(n=>o.has(n))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};St.elementDefinitions={};St.styles=wi;ao([(0,Xo.redux)()],St.prototype,"editorMode",void 0);ao([(0,qo.property)()],St.prototype,"context",void 0);ao([(0,qo.property)()],St.prototype,"key",void 0);ao([(0,Xo.jsonProperty)([])],St.prototype,"args",void 0);ao([(0,qo.property)()],St.prototype,"defaultMessage",void 0);var Jo=class e{static build(o){return new e(o)}static fromGwt(o){return new e(o)}constructor(o){this.name=o,this.properties=new Proxy({},{get:(r,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:(r,n)=>(...a)=>se.resolveMessage(this.name,n,...a)}),this.rawMessages=new Proxy({},{get:(r,n)=>se.resolveRawMessage(this.name,n)})}};(0,Cc.customElement)("ft-i18n")(St);var rn=Jo.build("dsModal"),wc={closeModal:"Close modal"};var an=function(e,o,r,n){var a=arguments.length,i=a<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,o,r,n);else for(var s=e.length-1;s>=0;s--)(l=e[s])&&(i=(a<3?l(i):a>3?l(o,r,i):l(o,r))||i);return a>3&&i&&Object.defineProperty(o,r,i),i},nn=class extends CustomEvent{constructor(){super("close",{composed:!0,bubbles:!0})}},Ot=class extends Vo(Be.FtdsBase){constructor(){super(),this.heading="",this.size=ct.small,this.addI18nContext(rn,wc)}render(){let o={"ftds-modal":!0,...this.getDesignSystemBaseClasses()};return io.html`
|
|
1122
|
+
<div class="${(0,Ec.classMap)(o)}" part="container">
|
|
1123
|
+
<dialog part="dialog"
|
|
1124
|
+
@click="${this.onDialogClick}"
|
|
1125
|
+
@close="${()=>this.dispatchEvent(new nn)}">
|
|
1126
|
+
<div part="inner-container">
|
|
1127
|
+
<div part="header">
|
|
1128
|
+
${this.icon?io.html`
|
|
1129
|
+
<ft-icon part="icon" value="${this.icon}"/>
|
|
1130
|
+
`:io.nothing}
|
|
1131
|
+
<ft-typography part="heading" variant="${yt.body1semibold}">
|
|
1132
|
+
${this.heading}
|
|
1133
|
+
</ft-typography>
|
|
1134
|
+
<ftds-button part="closing-button"
|
|
1135
|
+
size="${ct.large}"
|
|
1136
|
+
icon="${Bt.CLOSE}"
|
|
1137
|
+
tertiary
|
|
1138
|
+
family="${Be.DesignSystemFamily.neutral}"
|
|
1139
|
+
label="${rn.messages.closeModal()}"
|
|
1140
|
+
@click="${this.close}">
|
|
1141
|
+
</ftds-button>
|
|
1142
|
+
</div>
|
|
1143
|
+
<div part="body">
|
|
1144
|
+
<div part="content">
|
|
1145
|
+
<slot></slot>
|
|
1146
|
+
</div>
|
|
1147
|
+
<div part="actions">
|
|
1148
|
+
<slot name="actions"></slot>
|
|
1149
|
+
</div>
|
|
1150
|
+
</div>
|
|
1151
|
+
</div>
|
|
1152
|
+
</dialog>
|
|
1153
|
+
</div>
|
|
1154
|
+
`}open(){this.dialog.showModal()}close(){this.dialog.close()}disconnectedCallback(){super.disconnectedCallback(),this.close()}onDialogClick(o){(0,Be.eventPathContainsMatchingElement)(o,["[part='inner-container']"],this)||this.close()}};Ot.elementDefinitions={"ftds-button":st,"ft-typography":J,"ft-icon":rt};Ot.styles=zn;an([(0,co.property)({type:String})],Ot.prototype,"heading",void 0);an([(0,co.property)({type:String})],Ot.prototype,"icon",void 0);an([(0,co.query)("dialog")],Ot.prototype,"dialog",void 0);var Qo=S(k()),Ac=S(_());var Nc=yt.body2regular;var Dt=S(Z());var pe=function(e,o,r,n){var a=arguments.length,i=a<3?o:n===null?n=Object.getOwnPropertyDescriptor(o,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,o,r,n);else for(var s=e.length-1;s>=0;s--)(l=e[s])&&(i=(a<3?l(i):a>3?l(o,r,i):l(o,r))||i);return a>3&&i&&Object.defineProperty(o,r,i),i},gt=class extends Qo.FtLitElement{constructor(){super(...arguments),this.confirmText="Confirm",this.cancelText="Cancel",this.confirmIcon=Bt.CHECK,this.cancelIcon=Bt.CLOSE}render(){return Ac.html`
|
|
1155
|
+
<ftds-modal
|
|
1156
|
+
heading="${this.heading}"
|
|
1157
|
+
size="${ct.small}"
|
|
1158
|
+
@close="${this.onCancel}"
|
|
1159
|
+
>
|
|
1160
|
+
<ft-typography variant="${Nc}">
|
|
1161
|
+
${this.text}
|
|
1162
|
+
</ft-typography>
|
|
1163
|
+
<ftds-button slot="actions"
|
|
1164
|
+
tertiary
|
|
1165
|
+
family="${Qo.DesignSystemFamily.neutral}"
|
|
1166
|
+
size="${ct.large}"
|
|
1167
|
+
icon="${this.cancelIcon}"
|
|
1168
|
+
@click="${this.onCancel}">
|
|
1169
|
+
${this.cancelText}
|
|
1170
|
+
</ftds-button>
|
|
1171
|
+
<ftds-button slot="actions"
|
|
1172
|
+
primary
|
|
1173
|
+
size="${ct.large}"
|
|
1174
|
+
@click="${this.onConfirm}"
|
|
1175
|
+
icon="${this.confirmIcon}">
|
|
1176
|
+
${this.confirmText}
|
|
1177
|
+
</ftds-button>
|
|
1178
|
+
</ftds-modal>
|
|
1179
|
+
`}async askConfirmation(){this.modal.open();let o=await new Promise(r=>{this.promiseResolve=r});return this.modal.close(),o}onConfirm(){var o;(o=this.promiseResolve)===null||o===void 0||o.call(this,!0),this.promiseResolve=void 0}onCancel(){var o;(o=this.promiseResolve)===null||o===void 0||o.call(this,!1),this.promiseResolve=void 0}};gt.elementDefinitions={"ftds-modal":Ot,"ft-typography":J,"ftds-button":st};pe([(0,Dt.property)({type:String})],gt.prototype,"heading",void 0);pe([(0,Dt.property)({type:String})],gt.prototype,"text",void 0);pe([(0,Dt.property)({type:String})],gt.prototype,"confirmText",void 0);pe([(0,Dt.property)({type:String})],gt.prototype,"cancelText",void 0);pe([(0,Dt.property)({type:String})],gt.prototype,"confirmIcon",void 0);pe([(0,Dt.property)({type:String})],gt.prototype,"cancelIcon",void 0);pe([(0,Dt.query)("ftds-modal")],gt.prototype,"modal",void 0);(0,cn.customElement)("ftds-modal")(Ot);(0,cn.customElement)("ftds-modal-confirm")(gt);})();
|
|
1180
|
+
/*! Bundled license information:
|
|
1181
|
+
|
|
1182
|
+
lit-html/lit-html.js:
|
|
1183
|
+
(**
|
|
1184
|
+
* @license
|
|
1185
|
+
* Copyright 2017 Google LLC
|
|
1186
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1187
|
+
*)
|
|
1188
|
+
|
|
1189
|
+
lit-html/static.js:
|
|
1190
|
+
(**
|
|
1191
|
+
* @license
|
|
1192
|
+
* Copyright 2020 Google LLC
|
|
1193
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1194
|
+
*)
|
|
1195
|
+
|
|
1196
|
+
@lit/reactive-element/css-tag.js:
|
|
1197
|
+
(**
|
|
1198
|
+
* @license
|
|
1199
|
+
* Copyright 2019 Google LLC
|
|
1200
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1201
|
+
*)
|
|
1202
|
+
*/
|