@fluid-topics/ft-reader-topic-metadata 1.1.80 → 1.1.82
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,123 +1,123 @@
|
|
|
1
|
-
"use strict";(()=>{var
|
|
1
|
+
"use strict";(()=>{var rc=Object.create;var $r=Object.defineProperty;var nc=Object.getOwnPropertyDescriptor;var ic=Object.getOwnPropertyNames;var ac=Object.getPrototypeOf,cc=Object.prototype.hasOwnProperty;var Pe=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var lc=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of ic(e))!cc.call(t,i)&&i!==r&&$r(t,i,{get:()=>e[i],enumerable:!(n=nc(e,i))||n.enumerable});return t};var S=(t,e,r)=>(r=t!=null?rc(ac(t)):{},lc(e||!t||!t.__esModule?$r(r,"default",{value:t,enumerable:!0}):r,t));var _=Pe((Cl,Dr)=>{Dr.exports=ftGlobals.wcUtils});var M=Pe((wl,zr)=>{zr.exports=ftGlobals.lit});var F=Pe((El,Br)=>{Br.exports=ftGlobals.litDecorators});var so=Pe((au,Ri)=>{Ri.exports=ftGlobals.litClassMap});var Bi=Pe((mu,zi)=>{zi.exports=ftGlobals.litUnsafeHTML});var oc=S(_());var ht=S(M()),Ft=S(F());var Mr=S(M()),Nl={},Ur=Mr.css`
|
|
2
2
|
:host {
|
|
3
3
|
display: inline-block;
|
|
4
4
|
}
|
|
5
|
-
`;var
|
|
6
|
-
\f\r]`,
|
|
7
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),$o=/'/g,Po=/"/g,zo=/^(?:script|style|textarea|title)$/i,_o=e=>(o,...r)=>({_$litType$:e,strings:o,values:r}),ko=_o(1),Ho=_o(2),ie=Symbol.for("lit-noChange"),U=Symbol.for("lit-nothing"),Wo=new WeakMap,$t=Pt.createTreeWalker(Pt,129);function Uo(e,o){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ro!==void 0?Ro.createHTML(o):o}var ii=(e,o)=>{let r=e.length-1,i=[],a,l=o===2?"<svg>":"",c=re;for(let s=0;s<r;s++){let d=e[s],g,x,m=-1,N=0;for(;N<d.length&&(c.lastIndex=N,x=c.exec(d),x!==null);)N=c.lastIndex,c===re?x[1]==="!--"?c=Ao:x[1]!==void 0?c=Lo:x[2]!==void 0?(zo.test(x[2])&&(a=RegExp("</"+x[2],"g")),c=Lt):x[3]!==void 0&&(c=Lt):c===Lt?x[0]===">"?(c=a??re,m=-1):x[1]===void 0?m=-2:(m=c.lastIndex-x[2].length,g=x[1],c=x[3]===void 0?Lt:x[3]==='"'?Po:$o):c===Po||c===$o?c=Lt:c===Ao||c===Lo?c=re:(c=Lt,a=void 0);let C=c===Lt&&e[s+1].startsWith("/>")?" ":"";l+=c===re?d+ri:m>=0?(i.push(g),d.slice(0,m)+Io+d.slice(m)+vt+C):d+vt+(m===-2?s:C)}return[Uo(e,l+(e[r]||"<?>")+(o===2?"</svg>":"")),i]},ae=class e{constructor({strings:o,_$litType$:r},i){let a;this.parts=[];let l=0,c=0,s=o.length-1,d=this.parts,[g,x]=ii(o,r);if(this.el=e.createElement(g,i),$t.currentNode=this.el.content,r===2){let m=this.el.content.firstChild;m.replaceWith(...m.childNodes)}for(;(a=$t.nextNode())!==null&&d.length<s;){if(a.nodeType===1){if(a.hasAttributes())for(let m of a.getAttributeNames())if(m.endsWith(Io)){let N=x[c++],C=a.getAttribute(m).split(vt),E=/([.?@])?(.*)/.exec(N);d.push({type:1,index:l,name:E[2],strings:C,ctor:E[1]==="."?Fe:E[1]==="?"?Ve:E[1]==="@"?je:kt}),a.removeAttribute(m)}else m.startsWith(vt)&&(d.push({type:6,index:l}),a.removeAttribute(m));if(zo.test(a.tagName)){let m=a.textContent.split(vt),N=m.length-1;if(N>0){a.textContent=Oe?Oe.emptyScript:"";for(let C=0;C<N;C++)a.append(m[C],Se()),$t.nextNode(),d.push({type:2,index:++l});a.append(m[N],Se())}}}else if(a.nodeType===8)if(a.data===To)d.push({type:2,index:l});else{let m=-1;for(;(m=a.data.indexOf(vt,m+1))!==-1;)d.push({type:7,index:l}),m+=vt.length-1}l++}}static createElement(o,r){let i=Pt.createElement("template");return i.innerHTML=o,i}};function _t(e,o,r=e,i){if(o===ie)return o;let a=i!==void 0?r._$Co?.[i]:r._$Cl,l=ne(o)?void 0:o._$litDirective$;return a?.constructor!==l&&(a?._$AO?.(!1),l===void 0?a=void 0:(a=new l(e),a._$AT(e,r,i)),i!==void 0?(r._$Co??=[])[i]=a:r._$Cl=a),a!==void 0&&(o=_t(e,a._$AS(e,o.values),a,i)),o}var Ze=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:i}=this._$AD,a=(o?.creationScope??Pt).importNode(r,!0);$t.currentNode=a;let l=$t.nextNode(),c=0,s=0,d=i[0];for(;d!==void 0;){if(c===d.index){let g;d.type===2?g=new Ce(l,l.nextSibling,this,o):d.type===1?g=new d.ctor(l,d.name,d.strings,this,o):d.type===6&&(g=new Ye(l,this,o)),this._$AV.push(g),d=i[++s]}c!==d?.index&&(l=$t.nextNode(),c++)}return $t.currentNode=Pt,a}p(o){let r=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(o,i,r),r+=i.strings.length-2):i._$AI(o[r])),r++}},Ce=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(o,r,i,a){this.type=2,this._$AH=U,this._$AN=void 0,this._$AA=o,this._$AB=r,this._$AM=i,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=_t(this,o,r),ne(o)?o===U||o==null||o===""?(this._$AH!==U&&this._$AR(),this._$AH=U):o!==this._$AH&&o!==ie&&this._(o):o._$litType$!==void 0?this.g(o):o.nodeType!==void 0?this.$(o):ni(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!==U&&ne(this._$AH)?this._$AA.nextSibling.data=o:this.$(Pt.createTextNode(o)),this._$AH=o}g(o){let{values:r,_$litType$:i}=o,a=typeof i=="number"?this._$AC(o):(i.el===void 0&&(i.el=ae.createElement(Uo(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===a)this._$AH.p(r);else{let l=new Ze(a,this),c=l.u(this.options);l.p(r),this.$(c),this._$AH=l}}_$AC(o){let r=Wo.get(o.strings);return r===void 0&&Wo.set(o.strings,r=new ae(o)),r}T(o){Bo(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,i,a=0;for(let l of o)a===r.length?r.push(i=new e(this.k(Se()),this.k(Se()),this,this.options)):i=r[a],i._$AI(l),a++;a<r.length&&(this._$AR(i&&i._$AB.nextSibling,a),r.length=a)}_$AR(o=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);o&&o!==this._$AB;){let i=o.nextSibling;o.remove(),o=i}}setConnected(o){this._$AM===void 0&&(this._$Cv=o,this._$AP?.(o))}},kt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(o,r,i,a,l){this.type=1,this._$AH=U,this._$AN=void 0,this.element=o,this.name=r,this._$AM=a,this.options=l,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=U}_$AI(o,r=this,i,a){let l=this.strings,c=!1;if(l===void 0)o=_t(this,o,r,0),c=!ne(o)||o!==this._$AH&&o!==ie,c&&(this._$AH=o);else{let s=o,d,g;for(o=l[0],d=0;d<l.length-1;d++)g=_t(this,s[i+d],r,d),g===ie&&(g=this._$AH[d]),c||=!ne(g)||g!==this._$AH[d],g===U?o=U:o!==U&&(o+=(g??"")+l[d+1]),this._$AH[d]=g}c&&!a&&this.O(o)}O(o){o===U?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,o??"")}},Fe=class extends kt{constructor(){super(...arguments),this.type=3}O(o){this.element[this.name]=o===U?void 0:o}},Ve=class extends kt{constructor(){super(...arguments),this.type=4}O(o){this.element.toggleAttribute(this.name,!!o&&o!==U)}},je=class extends kt{constructor(o,r,i,a,l){super(o,r,i,a,l),this.type=5}_$AI(o,r=this){if((o=_t(this,o,r,0)??U)===ie)return;let i=this._$AH,a=o===U&&i!==U||o.capture!==i.capture||o.once!==i.once||o.passive!==i.passive,l=o!==U&&(i===U||a);a&&this.element.removeEventListener(this.name,this,i),l&&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)}},Ye=class{constructor(o,r,i){this.element=o,this.type=6,this._$AN=void 0,this._$AM=r,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(o){_t(this,o)}};var ai=Xe.litHtmlPolyfillSupport;ai?.(ae,Ce),(Xe.litHtmlVersions??=[]).push("3.1.0");var Go=Symbol.for(""),li=e=>{if(e?.r===Go)return e?._$litStatic$},qe=e=>({_$litStatic$:e,r:Go});var Do=new Map,Mo=e=>(o,...r)=>{let i=r.length,a,l,c=[],s=[],d,g=0,x=!1;for(;g<i;){for(d=o[g];g<i&&(l=r[g],(a=li(l))!==void 0);)d+=a+o[++g],x=!0;g!==i&&s.push(l),c.push(d),g++}if(g===i&&c.push(o[i]),x){let m=c.join("$$lit$$");(o=Do.get(m))===void 0&&(c.raw=c,Do.set(m,o=c)),r=s}return e(o,...r)},Je=Mo(ko),Di=Mo(Ho);var Qe=y(ot()),$r=y(R());var Wt;(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"})(Wt||(Wt={}));var rt=y(k()),h=y(R());var ut=y(k(),1),Nt=e=>typeof e=="string"?(0,ut.unsafeCSS)(e):e,t=class{static create(o,r,i,a){let l=s=>Nt(s??a),c=ut.css`var(${Nt(o)}, ${l(a)})`;return c.name=o,c.description=r,c.category=i,c.defaultValue=a,c.defaultCssValue=l,c.get=s=>ut.css`var(${Nt(o)}, ${l(s)})`,c.breadcrumb=()=>[],c.lastResortDefaultValue=()=>a,c}static extend(o,r,i,a){let l=s=>i.get(s??a),c=ut.css`var(${Nt(o)}, ${l(a)})`;return c.name=o,c.description=r,c.category=i.category,c.fallbackVariable=i,c.defaultValue=a,c.defaultCssValue=l,c.get=s=>ut.css`var(${Nt(o)}, ${l(s)})`,c.breadcrumb=()=>[i.name,...i.breadcrumb()],c.lastResortDefaultValue=()=>a??i.lastResortDefaultValue(),c}static external(o,r){let i=l=>o.fallbackVariable?o.fallbackVariable.get(l??o.defaultValue):Nt(l??o.lastResortDefaultValue()),a=ut.css`var(${Nt(o.name)}, ${i(o.defaultValue)})`;return a.name=o.name,a.category=o.category,a.fallbackVariable=o.fallbackVariable,a.defaultValue=o.defaultValue,a.context=r,a.defaultCssValue=i,a.get=l=>ut.css`var(${Nt(o.name)}, ${i(l)})`,a.breadcrumb=()=>o.fallbackVariable?[o.fallbackVariable.name,...o.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>o.lastResortDefaultValue(),a}};var n={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"),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)")},Ko={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")},Zo={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")},Fo={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")},Vo={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")},jo={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")},Yo={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")},Xo={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")},qo={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")},Jo={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")},ci={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")},Qo={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")},tr={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")},er={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")},or={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")},rr={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")},nr={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")},ir={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")},ar={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")},lr={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")},cr={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")},pr={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")},sr={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")},dr={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")},fr={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")},hr={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")},gr={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")},ve={display:Ko,"title-1":Zo,"title-2":Fo,"title-3":Vo,"body-1-regular":jo,"body-1-medium":Yo,"body-1-semibold":Xo,"body-2-regular":qo,"body-2-medium":Jo,"body-2-medium-underline":ci,"body-2-semibold":Qo,"label-1-medium":tr,"label-1-semibold":er,"label-1-bold":or,"label-2-medium":rr,"label-2-semibold":nr,"label-2-bold":ir,"caption-1-medium":ar,"caption-1-semibold":lr,"caption-1-bold":cr,"caption-2-medium":pr,"caption-2-semibold":sr,"caption-2-bold":dr,"caption-3-medium":fr,"caption-3-semibold":hr,"caption-3-bold":gr};var p={backgroundActionPrimary:t.extend("--ft-background-action-primary","Used as backgorund of primary action components.",n.colorBrand0),backgroundErrorSubtle:t.extend("--ft-background-error-subtle","Used as background of subtle error components.",n.colorRed10),backgroundInfoSubtle:t.extend("--ft-background-info-subtle","Used as background of subtle information components.",n.colorCyan10),backgroundWarningSubtle:t.extend("--ft-background-warning-subtle","Used as background of subtle information components.",n.colorOrange10),backgroundSuccessSubtle:t.extend("--ft-background-success-subtle","Used as background of subtle success components.",n.colorGreen10),backgroundGlobalSurface:t.extend("--ft-background-global-surface","Used as app background.",n.colorWhite),backgroundGlobalOnSurface:t.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",n.colorGray10),backgroundGlobalOnSurfaceDark:t.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",n.colorGray30),contentActionPrimary:t.extend("--ft-content-action-primary","Used on label of primary action on light surface.",n.colorBrand0),contentWarningPrimary:t.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",n.colorOrange200),contentWarningIconOnly:t.extend("--ft-content-warning-icon-only","Used on warning status icons alone",n.colorOrange0),contentErrorPrimary:t.extend("--ft-content-error-primary","Used on label of error messages on light surface.",n.colorRed0),contentErrorIconOnly:t.extend("--ft-content-error-icon-only","Used on error status icons alone",n.colorRed70),contentInfoPrimary:t.extend("--ft-content-info-primary","Used on label of information messages on light surface.",n.colorCyan200),contentInfoIconOnly:t.extend("--ft-content-info-icon-only","Used on info status icons alone",n.colorCyan0),contentSuccessPrimary:t.extend("--ft-content-success-primary","Used on label of success messages on light surface.",n.colorGreen200),contentSuccessIconOnly:t.extend("--ft-content-success-icon-only","Used on success status icons alone",n.colorGreen0),contentGlobalPrimary:t.extend("--ft-content-global-primary","Used for main content on the page.",n.colorGray500),contentGlobalSecondary:t.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
8
|
-
Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",n.colorGray0),contentGlobalOnColor:t.extend("--ft-content-global-on-color","Used for content on a dominant color.",n.colorWhite),borderActionPrimary:t.extend("--ft-border-action-primary","Used as border for primary action components.",n.colorBrand0),borderActionFocusRing:t.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",n.colorCyan0),borderWarningPrimary:t.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",n.colorOrange200),borderWarningSubtle:t.extend("--ft-border-warning-subtle","Used as border for warning components.",n.colorOrange30),borderSuccessPrimary:t.extend("--ft-border-success-primary","Used as border for success buttons.",n.colorGreen200),borderSuccessSubtle:t.extend("--ft-border-success-subtle","Used as border for success components.",n.colorGreen30),borderErrorPrimary:t.extend("--ft-border-error-primary","Used as border for text fields in error states.",n.colorRed0),borderErrorSubtle:t.extend("--ft-border-error-subtle","Used as border for error components.",n.colorRed30),borderInfoPrimary:t.extend("--ft-border-info-primary","Used as border for buttons in info color.",n.colorCyan200),borderInfoSubtle:t.extend("--ft-border-info-subtle","Used as border for information components.",n.colorCyan30),borderGlobalPrimary:t.extend("--ft-border-global-primary","Used as border for element like input.",n.colorGray50),borderGlobalSubtle:t.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",n.colorGray30),borderInputPrimary:t.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",n.colorGray80)};var u={largeHeight:t.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:t.extend("--ft-button-large-horizontal-padding","",n.spacing4),largeGap:t.extend("--ft-button-large-gap","",n.spacing2),largeBorderRadius:t.extend("--ft-button-large-border-radius","",n.borderRadiusS),largeIconSize:t.extend("--ft-button-large-icon-size","",n.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"),smallHeight:t.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:t.extend("--ft-button-small-horizontal-padding","",n.spacing3),smallGap:t.extend("--ft-button-small-gap","",n.spacing2),smallBorderRadius:t.extend("--ft-button-small-border-radius","",n.borderRadiusS),smallIconSize:t.extend("--ft-button-small-icon-size","",n.iconSize2),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","30px"),primaryBackgroundColor:t.extend("--ft-button-primary-background-color","",p.backgroundActionPrimary),primaryColor:t.extend("--ft-button-primary-color","",p.contentGlobalOnColor),primaryIconColor:t.extend("--ft-button-primary-icon-color","",p.contentGlobalOnColor),primaryStateLayerColor:t.extend("--ft-button-primary-state-layer-color","",p.contentGlobalOnColor),primaryHoverStateLayerOpacity:t.extend("--ft-button-primary-hover-state-layer-opacity","",n.opacity16),primaryFocusStateLayerOpacity:t.extend("--ft-button-primary-focus-state-layer-opacity","",n.opacity16),primaryActiveStateLayerOpacity:t.extend("--ft-button-primary-active-state-layer-opacity","",n.opacity24),primaryDisabledComponentOpacity:t.extend("--ft-button-primary-disabled-component-opacity","",n.opacity40),focusFocusRingColor:t.extend("--ft-button-focus-focus-ring-color","",p.borderActionFocusRing),tertiaryBackgroundColor:t.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:t.extend("--ft-button-tertiary-color","",p.contentActionPrimary),tertiaryIconColor:t.extend("--ft-button-tertiary-icon-color","",p.contentActionPrimary),tertiaryStateLayerColor:t.extend("--ft-button-tertiary-state-layer-color","",p.contentActionPrimary),tertiaryHoverStateLayerOpacity:t.extend("--ft-button-tertiary-hover-state-layer-opacity","",n.opacity8),tertiaryFocusStateLayerOpacity:t.extend("--ft-button-tertiary-focus-state-layer-opacity","",n.opacity8),tertiaryActiveStateLayerOpacity:t.extend("--ft-button-tertiary-active-state-layer-opacity","",n.opacity16),tertiaryDisabledComponentOpacity:t.extend("--ft-button-tertiary-disabled-component-opacity","",n.opacity40),secondaryBackgroundColor:t.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:t.extend("--ft-button-secondary-color","",p.contentActionPrimary),secondaryIconColor:t.extend("--ft-button-secondary-icon-color","",p.contentActionPrimary),secondaryStateLayerColor:t.extend("--ft-button-secondary-state-layer-color","",p.contentActionPrimary),secondaryHoverStateLayerOpacity:t.extend("--ft-button-secondary-hover-state-layer-opacity","",n.opacity8),secondaryFocusStateLayerOpacity:t.extend("--ft-button-secondary-focus-state-layer-opacity","",n.opacity8),secondaryActiveStateLayerOpacity:t.extend("--ft-button-secondary-active-state-layer-opacity","",n.opacity16),secondaryDisabledComponentOpacity:t.extend("--ft-button-secondary-disabled-component-opacity","",n.opacity40),secondaryBorderColor:t.extend("--ft-button-secondary-border-color","",p.borderActionPrimary),neutralBackgroundColor:t.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:t.extend("--ft-button-neutral-icon-color","",p.contentGlobalSecondary),neutralColor:t.extend("--ft-button-neutral-color","",p.contentGlobalSecondary),neutralStateLayerColor:t.extend("--ft-button-neutral-state-layer-color","",p.contentGlobalSecondary),neutralHoverStateLayerOpacity:t.extend("--ft-button-neutral-hover-state-layer-opacity","",n.opacity8),neutralFocusStateLayerOpacity:t.extend("--ft-button-neutral-focus-state-layer-opacity","",n.opacity8),neutralActiveStateLayerOpacity:t.extend("--ft-button-neutral-active-state-layer-opacity","",n.opacity16),neutralDisabledComponentOpacity:t.extend("--ft-button-neutral-disabled-component-opacity","",n.opacity40)};var ia={focusOpacity:t.extend("--ft-link-focus-opacity","",n.opacity80),focusFocusRingColor:t.extend("--ft-link-focus-focus-ring-color","",p.borderActionFocusRing),brandColor:t.extend("--ft-link-brand-color","",p.contentActionPrimary),infoColor:t.extend("--ft-link-info-color","",p.contentInfoPrimary)};var sa={iconSize:t.extend("--ft-banner-icon-size","",n.iconSize5),borderWidth:t.create("--ft-banner-border-width","","SIZE","1px"),horizontalPadding:t.extend("--ft-banner-horizontal-padding","",n.spacing6),verticalPadding:t.extend("--ft-banner-vertical-padding","",n.spacing6),horizontalSideGap:t.extend("--ft-banner-horizontal-side-gap","",n.spacing6),horizontalMobileGap:t.extend("--ft-banner-horizontal-mobile-gap","",n.spacing4),verticalMobileGap:t.extend("--ft-banner-vertical-mobile-gap","",n.spacing6),horizontalMiddleGap:t.extend("--ft-banner-horizontal-middle-gap","",n.spacing20),infoBackgroundColor:t.extend("--ft-banner-info-background-color","",p.backgroundInfoSubtle),infoColor:t.extend("--ft-banner-info-color","",p.contentInfoPrimary),infoIconColor:t.extend("--ft-banner-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:t.extend("--ft-banner-info-border-color","",p.borderInfoSubtle)};var ua={horizontalPadding:t.extend("--ft-badge-horizontal-padding","",n.spacing1),verticalPadding:t.extend("--ft-badge-vertical-padding","",n.spacing1),borderRadius:t.extend("--ft-badge-border-radius","",n.borderRadiusPill),color:t.extend("--ft-badge-color","",p.contentGlobalOnColor),backgroundColor:t.extend("--ft-badge-background-color","",p.contentActionPrimary)};var Oa={horizontalGap:t.extend("--ft-breadcrumb-horizontal-gap","",n.spacing1),verticalGap:t.extend("--ft-breadcrumb-vertical-gap","",n.spacing2),currentColor:t.extend("--ft-breadcrumb-current-color","",p.contentGlobalPrimary),previousNonClickableColor:t.extend("--ft-breadcrumb-previous-non-clickable-color","",p.contentGlobalSecondary),iconColor:t.extend("--ft-breadcrumb-icon-color","",p.contentGlobalSubtle)};var wa={horizontalPadding:t.extend("--ft-page-header-horizontal-padding","",n.spacing12),horizontalGap:t.extend("--ft-page-header-horizontal-gap","",n.spacing4),verticalGap:t.extend("--ft-page-header-vertical-gap","",n.spacing2),classicVerticalPadding:t.extend("--ft-page-header-classic-vertical-padding","",n.spacing6),multilineVerticalPadding:t.extend("--ft-page-header-multiline-vertical-padding","",n.spacing4),inlineVerticalPadding:t.extend("--ft-page-header-inline-vertical-padding","",n.spacing2),backgroundColor:t.extend("--ft-page-header-background-color","",n.colorWhite),bottomBorderColor:t.extend("--ft-page-header-bottom-border-color","",p.borderGlobalSubtle),titleColor:t.extend("--ft-page-header-title-color","",p.contentGlobalPrimary),subtitleColor:t.extend("--ft-page-header-subtitle-color","",p.contentGlobalSecondary)};var $a={smallContainerWidth:t.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:t.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:t.extend("--ft-modal-overlay-background-color","",n.colorGray700),overlayOpacity:t.extend("--ft-modal-overlay-opacity","",n.opacity40),shadow:t.extend("--ft-modal-shadow","",n.shadowElevation03),bodyBackgroundColor:t.extend("--ft-modal-body-background-color","",n.colorWhite),bodyColor:t.extend("--ft-modal-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-modal-body-horizontal-padding","",n.spacing6),bodyVerticalPadding:t.extend("--ft-modal-body-vertical-padding","",n.spacing6),bodyVerticalGap:t.extend("--ft-modal-body-vertical-gap","",n.spacing6),containerMargin:t.extend("--ft-modal-container-margin","",n.spacing3),headerBackgroundColor:t.extend("--ft-modal-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-modal-header-border-color","",p.borderGlobalSubtle),headerColor:t.extend("--ft-modal-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:t.extend("--ft-modal-header-trailing-icon-color","",p.contentGlobalSecondary),headerVerticalPadding:t.extend("--ft-modal-header-vertical-padding","",n.spacing1),headerRightPadding:t.extend("--ft-modal-header-right-padding","",n.spacing1),headerLeftPadding:t.extend("--ft-modal-header-left-padding","",n.spacing6),headerGap:t.extend("--ft-modal-header-gap","",n.spacing2),headerBorderBottom:t.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:t.extend("--ft-modal-border-radius","",n.borderRadiusM)};var Ba={overlayOpacity:t.extend("--ft-drawer-overlay-opacity","",n.opacity40),shadow:t.extend("--ft-drawer-shadow","",n.shadowElevation03),bodyColor:t.extend("--ft-drawer-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-drawer-body-horizontal-padding","",n.spacing6),bodyVerticalPadding:t.extend("--ft-drawer-body-vertical-padding","",n.spacing6),bodyGap:t.extend("--ft-drawer-body-gap","",n.spacing6),bodyBackgroundColor:t.extend("--ft-drawer-body-background-color","",n.colorWhite),headerBackgroundColor:t.extend("--ft-drawer-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-drawer-header-border-color","",p.borderGlobalSubtle),headerColor:t.extend("--ft-drawer-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:t.extend("--ft-drawer-header-trailing-icon-color","",p.contentGlobalSecondary),headerHeight:t.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:t.extend("--ft-drawer-header-horizontal-padding","",n.spacing2),headerBorderWidth:t.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:t.extend("--ft-drawer-header-gap","",n.spacing3),buttonsBarBackgroundColor:t.extend("--ft-drawer-buttons-bar-background-color","",p.backgroundGlobalOnSurface),buttonsBarBorderColor:t.extend("--ft-drawer-buttons-bar-border-color","",p.borderGlobalSubtle),buttonsBarColor:t.extend("--ft-drawer-buttons-bar-color","",p.contentGlobalPrimary),buttonsBarHorizontalPadding:t.extend("--ft-drawer-buttons-bar-horizontal-padding","",n.spacing4),buttonsBarVerticalPadding:t.extend("--ft-drawer-buttons-bar-vertical-padding","",n.spacing4),buttonsBarGap:t.extend("--ft-drawer-buttons-bar-gap","",n.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","",n.colorGray700)};var Ua={fieldHorizontalPadding:t.extend("--ft-text-input-field-horizontal-padding","",n.spacing4),fieldHorizontalGap:t.extend("--ft-text-input-field-horizontal-gap","",n.spacing3),fieldVerticalGap:t.extend("--ft-text-input-field-vertical-gap","",n.spacing05),fieldIconSize:t.extend("--ft-text-input-field-icon-size","",n.iconSize3),fieldHeight:t.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:t.extend("--ft-text-input-helper-horizontal-padding","",n.spacing4),helperHorizontalGap:t.extend("--ft-text-input-helper-horizontal-gap","",n.spacing1),helperIconSize:t.extend("--ft-text-input-helper-icon-size","",n.iconSize2),borderRadius:t.extend("--ft-text-input-border-radius","",n.borderRadiusM),backgroundColor:t.extend("--ft-text-input-background-color","",n.colorWhite),contentValueColor:t.extend("--ft-text-input-content-value-color","",p.contentGlobalPrimary),trailingIconColor:t.extend("--ft-text-input-trailing-icon-color","",p.contentGlobalSubtle),labelColor:t.extend("--ft-text-input-label-color","",p.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-input-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-input-default-helper-text-color","",p.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","",p.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-input-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-input-error-helper-icon-color","",p.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","",p.borderActionFocusRing),focusOutlineOffset:t.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-text-input-disabled-component-opacity","",n.opacity40)};var Za={backgroundColor:t.extend("--ft-text-area-background-color","",n.colorWhite),contentValueColor:t.extend("--ft-text-area-content-value-color","",p.contentGlobalPrimary),labelColor:t.extend("--ft-text-area-label-color","",p.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-area-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-area-default-helper-text-color","",p.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","",p.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-area-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-area-error-helper-icon-color","",p.contentErrorIconOnly),focusFocusRingColor:t.extend("--ft-text-area-focus-focus-ring-color","",p.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","",n.opacity40),fieldHorizontalLeftPadding:t.extend("--ft-text-area-field-horizontal-left-padding","",n.spacing4),fieldHorizontalGap:t.extend("--ft-text-area-field-horizontal-gap","",n.spacing3),fieldVerticalGap:t.extend("--ft-text-area-field-vertical-gap","",n.spacing05),fieldMinHeight:t.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:t.extend("--ft-text-area-helper-horizontal-padding","",n.spacing4),helperHorizontalGap:t.extend("--ft-text-area-helper-horizontal-gap","",n.spacing1),helperIconSize:t.extend("--ft-text-area-helper-icon-size","",n.iconSize2),borderRadius:t.extend("--ft-text-area-border-radius","",n.borderRadiusM)};var Xa={height:t.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:t.extend("--ft-floating-menu-horizontal-padding","",n.spacing4),offIconColor:t.extend("--ft-floating-menu-off-icon-color","",p.contentGlobalPrimary),offColor:t.extend("--ft-floating-menu-off-color","",p.contentGlobalPrimary),onColor:t.extend("--ft-floating-menu-on-color","",p.contentActionPrimary),onStateLayerColor:t.extend("--ft-floating-menu-on-state-layer-color","",p.contentActionPrimary),gap:t.extend("--ft-floating-menu-gap","",n.spacing3),focusFocusRingColor:t.extend("--ft-floating-menu-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:t.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:t.extend("--ft-floating-menu-focus-state-layer-opacity","",n.opacity8),hoverStateLayerOpacity:t.extend("--ft-floating-menu-hover-state-layer-opacity","",n.opacity8),activeStateLayerOpacity:t.extend("--ft-floating-menu-active-state-layer-opacity","",n.opacity16),disabledComponentOpacity:t.extend("--ft-floating-menu-disabled-component-opacity","",n.opacity40),iconSize:t.extend("--ft-floating-menu-icon-size","",n.iconSize3),backgroundColor:t.extend("--ft-floating-menu-background-color","",p.backgroundGlobalOnSurface)};var el={fieldHorizontalPadding:t.extend("--ft-combobox-single-select-field-horizontal-padding","",n.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-single-select-field-horizontal-gap","",n.spacing3),fieldVerticalGap:t.extend("--ft-combobox-single-select-field-vertical-gap","",n.spacing05),fieldIconSize:t.extend("--ft-combobox-single-select-field-icon-size","",n.iconSize3),fieldHeight:t.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:t.extend("--ft-combobox-single-select-helper-horizontal-padding","",n.spacing4),helperHorizontalGap:t.extend("--ft-combobox-single-select-helper-horizontal-gap","",n.spacing1),helperVerticalGap:t.extend("--ft-combobox-single-select-helper-vertical-gap","",n.spacing1),helperIconSize:t.extend("--ft-combobox-single-select-helper-icon-size","",n.iconSize2),menuVerticalGap:t.extend("--ft-combobox-single-select-menu-vertical-gap","",n.spacing2),borderRadius:t.extend("--ft-combobox-single-select-border-radius","",n.borderRadiusM),backgroundColor:t.extend("--ft-combobox-single-select-background-color","",n.colorWhite),labelColor:t.extend("--ft-combobox-single-select-label-color","",p.contentGlobalSubtle),contentValueColor:t.extend("--ft-combobox-single-select-content-value-color","",p.contentGlobalPrimary),trailingIconColor:t.extend("--ft-combobox-single-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-single-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-single-select-default-helper-text-color","",p.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","",p.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-single-select-error-helper-text-color","",p.contentErrorPrimary),warningBorderWidth:t.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-single-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-single-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-single-select-warning-helper-icon-color","",p.contentWarningIconOnly),focusOutlineWidth:t.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-single-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:t.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-combobox-single-select-disabled-component-opacity","",n.opacity40)};var al={backgroundColor:t.extend("--ft-combobox-multi-select-background-color","",n.colorWhite),labelColor:t.extend("--ft-combobox-multi-select-label-color","",p.contentGlobalSubtle),trailingIconColor:t.extend("--ft-combobox-multi-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-multi-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-multi-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:t.extend("--ft-combobox-multi-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-multi-select-error-helper-text-color","",p.contentErrorPrimary),errorHelperIcon:t.extend("--ft-combobox-multi-select-error-helper-icon","",p.contentErrorIconOnly),errorBorderWidth:t.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-multi-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-multi-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-multi-select-warning-helper-icon-color","",p.contentWarningIconOnly),warningBorderWidth:t.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-multi-select-focus-focus-ring-color","",p.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","",n.opacity40),helperHorizontalPadding:t.extend("--ft-combobox-multi-select-helper-horizontal-padding","",n.spacing4),helperHorizontalGap:t.extend("--ft-combobox-multi-select-helper-horizontal-gap","",n.spacing1),helperVerticalGap:t.extend("--ft-combobox-multi-select-helper-vertical-gap","",n.spacing1),helperIconSize:t.extend("--ft-combobox-multi-select-helper-icon-size","",n.iconSize2),fieldHorizontalPadding:t.extend("--ft-combobox-multi-select-field-horizontal-padding","",n.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-multi-select-field-horizontal-gap","",n.spacing3),fieldVerticalGap:t.extend("--ft-combobox-multi-select-field-vertical-gap","",n.spacing05),fieldIconSize:t.extend("--ft-combobox-multi-select-field-icon-size","",n.iconSize3),fieldMaxHeight:t.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:t.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",n.spacing1),contentValuesVerticalGap:t.extend("--ft-combobox-multi-select-content-values-vertical-gap","",n.spacing1),borderRadius:t.extend("--ft-combobox-multi-select-border-radius","",n.borderRadiusM)};var dl={backgroundColor:t.extend("--ft-popover-background-color","",p.backgroundGlobalOnSurface),horizontalPadding:t.extend("--ft-popover-horizontal-padding","",n.spacing6),verticalPadding:t.extend("--ft-popover-vertical-padding","",n.spacing6),iconColor:t.extend("--ft-popover-icon-color","",p.contentGlobalSecondary),iconSize:t.extend("--ft-popover-icon-size","",n.iconSize2),titleColor:t.extend("--ft-popover-title-color","",p.contentGlobalPrimary),bodyColor:t.extend("--ft-popover-body-color","",p.contentGlobalSecondary),linkColor:t.extend("--ft-popover-link-color","",p.contentActionPrimary),gap:t.extend("--ft-popover-gap","",n.spacing3),borderRadius:t.extend("--ft-popover-border-radius","",n.borderRadiusM),shadow:t.extend("--ft-popover-shadow","",n.shadowElevation02)};var yl={topLeftBorderRadius:t.extend("--ft-tabs-top-left-border-radius","",n.borderRadiusS),topRightBorderRadius:t.extend("--ft-tabs-top-right-border-radius","",n.borderRadiusS),withLabelHorizontalPadding:t.extend("--ft-tabs-with-label-horizontal-padding","",n.spacing4),withLabelVerticalPadding:t.extend("--ft-tabs-with-label-vertical-padding","",n.spacing3),horizontalGap:t.extend("--ft-tabs-horizontal-gap","",n.spacing1),verticalGap:t.extend("--ft-tabs-vertical-gap","",n.spacing1),offHoverStateLayerOpacity:t.extend("--ft-tabs-off-hover-state-layer-opacity","",n.opacity8),offFocusStateLayerOpacity:t.extend("--ft-tabs-off-focus-state-layer-opacity","",n.opacity8),offDisabledComponentOpacity:t.extend("--ft-tabs-off-disabled-component-opacity","",n.opacity40),offColor:t.extend("--ft-tabs-off-color","",p.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-tabs-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-tabs-on-hover-state-layer-opacity","",n.opacity8),onFocusStateLayerOpacity:t.extend("--ft-tabs-on-focus-state-layer-opacity","",n.opacity8),onActiveStateLayerOpacity:t.extend("--ft-tabs-on-active-state-layer-opacity","",n.opacity16),onDisabledComponentOpacity:t.extend("--ft-tabs-on-disabled-component-opacity","",n.opacity40),onColor:t.extend("--ft-tabs-on-color","",p.contentActionPrimary),onStateLayerColor:t.extend("--ft-tabs-on-state-layer-color","",p.contentActionPrimary),iconOnlyHorizontalPadding:t.extend("--ft-tabs-icon-only-horizontal-padding","",n.spacing4),iconOnlyVerticalPadding:t.extend("--ft-tabs-icon-only-vertical-padding","",n.spacing4),alertTopPadding:t.extend("--ft-tabs-alert-top-padding","",n.spacing1),alertRightPadding:t.extend("--ft-tabs-alert-right-padding","",n.spacing05),focusOutlineWidth:t.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-tabs-focus-focus-ring-color","",p.borderActionFocusRing)};var Sl={hoverStateLayerOpacity:t.extend("--ft-collapsible-hover-state-layer-opacity","",n.opacity8),focusStateLayerOpacity:t.extend("--ft-collapsible-focus-state-layer-opacity","",n.opacity8),focusOutlineWidth:t.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:t.extend("--ft-collapsible-focus-focus-ring-color","",p.borderActionFocusRing),activeStateLayerOpacity:t.extend("--ft-collapsible-active-state-layer-opacity","",n.opacity16),disabledComponentOpacity:t.extend("--ft-collapsible-disabled-component-opacity","",n.opacity40),horizontalPadding:t.extend("--ft-collapsible-horizontal-padding","",n.spacing4),verticalPadding:t.extend("--ft-collapsible-vertical-padding","",n.spacing3),color:t.extend("--ft-collapsible-color","",p.contentGlobalPrimary),stateLayerColor:t.extend("--ft-collapsible-state-layer-color","",p.contentGlobalPrimary),backgroundColor:t.extend("--ft-collapsible-background-color","",p.backgroundGlobalOnSurface),borderColor:t.extend("--ft-collapsible-border-color","",p.borderGlobalSubtle),iconSize:t.extend("--ft-collapsible-icon-size","",n.iconSize3)};var El={groupHorizontalPadding:t.extend("--ft-switch-group-horizontal-padding","",n.spacing1),groupVerticalPadding:t.extend("--ft-switch-group-vertical-padding","",n.spacing1),groupGap:t.extend("--ft-switch-group-gap","",n.spacing1),groupBackgroundColor:t.extend("--ft-switch-group-background-color","",p.backgroundGlobalSurface),groupBorderColor:t.extend("--ft-switch-group-border-color","",p.borderGlobalSubtle),groupBorderRadius:t.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:t.extend("--ft-switch-label-horizontal-padding","",n.spacing2),labelVerticalPadding:t.extend("--ft-switch-label-vertical-padding","",n.spacing1),offHoverStateLayerOpacity:t.extend("--ft-switch-off-hover-state-layer-opacity","",n.opacity8),offFocusStateLayerOpacity:t.extend("--ft-switch-off-focus-state-layer-opacity","",n.opacity8),offActiveStateLayerOpacity:t.extend("--ft-switch-off-active-state-layer-opacity","",n.opacity16),offDisabledComponentOpacity:t.extend("--ft-switch-off-disabled-component-opacity","",n.opacity40),offColor:t.extend("--ft-switch-off-color","",p.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-switch-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-switch-on-hover-state-layer-opacity","",n.opacity8),onFocusStateLayerOpacity:t.extend("--ft-switch-on-focus-state-layer-opacity","",n.opacity8),onActiveStateLayerOpacity:t.extend("--ft-switch-on-active-state-layer-opacity","",n.opacity16),onDisabledComponentOpacity:t.extend("--ft-switch-on-disabled-component-opacity","",n.opacity40),onColor:t.extend("--ft-switch-on-color","",p.contentActionPrimary),onStateLayerColor:t.extend("--ft-switch-on-state-layer-color","",p.contentActionPrimary),iconHorizontalPadding:t.extend("--ft-switch-icon-horizontal-padding","",n.spacing1),iconVerticalPadding:t.extend("--ft-switch-icon-vertical-padding","",n.spacing1),focusOutlineWidth:t.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-switch-focus-focus-ring-color","",p.borderActionFocusRing),optionBorderRadius:t.extend("--ft-switch-option-border-radius","",n.borderRadiusS)};var $l={color1Light:t.extend("--ft-chart-1-light","for area color charts",n.colorBrand40),color1Base:t.extend("--ft-chart-1-base","for line charts",n.colorBrand0),color2Light:t.extend("--ft-chart-2-light","for area color charts",n.colorYellow60),color2Base:t.extend("--ft-chart-2-base","for line charts",n.colorYellow100),color3Light:t.extend("--ft-chart-3-light","",n.colorUltramarine40),color3Base:t.extend("--ft-chart-3-base","",n.colorUltramarine70),color4Light:t.extend("--ft-chart-4-light","",n.colorCyan50),color4Base:t.extend("--ft-chart-4-base","",n.colorCyan100),color5Light:t.extend("--ft-chart-5-light","",n.colorRed40),color5Base:t.extend("--ft-chart-5-base","",n.colorRed60),color6Light:t.extend("--ft-chart-6-light","",n.colorGreen40),color6Base:t.extend("--ft-chart-6-base","",n.colorGreen70),color7Light:t.extend("--ft-chart-7-light","",n.colorOrange70),color7Base:t.extend("--ft-chart-7-base","",n.colorOrange100),color8Light:t.extend("--ft-chart-8-light","",n.colorAvocado70),color8Base:t.extend("--ft-chart-8-base","",n.colorAvocado200),color9Light:t.extend("--ft-chart-9-light","",n.colorBrown50),color9Base:t.extend("--ft-chart-9-base","",n.colorBrown200),color10Light:t.extend("--ft-chart-10-light","",n.colorGray50),color10Base:t.extend("--ft-chart-10-base","",n.colorGray80),monochrome10:t.extend("--ft-chart-monochrome-10","",n.colorBrand10),monochrome20:t.extend("--ft-chart-monochrome-20","",n.colorBrand20),monochrome30:t.extend("--ft-chart-monochrome-30","",n.colorBrand40),monochrome40:t.extend("--ft-chart-monochrome-40","",n.colorBrand60),monochrome50:t.extend("--ft-chart-monochrome-50","",n.colorBrand0),monochrome60:t.extend("--ft-chart-monochrome-60","",n.colorBrand200)};var Bl={largeHorizontalPadding:t.extend("--ft-chip-large-horizontal-padding","",n.spacing4),largeVerticalPadding:t.extend("--ft-chip-large-vertical-padding","",n.spacing2),largeGap:t.extend("--ft-chip-large-gap","",n.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.extend("--ft-chip-large-border-radius","",n.borderRadiusPill),largeBorderWidth:t.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:t.extend("--ft-chip-large-icon-size","",n.iconSize3),mediumHorizontalPadding:t.extend("--ft-chip-medium-horizontal-padding","",n.spacing3),mediumVerticalPadding:t.extend("--ft-chip-medium-vertical-padding","",n.spacing1),mediumGap:t.extend("--ft-chip-medium-gap","",n.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.extend("--ft-chip-medium-border-radius","",n.borderRadiusPill),mediumBorderWidth:t.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:t.extend("--ft-chip-medium-icon-size","",n.iconSize2),smallHorizontalPadding:t.extend("--ft-chip-small-horizontal-padding","",n.spacing2),smallVerticalPadding:t.extend("--ft-chip-small-vertical-padding","",n.spacing05),smallGap:t.extend("--ft-chip-small-gap","",n.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.extend("--ft-chip-small-border-radius","",n.borderRadiusPill),smallBorderWidth:t.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:t.extend("--ft-chip-small-icon-size","",n.iconSize1),neutralBackgroundColor:t.extend("--ft-chip-neutral-background-color","",p.backgroundGlobalOnSurface),neutralColor:t.extend("--ft-chip-neutral-color","",p.contentGlobalSecondary),neutralIconColor:t.extend("--ft-chip-neutral-icon-color","",p.contentGlobalSecondary),neutralBorderColor:t.extend("--ft-chip-neutral-border-color","",p.borderGlobalSubtle),infoBackgroundColor:t.extend("--ft-chip-info-background-color","",p.backgroundInfoSubtle),infoColor:t.extend("--ft-chip-info-color","",p.contentInfoPrimary),infoIconColor:t.extend("--ft-chip-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:t.extend("--ft-chip-info-border-color","",p.borderInfoSubtle),successBackgroundColor:t.extend("--ft-chip-success-background-color","",p.backgroundSuccessSubtle),successColor:t.extend("--ft-chip-success-color","",p.contentSuccessPrimary),successIconColor:t.extend("--ft-chip-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:t.extend("--ft-chip-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-chip-warning-background-color","",p.backgroundWarningSubtle),warningColor:t.extend("--ft-chip-warning-color","",p.contentWarningPrimary),warningIconColor:t.extend("--ft-chip-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:t.extend("--ft-chip-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-chip-error-background-color","",p.backgroundErrorSubtle),errorColor:t.extend("--ft-chip-error-color","",p.contentErrorPrimary),errorIconColor:t.extend("--ft-chip-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:t.extend("--ft-chip-error-border-color","",p.borderErrorSubtle)};var Ul={borderWidth:t.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:t.extend("--ft-notice-horizontal-padding","",n.spacing3),verticalPadding:t.extend("--ft-notice-vertical-padding","",n.spacing2),borderRadius:t.extend("--ft-notice-border-radius","",n.borderRadiusS),gap:t.extend("--ft-notice-gap","",n.spacing2),iconSize:t.extend("--ft-notice-icon-size","",n.iconSize3),infoBackgroundColor:t.extend("--ft-notice-info-background-color","",p.backgroundInfoSubtle),infoBorderColor:t.extend("--ft-notice-info-border-color","",p.borderInfoSubtle),infoColor:t.extend("--ft-notice-info-color","",p.contentInfoPrimary),infoIconColor:t.extend("--ft-notice-info-icon-color","",p.contentInfoIconOnly),warningBackgroundColor:t.extend("--ft-notice-warning-background-color","",p.backgroundWarningSubtle),warningBorderColor:t.extend("--ft-notice-warning-border-color","",p.borderWarningSubtle),warningColor:t.extend("--ft-notice-warning-color","",p.contentWarningPrimary),warningIconColor:t.extend("--ft-notice-warning-icon-color","",p.contentWarningIconOnly),errorBackgroundColor:t.extend("--ft-notice-error-background-color","",p.backgroundErrorSubtle),errorBorderColor:t.extend("--ft-notice-error-border-color","",p.borderErrorSubtle),errorColor:t.extend("--ft-notice-error-color","",p.contentErrorPrimary),errorIconColor:t.extend("--ft-notice-error-icon-color","",p.contentErrorIconOnly),successBackgroundColor:t.extend("--ft-notice-success-background-color","",p.backgroundSuccessSubtle),successBorderColor:t.extend("--ft-notice-success-border-color","",p.borderSuccessSubtle),successColor:t.extend("--ft-notice-success-color","",p.contentSuccessPrimary),successIconColor:t.extend("--ft-notice-success-icon-color","",p.contentSuccessIconOnly)};var Zl={color:t.extend("--ft-checkbox-color","",p.contentGlobalPrimary),checkedBackgroundColor:t.extend("--ft-checkbox-checked-background-color","",p.contentActionPrimary),checkedStateLayerColor:t.extend("--ft-checkbox-checked-state-layer-color","",p.contentActionPrimary),checkedIconColor:t.extend("--ft-checkbox-checked-icon-color","",p.contentGlobalOnColor),checkedHoverStateLayerOpacity:t.extend("--ft-checkbox-checked-hover-state-layer-opacity","",n.opacity16),checkedFocusStateLayerOpacity:t.extend("--ft-checkbox-checked-focus-state-layer-opacity","",n.opacity16),checkedActiveStateLayerOpacity:t.extend("--ft-checkbox-checked-active-state-layer-opacity","",n.opacity24),checkedDisabledComponentOpacity:t.extend("--ft-checkbox-checked-disabled-component-opacity","",n.opacity40),uncheckedBorderColor:t.extend("--ft-checkbox-unchecked-border-color","",n.colorGray80),uncheckedStateLayerColor:t.extend("--ft-checkbox-unchecked-state-layer-color","",n.colorGray80),uncheckedHoverStateLayerOpacity:t.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",n.opacity16),uncheckedFocusStateLayerOpacity:t.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",n.opacity16),uncheckedActiveStateLayerOpacity:t.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",n.opacity24),uncheckedDisabledComponentOpacity:t.extend("--ft-checkbox-unchecked-disabled-component-opacity","",n.opacity40),focusFocusRingColor:t.extend("--ft-checkbox-focus-focus-ring-color","",p.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","",n.spacing3)};var Xl={offHoverStateLayerOpacity:t.extend("--ft-toggle-off-hover-state-layer-opacity","",n.opacity16),offFocusStateLayerOpacity:t.extend("--ft-toggle-off-focus-state-layer-opacity","",n.opacity16),offActiveStateLayerOpacity:t.extend("--ft-toggle-off-active-state-layer-opacity","",n.opacity24),offDisabledComponentOpacity:t.extend("--ft-toggle-off-disabled-component-opacity","",n.opacity40),offBackgroundColor:t.extend("--ft-toggle-off-background-color","",p.contentGlobalSubtle),offIconColor:t.extend("--ft-toggle-off-icon-color","",p.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-toggle-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-toggle-on-hover-state-layer-opacity","",n.opacity16),onFocusStateLayerOpacity:t.extend("--ft-toggle-on-focus-state-layer-opacity","",n.opacity16),onActiveStateLayerOpacity:t.extend("--ft-toggle-on-active-state-layer-opacity","",n.opacity24),onDisabledComponentOpacity:t.extend("--ft-toggle-on-disabled-component-opacity","",n.opacity40),onBackgroundColor:t.extend("--ft-toggle-on-background-color","",p.contentActionPrimary),onStateLayerColor:t.extend("--ft-toggle-on-state-layer-color","",p.contentActionPrimary),onIconColor:t.extend("--ft-toggle-on-icon-color","",p.contentActionPrimary),color:t.extend("--ft-toggle-color","",p.contentGlobalPrimary),focusFocusRingColor:t.extend("--ft-toggle-focus-focus-ring-color","",p.borderActionFocusRing),gap:t.extend("--ft-toggle-gap","",n.spacing3)};var ec={color:t.extend("--ft-radio-color","",p.contentGlobalPrimary),selectedRadioColor:t.extend("--ft-radio-selected-radio-color","",p.contentActionPrimary),selectedStateLayerColor:t.extend("--ft-radio-selected-state-layer-color","",p.contentActionPrimary),selectedHoverStateLayerOpacity:t.extend("--ft-radio-selected-hover-state-layer-opacity","",n.opacity16),selectedFocusStateLayerOpacity:t.extend("--ft-radio-selected-focus-state-layer-opacity","",n.opacity16),selectedActiveStateLayerOpacity:t.extend("--ft-radio-selected-active-state-layer-opacity","",n.opacity24),selectedDisabledComponentOpacity:t.extend("--ft-radio-selected-disabled-component-opacity","",n.opacity40),unselectedStateLayerColor:t.extend("--ft-radio-unselected-state-layer-color","",p.borderInputPrimary),unselectedBorderColor:t.extend("--ft-radio-unselected-border-color","",p.borderInputPrimary),unselectedHoverStateLayerOpacity:t.extend("--ft-radio-unselected-hover-state-layer-opacity","",n.opacity16),unselectedFocusStateLayerOpacity:t.extend("--ft-radio-unselected-focus-state-layer-opacity","",n.opacity16),unselectedActiveStateLayerOpacity:t.extend("--ft-radio-unselected-active-state-layer-opacity","",n.opacity24),unselectedDisabledComponentOpacity:t.extend("--ft-radio-unselected-disabled-component-opacity","",n.opacity40),focusFocusRingColor:t.extend("--ft-radio-focus-focus-ring-color","",p.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","",n.spacing3)};var ac={iconSize:t.extend("--ft-notification-icon-size","",n.iconSize4),horizontalPadding:t.extend("--ft-notification-horizontal-padding","",n.spacing4),verticalPadding:t.extend("--ft-notification-vertical-padding","",n.spacing4),infoBackgroundColor:t.extend("--ft-notification-info-background-color","",p.backgroundInfoSubtle),infoColor:t.extend("--ft-notification-info-color","",p.contentInfoPrimary),infoIconColor:t.extend("--ft-notification-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:t.extend("--ft-notification-info-border-color","",p.borderInfoSubtle),successBackgroundColor:t.extend("--ft-notification-success-background-color","",p.backgroundSuccessSubtle),successColor:t.extend("--ft-notification-success-color","",p.contentSuccessPrimary),successIconColor:t.extend("--ft-notification-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:t.extend("--ft-notification-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-notification-warning-background-color","",p.backgroundWarningSubtle),warningColor:t.extend("--ft-notification-warning-color","",p.contentWarningPrimary),warningIconColor:t.extend("--ft-notification-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:t.extend("--ft-notification-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-notification-error-background-color","",p.backgroundErrorSubtle),errorColor:t.extend("--ft-notification-error-color","",p.contentErrorPrimary),errorIconColor:t.extend("--ft-notification-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:t.extend("--ft-notification-error-border-color","",p.borderErrorSubtle),borderRadius:t.extend("--ft-notification-border-radius","",n.borderRadiusPill),borderWidth:t.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:t.extend("--ft-notification-leading-gap","",n.spacing2),trailingGap:t.extend("--ft-notification-trailing-gap","",n.spacing8)};var dc={horizontalPadding:t.extend("--ft-tooltip-horizontal-padding","",n.spacing2),verticalPadding:t.extend("--ft-tooltip-vertical-padding","",n.spacing2),borderRadius:t.extend("--ft-tooltip-border-radius","",n.borderRadiusS),color:t.extend("--ft-tooltip-color","",p.contentGlobalOnColor),backgroundColor:t.extend("--ft-tooltip-background-color","",p.contentGlobalPrimary),backgroundOpacity:t.extend("--ft-tooltip-background-opacity","",n.opacity80),shadow:t.extend("--ft-tooltip-shadow","",n.shadowElevation03),maxWidth:t.create("--ft-tooltip-max-width","","SIZE","256px"),gap:t.extend("--ft-tooltip-gap","",n.spacing05)};var Ne=y(k());function ur(e){let o=ve[e];return Ne.css`
|
|
9
|
-
.ft-typography--${(0,
|
|
10
|
-
font-family: ${
|
|
11
|
-
font-size: ${
|
|
12
|
-
font-weight: ${
|
|
13
|
-
letter-spacing: ${
|
|
14
|
-
line-height: ${
|
|
15
|
-
text-transform: ${
|
|
16
|
-
}
|
|
17
|
-
`}var
|
|
5
|
+
`;var $o=S(F());var Gr=S(_()),jr=S(F());var Hr;(function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"})(Hr||(Hr={}));var sc=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(a=(i<3?c(a):i>3?c(e,r,a):c(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},ko=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},_o=Symbol("registerInterval");function fc(t){var e;class r extends t{constructor(){super(...arguments),this[e]=0}setReaderStateManager(i){this.clearStateManager(),this.stateManager=i,this.addStore(i.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var i;return(i=this.stateManager)===null||i===void 0?void 0:i.service}connectedCallback(){super.connectedCallback(),this[_o]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[_o]):this.dispatchEvent(new ko)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=_o,sc([(0,jr.state)()],r.prototype,"stateManager",void 0),r}var qe=class extends fc(Gr.FtLitElementRedux){};var Kr=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(a=(i<3?c(a):i>3?c(e,r,a):c(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Do=class extends Event{constructor(){super("register-ft-reader-topic-component",{bubbles:!0,composed:!0})}},Wo=Symbol("registerInterval");function pc(t){var e;class r extends t{constructor(){super(...arguments),this.disableContextInteractions=!1,this[e]=0}connectedCallback(){super.connectedCallback(),this[Wo]=window.setInterval(()=>this.tryToRegisterToTopicContext(),50)}tryToRegisterToTopicContext(){this.tocNode!=null?window.clearInterval(this[Wo]):this.dispatchEvent(new Do)}disconnectedCallback(){super.disconnectedCallback(),this.tocNode=void 0}}return e=Wo,Kr([(0,$o.state)()],r.prototype,"tocNode",void 0),Kr([(0,$o.state)()],r.prototype,"disableContextInteractions",void 0),r}var Xe=class extends pc(qe){};var ec=S(_());var Ni=S(_());var Ei=S(M()),G=S(F()),Be=S(_());var Qn=S(_());var jo=globalThis,Je=jo.trustedTypes,Fr=Je?Je.createPolicy("lit-html",{createHTML:t=>t}):void 0,Jr="$lit$",Wt=`lit$${(Math.random()+"").slice(9)}$`,Qr="?"+Wt,dc=`<${Qr}>`,qt=document,Qe=()=>qt.createComment(""),Ie=t=>t===null||typeof t!="object"&&typeof t!="function",tn=Array.isArray,uc=t=>tn(t)||typeof t?.[Symbol.iterator]=="function",zo=`[
|
|
6
|
+
\f\r]`,Le=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Vr=/-->/g,Zr=/>/g,Zt=RegExp(`>|${zo}(?:([^\\s"'>=/]+)(${zo}*=${zo}*(?:[^
|
|
7
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Yr=/'/g,qr=/"/g,en=/^(?:script|style|textarea|title)$/i,on=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),rn=on(1),nn=on(2),Te=Symbol.for("lit-noChange"),j=Symbol.for("lit-nothing"),Xr=new WeakMap,Yt=qt.createTreeWalker(qt,129);function an(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Fr!==void 0?Fr.createHTML(e):e}var hc=(t,e)=>{let r=t.length-1,n=[],i,a=e===2?"<svg>":"",c=Le;for(let s=0;s<r;s++){let d=t[s],p,u,h=-1,m=0;for(;m<d.length&&(c.lastIndex=m,u=c.exec(d),u!==null);)m=c.lastIndex,c===Le?u[1]==="!--"?c=Vr:u[1]!==void 0?c=Zr:u[2]!==void 0?(en.test(u[2])&&(i=RegExp("</"+u[2],"g")),c=Zt):u[3]!==void 0&&(c=Zt):c===Zt?u[0]===">"?(c=i??Le,h=-1):u[1]===void 0?h=-2:(h=c.lastIndex-u[2].length,p=u[1],c=u[3]===void 0?Zt:u[3]==='"'?qr:Yr):c===qr||c===Yr?c=Zt:c===Vr||c===Zr?c=Le:(c=Zt,i=void 0);let g=c===Zt&&t[s+1].startsWith("/>")?" ":"";a+=c===Le?d+dc:h>=0?(n.push(p),d.slice(0,h)+Jr+d.slice(h)+Wt+g):d+Wt+(h===-2?s:g)}return[an(t,a+(t[r]||"<?>")+(e===2?"</svg>":"")),n]},_e=class t{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let a=0,c=0,s=e.length-1,d=this.parts,[p,u]=hc(e,r);if(this.el=t.createElement(p,n),Yt.currentNode=this.el.content,r===2){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(i=Yt.nextNode())!==null&&d.length<s;){if(i.nodeType===1){if(i.hasAttributes())for(let h of i.getAttributeNames())if(h.endsWith(Jr)){let m=u[c++],g=i.getAttribute(h).split(Wt),y=/([.?@])?(.*)/.exec(m);d.push({type:1,index:a,name:y[2],strings:g,ctor:y[1]==="."?Mo:y[1]==="?"?Uo:y[1]==="@"?Ho:ce}),i.removeAttribute(h)}else h.startsWith(Wt)&&(d.push({type:6,index:a}),i.removeAttribute(h));if(en.test(i.tagName)){let h=i.textContent.split(Wt),m=h.length-1;if(m>0){i.textContent=Je?Je.emptyScript:"";for(let g=0;g<m;g++)i.append(h[g],Qe()),Yt.nextNode(),d.push({type:2,index:++a});i.append(h[m],Qe())}}}else if(i.nodeType===8)if(i.data===Qr)d.push({type:2,index:a});else{let h=-1;for(;(h=i.data.indexOf(Wt,h+1))!==-1;)d.push({type:7,index:a}),h+=Wt.length-1}a++}}static createElement(e,r){let n=qt.createElement("template");return n.innerHTML=e,n}};function ae(t,e,r=t,n){if(e===Te)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=Ie(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(t),i._$AT(t,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(e=ae(t,i._$AS(t,e.values),i,n)),e}var Bo=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:n}=this._$AD,i=(e?.creationScope??qt).importNode(r,!0);Yt.currentNode=i;let a=Yt.nextNode(),c=0,s=0,d=n[0];for(;d!==void 0;){if(c===d.index){let p;d.type===2?p=new to(a,a.nextSibling,this,e):d.type===1?p=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(p=new Go(a,this,e)),this._$AV.push(p),d=n[++s]}c!==d?.index&&(a=Yt.nextNode(),c++)}return Yt.currentNode=qt,i}p(e){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}},to=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=j,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=ae(this,e,r),Ie(e)?e===j||e==null||e===""?(this._$AH!==j&&this._$AR(),this._$AH=j):e!==this._$AH&&e!==Te&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):uc(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==j&&Ie(this._$AH)?this._$AA.nextSibling.data=e:this.$(qt.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=_e.createElement(an(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new Bo(i,this),c=a.u(this.options);a.p(r),this.$(c),this._$AH=a}}_$AC(e){let r=Xr.get(e.strings);return r===void 0&&Xr.set(e.strings,r=new _e(e)),r}T(e){tn(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let a of e)i===r.length?r.push(n=new t(this.k(Qe()),this.k(Qe()),this,this.options)):n=r[i],n._$AI(a),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},ce=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,a){this.type=1,this._$AH=j,this._$AN=void 0,this.element=e,this.name=r,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=j}_$AI(e,r=this,n,i){let a=this.strings,c=!1;if(a===void 0)e=ae(this,e,r,0),c=!Ie(e)||e!==this._$AH&&e!==Te,c&&(this._$AH=e);else{let s=e,d,p;for(e=a[0],d=0;d<a.length-1;d++)p=ae(this,s[n+d],r,d),p===Te&&(p=this._$AH[d]),c||=!Ie(p)||p!==this._$AH[d],p===j?e=j:e!==j&&(e+=(p??"")+a[d+1]),this._$AH[d]=p}c&&!i&&this.O(e)}O(e){e===j?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Mo=class extends ce{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===j?void 0:e}},Uo=class extends ce{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==j)}},Ho=class extends ce{constructor(e,r,n,i,a){super(e,r,n,i,a),this.type=5}_$AI(e,r=this){if((e=ae(this,e,r,0)??j)===Te)return;let n=this._$AH,i=e===j&&n!==j||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==j&&(n===j||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},Go=class{constructor(e,r,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){ae(this,e)}};var mc=jo.litHtmlPolyfillSupport;mc?.(_e,to),(jo.litHtmlVersions??=[]).push("3.1.0");var ln=Symbol.for(""),yc=t=>{if(t?.r===ln)return t?._$litStatic$},Ko=t=>({_$litStatic$:t,r:ln});var cn=new Map,sn=t=>(e,...r)=>{let n=r.length,i,a,c=[],s=[],d,p=0,u=!1;for(;p<n;){for(d=e[p];p<n&&(a=r[p],(i=yc(a))!==void 0);)d+=i+e[++p],u=!0;p!==n&&s.push(a),c.push(d),p++}if(p===n&&c.push(e[n]),u){let h=c.join("$$lit$$");(e=cn.get(h))===void 0&&(c.raw=c,cn.set(h,e=c)),r=s}return t(e,...r)},Fo=sn(rn),Wl=sn(nn);var Vo=S(F()),Jn=S(_());var Xt;(function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"})(Xt||(Xt={}));var pt=S(M()),v=S(_());var Et=S(M(),1),$t=t=>typeof t=="string"?(0,Et.unsafeCSS)(t):t,o=class{static create(e,r,n,i){let a=s=>$t(s??i),c=Et.css`var(${$t(e)}, ${a(i)})`;return c.name=e,c.description=r,c.category=n,c.defaultValue=i,c.defaultCssValue=a,c.get=s=>Et.css`var(${$t(e)}, ${a(s)})`,c.breadcrumb=()=>[],c.lastResortDefaultValue=()=>i,c}static extend(e,r,n,i){let a=s=>n.get(s??i),c=Et.css`var(${$t(e)}, ${a(i)})`;return c.name=e,c.description=r,c.category=n.category,c.fallbackVariable=n,c.defaultValue=i,c.defaultCssValue=a,c.get=s=>Et.css`var(${$t(e)}, ${a(s)})`,c.breadcrumb=()=>[n.name,...n.breadcrumb()],c.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),c}static external(e,r){let n=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):$t(a??e.lastResortDefaultValue()),i=Et.css`var(${$t(e.name)}, ${n(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=r,i.defaultCssValue=n,i.get=a=>Et.css`var(${$t(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};var l={colorWhite:o.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:o.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:o.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:o.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:o.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:o.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:o.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:o.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:o.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:o.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:o.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:o.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:o.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:o.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:o.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:o.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:o.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:o.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:o.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:o.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:o.create("--ft-opacity-0","","NUMBER","0"),opacity8:o.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:o.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:o.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:o.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:o.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:o.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:o.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:o.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:o.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:o.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:o.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:o.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:o.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},fn={fontFamily:o.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:o.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-display-textCase","","UNKNOWN","none")},pn={fontFamily:o.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:o.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},dn={fontFamily:o.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:o.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},un={fontFamily:o.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:o.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:o.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},hn={fontFamily:o.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},mn={fontFamily:o.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},yn={fontFamily:o.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},gn={fontFamily:o.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},bn={fontFamily:o.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},gc={fontFamily:o.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:o.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:o.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},xn={fontFamily:o.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},vn={fontFamily:o.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Sn={fontFamily:o.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},On={fontFamily:o.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Cn={fontFamily:o.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},wn={fontFamily:o.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},En={fontFamily:o.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Nn={fontFamily:o.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Rn={fontFamily:o.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},An={fontFamily:o.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Pn={fontFamily:o.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Ln={fontFamily:o.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},In={fontFamily:o.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Tn={fontFamily:o.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},_n={fontFamily:o.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},kn={fontFamily:o.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},eo={display:fn,"title-1":pn,"title-2":dn,"title-3":un,"body-1-regular":hn,"body-1-medium":mn,"body-1-semibold":yn,"body-2-regular":gn,"body-2-medium":bn,"body-2-medium-underline":gc,"body-2-semibold":xn,"label-1-medium":vn,"label-1-semibold":Sn,"label-1-bold":On,"label-2-medium":Cn,"label-2-semibold":wn,"label-2-bold":En,"caption-1-medium":Nn,"caption-1-semibold":Rn,"caption-1-bold":An,"caption-2-medium":Pn,"caption-2-semibold":Ln,"caption-2-bold":In,"caption-3-medium":Tn,"caption-3-semibold":_n,"caption-3-bold":kn};var f={backgroundActionPrimary:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",l.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",l.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",l.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",l.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",l.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",l.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",l.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",l.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",l.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",l.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",l.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",l.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",l.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",l.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",l.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",l.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",l.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",l.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
8
|
+
Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",l.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",l.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",l.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",l.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",l.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",l.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",l.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",l.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",l.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",l.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",l.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",l.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",l.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",l.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",l.colorGray80)};var O={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",l.spacing4),largeGap:o.extend("--ft-button-large-gap","",l.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",l.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",l.iconSize3),largeBorderWidth:o.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ft-button-medium-horizontal-padding","",l.spacing3),mediumGap:o.extend("--ft-button-medium-gap","",l.spacing2),mediumBorderRadius:o.extend("--ft-button-medium-border-radius","",l.borderRadiusS),mediumIconSize:o.extend("--ft-button-medium-icon-size","",l.iconSize2),mediumBorderWidth:o.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-button-small-horizontal-padding","",l.spacing2),smallGap:o.extend("--ft-button-small-gap","",l.spacing1),smallBorderRadius:o.extend("--ft-button-small-border-radius","",l.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",l.iconSize1),smallBorderWidth:o.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ft-button-x-small-icon-size","",l.iconSize1),xSmallFocusOutlineOffset:o.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ft-button-round-border-radius","",l.borderRadiusPill),primaryBackgroundColor:o.extend("--ft-button-primary-background-color","",f.backgroundActionPrimary),primaryColor:o.extend("--ft-button-primary-color","",f.contentGlobalOnColor),primaryIconColor:o.extend("--ft-button-primary-icon-color","",f.contentGlobalOnColor),primaryStateLayerColor:o.extend("--ft-button-primary-state-layer-color","",f.contentGlobalOnColor),primaryHoverStateLayerOpacity:o.extend("--ft-button-primary-hover-state-layer-opacity","",l.opacity16),primaryFocusStateLayerOpacity:o.extend("--ft-button-primary-focus-state-layer-opacity","",l.opacity16),primaryActiveStateLayerOpacity:o.extend("--ft-button-primary-active-state-layer-opacity","",l.opacity24),primaryDisabledComponentOpacity:o.extend("--ft-button-primary-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",f.borderActionFocusRing),tertiaryBackgroundColor:o.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:o.extend("--ft-button-tertiary-color","",f.contentActionPrimary),tertiaryIconColor:o.extend("--ft-button-tertiary-icon-color","",f.contentActionPrimary),tertiaryStateLayerColor:o.extend("--ft-button-tertiary-state-layer-color","",f.contentActionPrimary),tertiaryHoverStateLayerOpacity:o.extend("--ft-button-tertiary-hover-state-layer-opacity","",l.opacity8),tertiaryFocusStateLayerOpacity:o.extend("--ft-button-tertiary-focus-state-layer-opacity","",l.opacity8),tertiaryActiveStateLayerOpacity:o.extend("--ft-button-tertiary-active-state-layer-opacity","",l.opacity16),tertiaryDisabledComponentOpacity:o.extend("--ft-button-tertiary-disabled-component-opacity","",l.opacity40),secondaryBackgroundColor:o.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:o.extend("--ft-button-secondary-color","",f.contentActionPrimary),secondaryIconColor:o.extend("--ft-button-secondary-icon-color","",f.contentActionPrimary),secondaryStateLayerColor:o.extend("--ft-button-secondary-state-layer-color","",f.contentActionPrimary),secondaryHoverStateLayerOpacity:o.extend("--ft-button-secondary-hover-state-layer-opacity","",l.opacity8),secondaryFocusStateLayerOpacity:o.extend("--ft-button-secondary-focus-state-layer-opacity","",l.opacity8),secondaryActiveStateLayerOpacity:o.extend("--ft-button-secondary-active-state-layer-opacity","",l.opacity16),secondaryDisabledComponentOpacity:o.extend("--ft-button-secondary-disabled-component-opacity","",l.opacity40),secondaryBorderColor:o.extend("--ft-button-secondary-border-color","",f.borderActionPrimary),neutralBackgroundColor:o.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:o.extend("--ft-button-neutral-icon-color","",f.contentGlobalSecondary),neutralColor:o.extend("--ft-button-neutral-color","",f.contentGlobalSecondary),neutralStateLayerColor:o.extend("--ft-button-neutral-state-layer-color","",f.contentGlobalSecondary),neutralHoverStateLayerOpacity:o.extend("--ft-button-neutral-hover-state-layer-opacity","",l.opacity8),neutralFocusStateLayerOpacity:o.extend("--ft-button-neutral-focus-state-layer-opacity","",l.opacity8),neutralActiveStateLayerOpacity:o.extend("--ft-button-neutral-active-state-layer-opacity","",l.opacity16),neutralDisabledComponentOpacity:o.extend("--ft-button-neutral-disabled-component-opacity","",l.opacity40)};var Ql={largeMinHeight:o.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",l.spacing3),largeButtonRightPadding:o.extend("--ft-chip-large-button-right-padding","",l.spacing1),largeGap:o.extend("--ft-chip-large-gap","",l.spacing1),largeFocusOutlineOffset:o.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.extend("--ft-chip-large-border-radius","",l.borderRadiusPill),largeBorderWidth:o.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-large-icon-size","",l.iconSize3),mediumMinHeight:o.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",l.spacing2),mediumButtonRightPadding:o.extend("--ft-chip-medium-button-right-padding","",l.spacing05),mediumGap:o.extend("--ft-chip-medium-gap","",l.spacing1),mediumFocusOutlineOffset:o.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.extend("--ft-chip-medium-border-radius","",l.borderRadiusPill),mediumBorderWidth:o.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-medium-icon-size","",l.iconSize2),smallMinHeight:o.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",l.spacing1),smallButtonRightPadding:o.extend("--ft-chip-small-button-right-padding","",l.spacing05),smallGap:o.extend("--ft-chip-small-gap","",l.spacing1),smallFocusOutlineOffset:o.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.extend("--ft-chip-small-border-radius","",l.borderRadiusPill),smallBorderWidth:o.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ft-chip-small-icon-size","",l.iconSize1),neutralBackgroundColor:o.extend("--ft-chip-neutral-background-color","",f.backgroundGlobalOnSurface),neutralColor:o.extend("--ft-chip-neutral-color","",f.contentGlobalSecondary),neutralIconColor:o.extend("--ft-chip-neutral-icon-color","",f.contentGlobalSecondary),neutralBorderColor:o.extend("--ft-chip-neutral-border-color","",f.borderGlobalSubtle),infoBackgroundColor:o.extend("--ft-chip-info-background-color","",f.backgroundInfoSubtle),infoColor:o.extend("--ft-chip-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-chip-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:o.extend("--ft-chip-info-border-color","",f.borderInfoSubtle),successBackgroundColor:o.extend("--ft-chip-success-background-color","",f.backgroundSuccessSubtle),successColor:o.extend("--ft-chip-success-color","",f.contentSuccessPrimary),successIconColor:o.extend("--ft-chip-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:o.extend("--ft-chip-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-chip-warning-background-color","",f.backgroundWarningSubtle),warningColor:o.extend("--ft-chip-warning-color","",f.contentWarningPrimary),warningIconColor:o.extend("--ft-chip-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:o.extend("--ft-chip-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-chip-error-background-color","",f.backgroundErrorSubtle),errorColor:o.extend("--ft-chip-error-color","",f.contentErrorPrimary),errorIconColor:o.extend("--ft-chip-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:o.extend("--ft-chip-error-border-color","",f.borderErrorSubtle)};var ns={focusOpacity:o.extend("--ft-link-focus-opacity","",l.opacity80),focusFocusRingColor:o.extend("--ft-link-focus-focus-ring-color","",f.borderActionFocusRing),brandColor:o.extend("--ft-link-brand-color","",f.contentActionPrimary),infoColor:o.extend("--ft-link-info-color","",f.contentInfoPrimary)};var ss={iconSize:o.extend("--ft-banner-icon-size","",l.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",l.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",l.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",l.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",l.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",l.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",l.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",l.spacing20),infoBackgroundColor:o.extend("--ft-banner-info-background-color","",f.backgroundInfoSubtle),infoColor:o.extend("--ft-banner-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-banner-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:o.extend("--ft-banner-info-border-color","",f.borderInfoSubtle)};var hs={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",l.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",l.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",l.borderRadiusPill),color:o.extend("--ft-badge-color","",f.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",f.contentActionPrimary)};var xs={horizontalGap:o.extend("--ft-breadcrumb-horizontal-gap","",l.spacing1),verticalGap:o.extend("--ft-breadcrumb-vertical-gap","",l.spacing2),currentColor:o.extend("--ft-breadcrumb-current-color","",f.contentGlobalPrimary),previousNonClickableColor:o.extend("--ft-breadcrumb-previous-non-clickable-color","",f.contentGlobalSecondary),iconColor:o.extend("--ft-breadcrumb-icon-color","",f.contentGlobalSubtle)};var ws={horizontalPadding:o.extend("--ft-page-header-horizontal-padding","",l.spacing12),horizontalGap:o.extend("--ft-page-header-horizontal-gap","",l.spacing4),verticalGap:o.extend("--ft-page-header-vertical-gap","",l.spacing2),classicVerticalPadding:o.extend("--ft-page-header-classic-vertical-padding","",l.spacing6),multilineVerticalPadding:o.extend("--ft-page-header-multiline-vertical-padding","",l.spacing4),inlineVerticalPadding:o.extend("--ft-page-header-inline-vertical-padding","",l.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",l.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",f.borderGlobalSubtle),titleColor:o.extend("--ft-page-header-title-color","",f.contentGlobalPrimary),subtitleColor:o.extend("--ft-page-header-subtitle-color","",f.contentGlobalSecondary)};var Ps={smallContainerWidth:o.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:o.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:o.extend("--ft-modal-overlay-background-color","",l.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",l.opacity40),shadow:o.extend("--ft-modal-shadow","",l.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",l.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",l.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",l.spacing6),containerMargin:o.extend("--ft-modal-container-margin","",l.spacing3),headerBackgroundColor:o.extend("--ft-modal-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-modal-header-border-color","",f.borderGlobalSubtle),headerColor:o.extend("--ft-modal-header-color","",f.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-modal-header-trailing-icon-color","",f.contentGlobalSecondary),headerVerticalPadding:o.extend("--ft-modal-header-vertical-padding","",l.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",l.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",l.spacing6),headerGap:o.extend("--ft-modal-header-gap","",l.spacing2),headerBorderBottom:o.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",l.borderRadiusM)};var ks={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",l.opacity40),shadow:o.extend("--ft-drawer-shadow","",l.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",l.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",l.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",l.colorWhite),headerBackgroundColor:o.extend("--ft-drawer-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-drawer-header-border-color","",f.borderGlobalSubtle),headerColor:o.extend("--ft-drawer-header-color","",f.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-drawer-header-trailing-icon-color","",f.contentGlobalSecondary),headerHeight:o.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ft-drawer-header-horizontal-padding","",l.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",l.spacing3),buttonsBarBackgroundColor:o.extend("--ft-drawer-buttons-bar-background-color","",f.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ft-drawer-buttons-bar-border-color","",f.borderGlobalSubtle),buttonsBarColor:o.extend("--ft-drawer-buttons-bar-color","",f.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ft-drawer-buttons-bar-horizontal-padding","",l.spacing4),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",l.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",l.spacing3),buttonsBarBorderWidth:o.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ft-drawer-overlay-background-color","",l.colorGray700)};var Bs={fieldHorizontalPadding:o.extend("--ft-text-input-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-text-input-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-text-input-field-vertical-gap","",l.spacing05),fieldIconSize:o.extend("--ft-text-input-field-icon-size","",l.iconSize3),fieldHeight:o.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",l.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",l.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",l.borderRadiusM),backgroundColor:o.extend("--ft-text-input-background-color","",l.colorWhite),contentValueColor:o.extend("--ft-text-input-content-value-color","",f.contentGlobalPrimary),trailingIconColor:o.extend("--ft-text-input-trailing-icon-color","",f.contentGlobalSubtle),labelColor:o.extend("--ft-text-input-label-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-input-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-input-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-input-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-input-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-input-error-helper-icon-color","",f.contentErrorIconOnly),warningBorderWidth:o.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-text-input-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-input-disabled-component-opacity","",l.opacity40)};var js={backgroundColor:o.extend("--ft-text-area-background-color","",l.colorWhite),contentValueColor:o.extend("--ft-text-area-content-value-color","",f.contentGlobalPrimary),labelColor:o.extend("--ft-text-area-label-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-area-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-area-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-area-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-area-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-area-error-helper-icon-color","",f.contentErrorIconOnly),focusFocusRingColor:o.extend("--ft-text-area-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:o.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-area-disabled-component-opacity","",l.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",l.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",l.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",l.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",l.borderRadiusM)};var Ys={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",l.spacing4),offIconColor:o.extend("--ft-floating-menu-off-icon-color","",f.contentGlobalPrimary),offColor:o.extend("--ft-floating-menu-off-color","",f.contentGlobalPrimary),onColor:o.extend("--ft-floating-menu-on-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-floating-menu-on-state-layer-color","",f.contentActionPrimary),gap:o.extend("--ft-floating-menu-gap","",l.spacing3),focusFocusRingColor:o.extend("--ft-floating-menu-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:o.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ft-floating-menu-focus-state-layer-opacity","",l.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",l.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",l.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",l.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",f.backgroundGlobalOnSurface)};var tf={fieldHorizontalPadding:o.extend("--ft-combobox-single-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-single-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-combobox-single-select-field-vertical-gap","",l.spacing05),fieldIconSize:o.extend("--ft-combobox-single-select-field-icon-size","",l.iconSize3),fieldHeight:o.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",l.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",l.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",l.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",l.borderRadiusM),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",l.colorWhite),labelColor:o.extend("--ft-combobox-single-select-label-color","",f.contentGlobalSubtle),contentValueColor:o.extend("--ft-combobox-single-select-content-value-color","",f.contentGlobalPrimary),trailingIconColor:o.extend("--ft-combobox-single-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-single-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-single-select-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-combobox-single-select-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-single-select-error-helper-text-color","",f.contentErrorPrimary),warningBorderWidth:o.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-single-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-single-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-single-select-warning-helper-icon-color","",f.contentWarningIconOnly),focusOutlineWidth:o.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-single-select-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-single-select-disabled-component-opacity","",l.opacity40)};var af={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",l.colorWhite),labelColor:o.extend("--ft-combobox-multi-select-label-color","",f.contentGlobalSubtle),trailingIconColor:o.extend("--ft-combobox-multi-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-multi-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-multi-select-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ft-combobox-multi-select-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-multi-select-error-helper-text-color","",f.contentErrorPrimary),errorHelperIcon:o.extend("--ft-combobox-multi-select-error-helper-icon","",f.contentErrorIconOnly),errorBorderWidth:o.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-multi-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-multi-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-multi-select-warning-helper-icon-color","",f.contentWarningIconOnly),warningBorderWidth:o.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-multi-select-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:o.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-multi-select-disabled-component-opacity","",l.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",l.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",l.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",l.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",l.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",l.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",l.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",l.borderRadiusM)};var pf={backgroundColor:o.extend("--ft-popover-background-color","",f.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",l.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",l.spacing6),titleColor:o.extend("--ft-popover-title-color","",f.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",f.contentGlobalSecondary),linkColor:o.extend("--ft-popover-link-color","",f.contentActionPrimary),gap:o.extend("--ft-popover-gap","",l.spacing3),borderRadius:o.extend("--ft-popover-border-radius","",l.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",l.shadowElevation02)};var yf={topLeftBorderRadius:o.extend("--ft-tabs-top-left-border-radius","",l.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",l.borderRadiusS),withLabelHorizontalPadding:o.extend("--ft-tabs-with-label-horizontal-padding","",l.spacing4),withLabelVerticalPadding:o.extend("--ft-tabs-with-label-vertical-padding","",l.spacing3),horizontalGap:o.extend("--ft-tabs-horizontal-gap","",l.spacing1),verticalGap:o.extend("--ft-tabs-vertical-gap","",l.spacing1),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",l.opacity8),offDefaultStateLayerOpacity:o.extend("--ft-tabs-off-default-state-layer-opacity","",l.opacity0),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",l.opacity8),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",l.opacity40),offColor:o.extend("--ft-tabs-off-color","",f.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-tabs-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",l.opacity8),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",l.opacity0),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",l.opacity16),onColor:o.extend("--ft-tabs-on-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-tabs-on-state-layer-color","",f.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ft-tabs-icon-only-horizontal-padding","",l.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",l.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",l.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",l.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",f.borderActionFocusRing)};var Sf={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",l.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",l.opacity8),focusOutlineWidth:o.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ft-collapsible-focus-focus-ring-color","",f.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ft-collapsible-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",l.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",l.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",l.spacing3),color:o.extend("--ft-collapsible-color","",f.contentGlobalPrimary),stateLayerColor:o.extend("--ft-collapsible-state-layer-color","",f.contentGlobalPrimary),backgroundColor:o.extend("--ft-collapsible-background-color","",f.backgroundGlobalOnSurface),borderColor:o.extend("--ft-collapsible-border-color","",f.borderGlobalSubtle),iconSize:o.extend("--ft-collapsible-icon-size","",l.iconSize3)};var Nf={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",l.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",l.spacing1),groupGap:o.extend("--ft-switch-group-gap","",l.spacing1),groupBackgroundColor:o.extend("--ft-switch-group-background-color","",f.backgroundGlobalSurface),groupBorderColor:o.extend("--ft-switch-group-border-color","",f.borderGlobalSubtle),groupBorderRadius:o.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ft-switch-label-horizontal-padding","",l.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",l.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",l.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",l.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",l.opacity40),offColor:o.extend("--ft-switch-off-color","",f.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-switch-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",l.opacity40),onColor:o.extend("--ft-switch-on-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",f.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-switch-icon-horizontal-padding","",l.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",l.spacing1),focusOutlineWidth:o.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-switch-focus-focus-ring-color","",f.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",l.borderRadiusS)};var Lf={color1Light:o.extend("--ft-chart-1-light","for area color charts",l.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",l.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",l.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",l.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",l.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",l.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",l.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",l.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",l.colorRed40),color5Base:o.extend("--ft-chart-5-base","",l.colorRed60),color6Light:o.extend("--ft-chart-6-light","",l.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",l.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",l.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",l.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",l.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",l.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",l.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",l.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",l.colorGray50),color10Base:o.extend("--ft-chart-10-base","",l.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",l.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",l.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",l.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",l.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",l.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",l.colorBrand200)};var Wf={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",l.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",l.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",l.borderRadiusS),gap:o.extend("--ft-notice-gap","",l.spacing2),iconSize:o.extend("--ft-notice-icon-size","",l.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",f.backgroundInfoSubtle),infoBorderColor:o.extend("--ft-notice-info-border-color","",f.borderInfoSubtle),infoColor:o.extend("--ft-notice-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-notice-info-icon-color","",f.contentInfoIconOnly),warningBackgroundColor:o.extend("--ft-notice-warning-background-color","",f.backgroundWarningSubtle),warningBorderColor:o.extend("--ft-notice-warning-border-color","",f.borderWarningSubtle),warningColor:o.extend("--ft-notice-warning-color","",f.contentWarningPrimary),warningIconColor:o.extend("--ft-notice-warning-icon-color","",f.contentWarningIconOnly),errorBackgroundColor:o.extend("--ft-notice-error-background-color","",f.backgroundErrorSubtle),errorBorderColor:o.extend("--ft-notice-error-border-color","",f.borderErrorSubtle),errorColor:o.extend("--ft-notice-error-color","",f.contentErrorPrimary),errorIconColor:o.extend("--ft-notice-error-icon-color","",f.contentErrorIconOnly),successBackgroundColor:o.extend("--ft-notice-success-background-color","",f.backgroundSuccessSubtle),successBorderColor:o.extend("--ft-notice-success-border-color","",f.borderSuccessSubtle),successColor:o.extend("--ft-notice-success-color","",f.contentSuccessPrimary),successIconColor:o.extend("--ft-notice-success-icon-color","",f.contentSuccessIconOnly)};var Mf={color:o.extend("--ft-checkbox-color","",f.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ft-checkbox-checked-background-color","",f.contentActionPrimary),checkedStateLayerColor:o.extend("--ft-checkbox-checked-state-layer-color","",f.contentActionPrimary),checkedIconColor:o.extend("--ft-checkbox-checked-icon-color","",f.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ft-checkbox-checked-hover-state-layer-opacity","",l.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",l.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",l.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",l.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",l.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",l.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",l.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",l.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",l.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-checkbox-gap","",l.spacing3)};var Kf={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",l.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",l.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",l.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",l.opacity40),offBackgroundColor:o.extend("--ft-toggle-off-background-color","",f.contentGlobalSubtle),offIconColor:o.extend("--ft-toggle-off-icon-color","",f.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-toggle-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-toggle-on-hover-state-layer-opacity","",l.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",l.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",l.opacity40),onBackgroundColor:o.extend("--ft-toggle-on-background-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-toggle-on-state-layer-color","",f.contentActionPrimary),onIconColor:o.extend("--ft-toggle-on-icon-color","",f.contentActionPrimary),color:o.extend("--ft-toggle-color","",f.contentGlobalPrimary),focusFocusRingColor:o.extend("--ft-toggle-focus-focus-ring-color","",f.borderActionFocusRing),gap:o.extend("--ft-toggle-gap","",l.spacing3)};var qf={color:o.extend("--ft-radio-color","",f.contentGlobalPrimary),selectedRadioColor:o.extend("--ft-radio-selected-radio-color","",f.contentActionPrimary),selectedStateLayerColor:o.extend("--ft-radio-selected-state-layer-color","",f.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ft-radio-selected-hover-state-layer-opacity","",l.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",l.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",l.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",l.opacity40),unselectedStateLayerColor:o.extend("--ft-radio-unselected-state-layer-color","",f.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",f.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ft-radio-unselected-hover-state-layer-opacity","",l.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",l.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",l.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ft-radio-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-radio-gap","",l.spacing3)};var ep={iconSize:o.extend("--ft-notification-icon-size","",l.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",l.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",l.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",l.spacing3),infoBackgroundColor:o.extend("--ft-notification-info-background-color","",f.backgroundInfoSubtle),infoColor:o.extend("--ft-notification-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-notification-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:o.extend("--ft-notification-info-border-color","",f.borderInfoSubtle),successBackgroundColor:o.extend("--ft-notification-success-background-color","",f.backgroundSuccessSubtle),successColor:o.extend("--ft-notification-success-color","",f.contentSuccessPrimary),successIconColor:o.extend("--ft-notification-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:o.extend("--ft-notification-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-notification-warning-background-color","",f.backgroundWarningSubtle),warningColor:o.extend("--ft-notification-warning-color","",f.contentWarningPrimary),warningIconColor:o.extend("--ft-notification-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:o.extend("--ft-notification-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-notification-error-background-color","",f.backgroundErrorSubtle),errorColor:o.extend("--ft-notification-error-color","",f.contentErrorPrimary),errorIconColor:o.extend("--ft-notification-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:o.extend("--ft-notification-error-border-color","",f.borderErrorSubtle),borderRadius:o.extend("--ft-notification-border-radius","",l.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",l.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",l.spacing8)};var ap={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",l.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",l.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",l.borderRadiusS),color:o.extend("--ft-tooltip-color","",f.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",f.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",l.opacity80),shadow:o.extend("--ft-tooltip-shadow","",l.shadowElevation03),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",l.spacing05)};var Wn;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(Wn||(Wn={}));var $n;(function(t){t.large="large",t.medium="medium",t.small="small"})($n||($n={}));var oo=S(M());function Dn(t){let e=eo[t];return oo.css`
|
|
9
|
+
.ft-typography--${(0,oo.unsafeCSS)(t)} {
|
|
10
|
+
font-family: ${e.fontFamily};
|
|
11
|
+
font-size: ${e.fontSize};
|
|
12
|
+
font-weight: ${e.fontWeight};
|
|
13
|
+
letter-spacing: ${e.letterSpacing};
|
|
14
|
+
line-height: ${e.lineHeight};
|
|
15
|
+
text-transform: ${e.textCase};
|
|
16
|
+
}
|
|
17
|
+
`}var zn=v.FtCssVariableFactory.extend("--ft-typography-font-family","",v.designSystemVariables.titleFont),Nt=v.FtCssVariableFactory.extend("--ft-typography-font-family","",v.designSystemVariables.contentFont),E={fontFamily:Nt,fontSize:v.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:v.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:v.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:v.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:v.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},le={fontFamily:v.FtCssVariableFactory.extend("--ft-typography-title-font-family","",zn),fontSize:v.FtCssVariableFactory.extend("--ft-typography-title-font-size","",E.fontSize,"20px"),fontWeight:v.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",E.fontWeight,"normal"),letterSpacing:v.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",E.letterSpacing,"0.15px"),lineHeight:v.FtCssVariableFactory.extend("--ft-typography-title-line-height","",E.lineHeight,"1.2"),textTransform:v.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",E.textTransform,"inherit")},se={fontFamily:v.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",zn),fontSize:v.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",E.fontSize,"14px"),fontWeight:v.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",E.fontWeight,"normal"),letterSpacing:v.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",E.letterSpacing,"0.105px"),lineHeight:v.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",E.lineHeight,"1.7"),textTransform:v.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",E.textTransform,"inherit")},fe={fontFamily:v.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",Nt),fontSize:v.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",E.fontSize,"16px"),fontWeight:v.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",E.fontWeight,"600"),letterSpacing:v.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",E.letterSpacing,"0.144px"),lineHeight:v.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",E.lineHeight,"1.5"),textTransform:v.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",E.textTransform,"inherit")},pe={fontFamily:v.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",Nt),fontSize:v.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",E.fontSize,"14px"),fontWeight:v.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",E.fontWeight,"normal"),letterSpacing:v.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",E.letterSpacing,"0.098px"),lineHeight:v.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",E.lineHeight,"1.7"),textTransform:v.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",E.textTransform,"inherit")},de={fontFamily:v.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",Nt),fontSize:v.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",E.fontSize,"16px"),fontWeight:v.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",E.fontWeight,"normal"),letterSpacing:v.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",E.letterSpacing,"0.496px"),lineHeight:v.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",E.lineHeight,"1.5"),textTransform:v.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",E.textTransform,"inherit")},xt={fontFamily:v.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",Nt),fontSize:v.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",E.fontSize,"14px"),fontWeight:v.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",E.fontWeight,"normal"),letterSpacing:v.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",E.letterSpacing,"0.252px"),lineHeight:v.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",E.lineHeight,"1.4"),textTransform:v.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",E.textTransform,"inherit")},ue={fontFamily:v.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",Nt),fontSize:v.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",E.fontSize,"12px"),fontWeight:v.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",E.fontWeight,"normal"),letterSpacing:v.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",E.letterSpacing,"0.396px"),lineHeight:v.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",E.lineHeight,"1.33"),textTransform:v.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",E.textTransform,"inherit")},he={fontFamily:v.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",Nt),fontSize:v.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",E.fontSize,"10px"),fontWeight:v.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",E.fontWeight,"normal"),letterSpacing:v.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",E.letterSpacing,"0.33px"),lineHeight:v.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",E.lineHeight,"1.6"),textTransform:v.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",E.textTransform,"inherit")},me={fontFamily:v.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",Nt),fontSize:v.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",E.fontSize,"10px"),fontWeight:v.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",E.fontWeight,"normal"),letterSpacing:v.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",E.letterSpacing,"1.5px"),lineHeight:v.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",E.lineHeight,"1.6"),textTransform:v.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",E.textTransform,"uppercase")},vt={fontFamily:v.FtCssVariableFactory.extend("--ft-typography-button-font-family","",Nt),fontSize:v.FtCssVariableFactory.extend("--ft-typography-button-font-size","",E.fontSize,"14px"),fontWeight:v.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",E.fontWeight,"600"),letterSpacing:v.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",E.letterSpacing,"1.246px"),lineHeight:v.FtCssVariableFactory.extend("--ft-typography-button-line-height","",E.lineHeight,"1.15"),textTransform:v.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",E.textTransform,"uppercase")},Bn=pt.css`
|
|
18
18
|
.ft-typography--title {
|
|
19
|
-
font-family: ${
|
|
20
|
-
font-size: ${
|
|
21
|
-
font-weight: ${
|
|
22
|
-
letter-spacing: ${
|
|
23
|
-
line-height: ${
|
|
24
|
-
text-transform: ${
|
|
25
|
-
}
|
|
26
|
-
`,
|
|
19
|
+
font-family: ${le.fontFamily};
|
|
20
|
+
font-size: ${le.fontSize};
|
|
21
|
+
font-weight: ${le.fontWeight};
|
|
22
|
+
letter-spacing: ${le.letterSpacing};
|
|
23
|
+
line-height: ${le.lineHeight};
|
|
24
|
+
text-transform: ${le.textTransform};
|
|
25
|
+
}
|
|
26
|
+
`,Mn=pt.css`
|
|
27
27
|
.ft-typography--title-dense {
|
|
28
|
-
font-family: ${
|
|
29
|
-
font-size: ${
|
|
30
|
-
font-weight: ${
|
|
31
|
-
letter-spacing: ${
|
|
32
|
-
line-height: ${
|
|
33
|
-
text-transform: ${
|
|
34
|
-
}
|
|
35
|
-
`,
|
|
28
|
+
font-family: ${se.fontFamily};
|
|
29
|
+
font-size: ${se.fontSize};
|
|
30
|
+
font-weight: ${se.fontWeight};
|
|
31
|
+
letter-spacing: ${se.letterSpacing};
|
|
32
|
+
line-height: ${se.lineHeight};
|
|
33
|
+
text-transform: ${se.textTransform};
|
|
34
|
+
}
|
|
35
|
+
`,Un=pt.css`
|
|
36
36
|
.ft-typography--subtitle1 {
|
|
37
|
-
font-family: ${
|
|
38
|
-
font-size: ${
|
|
39
|
-
font-weight: ${
|
|
40
|
-
letter-spacing: ${
|
|
41
|
-
line-height: ${
|
|
42
|
-
text-transform: ${
|
|
43
|
-
}
|
|
44
|
-
`,
|
|
37
|
+
font-family: ${fe.fontFamily};
|
|
38
|
+
font-size: ${fe.fontSize};
|
|
39
|
+
font-weight: ${fe.fontWeight};
|
|
40
|
+
letter-spacing: ${fe.letterSpacing};
|
|
41
|
+
line-height: ${fe.lineHeight};
|
|
42
|
+
text-transform: ${fe.textTransform};
|
|
43
|
+
}
|
|
44
|
+
`,Hn=pt.css`
|
|
45
45
|
.ft-typography--subtitle2 {
|
|
46
|
-
font-family: ${
|
|
47
|
-
font-size: ${
|
|
48
|
-
font-weight: ${
|
|
49
|
-
letter-spacing: ${
|
|
50
|
-
line-height: ${
|
|
51
|
-
text-transform: ${
|
|
46
|
+
font-family: ${pe.fontFamily};
|
|
47
|
+
font-size: ${pe.fontSize};
|
|
48
|
+
font-weight: ${pe.fontWeight};
|
|
49
|
+
letter-spacing: ${pe.letterSpacing};
|
|
50
|
+
line-height: ${pe.lineHeight};
|
|
51
|
+
text-transform: ${pe.textTransform};
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
`,
|
|
54
|
+
`,Gn=pt.css`
|
|
55
55
|
.ft-typography--body1 {
|
|
56
|
-
font-family: ${
|
|
57
|
-
font-size: ${
|
|
58
|
-
font-weight: ${
|
|
59
|
-
letter-spacing: ${
|
|
60
|
-
line-height: ${
|
|
61
|
-
text-transform: ${
|
|
62
|
-
}
|
|
63
|
-
`,
|
|
56
|
+
font-family: ${de.fontFamily};
|
|
57
|
+
font-size: ${de.fontSize};
|
|
58
|
+
font-weight: ${de.fontWeight};
|
|
59
|
+
letter-spacing: ${de.letterSpacing};
|
|
60
|
+
line-height: ${de.lineHeight};
|
|
61
|
+
text-transform: ${de.textTransform};
|
|
62
|
+
}
|
|
63
|
+
`,jn=pt.css`
|
|
64
64
|
.ft-typography--body2 {
|
|
65
|
-
font-family: ${
|
|
66
|
-
font-size: ${
|
|
67
|
-
font-weight: ${
|
|
68
|
-
letter-spacing: ${
|
|
69
|
-
line-height: ${
|
|
70
|
-
text-transform: ${
|
|
71
|
-
}
|
|
72
|
-
`,
|
|
65
|
+
font-family: ${xt.fontFamily};
|
|
66
|
+
font-size: ${xt.fontSize};
|
|
67
|
+
font-weight: ${xt.fontWeight};
|
|
68
|
+
letter-spacing: ${xt.letterSpacing};
|
|
69
|
+
line-height: ${xt.lineHeight};
|
|
70
|
+
text-transform: ${xt.textTransform};
|
|
71
|
+
}
|
|
72
|
+
`,Kn=pt.css`
|
|
73
73
|
.ft-typography--caption {
|
|
74
|
-
font-family: ${
|
|
75
|
-
font-size: ${
|
|
76
|
-
font-weight: ${
|
|
77
|
-
letter-spacing: ${
|
|
78
|
-
line-height: ${
|
|
79
|
-
text-transform: ${
|
|
80
|
-
}
|
|
81
|
-
`,
|
|
74
|
+
font-family: ${ue.fontFamily};
|
|
75
|
+
font-size: ${ue.fontSize};
|
|
76
|
+
font-weight: ${ue.fontWeight};
|
|
77
|
+
letter-spacing: ${ue.letterSpacing};
|
|
78
|
+
line-height: ${ue.lineHeight};
|
|
79
|
+
text-transform: ${ue.textTransform};
|
|
80
|
+
}
|
|
81
|
+
`,Fn=pt.css`
|
|
82
82
|
.ft-typography--breadcrumb {
|
|
83
|
-
font-family: ${
|
|
84
|
-
font-size: ${
|
|
85
|
-
font-weight: ${
|
|
86
|
-
letter-spacing: ${
|
|
87
|
-
line-height: ${
|
|
88
|
-
text-transform: ${
|
|
89
|
-
}
|
|
90
|
-
`,
|
|
83
|
+
font-family: ${he.fontFamily};
|
|
84
|
+
font-size: ${he.fontSize};
|
|
85
|
+
font-weight: ${he.fontWeight};
|
|
86
|
+
letter-spacing: ${he.letterSpacing};
|
|
87
|
+
line-height: ${he.lineHeight};
|
|
88
|
+
text-transform: ${he.textTransform};
|
|
89
|
+
}
|
|
90
|
+
`,Vn=pt.css`
|
|
91
91
|
.ft-typography--overline {
|
|
92
|
-
font-family: ${
|
|
93
|
-
font-size: ${
|
|
94
|
-
font-weight: ${
|
|
95
|
-
letter-spacing: ${
|
|
96
|
-
line-height: ${
|
|
97
|
-
text-transform: ${
|
|
98
|
-
}
|
|
99
|
-
`,
|
|
92
|
+
font-family: ${me.fontFamily};
|
|
93
|
+
font-size: ${me.fontSize};
|
|
94
|
+
font-weight: ${me.fontWeight};
|
|
95
|
+
letter-spacing: ${me.letterSpacing};
|
|
96
|
+
line-height: ${me.lineHeight};
|
|
97
|
+
text-transform: ${me.textTransform};
|
|
98
|
+
}
|
|
99
|
+
`,Zn=pt.css`
|
|
100
100
|
.ft-typography--button {
|
|
101
|
-
font-family: ${
|
|
102
|
-
font-size: ${
|
|
103
|
-
font-weight: ${
|
|
104
|
-
letter-spacing: ${
|
|
105
|
-
line-height: ${
|
|
106
|
-
text-transform: ${
|
|
107
|
-
}
|
|
108
|
-
`,
|
|
101
|
+
font-family: ${vt.fontFamily};
|
|
102
|
+
font-size: ${vt.fontSize};
|
|
103
|
+
font-weight: ${vt.fontWeight};
|
|
104
|
+
letter-spacing: ${vt.letterSpacing};
|
|
105
|
+
line-height: ${vt.lineHeight};
|
|
106
|
+
text-transform: ${vt.textTransform};
|
|
107
|
+
}
|
|
108
|
+
`,Yn=pt.css`
|
|
109
109
|
.ft-typography {
|
|
110
110
|
vertical-align: inherit;
|
|
111
111
|
}
|
|
112
|
-
`,
|
|
113
|
-
<${
|
|
112
|
+
`,qn=[Object.keys(eo).map(t=>Dn(t))];var Xn=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(a=(i<3?c(a):i>3?c(e,r,a):c(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},nt=class extends Jn.FtLitElement{constructor(){super(...arguments),this.variant=Xt.body1}render(){return this.element?Fo`
|
|
113
|
+
<${Ko(this.element)}
|
|
114
114
|
part="text"
|
|
115
115
|
class="ft-typography ft-typography--${this.variant}">
|
|
116
116
|
<slot></slot>
|
|
117
|
-
</${
|
|
118
|
-
`:
|
|
117
|
+
</${Ko(this.element)}>
|
|
118
|
+
`:Fo`
|
|
119
119
|
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
120
|
-
`}};
|
|
120
|
+
`}};nt.styles=[Bn,Mn,Un,Hn,Gn,jn,Kn,Fn,Vn,Zn,Yn,...qn];Xn([(0,Vo.property)()],nt.prototype,"element",void 0);Xn([(0,Vo.property)()],nt.prototype,"variant",void 0);(0,Qn.customElement)("ft-typography")(nt);var ti=S(M()),Rt=S(_()),ye={distance:Rt.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),color:Rt.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:Rt.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:Rt.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:Rt.FtCssVariableFactory.external(Rt.designSystemVariables.borderRadiusS,"Design system"),maxWidth:Rt.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px")},ei=ti.css`
|
|
121
121
|
.ft-tooltip--container {
|
|
122
122
|
display: block;
|
|
123
123
|
}
|
|
@@ -132,21 +132,21 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
132
132
|
box-sizing: border-box;
|
|
133
133
|
overflow: hidden;
|
|
134
134
|
width: max-content;
|
|
135
|
-
max-width: ${
|
|
135
|
+
max-width: ${ye.maxWidth};
|
|
136
136
|
text-align: center;
|
|
137
|
-
padding: ${
|
|
138
|
-
z-index: ${
|
|
137
|
+
padding: ${ye.distance};
|
|
138
|
+
z-index: ${ye.zIndex};
|
|
139
139
|
}
|
|
140
140
|
|
|
141
141
|
.ft-tooltip--content {
|
|
142
142
|
padding: 4px 8px;
|
|
143
|
-
border-radius: ${
|
|
144
|
-
background-color: ${
|
|
145
|
-
color: ${
|
|
143
|
+
border-radius: ${ye.borderRadiusS};
|
|
144
|
+
background-color: ${ye.backgroundColor};
|
|
145
|
+
color: ${ye.color};
|
|
146
146
|
position: relative;
|
|
147
147
|
word-break: break-word;
|
|
148
148
|
}
|
|
149
|
-
`;var Br=["top","right","bottom","left"],Tr=["start","end"],eo=Br.reduce((e,o)=>e.concat(o,o+"-"+Tr[0],o+"-"+Tr[1]),[]),le=Math.min,wt=Math.max,ce=Math.round;var bt=e=>({x:e,y:e}),pi={left:"right",right:"left",bottom:"top",top:"bottom"},si={start:"end",end:"start"};function oo(e,o,r){return wt(e,le(o,r))}function we(e,o){return typeof e=="function"?e(o):e}function jt(e){return e.split("-")[0]}function Et(e){return e.split("-")[1]}function ro(e){return e==="x"?"y":"x"}function no(e){return e==="y"?"height":"width"}function Ee(e){return["top","bottom"].includes(jt(e))?"y":"x"}function io(e){return ro(Ee(e))}function zr(e,o,r){r===void 0&&(r=!1);let i=Et(e),a=io(e),l=no(a),c=a==="x"?i===(r?"end":"start")?"right":"left":i==="start"?"bottom":"top";return o.reference[l]>o.floating[l]&&(c=to(c)),[c,to(c)]}function _r(e){return e.replace(/start|end/g,o=>si[o])}function to(e){return e.replace(/left|right|bottom|top/g,o=>pi[o])}function di(e){return{top:0,right:0,bottom:0,left:0,...e}}function kr(e){return typeof e!="number"?di(e):{top:e,right:e,bottom:e,left:e}}function It(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Hr(e,o,r){let{reference:i,floating:a}=e,l=Ee(o),c=io(o),s=no(c),d=jt(o),g=l==="y",x=i.x+i.width/2-a.width/2,m=i.y+i.height/2-a.height/2,N=i[s]/2-a[s]/2,C;switch(d){case"top":C={x,y:i.y-a.height};break;case"bottom":C={x,y:i.y+i.height};break;case"right":C={x:i.x+i.width,y:m};break;case"left":C={x:i.x-a.width,y:m};break;default:C={x:i.x,y:i.y}}switch(Et(o)){case"start":C[c]-=N*(r&&g?-1:1);break;case"end":C[c]+=N*(r&&g?-1:1);break}return C}var Ur=async(e,o,r)=>{let{placement:i="bottom",strategy:a="absolute",middleware:l=[],platform:c}=r,s=l.filter(Boolean),d=await(c.isRTL==null?void 0:c.isRTL(o)),g=await c.getElementRects({reference:e,floating:o,strategy:a}),{x,y:m}=Hr(g,i,d),N=i,C={},E=0;for(let W=0;W<s.length;W++){let{name:z,fn:I}=s[W],{x:_,y:K,data:Ct,reset:G}=await I({x,y:m,initialPlacement:i,placement:N,strategy:a,middlewareData:C,rects:g,platform:c,elements:{reference:e,floating:o}});if(x=_??x,m=K??m,C={...C,[z]:{...C[z],...Ct}},G&&E<=50){E++,typeof G=="object"&&(G.placement&&(N=G.placement),G.rects&&(g=G.rects===!0?await c.getElementRects({reference:e,floating:o,strategy:a}):G.rects),{x,y:m}=Hr(g,N,d)),W=-1;continue}}return{x,y:m,placement:N,strategy:a,middlewareData:C}};async function ao(e,o){var r;o===void 0&&(o={});let{x:i,y:a,platform:l,rects:c,elements:s,strategy:d}=e,{boundary:g="clippingAncestors",rootBoundary:x="viewport",elementContext:m="floating",altBoundary:N=!1,padding:C=0}=we(o,e),E=kr(C),z=s[N?m==="floating"?"reference":"floating":m],I=It(await l.getClippingRect({element:(r=await(l.isElement==null?void 0:l.isElement(z)))==null||r?z:z.contextElement||await(l.getDocumentElement==null?void 0:l.getDocumentElement(s.floating)),boundary:g,rootBoundary:x,strategy:d})),_=m==="floating"?{...c.floating,x:i,y:a}:c.reference,K=await(l.getOffsetParent==null?void 0:l.getOffsetParent(s.floating)),Ct=await(l.isElement==null?void 0:l.isElement(K))?await(l.getScale==null?void 0:l.getScale(K))||{x:1,y:1}:{x:1,y:1},G=It(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({rect:_,offsetParent:K,strategy:d}):_);return{top:(I.top-G.top+E.top)/Ct.y,bottom:(G.bottom-I.bottom+E.bottom)/Ct.y,left:(I.left-G.left+E.left)/Ct.x,right:(G.right-I.right+E.right)/Ct.x}}function fi(e,o,r){return(e?[...r.filter(a=>Et(a)===e),...r.filter(a=>Et(a)!==e)]:r.filter(a=>jt(a)===a)).filter(a=>e?Et(a)===e||(o?_r(a)!==a:!1):!0)}var lo=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(o){var r,i,a;let{rects:l,middlewareData:c,placement:s,platform:d,elements:g}=o,{crossAxis:x=!1,alignment:m,allowedPlacements:N=eo,autoAlignment:C=!0,...E}=we(e,o),W=m!==void 0||N===eo?fi(m||null,C,N):N,z=await ao(o,E),I=((r=c.autoPlacement)==null?void 0:r.index)||0,_=W[I];if(_==null)return{};let K=zr(_,l,await(d.isRTL==null?void 0:d.isRTL(g.floating)));if(s!==_)return{reset:{placement:W[0]}};let Ct=[z[jt(_)],z[K[0]],z[K[1]]],G=[...((i=c.autoPlacement)==null?void 0:i.overflows)||[],{placement:_,overflows:Ct}],go=W[I+1];if(go)return{data:{index:I+1,overflows:G},reset:{placement:go}};let uo=G.map(pt=>{let ee=Et(pt.placement);return[pt.placement,ee&&x?pt.overflows.slice(0,2).reduce((Fn,Vn)=>Fn+Vn,0):pt.overflows[0],pt.overflows]}).sort((pt,ee)=>pt[1]-ee[1]),yo=((a=uo.filter(pt=>pt[2].slice(0,Et(pt[0])?2:3).every(ee=>ee<=0))[0])==null?void 0:a[0])||uo[0][0];return yo!==s?{data:{index:I+1,overflows:G},reset:{placement:yo}}:{}}}};var co=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(o){let{x:r,y:i,placement:a}=o,{mainAxis:l=!0,crossAxis:c=!1,limiter:s={fn:z=>{let{x:I,y:_}=z;return{x:I,y:_}}},...d}=we(e,o),g={x:r,y:i},x=await ao(o,d),m=Ee(jt(a)),N=ro(m),C=g[N],E=g[m];if(l){let z=N==="y"?"top":"left",I=N==="y"?"bottom":"right",_=C+x[z],K=C-x[I];C=oo(_,C,K)}if(c){let z=m==="y"?"top":"left",I=m==="y"?"bottom":"right",_=E+x[z],K=E-x[I];E=oo(_,E,K)}let W=s.fn({...o,[N]:C,[m]:E});return{...W,data:{x:W.x-r,y:W.y-i}}}}};function xt(e){return Gr(e)?(e.nodeName||"").toLowerCase():"#document"}function V(e){var o;return(e==null||(o=e.ownerDocument)==null?void 0:o.defaultView)||window}function Ot(e){var o;return(o=(Gr(e)?e.ownerDocument:e.document)||window.document)==null?void 0:o.documentElement}function Gr(e){return e instanceof Node||e instanceof V(e).Node}function ft(e){return e instanceof Element||e instanceof V(e).Element}function lt(e){return e instanceof HTMLElement||e instanceof V(e).HTMLElement}function Dr(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof V(e).ShadowRoot}function Yt(e){let{overflow:o,overflowX:r,overflowY:i,display:a}=Q(e);return/auto|scroll|overlay|hidden|clip/.test(o+i+r)&&!["inline","contents"].includes(a)}function Mr(e){return["table","td","th"].includes(xt(e))}function Ae(e){let o=Le(),r=Q(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(i=>(r.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(r.contain||"").includes(i))}function Kr(e){let o=Tt(e);for(;lt(o)&&!pe(o);){if(Ae(o))return o;o=Tt(o)}return null}function Le(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function pe(e){return["html","body","#document"].includes(xt(e))}function Q(e){return V(e).getComputedStyle(e)}function se(e){return ft(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Tt(e){if(xt(e)==="html")return e;let o=e.assignedSlot||e.parentNode||Dr(e)&&e.host||Ot(e);return Dr(o)?o.host:o}function Zr(e){let o=Tt(e);return pe(o)?e.ownerDocument?e.ownerDocument.body:e.body:lt(o)&&Yt(o)?o:Zr(o)}function Re(e,o,r){var i;o===void 0&&(o=[]),r===void 0&&(r=!0);let a=Zr(e),l=a===((i=e.ownerDocument)==null?void 0:i.body),c=V(a);return l?o.concat(c,c.visualViewport||[],Yt(a)?a:[],c.frameElement&&r?Re(c.frameElement):[]):o.concat(a,Re(a,[],r))}function jr(e){let o=Q(e),r=parseFloat(o.width)||0,i=parseFloat(o.height)||0,a=lt(e),l=a?e.offsetWidth:r,c=a?e.offsetHeight:i,s=ce(r)!==l||ce(i)!==c;return s&&(r=l,i=c),{width:r,height:i,$:s}}function Yr(e){return ft(e)?e:e.contextElement}function Xt(e){let o=Yr(e);if(!lt(o))return bt(1);let r=o.getBoundingClientRect(),{width:i,height:a,$:l}=jr(o),c=(l?ce(r.width):r.width)/i,s=(l?ce(r.height):r.height)/a;return(!c||!Number.isFinite(c))&&(c=1),(!s||!Number.isFinite(s))&&(s=1),{x:c,y:s}}var hi=bt(0);function Xr(e){let o=V(e);return!Le()||!o.visualViewport?hi:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function gi(e,o,r){return o===void 0&&(o=!1),!r||o&&r!==V(e)?!1:o}function de(e,o,r,i){o===void 0&&(o=!1),r===void 0&&(r=!1);let a=e.getBoundingClientRect(),l=Yr(e),c=bt(1);o&&(i?ft(i)&&(c=Xt(i)):c=Xt(e));let s=gi(l,r,i)?Xr(l):bt(0),d=(a.left+s.x)/c.x,g=(a.top+s.y)/c.y,x=a.width/c.x,m=a.height/c.y;if(l){let N=V(l),C=i&&ft(i)?V(i):i,E=N.frameElement;for(;E&&i&&C!==N;){let W=Xt(E),z=E.getBoundingClientRect(),I=Q(E),_=z.left+(E.clientLeft+parseFloat(I.paddingLeft))*W.x,K=z.top+(E.clientTop+parseFloat(I.paddingTop))*W.y;d*=W.x,g*=W.y,x*=W.x,m*=W.y,d+=_,g+=K,E=V(E).frameElement}}return It({width:x,height:m,x:d,y:g})}function ui(e){let{rect:o,offsetParent:r,strategy:i}=e,a=lt(r),l=Ot(r);if(r===l)return o;let c={scrollLeft:0,scrollTop:0},s=bt(1),d=bt(0);if((a||!a&&i!=="fixed")&&((xt(r)!=="body"||Yt(l))&&(c=se(r)),lt(r))){let g=de(r);s=Xt(r),d.x=g.x+r.clientLeft,d.y=g.y+r.clientTop}return{width:o.width*s.x,height:o.height*s.y,x:o.x*s.x-c.scrollLeft*s.x+d.x,y:o.y*s.y-c.scrollTop*s.y+d.y}}function yi(e){return Array.from(e.getClientRects())}function qr(e){return de(Ot(e)).left+se(e).scrollLeft}function mi(e){let o=Ot(e),r=se(e),i=e.ownerDocument.body,a=wt(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),l=wt(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight),c=-r.scrollLeft+qr(e),s=-r.scrollTop;return Q(i).direction==="rtl"&&(c+=wt(o.clientWidth,i.clientWidth)-a),{width:a,height:l,x:c,y:s}}function bi(e,o){let r=V(e),i=Ot(e),a=r.visualViewport,l=i.clientWidth,c=i.clientHeight,s=0,d=0;if(a){l=a.width,c=a.height;let g=Le();(!g||g&&o==="fixed")&&(s=a.offsetLeft,d=a.offsetTop)}return{width:l,height:c,x:s,y:d}}function xi(e,o){let r=de(e,!0,o==="fixed"),i=r.top+e.clientTop,a=r.left+e.clientLeft,l=lt(e)?Xt(e):bt(1),c=e.clientWidth*l.x,s=e.clientHeight*l.y,d=a*l.x,g=i*l.y;return{width:c,height:s,x:d,y:g}}function Fr(e,o,r){let i;if(o==="viewport")i=bi(e,r);else if(o==="document")i=mi(Ot(e));else if(ft(o))i=xi(o,r);else{let a=Xr(e);i={...o,x:o.x-a.x,y:o.y-a.y}}return It(i)}function Jr(e,o){let r=Tt(e);return r===o||!ft(r)||pe(r)?!1:Q(r).position==="fixed"||Jr(r,o)}function Oi(e,o){let r=o.get(e);if(r)return r;let i=Re(e,[],!1).filter(s=>ft(s)&&xt(s)!=="body"),a=null,l=Q(e).position==="fixed",c=l?Tt(e):e;for(;ft(c)&&!pe(c);){let s=Q(c),d=Ae(c);!d&&s.position==="fixed"&&(a=null),(l?!d&&!a:!d&&s.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||Yt(c)&&!d&&Jr(e,c))?i=i.filter(x=>x!==c):a=s,c=Tt(c)}return o.set(e,i),i}function Si(e){let{element:o,boundary:r,rootBoundary:i,strategy:a}=e,c=[...r==="clippingAncestors"?Oi(o,this._c):[].concat(r),i],s=c[0],d=c.reduce((g,x)=>{let m=Fr(o,x,a);return g.top=wt(m.top,g.top),g.right=le(m.right,g.right),g.bottom=le(m.bottom,g.bottom),g.left=wt(m.left,g.left),g},Fr(o,s,a));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function Ci(e){return jr(e)}function vi(e,o,r){let i=lt(o),a=Ot(o),l=r==="fixed",c=de(e,!0,l,o),s={scrollLeft:0,scrollTop:0},d=bt(0);if(i||!i&&!l)if((xt(o)!=="body"||Yt(a))&&(s=se(o)),i){let g=de(o,!0,l,o);d.x=g.x+o.clientLeft,d.y=g.y+o.clientTop}else a&&(d.x=qr(a));return{x:c.left+s.scrollLeft-d.x,y:c.top+s.scrollTop-d.y,width:c.width,height:c.height}}function Vr(e,o){return!lt(e)||Q(e).position==="fixed"?null:o?o(e):e.offsetParent}function Qr(e,o){let r=V(e);if(!lt(e))return r;let i=Vr(e,o);for(;i&&Mr(i)&&Q(i).position==="static";)i=Vr(i,o);return i&&(xt(i)==="html"||xt(i)==="body"&&Q(i).position==="static"&&!Ae(i))?r:i||Kr(e)||r}var Ni=async function(e){let{reference:o,floating:r,strategy:i}=e,a=this.getOffsetParent||Qr,l=this.getDimensions;return{reference:vi(o,await a(r),i),floating:{x:0,y:0,...await l(r)}}};function wi(e){return Q(e).direction==="rtl"}var $e={convertOffsetParentRelativeRectToViewportRelativeRect:ui,getDocumentElement:Ot,getClippingRect:Si,getOffsetParent:Qr,getElementRects:Ni,getClientRects:yi,getDimensions:Ci,getScale:Xt,isElement:ft,isRTL:wi};var tn=(e,o,r)=>{let i=new Map,a={platform:$e,...r},l={...a.platform,_c:i};return Ur(e,o,{...a,platform:l})};function en(e){return Ei(e)}function po(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Ei(e){for(let o=e;o;o=po(o))if(o instanceof Element&&getComputedStyle(o).display==="none")return null;for(let o=po(e);o;o=po(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 on(e,o,r){return tn(e,o,{platform:{...$e,getOffsetParent:i=>$e.getOffsetParent(i,en)},middleware:[co({crossAxis:!0}),lo({allowedPlacements:[r]})]})}var j=function(e,o,r,i){var a=arguments.length,l=a<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,r):i,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,r,i);else for(var s=e.length-1;s>=0;s--)(c=e[s])&&(l=(a<3?c(l):a>3?c(o,r,l):c(o,r))||l);return a>3&&l&&Object.defineProperty(o,r,l),l},A=class extends fe.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 fe.Debouncer,this.revealDebouncer=new fe.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return rn.html`
|
|
149
|
+
`;var ri=["top","right","bottom","left"],oi=["start","end"],Yo=ri.reduce((t,e)=>t.concat(e,e+"-"+oi[0],e+"-"+oi[1]),[]),ke=Math.min,Dt=Math.max,We=Math.round;var At=t=>({x:t,y:t}),bc={left:"right",right:"left",bottom:"top",top:"bottom"},xc={start:"end",end:"start"};function qo(t,e,r){return Dt(t,ke(e,r))}function ro(t,e){return typeof t=="function"?t(e):t}function ge(t){return t.split("-")[0]}function zt(t){return t.split("-")[1]}function Xo(t){return t==="x"?"y":"x"}function Jo(t){return t==="y"?"height":"width"}function no(t){return["top","bottom"].includes(ge(t))?"y":"x"}function Qo(t){return Xo(no(t))}function ni(t,e,r){r===void 0&&(r=!1);let n=zt(t),i=Qo(t),a=Jo(i),c=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(c=Zo(c)),[c,Zo(c)]}function ii(t){return t.replace(/start|end/g,e=>xc[e])}function Zo(t){return t.replace(/left|right|bottom|top/g,e=>bc[e])}function vc(t){return{top:0,right:0,bottom:0,left:0,...t}}function ai(t){return typeof t!="number"?vc(t):{top:t,right:t,bottom:t,left:t}}function Jt(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function ci(t,e,r){let{reference:n,floating:i}=t,a=no(e),c=Qo(e),s=Jo(c),d=ge(e),p=a==="y",u=n.x+n.width/2-i.width/2,h=n.y+n.height/2-i.height/2,m=n[s]/2-i[s]/2,g;switch(d){case"top":g={x:u,y:n.y-i.height};break;case"bottom":g={x:u,y:n.y+n.height};break;case"right":g={x:n.x+n.width,y:h};break;case"left":g={x:n.x-i.width,y:h};break;default:g={x:n.x,y:n.y}}switch(zt(e)){case"start":g[c]-=m*(r&&p?-1:1);break;case"end":g[c]+=m*(r&&p?-1:1);break}return g}var li=async(t,e,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:c}=r,s=a.filter(Boolean),d=await(c.isRTL==null?void 0:c.isRTL(e)),p=await c.getElementRects({reference:t,floating:e,strategy:i}),{x:u,y:h}=ci(p,n,d),m=n,g={},y=0;for(let b=0;b<s.length;b++){let{name:N,fn:C}=s[b],{x:w,y:R,data:L,reset:k}=await C({x:u,y:h,initialPlacement:n,placement:m,strategy:i,middlewareData:g,rects:p,platform:c,elements:{reference:t,floating:e}});if(u=w??u,h=R??h,g={...g,[N]:{...g[N],...L}},k&&y<=50){y++,typeof k=="object"&&(k.placement&&(m=k.placement),k.rects&&(p=k.rects===!0?await c.getElementRects({reference:t,floating:e,strategy:i}):k.rects),{x:u,y:h}=ci(p,m,d)),b=-1;continue}}return{x:u,y:h,placement:m,strategy:i,middlewareData:g}};async function tr(t,e){var r;e===void 0&&(e={});let{x:n,y:i,platform:a,rects:c,elements:s,strategy:d}=t,{boundary:p="clippingAncestors",rootBoundary:u="viewport",elementContext:h="floating",altBoundary:m=!1,padding:g=0}=ro(e,t),y=ai(g),N=s[m?h==="floating"?"reference":"floating":h],C=Jt(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(N)))==null||r?N:N.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(s.floating)),boundary:p,rootBoundary:u,strategy:d})),w=h==="floating"?{...c.floating,x:n,y:i}:c.reference,R=await(a.getOffsetParent==null?void 0:a.getOffsetParent(s.floating)),L=await(a.isElement==null?void 0:a.isElement(R))?await(a.getScale==null?void 0:a.getScale(R))||{x:1,y:1}:{x:1,y:1},k=Jt(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:w,offsetParent:R,strategy:d}):w);return{top:(C.top-k.top+y.top)/L.y,bottom:(k.bottom-C.bottom+y.bottom)/L.y,left:(C.left-k.left+y.left)/L.x,right:(k.right-C.right+y.right)/L.x}}function Sc(t,e,r){return(t?[...r.filter(i=>zt(i)===t),...r.filter(i=>zt(i)!==t)]:r.filter(i=>ge(i)===i)).filter(i=>t?zt(i)===t||(e?ii(i)!==i:!1):!0)}var er=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,n,i;let{rects:a,middlewareData:c,placement:s,platform:d,elements:p}=e,{crossAxis:u=!1,alignment:h,allowedPlacements:m=Yo,autoAlignment:g=!0,...y}=ro(t,e),b=h!==void 0||m===Yo?Sc(h||null,g,m):m,N=await tr(e,y),C=((r=c.autoPlacement)==null?void 0:r.index)||0,w=b[C];if(w==null)return{};let R=ni(w,a,await(d.isRTL==null?void 0:d.isRTL(p.floating)));if(s!==w)return{reset:{placement:b[0]}};let L=[N[ge(w)],N[R[0]],N[R[1]]],k=[...((n=c.autoPlacement)==null?void 0:n.overflows)||[],{placement:w,overflows:L}],st=b[C+1];if(st)return{data:{index:C+1,overflows:k},reset:{placement:st}};let _t=k.map(ot=>{let ft=zt(ot.placement);return[ot.placement,ft&&u?ot.overflows.slice(0,2).reduce((rt,Vt)=>rt+Vt,0):ot.overflows[0],ot.overflows]}).sort((ot,ft)=>ot[1]-ft[1]),kt=((i=_t.filter(ot=>ot[2].slice(0,zt(ot[0])?2:3).every(ft=>ft<=0))[0])==null?void 0:i[0])||_t[0][0];return kt!==s?{data:{index:C+1,overflows:k},reset:{placement:kt}}:{}}}};var or=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:n,placement:i}=e,{mainAxis:a=!0,crossAxis:c=!1,limiter:s={fn:N=>{let{x:C,y:w}=N;return{x:C,y:w}}},...d}=ro(t,e),p={x:r,y:n},u=await tr(e,d),h=no(ge(i)),m=Xo(h),g=p[m],y=p[h];if(a){let N=m==="y"?"top":"left",C=m==="y"?"bottom":"right",w=g+u[N],R=g-u[C];g=qo(w,g,R)}if(c){let N=h==="y"?"top":"left",C=h==="y"?"bottom":"right",w=y+u[N],R=y-u[C];y=qo(w,y,R)}let b=s.fn({...e,[m]:g,[h]:y});return{...b,data:{x:b.x-r,y:b.y-n}}}}};function Pt(t){return fi(t)?(t.nodeName||"").toLowerCase():"#document"}function X(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Lt(t){var e;return(e=(fi(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function fi(t){return t instanceof Node||t instanceof X(t).Node}function St(t){return t instanceof Element||t instanceof X(t).Element}function yt(t){return t instanceof HTMLElement||t instanceof X(t).HTMLElement}function si(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof X(t).ShadowRoot}function be(t){let{overflow:e,overflowX:r,overflowY:n,display:i}=it(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!["inline","contents"].includes(i)}function pi(t){return["table","td","th"].includes(Pt(t))}function ao(t){let e=co(),r=it(t);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function di(t){let e=Qt(t);for(;yt(e)&&!$e(e);){if(ao(e))return e;e=Qt(e)}return null}function co(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function $e(t){return["html","body","#document"].includes(Pt(t))}function it(t){return X(t).getComputedStyle(t)}function De(t){return St(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Qt(t){if(Pt(t)==="html")return t;let e=t.assignedSlot||t.parentNode||si(t)&&t.host||Lt(t);return si(e)?e.host:e}function ui(t){let e=Qt(t);return $e(e)?t.ownerDocument?t.ownerDocument.body:t.body:yt(e)&&be(e)?e:ui(e)}function io(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);let i=ui(t),a=i===((n=t.ownerDocument)==null?void 0:n.body),c=X(i);return a?e.concat(c,c.visualViewport||[],be(i)?i:[],c.frameElement&&r?io(c.frameElement):[]):e.concat(i,io(i,[],r))}function yi(t){let e=it(t),r=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=yt(t),a=i?t.offsetWidth:r,c=i?t.offsetHeight:n,s=We(r)!==a||We(n)!==c;return s&&(r=a,n=c),{width:r,height:n,$:s}}function gi(t){return St(t)?t:t.contextElement}function xe(t){let e=gi(t);if(!yt(e))return At(1);let r=e.getBoundingClientRect(),{width:n,height:i,$:a}=yi(e),c=(a?We(r.width):r.width)/n,s=(a?We(r.height):r.height)/i;return(!c||!Number.isFinite(c))&&(c=1),(!s||!Number.isFinite(s))&&(s=1),{x:c,y:s}}var Oc=At(0);function bi(t){let e=X(t);return!co()||!e.visualViewport?Oc:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Cc(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==X(t)?!1:e}function ze(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);let i=t.getBoundingClientRect(),a=gi(t),c=At(1);e&&(n?St(n)&&(c=xe(n)):c=xe(t));let s=Cc(a,r,n)?bi(a):At(0),d=(i.left+s.x)/c.x,p=(i.top+s.y)/c.y,u=i.width/c.x,h=i.height/c.y;if(a){let m=X(a),g=n&&St(n)?X(n):n,y=m.frameElement;for(;y&&n&&g!==m;){let b=xe(y),N=y.getBoundingClientRect(),C=it(y),w=N.left+(y.clientLeft+parseFloat(C.paddingLeft))*b.x,R=N.top+(y.clientTop+parseFloat(C.paddingTop))*b.y;d*=b.x,p*=b.y,u*=b.x,h*=b.y,d+=w,p+=R,y=X(y).frameElement}}return Jt({width:u,height:h,x:d,y:p})}function wc(t){let{rect:e,offsetParent:r,strategy:n}=t,i=yt(r),a=Lt(r);if(r===a)return e;let c={scrollLeft:0,scrollTop:0},s=At(1),d=At(0);if((i||!i&&n!=="fixed")&&((Pt(r)!=="body"||be(a))&&(c=De(r)),yt(r))){let p=ze(r);s=xe(r),d.x=p.x+r.clientLeft,d.y=p.y+r.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-c.scrollLeft*s.x+d.x,y:e.y*s.y-c.scrollTop*s.y+d.y}}function Ec(t){return Array.from(t.getClientRects())}function xi(t){return ze(Lt(t)).left+De(t).scrollLeft}function Nc(t){let e=Lt(t),r=De(t),n=t.ownerDocument.body,i=Dt(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),a=Dt(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),c=-r.scrollLeft+xi(t),s=-r.scrollTop;return it(n).direction==="rtl"&&(c+=Dt(e.clientWidth,n.clientWidth)-i),{width:i,height:a,x:c,y:s}}function Rc(t,e){let r=X(t),n=Lt(t),i=r.visualViewport,a=n.clientWidth,c=n.clientHeight,s=0,d=0;if(i){a=i.width,c=i.height;let p=co();(!p||p&&e==="fixed")&&(s=i.offsetLeft,d=i.offsetTop)}return{width:a,height:c,x:s,y:d}}function Ac(t,e){let r=ze(t,!0,e==="fixed"),n=r.top+t.clientTop,i=r.left+t.clientLeft,a=yt(t)?xe(t):At(1),c=t.clientWidth*a.x,s=t.clientHeight*a.y,d=i*a.x,p=n*a.y;return{width:c,height:s,x:d,y:p}}function hi(t,e,r){let n;if(e==="viewport")n=Rc(t,r);else if(e==="document")n=Nc(Lt(t));else if(St(e))n=Ac(e,r);else{let i=bi(t);n={...e,x:e.x-i.x,y:e.y-i.y}}return Jt(n)}function vi(t,e){let r=Qt(t);return r===e||!St(r)||$e(r)?!1:it(r).position==="fixed"||vi(r,e)}function Pc(t,e){let r=e.get(t);if(r)return r;let n=io(t,[],!1).filter(s=>St(s)&&Pt(s)!=="body"),i=null,a=it(t).position==="fixed",c=a?Qt(t):t;for(;St(c)&&!$e(c);){let s=it(c),d=ao(c);!d&&s.position==="fixed"&&(i=null),(a?!d&&!i:!d&&s.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||be(c)&&!d&&vi(t,c))?n=n.filter(u=>u!==c):i=s,c=Qt(c)}return e.set(t,n),n}function Lc(t){let{element:e,boundary:r,rootBoundary:n,strategy:i}=t,c=[...r==="clippingAncestors"?Pc(e,this._c):[].concat(r),n],s=c[0],d=c.reduce((p,u)=>{let h=hi(e,u,i);return p.top=Dt(h.top,p.top),p.right=ke(h.right,p.right),p.bottom=ke(h.bottom,p.bottom),p.left=Dt(h.left,p.left),p},hi(e,s,i));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function Ic(t){return yi(t)}function Tc(t,e,r){let n=yt(e),i=Lt(e),a=r==="fixed",c=ze(t,!0,a,e),s={scrollLeft:0,scrollTop:0},d=At(0);if(n||!n&&!a)if((Pt(e)!=="body"||be(i))&&(s=De(e)),n){let p=ze(e,!0,a,e);d.x=p.x+e.clientLeft,d.y=p.y+e.clientTop}else i&&(d.x=xi(i));return{x:c.left+s.scrollLeft-d.x,y:c.top+s.scrollTop-d.y,width:c.width,height:c.height}}function mi(t,e){return!yt(t)||it(t).position==="fixed"?null:e?e(t):t.offsetParent}function Si(t,e){let r=X(t);if(!yt(t))return r;let n=mi(t,e);for(;n&&pi(n)&&it(n).position==="static";)n=mi(n,e);return n&&(Pt(n)==="html"||Pt(n)==="body"&&it(n).position==="static"&&!ao(n))?r:n||di(t)||r}var _c=async function(t){let{reference:e,floating:r,strategy:n}=t,i=this.getOffsetParent||Si,a=this.getDimensions;return{reference:Tc(e,await i(r),n),floating:{x:0,y:0,...await a(r)}}};function kc(t){return it(t).direction==="rtl"}var lo={convertOffsetParentRelativeRectToViewportRelativeRect:wc,getDocumentElement:Lt,getClippingRect:Lc,getOffsetParent:Si,getElementRects:_c,getClientRects:Ec,getDimensions:Ic,getScale:xe,isElement:St,isRTL:kc};var Oi=(t,e,r)=>{let n=new Map,i={platform:lo,...r},a={...i.platform,_c:n};return li(t,e,{...i,platform:a})};function Ci(t){return Wc(t)}function rr(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function Wc(t){for(let e=t;e;e=rr(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=rr(t);e;e=rr(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||e.tagName==="BODY"))return e}return null}async function wi(t,e,r){return Oi(t,e,{platform:{...lo,getOffsetParent:n=>lo.getOffsetParent(n,Ci)},middleware:[or({crossAxis:!0}),er({allowedPlacements:[r]})]})}var J=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(a=(i<3?c(a):i>3?c(e,r,a):c(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},W=class extends Be.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 Be.Debouncer,this.revealDebouncer=new Be.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Ei.html`
|
|
150
150
|
<div part="container"
|
|
151
151
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
152
152
|
@mouseenter=${this.onHover}
|
|
@@ -164,7 +164,7 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
164
164
|
</div>
|
|
165
165
|
</div>
|
|
166
166
|
</div>
|
|
167
|
-
`}updated(
|
|
167
|
+
`}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(r=>e.has(r))&&this.visible&&this.positionTooltip()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",wi(this.slottedElement,this.tooltip,this.position).then(({x:e,y:r})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${r}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",e=>{e.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(e,r){return Math.max(e,Math.min(0,-r))}};W.elementDefinitions={"ft-typography":nt};W.styles=ei;J([(0,G.property)()],W.prototype,"text",void 0);J([(0,G.property)({type:Boolean})],W.prototype,"manual",void 0);J([(0,G.property)({type:Boolean})],W.prototype,"inline",void 0);J([(0,G.property)({type:Number})],W.prototype,"delay",void 0);J([(0,G.property)()],W.prototype,"position",void 0);J([(0,G.queryAssignedNodes)()],W.prototype,"slotNodes",void 0);J([(0,G.query)(".ft-tooltip--container")],W.prototype,"container",void 0);J([(0,G.query)(".ft-tooltip")],W.prototype,"tooltip",void 0);J([(0,G.query)(".ft-tooltip--content")],W.prototype,"tooltipContent",void 0);J([(0,G.state)()],W.prototype,"visible",void 0);J([(0,G.eventOptions)({passive:!0})],W.prototype,"onTouch",null);J([(0,G.eventOptions)({passive:!0})],W.prototype,"onHover",null);J([(0,G.eventOptions)({passive:!0})],W.prototype,"onOut",null);J([(0,G.eventOptions)({passive:!0})],W.prototype,"onClick",null);(0,Ni.customElement)("ft-tooltip")(W);var fa=S(_());var mo=S(M()),q=S(F()),sa=S(so()),go=S(_());var Di=S(_());var Wi=S(M()),K=S(F()),$i=S(so()),Me=S(_());var _i=S(M()),U=S(_()),Ai=U.FtCssVariableFactory.extend("--ft-ripple-color","",U.designSystemVariables.colorContent),I={color:Ai,backgroundColor:U.FtCssVariableFactory.extend("--ft-ripple-background-color","",Ai),opacityContentOnSurfacePressed:U.FtCssVariableFactory.external(U.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:U.FtCssVariableFactory.external(U.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:U.FtCssVariableFactory.external(U.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:U.FtCssVariableFactory.external(U.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:U.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},Pi=U.FtCssVariableFactory.extend("--ft-ripple-color","",U.designSystemVariables.colorPrimary),Li={color:Pi,backgroundColor:U.FtCssVariableFactory.extend("--ft-ripple-background-color","",Pi)},Ii=U.FtCssVariableFactory.extend("--ft-ripple-color","",U.designSystemVariables.colorSecondary),Ti={color:Ii,backgroundColor:U.FtCssVariableFactory.extend("--ft-ripple-background-color","",Ii)},ki=_i.css`
|
|
168
168
|
:host {
|
|
169
169
|
display: contents;
|
|
170
170
|
}
|
|
@@ -177,7 +177,7 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
177
177
|
|
|
178
178
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
179
179
|
overflow: hidden;
|
|
180
|
-
border-radius: ${
|
|
180
|
+
border-radius: ${I.borderRadius};
|
|
181
181
|
}
|
|
182
182
|
|
|
183
183
|
.ft-ripple .ft-ripple--background,
|
|
@@ -211,27 +211,27 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
211
211
|
}
|
|
212
212
|
|
|
213
213
|
.ft-ripple .ft-ripple--background {
|
|
214
|
-
background-color: ${
|
|
214
|
+
background-color: ${I.backgroundColor};
|
|
215
215
|
}
|
|
216
216
|
|
|
217
217
|
.ft-ripple .ft-ripple--effect {
|
|
218
|
-
background-color: ${
|
|
218
|
+
background-color: ${I.color};
|
|
219
219
|
}
|
|
220
220
|
|
|
221
221
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
222
|
-
background-color: ${
|
|
222
|
+
background-color: ${Ti.backgroundColor};
|
|
223
223
|
}
|
|
224
224
|
|
|
225
225
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
226
|
-
background-color: ${
|
|
226
|
+
background-color: ${Ti.color};
|
|
227
227
|
}
|
|
228
228
|
|
|
229
229
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
230
|
-
background-color: ${
|
|
230
|
+
background-color: ${Li.backgroundColor};
|
|
231
231
|
}
|
|
232
232
|
|
|
233
233
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
234
|
-
background-color: ${
|
|
234
|
+
background-color: ${Li.color};
|
|
235
235
|
}
|
|
236
236
|
|
|
237
237
|
.ft-ripple .ft-ripple--background {
|
|
@@ -261,33 +261,33 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
261
261
|
}
|
|
262
262
|
|
|
263
263
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
264
|
-
opacity: ${
|
|
264
|
+
opacity: ${I.opacityContentOnSurfaceHover};
|
|
265
265
|
}
|
|
266
266
|
|
|
267
267
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
268
|
-
opacity: ${
|
|
268
|
+
opacity: ${I.opacityContentOnSurfaceSelected};
|
|
269
269
|
}
|
|
270
270
|
|
|
271
271
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
272
|
-
opacity: ${
|
|
272
|
+
opacity: ${I.opacityContentOnSurfaceFocused};
|
|
273
273
|
}
|
|
274
274
|
|
|
275
275
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
276
|
-
opacity: ${
|
|
276
|
+
opacity: ${I.opacityContentOnSurfacePressed};
|
|
277
277
|
transform: translate(-50%, -50%) scale(1);
|
|
278
278
|
}
|
|
279
|
-
`;var
|
|
279
|
+
`;var Q=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(a=(i<3?c(a):i>3?c(e,r,a):c(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},$=class extends Me.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 Me.Debouncer(1e3),this.onTransitionStart=e=>{e.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=e=>{e.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new Me.Debouncer(10),this.moveRipple=e=>{var r,n;let{x:i,y:a}=this.getCoordinates(e),c=(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(i!=null?i-c.x:c.width/2),this.originY=Math.round(a!=null?a-c.y:c.height/2)},this.startPress=e=>{this.moveRipple(e),this.pressed=!this.isIgnored(e)},this.endPress=()=>{this.pressed=!1},this.startHover=e=>{this.hovered=!this.isIgnored(e)},this.endHover=()=>{this.hovered=!1},this.startFocus=e=>{this.focused=this.isFocusVisible(e?.target)&&!this.isIgnored(e)},this.endFocus=()=>{this.focused=!1}}render(){let e={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return Wi.html`
|
|
280
280
|
<style>
|
|
281
281
|
.ft-ripple .ft-ripple--effect {
|
|
282
282
|
left: ${this.originX}px;
|
|
283
283
|
top: ${this.originY}px;
|
|
284
284
|
}
|
|
285
285
|
</style>
|
|
286
|
-
<div class="${(0
|
|
286
|
+
<div class="${(0,$i.classMap)(e)}">
|
|
287
287
|
<div class="ft-ripple--background"></div>
|
|
288
288
|
<div class="ft-ripple--effect"></div>
|
|
289
289
|
</div>
|
|
290
|
-
`}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,i;super.update(o),o.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(i=this.target)===null||i===void 0||i.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var o,r;let i=(o=this.shadowRoot)===null||o===void 0?void 0:o.host.parentElement;i&&this.setupFor((r=this.target)!==null&&r!==void 0?r:i)}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)=>d=>{s.forEach(g=>window.addEventListener(g,this.endPress,{once:!0})),this.startPress(d)},i=r("mouseup","contextmenu"),a=r("touchend","touchcancel"),l=s=>{["Enter"," "].includes(s.key)&&r("keyup")(s)},c={passive:!0};o.addEventListener("mouseover",this.startHover,c),o.addEventListener("mousemove",this.moveRipple,c),o.addEventListener("mouseleave",this.endHover,c),o.addEventListener("mousedown",i,c),o.addEventListener("touchstart",a,c),o.addEventListener("touchmove",this.moveRipple,c),o.addEventListener("keydown",l,c),o.addEventListener("focus",this.startFocus,c),o.addEventListener("blur",this.endFocus,c),o.addEventListener("focusin",this.startFocus,c),o.addEventListener("focusout",this.endFocus,c),this.onDisconnect=()=>{o.removeAttribute("data-is-ft-ripple-target"),o.removeEventListener("mouseover",this.startHover,c),o.removeEventListener("mousemove",this.moveRipple,c),o.removeEventListener("mouseleave",this.endHover,c),o.removeEventListener("mousedown",i,c),o.removeEventListener("touchstart",a,c),o.removeEventListener("touchmove",this.moveRipple,c),o.removeEventListener("keydown",l,c),o.removeEventListener("focus",this.startFocus,c),o.removeEventListener("blur",this.endFocus,c),o.removeEventListener("focusin",this.startFocus,c),o.removeEventListener("focusout",this.endFocus,c),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(o){let r=o,i=o,a,l;return r.x!=null?{x:a,y:l}=r:i.touches!=null&&(a=i.touches[0].clientX,l=i.touches[0].clientY),{x:a,y:l}}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()}};L.elementDefinitions={};L.styles=hn;Y([(0,D.property)({type:Boolean})],L.prototype,"primary",void 0);Y([(0,D.property)({type:Boolean})],L.prototype,"secondary",void 0);Y([(0,D.property)({type:Boolean})],L.prototype,"unbounded",void 0);Y([(0,D.property)({type:Boolean})],L.prototype,"activated",void 0);Y([(0,D.property)({type:Boolean})],L.prototype,"selected",void 0);Y([(0,D.property)({type:Boolean})],L.prototype,"disabled",void 0);Y([(0,D.state)()],L.prototype,"hovered",void 0);Y([(0,D.state)()],L.prototype,"focused",void 0);Y([(0,D.state)()],L.prototype,"pressed",void 0);Y([(0,D.state)()],L.prototype,"rippling",void 0);Y([(0,D.state)()],L.prototype,"originX",void 0);Y([(0,D.state)()],L.prototype,"originY",void 0);Y([(0,D.query)(".ft-ripple")],L.prototype,"ripple",void 0);Y([(0,D.query)(".ft-ripple--effect")],L.prototype,"rippleEffect",void 0);(0,yn.customElement)("ft-ripple")(L);var vn=y(R());var ge=y(k()),Bt=y(ot()),Sn=y(R()),Cn=y(bn());var We;(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.EYE="",e.SHARE="󨃱"})(We||(We={}));var f;(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=""})(f||(f={}));var xs=new Map([...["abw"].map(e=>[e,f.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,f.AUDIO]),...["avi"].map(e=>[e,f.AVI]),...["chm","xhs"].map(e=>[e,f.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,f.CODE]),...["csv"].map(e=>[e,f.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,f.DITA]),...["epub"].map(e=>[e,f.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,f.EXCEL]),...["flac"].map(e=>[e,f.FLAC]),...["gif"].map(e=>[e,f.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,f.GZIP]),...["html","htm","xhtml"].map(e=>[e,f.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,f.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,f.JPEG]),...["json"].map(e=>[e,f.JSON]),...["m4a","m4p"].map(e=>[e,f.M4A]),...["mov","qt"].map(e=>[e,f.MOV]),...["mp3"].map(e=>[e,f.MP3]),...["mp4","m4v"].map(e=>[e,f.MP4]),...["ogg","oga"].map(e=>[e,f.OGG]),...["pdf","ps"].map(e=>[e,f.PDF]),...["png"].map(e=>[e,f.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,f.POWERPOINT]),...["rar"].map(e=>[e,f.RAR]),...["stp"].map(e=>[e,f.STP]),...["txt","rtf","md","mdown"].map(e=>[e,f.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,f.VIDEO]),...["wav"].map(e=>[e,f.WAV]),...["wma"].map(e=>[e,f.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,f.WORD]),...["xml","xsl","rdf"].map(e=>[e,f.XML]),...["yaml","yml","x-yaml"].map(e=>[e,f.YAML]),...["zip"].map(e=>[e,f.ZIP])]);var Os={[f.ABW]:"#91ABC6",[f.AUDIO]:"#1795E3",[f.AVI]:"#E63324",[f.CHM]:"#71C3EB",[f.CODE]:"#71C3EB",[f.CSV]:"#1F7345",[f.DITA]:"#71C3EB",[f.EPUB]:"#85B926",[f.EXCEL]:"#1F7345",[f.FLAC]:"#1795E3",[f.GIF]:"#59B031",[f.GZIP]:"#F8AB36",[f.HTML]:"#71C3EB",[f.IMAGE]:"#59B031",[f.JPEG]:"#59B031",[f.JSON]:"#71C3EB",[f.M4A]:"#1795E3",[f.MOV]:"#E63324",[f.MP3]:"#1795E3",[f.MP4]:"#E63324",[f.OGG]:"#1795E3",[f.PDF]:"#E44948",[f.PNG]:"#59B031",[f.POWERPOINT]:"#B54A2B",[f.RAR]:"#F8AB36",[f.STP]:"#3764B1",[f.TEXT]:"#3162AB",[f.UNKNOWN]:"#999999",[f.VIDEO]:"#E63324",[f.WAV]:"#1795E3",[f.WMA]:"#1795E3",[f.WORD]:"#3162AB",[f.XML]:"#71C3EB",[f.YAML]:"#71C3EB",[f.ZIP]:"#F8AB36"};var xn=y(k()),St=y(R()),M={size:St.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:St.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",St.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:St.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",St.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:St.FtCssVariableFactory.extend("--ft-icon-material-font-family","",St.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:St.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},On=xn.css`
|
|
290
|
+
`}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var r,n;super.update(e),e.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 e,r;let n=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;n&&this.setupFor((r=this.target)!==null&&r!==void 0?r:n)}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let r=(...s)=>d=>{s.forEach(p=>window.addEventListener(p,this.endPress,{once:!0})),this.startPress(d)},n=r("mouseup","contextmenu"),i=r("touchend","touchcancel"),a=s=>{["Enter"," "].includes(s.key)&&r("keyup")(s)},c={passive:!0};e.addEventListener("mouseover",this.startHover,c),e.addEventListener("mousemove",this.moveRipple,c),e.addEventListener("mouseleave",this.endHover,c),e.addEventListener("mousedown",n,c),e.addEventListener("touchstart",i,c),e.addEventListener("touchmove",this.moveRipple,c),e.addEventListener("keydown",a,c),e.addEventListener("focus",this.startFocus,c),e.addEventListener("blur",this.endFocus,c),e.addEventListener("focusin",this.startFocus,c),e.addEventListener("focusout",this.endFocus,c),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,c),e.removeEventListener("mousemove",this.moveRipple,c),e.removeEventListener("mouseleave",this.endHover,c),e.removeEventListener("mousedown",n,c),e.removeEventListener("touchstart",i,c),e.removeEventListener("touchmove",this.moveRipple,c),e.removeEventListener("keydown",a,c),e.removeEventListener("focus",this.startFocus,c),e.removeEventListener("blur",this.endFocus,c),e.removeEventListener("focusin",this.startFocus,c),e.removeEventListener("focusout",this.endFocus,c),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let r=e,n=e,i,a;return r.x!=null?{x:i,y:a}=r:n.touches!=null&&(i=n.touches[0].clientX,a=n.touches[0].clientY),{x:i,y:a}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let r of e.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};$.elementDefinitions={};$.styles=ki;Q([(0,K.property)({type:Boolean})],$.prototype,"primary",void 0);Q([(0,K.property)({type:Boolean})],$.prototype,"secondary",void 0);Q([(0,K.property)({type:Boolean})],$.prototype,"unbounded",void 0);Q([(0,K.property)({type:Boolean})],$.prototype,"activated",void 0);Q([(0,K.property)({type:Boolean})],$.prototype,"selected",void 0);Q([(0,K.property)({type:Boolean})],$.prototype,"disabled",void 0);Q([(0,K.state)()],$.prototype,"hovered",void 0);Q([(0,K.state)()],$.prototype,"focused",void 0);Q([(0,K.state)()],$.prototype,"pressed",void 0);Q([(0,K.state)()],$.prototype,"rippling",void 0);Q([(0,K.state)()],$.prototype,"originX",void 0);Q([(0,K.state)()],$.prototype,"originY",void 0);Q([(0,K.query)(".ft-ripple")],$.prototype,"ripple",void 0);Q([(0,K.query)(".ft-ripple--effect")],$.prototype,"rippleEffect",void 0);(0,Di.customElement)("ft-ripple")($);var ji=S(_());var Ue=S(M()),te=S(F()),Hi=S(_()),Gi=S(Bi());var fo;(function(t){t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.BOOKS="",t.MENU="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.HOME="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.EXPORT="",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.USER="",t.EXTLINK="",t.CALENDAR="",t.OFFLINE="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.STAR_PLAIN="",t.TOPICS="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN="",t.ADMIN_KHUB="",t.ADMIN_THEME="",t.ADMIN_USERS="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.INFO="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.FACET_HAS_DESCENDANT="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.THIN_ARROW="",t.SIGN_IN="",t.LOGOUT="",t.TRANSLATE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.ARTICLE="",t.COLUMNS="",t.ANALYTICS="",t.COLLECTIONS="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SEARCH_IN_PUBLICATION="",t.COPY_TO_CLIPBOARD="",t.SHARED_PBK="",t.ATTACHMENTS="",t.STRIPE_ARROW_LEFT="",t.STRIPE_ARROW_RIGHT="",t.FILTERS="",t.DOT="",t.MINUS="",t.PLUS="",t.MAILS_AND_NOTIFICATIONS="",t.SAVE="",t.LOCKER="",t.ADMIN_INTEGRATION="",t.SYNC="",t.TAG="",t.BOOK_PLAIN="",t.UPLOAD="",t.ONLINE="",t.TAG_PLAIN="",t.ACCOUNT_SETTINGS="",t.PRINT="",t.DEFAULT_ROLES="",t.SHORTCUT_MENU="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.PAUSE="",t.PLAY="",t.ADMIN_PORTAL="",t.STAR="",t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.FEEDBACK_PLAIN="",t.RATE_PLAIN="",t.RATE="",t.OFFLINE_SETTINGS="",t.MY_COLLECTIONS="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.RESET="",t.MY_LIBRARY="",t.UNSTRUCTURED_DOC="",t.CONTEXTUAL="",t.THIN_ARROW_UP="",t.ARROW_RIGHT_TO_LINE="",t.DESKTOP="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_STACKED="",t.CHART_BAR_GROUPED="",t.EYE_SLASH="",t.X_MARK="",t.EXPAND_WIDE="",t.PIP="",t.PIP_WIDE="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.EXTLINK_LIGHT="",t.CLONE="",t.CLONE_LINK_SIMPLE="",t.CHART_BAR_NORMALIZED="",t.CONSUMER="",t.OCTAGON_XMARK="",t.HOURGLASS_HALF="",t.CLOCK="",t.CLOCK_THREE="",t.CALENDAR_DAY="",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="",t.WAND_MAGIC_SPARKLES="",t.PAPER_PLANE="",t.CIRCLE_STOP="",t.ARROW_ROTATE_RIGHT="",t.ARROWS_ROTATE="",t.ALIGN_RIGHT="",t.FORMAT_CLEAR="",t.ALIGN_CENTER="",t.ALIGN_LEFT="",t.PALETTE="",t.BOLD="",t.ITALIC="",t.UNDERLINE="",t.STRIKETHROUGH="",t.LINK_SIMPLE_SLASH="",t.LINK_SIMPLE="",t.EYE="",t.SHARE="󨃱"})(fo||(fo={}));var x;(function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""})(x||(x={}));var yu=new Map([...["abw"].map(t=>[t,x.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,x.AUDIO]),...["avi"].map(t=>[t,x.AVI]),...["chm","xhs"].map(t=>[t,x.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,x.CODE]),...["csv"].map(t=>[t,x.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,x.DITA]),...["epub"].map(t=>[t,x.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,x.EXCEL]),...["flac"].map(t=>[t,x.FLAC]),...["gif"].map(t=>[t,x.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,x.GZIP]),...["html","htm","xhtml"].map(t=>[t,x.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,x.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,x.JPEG]),...["json"].map(t=>[t,x.JSON]),...["m4a","m4p"].map(t=>[t,x.M4A]),...["mov","qt"].map(t=>[t,x.MOV]),...["mp3"].map(t=>[t,x.MP3]),...["mp4","m4v"].map(t=>[t,x.MP4]),...["ogg","oga"].map(t=>[t,x.OGG]),...["pdf","ps"].map(t=>[t,x.PDF]),...["png"].map(t=>[t,x.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,x.POWERPOINT]),...["rar"].map(t=>[t,x.RAR]),...["stp"].map(t=>[t,x.STP]),...["txt","rtf","md","mdown"].map(t=>[t,x.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,x.VIDEO]),...["wav"].map(t=>[t,x.WAV]),...["wma"].map(t=>[t,x.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,x.WORD]),...["xml","xsl","rdf"].map(t=>[t,x.XML]),...["yaml","yml","x-yaml"].map(t=>[t,x.YAML]),...["zip"].map(t=>[t,x.ZIP])]);var gu={[x.ABW]:"#91ABC6",[x.AUDIO]:"#1795E3",[x.AVI]:"#E63324",[x.CHM]:"#71C3EB",[x.CODE]:"#71C3EB",[x.CSV]:"#1F7345",[x.DITA]:"#71C3EB",[x.EPUB]:"#85B926",[x.EXCEL]:"#1F7345",[x.FLAC]:"#1795E3",[x.GIF]:"#59B031",[x.GZIP]:"#F8AB36",[x.HTML]:"#71C3EB",[x.IMAGE]:"#59B031",[x.JPEG]:"#59B031",[x.JSON]:"#71C3EB",[x.M4A]:"#1795E3",[x.MOV]:"#E63324",[x.MP3]:"#1795E3",[x.MP4]:"#E63324",[x.OGG]:"#1795E3",[x.PDF]:"#E44948",[x.PNG]:"#59B031",[x.POWERPOINT]:"#B54A2B",[x.RAR]:"#F8AB36",[x.STP]:"#3764B1",[x.TEXT]:"#3162AB",[x.UNKNOWN]:"#999999",[x.VIDEO]:"#E63324",[x.WAV]:"#1795E3",[x.WMA]:"#1795E3",[x.WORD]:"#3162AB",[x.XML]:"#71C3EB",[x.YAML]:"#71C3EB",[x.ZIP]:"#F8AB36"};var Mi=S(M()),It=S(_()),V={size:It.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:It.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",It.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:It.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",It.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:It.FtCssVariableFactory.extend("--ft-icon-material-font-family","",It.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:It.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Ui=Mi.css`
|
|
291
291
|
:host, i.ft-icon {
|
|
292
292
|
display: inline-flex;
|
|
293
293
|
align-items: center;
|
|
@@ -296,14 +296,14 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
296
296
|
}
|
|
297
297
|
|
|
298
298
|
:host {
|
|
299
|
-
width: ${
|
|
300
|
-
height: ${
|
|
299
|
+
width: ${V.size};
|
|
300
|
+
height: ${V.size};
|
|
301
301
|
}
|
|
302
302
|
|
|
303
303
|
i.ft-icon {
|
|
304
304
|
width: 100%;
|
|
305
305
|
height: 100%;
|
|
306
|
-
font-size: ${
|
|
306
|
+
font-size: ${V.size};
|
|
307
307
|
line-height: 1;
|
|
308
308
|
font-weight: normal;
|
|
309
309
|
text-transform: none;
|
|
@@ -314,33 +314,33 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
314
314
|
text-rendering: auto;
|
|
315
315
|
-webkit-font-smoothing: antialiased;
|
|
316
316
|
-moz-osx-font-smoothing: grayscale;
|
|
317
|
-
vertical-align: ${
|
|
317
|
+
vertical-align: ${V.verticalAlign};
|
|
318
318
|
}
|
|
319
319
|
|
|
320
320
|
i.ft-icon.ft-icon--fluid-topics {
|
|
321
|
-
font-family: ${
|
|
321
|
+
font-family: ${V.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
322
322
|
|
|
323
323
|
/* Ugly fix because font is broken */
|
|
324
|
-
font-size: calc(0.75 * ${
|
|
325
|
-
line-height: ${
|
|
324
|
+
font-size: calc(0.75 * ${V.size});
|
|
325
|
+
line-height: ${V.size};
|
|
326
326
|
position: relative;
|
|
327
327
|
top: -4%;
|
|
328
328
|
justify-content: center;
|
|
329
329
|
}
|
|
330
330
|
|
|
331
331
|
.ft-icon--file-format {
|
|
332
|
-
font-family: ${
|
|
332
|
+
font-family: ${V.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
333
333
|
}
|
|
334
334
|
|
|
335
335
|
.ft-icon--material {
|
|
336
|
-
font-family: ${
|
|
336
|
+
font-family: ${V.materialFontFamily}, "Material Icons", sans-serif;
|
|
337
337
|
}
|
|
338
|
-
`;var
|
|
339
|
-
<i class="ft-icon ft-icon--${
|
|
340
|
-
${(0,
|
|
338
|
+
`;var Bt;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(Bt||(Bt={}));var po=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(a=(i<3?c(a):i>3?c(e,r,a):c(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},tt=class extends Hi.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=Ue.nothing}render(){let e=this.variant&&Object.values(Bt).includes(this.variant)?this.variant:Bt.fluid_topics,r=e!==Bt.material||!!this.value;return Ue.html`
|
|
339
|
+
<i class="ft-icon ft-icon--${e}" part="icon icon-${e}">
|
|
340
|
+
${(0,Gi.unsafeHTML)(this.resolvedIcon)}
|
|
341
341
|
<slot ?hidden=${r}></slot>
|
|
342
342
|
</i>
|
|
343
|
-
`}get textContent(){var
|
|
343
|
+
`}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&r!==void 0?r:""}update(e){super.update(e),["value","variant"].some(r=>e.has(r))&&this.resolveIcon()}resolveIcon(){var e,r;let n=this.value||this.textContent;switch(this.variant){case Bt.file_format:this.resolvedIcon=(e=x[n.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:n;break;case Bt.material:this.resolvedIcon=this.value||Ue.nothing;break;default:this.resolvedIcon=(r=fo[n.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:n;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};tt.elementDefinitions={};tt.styles=Ui;po([(0,te.property)()],tt.prototype,"variant",void 0);po([(0,te.property)()],tt.prototype,"value",void 0);po([(0,te.state)()],tt.prototype,"resolvedIcon",void 0);po([(0,te.query)("slot")],tt.prototype,"slottedContent",void 0);(0,ji.customElement)("ft-icon")(tt);var ho=S(M()),P=S(_());var ir=S(_());var Ge=S(F()),ea=S(_());var Yi=S(M()),A=S(_());var Ki=S(M()),He=S(_()),et={color:He.FtCssVariableFactory.extend("--ft-loader-color","",He.designSystemVariables.colorPrimary),size:He.FtCssVariableFactory.create("--ft-loader-size","","SIZE","80px")},Fi=Ki.css`
|
|
344
344
|
:host {
|
|
345
345
|
line-height: 0;
|
|
346
346
|
}
|
|
@@ -349,8 +349,8 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
349
349
|
display: inline-block;
|
|
350
350
|
position: relative;
|
|
351
351
|
|
|
352
|
-
width: ${
|
|
353
|
-
height: ${
|
|
352
|
+
width: ${et.size};
|
|
353
|
+
height: ${et.size};
|
|
354
354
|
}
|
|
355
355
|
|
|
356
356
|
.ft-loader div {
|
|
@@ -359,7 +359,7 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
359
359
|
width: 25%;
|
|
360
360
|
height: 25%;
|
|
361
361
|
border-radius: 50%;
|
|
362
|
-
background: ${
|
|
362
|
+
background: ${et.color};
|
|
363
363
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
364
364
|
}
|
|
365
365
|
|
|
@@ -406,10 +406,10 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
406
406
|
transform: translate(0, 0);
|
|
407
407
|
}
|
|
408
408
|
100% {
|
|
409
|
-
transform: translate(calc(0.35 * ${
|
|
409
|
+
transform: translate(calc(0.35 * ${et.size}), 0);
|
|
410
410
|
}
|
|
411
411
|
}
|
|
412
|
-
`;var
|
|
412
|
+
`;var Vi=A.FtCssVariableFactory.extend("--ft-button-color","",A.designSystemVariables.colorPrimary),z={backgroundColor:A.FtCssVariableFactory.extend("--ft-button-background-color","",A.designSystemVariables.colorSurface),borderRadius:A.FtCssVariableFactory.extend("--ft-button-border-radius","",A.designSystemVariables.borderRadiusL),color:Vi,fontSize:A.FtCssVariableFactory.extend("--ft-button-font-size","",vt.fontSize),iconSize:A.FtCssVariableFactory.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:A.FtCssVariableFactory.extend("--ft-button-ripple-color","",Vi),verticalPadding:A.FtCssVariableFactory.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:A.FtCssVariableFactory.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:A.FtCssVariableFactory.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:A.FtCssVariableFactory.external(A.designSystemVariables.colorOpacityDisabled,"Design system")},Zi=A.FtCssVariableFactory.extend("--ft-button-primary-color","",A.FtCssVariableFactory.extend("--ft-button-color","",A.designSystemVariables.colorOnPrimary)),nr={backgroundColor:A.FtCssVariableFactory.extend("--ft-button-primary-background-color","",A.FtCssVariableFactory.extend("--ft-button-background-color","",A.designSystemVariables.colorPrimary)),color:Zi,rippleColor:A.FtCssVariableFactory.extend("--ft-button-primary-ripple-color","",Zi)},Ot={borderRadius:A.FtCssVariableFactory.extend("--ft-button-dense-border-radius","",A.FtCssVariableFactory.extend("--ft-button-border-radius","",A.designSystemVariables.borderRadiusM)),verticalPadding:A.FtCssVariableFactory.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:A.FtCssVariableFactory.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:A.FtCssVariableFactory.create("--ft-button-dense-icon-padding","","SIZE","4px")},qi=[Yi.css`
|
|
413
413
|
:host {
|
|
414
414
|
display: inline-block;
|
|
415
415
|
max-width: 100%;
|
|
@@ -420,7 +420,7 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
420
420
|
box-shadow: 0px 0px 0px transparent;
|
|
421
421
|
border: 0px solid transparent;
|
|
422
422
|
text-shadow: 0px 0px 0px transparent;
|
|
423
|
-
font-size: ${
|
|
423
|
+
font-size: ${z.fontSize};
|
|
424
424
|
}
|
|
425
425
|
|
|
426
426
|
button:hover {
|
|
@@ -449,31 +449,31 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
449
449
|
border: none;
|
|
450
450
|
pointer-events: auto;
|
|
451
451
|
|
|
452
|
-
--ft-button-internal-line-height: max(calc(${
|
|
453
|
-
--ft-button-internal-color: ${
|
|
454
|
-
${(0,
|
|
455
|
-
${(0,
|
|
452
|
+
--ft-button-internal-line-height: max(calc(${z.fontSize} + 2px), ${z.iconSize});
|
|
453
|
+
--ft-button-internal-color: ${z.color};
|
|
454
|
+
${(0,A.setVariable)(V.size,z.iconSize)};
|
|
455
|
+
${(0,A.setVariable)(I.color,z.rippleColor)};
|
|
456
456
|
|
|
457
|
-
border-radius: ${
|
|
458
|
-
padding: ${
|
|
459
|
-
background-color: ${
|
|
457
|
+
border-radius: ${z.borderRadius};
|
|
458
|
+
padding: ${z.verticalPadding} ${z.horizontalPadding};
|
|
459
|
+
background-color: ${z.backgroundColor};
|
|
460
460
|
color: var(--ft-button-internal-color);
|
|
461
461
|
-webkit-mask-image: radial-gradient(white, black);
|
|
462
462
|
}
|
|
463
463
|
|
|
464
464
|
.ft-button.ft-button--outlined {
|
|
465
465
|
border: 1px solid var(--ft-button-internal-color);
|
|
466
|
-
padding: calc(${
|
|
466
|
+
padding: calc(${z.verticalPadding} - 1px) calc(${z.horizontalPadding} - 1px);
|
|
467
467
|
}
|
|
468
468
|
|
|
469
469
|
.ft-button.ft-button--dense {
|
|
470
|
-
padding: ${
|
|
471
|
-
border-radius: ${
|
|
472
|
-
gap: ${
|
|
470
|
+
padding: ${Ot.verticalPadding} ${Ot.horizontalPadding};
|
|
471
|
+
border-radius: ${Ot.borderRadius};
|
|
472
|
+
gap: ${Ot.iconPadding};
|
|
473
473
|
}
|
|
474
474
|
|
|
475
475
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
476
|
-
padding: calc(${
|
|
476
|
+
padding: calc(${Ot.verticalPadding} - 1px) calc(${Ot.horizontalPadding} - 1px);
|
|
477
477
|
}
|
|
478
478
|
|
|
479
479
|
.ft-button:not([disabled]):hover {
|
|
@@ -481,22 +481,22 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
481
481
|
}
|
|
482
482
|
|
|
483
483
|
.ft-button--round {
|
|
484
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
484
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${z.verticalPadding});
|
|
485
485
|
}
|
|
486
486
|
|
|
487
487
|
.ft-button--round.ft-button--dense {
|
|
488
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
488
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Ot.verticalPadding});
|
|
489
489
|
}
|
|
490
490
|
|
|
491
491
|
.ft-button[disabled] {
|
|
492
492
|
filter: grayscale(1);
|
|
493
|
-
opacity: ${
|
|
493
|
+
opacity: ${z.opacityDisabled};
|
|
494
494
|
}
|
|
495
495
|
|
|
496
496
|
.ft-button.ft-button--primary {
|
|
497
|
-
background-color: ${
|
|
498
|
-
--ft-button-internal-color: ${
|
|
499
|
-
${(0,
|
|
497
|
+
background-color: ${nr.backgroundColor};
|
|
498
|
+
--ft-button-internal-color: ${nr.color};
|
|
499
|
+
${(0,A.setVariable)(I.color,nr.rippleColor)};
|
|
500
500
|
}
|
|
501
501
|
|
|
502
502
|
.ft-button:focus {
|
|
@@ -509,13 +509,13 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
509
509
|
white-space: nowrap;
|
|
510
510
|
text-overflow: ellipsis;
|
|
511
511
|
display: block;
|
|
512
|
-
margin: 0 ${
|
|
513
|
-
${(0,
|
|
514
|
-
${(0,
|
|
512
|
+
margin: 0 ${z.iconPadding};
|
|
513
|
+
${(0,A.setVariable)(vt.fontSize,"1em")};
|
|
514
|
+
${(0,A.setVariable)(vt.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
515
515
|
}
|
|
516
516
|
|
|
517
517
|
.ft-button--dense .ft-button--label {
|
|
518
|
-
margin: 0 ${
|
|
518
|
+
margin: 0 ${Ot.iconPadding};
|
|
519
519
|
}
|
|
520
520
|
|
|
521
521
|
.ft-button--label[hidden] {
|
|
@@ -528,13 +528,13 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
528
528
|
}
|
|
529
529
|
|
|
530
530
|
.ft-button--label[hidden] + [part="icon"] {
|
|
531
|
-
margin: 0 calc(${
|
|
532
|
-
padding: 0 ${
|
|
531
|
+
margin: 0 calc(${z.horizontalPadding} * -1);
|
|
532
|
+
padding: 0 ${z.verticalPadding};
|
|
533
533
|
}
|
|
534
534
|
|
|
535
535
|
.ft-button--dense .ft-button--label[hidden] + [part="icon"] {
|
|
536
|
-
margin: 0 calc(${
|
|
537
|
-
padding: 0 ${
|
|
536
|
+
margin: 0 calc(${Ot.horizontalPadding} * -1);
|
|
537
|
+
padding: 0 ${Ot.verticalPadding};
|
|
538
538
|
}
|
|
539
539
|
|
|
540
540
|
.ft-button:not(.ft-button--trailing-icon) [part="label"]{
|
|
@@ -542,43 +542,43 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
542
542
|
}
|
|
543
543
|
|
|
544
544
|
ft-loader {
|
|
545
|
-
${(0,
|
|
546
|
-
${(0,
|
|
545
|
+
${(0,A.setVariable)(et.size,z.iconSize)};
|
|
546
|
+
${(0,A.setVariable)(et.color,"var(--ft-button-internal-color)")};
|
|
547
547
|
}
|
|
548
|
-
`,
|
|
548
|
+
`,A.noTextSelect];var Se=S(_());var Qi=S(_());var Xi=S(M()),Ji=S(_());var ee=class extends Ji.FtLitElement{render(){return Xi.html`
|
|
549
549
|
<div class="ft-loader">
|
|
550
550
|
<div></div>
|
|
551
551
|
<div></div>
|
|
552
552
|
<div></div>
|
|
553
553
|
<div></div>
|
|
554
554
|
</div>
|
|
555
|
-
`}};
|
|
555
|
+
`}};ee.styles=Fi;(0,Qi.customElement)("ft-loader")(ee);var ve=S(M()),ta=S(so()),Y=S(F()),at=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(a=(i<3?c(a):i>3?c(e,r,a):c(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},H=class extends(0,Se.toFtFormComponent)(Se.FtLitElement,"button"){constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",e=>{var r;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){return this.addTooltipIfNeeded(ve.html`
|
|
556
556
|
<button part="button"
|
|
557
|
-
class="${(0,
|
|
557
|
+
class="${(0,ta.classMap)(this.buttonClasses)}"
|
|
558
558
|
aria-label="${this.getLabel()}"
|
|
559
559
|
?disabled=${this.isDisabled()}>
|
|
560
560
|
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
561
561
|
<ft-typography part="label"
|
|
562
562
|
variant=${this.typographyVariant}
|
|
563
563
|
element="span"
|
|
564
|
-
class="ft-button--label ${
|
|
564
|
+
class="ft-button--label ${Se.isSafari?"ft-safari-ellipsis-fix":""}"
|
|
565
565
|
?hidden=${!this.hasTextContent()}>
|
|
566
566
|
<slot @slotchange=${this.onSlotchange}></slot>
|
|
567
567
|
</ft-typography>
|
|
568
568
|
${this.resolveIcon()}
|
|
569
569
|
</button>
|
|
570
|
-
`)}addTooltipIfNeeded(
|
|
570
|
+
`)}addTooltipIfNeeded(e){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?ve.html`
|
|
571
571
|
<ft-tooltip part="tooltip"
|
|
572
572
|
text="${this.getLabel()}"
|
|
573
573
|
position="${this.tooltipPosition}">
|
|
574
|
-
${
|
|
574
|
+
${e}
|
|
575
575
|
</ft-tooltip>
|
|
576
|
-
`:
|
|
577
|
-
<ft-loader part="loader icon"></ft-loader> `:this.icon?
|
|
576
|
+
`:e}resolveIcon(){return this.loading?ve.html`
|
|
577
|
+
<ft-loader part="loader icon"></ft-loader> `:this.icon?ve.html`
|
|
578
578
|
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
|
|
579
|
-
`:
|
|
579
|
+
`:ve.html`
|
|
580
580
|
<slot part="icon" name="icon"></slot>
|
|
581
|
-
`}focus(){var
|
|
581
|
+
`}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(e){return e instanceof HTMLSlotElement?e.assignedNodes().map(r=>this.unslotText(r)).join(""):e?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};H.elementDefinitions={"ft-ripple":$,"ft-tooltip":W,"ft-typography":nt,"ft-icon":tt,"ft-loader":ee};at([(0,Y.property)({type:String,reflect:!0})],H.prototype,"role",void 0);at([(0,Y.property)()],H.prototype,"type",void 0);at([(0,Y.property)({type:Boolean})],H.prototype,"disabled",void 0);at([(0,Y.property)()],H.prototype,"label",void 0);at([(0,Y.property)()],H.prototype,"icon",void 0);at([(0,Y.property)()],H.prototype,"iconVariant",void 0);at([(0,Y.property)({type:Boolean})],H.prototype,"trailingIcon",void 0);at([(0,Y.property)({type:Boolean})],H.prototype,"loading",void 0);at([(0,Y.property)()],H.prototype,"tooltipPosition",void 0);at([(0,Y.property)({type:Boolean})],H.prototype,"hideTooltip",void 0);at([(0,Y.property)({type:Boolean})],H.prototype,"forceTooltip",void 0);at([(0,Y.query)(".ft-button")],H.prototype,"button",void 0);at([(0,Y.query)(".ft-button--label slot")],H.prototype,"slottedContent",void 0);var uo=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(a=(i<3?c(a):i>3?c(e,r,a):c(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},gt=class extends H{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"}};gt.styles=[ea.safariEllipsisFix,qi];uo([(0,Ge.property)({type:Boolean})],gt.prototype,"primary",void 0);uo([(0,Ge.property)({type:Boolean})],gt.prototype,"outlined",void 0);uo([(0,Ge.property)({type:Boolean})],gt.prototype,"dense",void 0);uo([(0,Ge.property)({type:Boolean})],gt.prototype,"round",void 0);var Oe=S(F());var na=S(_());var oa=S(M()),T=S(_());var ra=[oa.css`
|
|
582
582
|
:host {
|
|
583
583
|
display: inline-block;
|
|
584
584
|
max-width: 100%;
|
|
@@ -628,7 +628,7 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
628
628
|
}
|
|
629
629
|
|
|
630
630
|
.ft-button:focus-visible {
|
|
631
|
-
outline-color: ${
|
|
631
|
+
outline-color: ${O.focusFocusRingColor};
|
|
632
632
|
outline-style: solid;
|
|
633
633
|
}
|
|
634
634
|
|
|
@@ -657,146 +657,146 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
657
657
|
/** Primary styles **/
|
|
658
658
|
|
|
659
659
|
.ft-button--primary {
|
|
660
|
-
${(0,
|
|
660
|
+
${(0,T.setVariable)(et.color,O.primaryIconColor)};
|
|
661
661
|
|
|
662
|
-
${(0,
|
|
663
|
-
${(0,
|
|
664
|
-
${(0,
|
|
665
|
-
${(0,
|
|
666
|
-
${(0,
|
|
662
|
+
${(0,T.setVariable)(I.color,O.primaryStateLayerColor)};
|
|
663
|
+
${(0,T.setVariable)(I.opacityContentOnSurfaceHover,O.primaryHoverStateLayerOpacity)};
|
|
664
|
+
${(0,T.setVariable)(I.opacityContentOnSurfaceFocused,O.primaryFocusStateLayerOpacity)};
|
|
665
|
+
${(0,T.setVariable)(I.opacityContentOnSurfaceSelected,O.primaryActiveStateLayerOpacity)};
|
|
666
|
+
${(0,T.setVariable)(I.opacityContentOnSurfacePressed,O.primaryActiveStateLayerOpacity)};
|
|
667
667
|
|
|
668
|
-
background-color: ${
|
|
669
|
-
color: ${
|
|
668
|
+
background-color: ${O.primaryBackgroundColor};
|
|
669
|
+
color: ${O.primaryColor};
|
|
670
670
|
border-style: none;
|
|
671
671
|
}
|
|
672
672
|
|
|
673
673
|
.ft-button--primary[disabled] {
|
|
674
|
-
opacity: ${
|
|
674
|
+
opacity: ${O.primaryDisabledComponentOpacity};
|
|
675
675
|
}
|
|
676
676
|
|
|
677
677
|
.ft-button--primary ft-icon {
|
|
678
|
-
color: ${
|
|
678
|
+
color: ${O.primaryIconColor};
|
|
679
679
|
}
|
|
680
680
|
|
|
681
681
|
/** Secondary styles **/
|
|
682
682
|
|
|
683
683
|
.ft-button--secondary {
|
|
684
|
-
${(0,
|
|
684
|
+
${(0,T.setVariable)(et.color,O.secondaryIconColor)};
|
|
685
685
|
|
|
686
|
-
${(0,
|
|
687
|
-
${(0,
|
|
688
|
-
${(0,
|
|
689
|
-
${(0,
|
|
690
|
-
${(0,
|
|
686
|
+
${(0,T.setVariable)(I.color,O.secondaryStateLayerColor)};
|
|
687
|
+
${(0,T.setVariable)(I.opacityContentOnSurfaceHover,O.secondaryHoverStateLayerOpacity)};
|
|
688
|
+
${(0,T.setVariable)(I.opacityContentOnSurfaceFocused,O.secondaryFocusStateLayerOpacity)};
|
|
689
|
+
${(0,T.setVariable)(I.opacityContentOnSurfaceSelected,O.secondaryActiveStateLayerOpacity)};
|
|
690
|
+
${(0,T.setVariable)(I.opacityContentOnSurfacePressed,O.secondaryActiveStateLayerOpacity)};
|
|
691
691
|
|
|
692
|
-
background-color: ${
|
|
693
|
-
color: ${
|
|
694
|
-
border-color: ${
|
|
692
|
+
background-color: ${O.secondaryBackgroundColor};
|
|
693
|
+
color: ${O.secondaryColor};
|
|
694
|
+
border-color: ${O.secondaryBorderColor};
|
|
695
695
|
border-style: solid;
|
|
696
696
|
}
|
|
697
697
|
|
|
698
698
|
.ft-button--secondary[disabled] {
|
|
699
|
-
opacity: ${
|
|
699
|
+
opacity: ${O.secondaryDisabledComponentOpacity};
|
|
700
700
|
}
|
|
701
701
|
|
|
702
702
|
.ft-button--secondary ft-icon {
|
|
703
|
-
color: ${
|
|
703
|
+
color: ${O.secondaryIconColor};
|
|
704
704
|
}
|
|
705
705
|
|
|
706
706
|
/** Tertiary styles **/
|
|
707
707
|
|
|
708
708
|
.ft-button--tertiary {
|
|
709
|
-
${(0,
|
|
709
|
+
${(0,T.setVariable)(et.color,O.tertiaryIconColor)};
|
|
710
710
|
|
|
711
|
-
${(0,
|
|
712
|
-
${(0,
|
|
713
|
-
${(0,
|
|
714
|
-
${(0,
|
|
715
|
-
${(0,
|
|
711
|
+
${(0,T.setVariable)(I.color,O.tertiaryStateLayerColor)};
|
|
712
|
+
${(0,T.setVariable)(I.opacityContentOnSurfaceHover,O.tertiaryHoverStateLayerOpacity)};
|
|
713
|
+
${(0,T.setVariable)(I.opacityContentOnSurfaceFocused,O.tertiaryFocusStateLayerOpacity)};
|
|
714
|
+
${(0,T.setVariable)(I.opacityContentOnSurfaceSelected,O.tertiaryActiveStateLayerOpacity)};
|
|
715
|
+
${(0,T.setVariable)(I.opacityContentOnSurfacePressed,O.tertiaryActiveStateLayerOpacity)};
|
|
716
716
|
|
|
717
|
-
background-color: ${
|
|
718
|
-
color: ${
|
|
717
|
+
background-color: ${O.tertiaryBackgroundColor};
|
|
718
|
+
color: ${O.tertiaryColor};
|
|
719
719
|
border-style: none;
|
|
720
720
|
}
|
|
721
721
|
|
|
722
722
|
.ft-button--tertiary[disabled] {
|
|
723
|
-
opacity: ${
|
|
723
|
+
opacity: ${O.tertiaryDisabledComponentOpacity};
|
|
724
724
|
}
|
|
725
725
|
|
|
726
726
|
.ft-button--tertiary ft-icon {
|
|
727
|
-
color: ${
|
|
727
|
+
color: ${O.tertiaryIconColor};
|
|
728
728
|
}
|
|
729
729
|
|
|
730
730
|
/** Neutral styles **/
|
|
731
731
|
|
|
732
732
|
.ft-button--neutral {
|
|
733
|
-
${(0,
|
|
733
|
+
${(0,T.setVariable)(et.color,O.neutralIconColor)};
|
|
734
734
|
|
|
735
|
-
${(0,
|
|
736
|
-
${(0,
|
|
737
|
-
${(0,
|
|
738
|
-
${(0,
|
|
739
|
-
${(0,
|
|
735
|
+
${(0,T.setVariable)(I.backgroundColor,O.neutralStateLayerColor)};
|
|
736
|
+
${(0,T.setVariable)(I.opacityContentOnSurfaceHover,O.neutralHoverStateLayerOpacity)};
|
|
737
|
+
${(0,T.setVariable)(I.opacityContentOnSurfaceFocused,O.neutralFocusStateLayerOpacity)};
|
|
738
|
+
${(0,T.setVariable)(I.opacityContentOnSurfaceSelected,O.neutralActiveStateLayerOpacity)};
|
|
739
|
+
${(0,T.setVariable)(I.opacityContentOnSurfacePressed,O.neutralActiveStateLayerOpacity)};
|
|
740
740
|
|
|
741
|
-
background-color: ${
|
|
742
|
-
color: ${
|
|
741
|
+
background-color: ${O.neutralBackgroundColor};
|
|
742
|
+
color: ${O.neutralColor};
|
|
743
743
|
border-style: none;
|
|
744
744
|
}
|
|
745
745
|
|
|
746
746
|
.ft-button--neutral[disabled] {
|
|
747
|
-
opacity: ${
|
|
747
|
+
opacity: ${O.neutralDisabledComponentOpacity};
|
|
748
748
|
}
|
|
749
749
|
|
|
750
750
|
.ft-button--neutral ft-icon {
|
|
751
|
-
color: ${
|
|
751
|
+
color: ${O.neutralIconColor};
|
|
752
752
|
}
|
|
753
753
|
|
|
754
754
|
/** Large styles **/
|
|
755
755
|
|
|
756
756
|
.ft-button--large {
|
|
757
|
-
${(0,
|
|
758
|
-
${(0,
|
|
757
|
+
${(0,T.setVariable)(V.size,O.largeIconSize)};
|
|
758
|
+
${(0,T.setVariable)(et.size,O.largeIconSize)};
|
|
759
759
|
|
|
760
|
-
height: ${
|
|
761
|
-
padding: 0 ${
|
|
762
|
-
gap: ${
|
|
763
|
-
border-radius: ${
|
|
764
|
-
border-width: ${
|
|
760
|
+
height: ${O.largeHeight};
|
|
761
|
+
padding: 0 ${O.largeHorizontalPadding};
|
|
762
|
+
gap: ${O.largeGap};
|
|
763
|
+
border-radius: ${O.largeBorderRadius};
|
|
764
|
+
border-width: ${O.largeBorderWidth};
|
|
765
765
|
}
|
|
766
766
|
|
|
767
767
|
.ft-button--large:focus-visible {
|
|
768
|
-
outline-width: ${
|
|
769
|
-
outline-offset: ${
|
|
768
|
+
outline-width: ${O.largeFocusOutlineWidth};
|
|
769
|
+
outline-offset: ${O.largeFocusOutlineOffset};
|
|
770
770
|
}
|
|
771
771
|
|
|
772
772
|
.ft-button--large.ft-button--icon-only {
|
|
773
|
-
width: ${
|
|
773
|
+
width: ${O.largeIconOnlyWidth};
|
|
774
774
|
padding: unset;
|
|
775
775
|
}
|
|
776
776
|
|
|
777
777
|
/** Small styles **/
|
|
778
778
|
|
|
779
779
|
.ft-button--small {
|
|
780
|
-
${(0,
|
|
781
|
-
${(0,
|
|
780
|
+
${(0,T.setVariable)(V.size,O.smallIconSize)};
|
|
781
|
+
${(0,T.setVariable)(et.size,O.smallIconSize)};
|
|
782
782
|
|
|
783
|
-
height: ${
|
|
784
|
-
padding: 0 ${
|
|
785
|
-
gap: ${
|
|
786
|
-
border-radius: ${
|
|
787
|
-
border-width: ${
|
|
783
|
+
height: ${O.smallHeight};
|
|
784
|
+
padding: 0 ${O.smallHorizontalPadding};
|
|
785
|
+
gap: ${O.smallGap};
|
|
786
|
+
border-radius: ${O.smallBorderRadius};
|
|
787
|
+
border-width: ${O.smallBorderWidth};
|
|
788
788
|
}
|
|
789
789
|
|
|
790
790
|
.ft-button--small:focus-visible {
|
|
791
|
-
outline-width: ${
|
|
792
|
-
outline-offset: ${
|
|
791
|
+
outline-width: ${O.smallFocusOutlineWidth};
|
|
792
|
+
outline-offset: ${O.smallFocusOutlineOffset};
|
|
793
793
|
}
|
|
794
794
|
|
|
795
795
|
.ft-button--small.ft-button--icon-only {
|
|
796
|
-
width: ${
|
|
796
|
+
width: ${O.smallIconOnlyWidth};
|
|
797
797
|
padding: unset;
|
|
798
798
|
}
|
|
799
|
-
`,
|
|
799
|
+
`,T.noTextSelect];var je=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(a=(i<3?c(a):i>3?c(e,r,a):c(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Ct=class extends H{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}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&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"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}}get typographyVariant(){return this.small?Xt.caption1medium:Xt.body2medium}};Ct.styles=[na.safariEllipsisFix,ra];je([(0,Oe.property)({type:Boolean})],Ct.prototype,"primary",void 0);je([(0,Oe.property)({type:Boolean})],Ct.prototype,"secondary",void 0);je([(0,Oe.property)({type:Boolean})],Ct.prototype,"tertiary",void 0);je([(0,Oe.property)({type:Boolean})],Ct.prototype,"neutral",void 0);je([(0,Oe.property)({type:Boolean})],Ct.prototype,"small",void 0);(0,ir.customElement)("ft-button")(gt);(0,ir.customElement)("ftds-button")(Ct);var ia=P.FtCssVariableFactory.extend("--ft-chip-color","",P.designSystemVariables.colorOnSurface),dt={backgroundColor:P.FtCssVariableFactory.extend("--ft-chip-background-color","",P.designSystemVariables.colorSurface),color:ia,fontSize:P.FtCssVariableFactory.extend("--ft-chip-font-size","",xt.fontSize),iconSize:P.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:P.FtCssVariableFactory.create("--ft-chip-border-radius","","SIZE",""),rippleColor:P.FtCssVariableFactory.extend("--ft-chip-ripple-color","",ia),horizontalPadding:P.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:P.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:P.FtCssVariableFactory.external(P.designSystemVariables.colorOutline,"Design system"),opacityDisabled:P.FtCssVariableFactory.external(P.designSystemVariables.colorOpacityDisabled,"Design system")},aa=P.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",P.FtCssVariableFactory.extend("--ft-chip-color","",P.designSystemVariables.colorOnPrimary)),ar={backgroundColor:P.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",P.FtCssVariableFactory.extend("--ft-chip-background-color","",P.designSystemVariables.colorPrimary)),color:aa,rippleColor:P.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",aa)},ca={horizontalPadding:P.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:P.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},la=[P.noTextSelect,ho.css`
|
|
800
800
|
:host {
|
|
801
801
|
display: inline-block;
|
|
802
802
|
max-width: 100%;
|
|
@@ -812,20 +812,20 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
812
812
|
box-sizing: border-box;
|
|
813
813
|
pointer-events: auto;
|
|
814
814
|
|
|
815
|
-
--ft-chip-internal-font-size: ${
|
|
815
|
+
--ft-chip-internal-font-size: ${dt.fontSize};
|
|
816
816
|
--ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
|
|
817
|
-
${(0,
|
|
818
|
-
--ft-chip-internal-vertical-padding: ${
|
|
819
|
-
--ft-chip-internal-horizontal-padding: ${
|
|
817
|
+
${(0,P.setVariable)(V.size,dt.iconSize)};
|
|
818
|
+
--ft-chip-internal-vertical-padding: ${dt.verticalPadding};
|
|
819
|
+
--ft-chip-internal-horizontal-padding: ${dt.horizontalPadding};
|
|
820
820
|
--ft-chip-internal-icon-padding: 3px;
|
|
821
|
-
--ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${
|
|
821
|
+
--ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${dt.iconSize});
|
|
822
822
|
|
|
823
|
-
border: 1px solid ${
|
|
824
|
-
color: ${
|
|
825
|
-
${(0,
|
|
826
|
-
border-radius: var(${(0,
|
|
823
|
+
border: 1px solid ${dt.colorOutline};
|
|
824
|
+
color: ${dt.color};
|
|
825
|
+
${(0,P.setVariable)(I.color,dt.rippleColor)};
|
|
826
|
+
border-radius: var(${(0,ho.unsafeCSS)(dt.borderRadius.name)}, calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding)));
|
|
827
827
|
padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
|
|
828
|
-
background-color: ${
|
|
828
|
+
background-color: ${dt.backgroundColor};
|
|
829
829
|
line-height: var(--ft-chip-internal-content-height);
|
|
830
830
|
}
|
|
831
831
|
|
|
@@ -835,8 +835,8 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
835
835
|
|
|
836
836
|
.ft-chip--dense {
|
|
837
837
|
--ft-chip-internal-icon-padding: 3px;
|
|
838
|
-
--ft-chip-internal-vertical-padding: ${
|
|
839
|
-
--ft-chip-internal-horizontal-padding: ${
|
|
838
|
+
--ft-chip-internal-vertical-padding: ${ca.verticalPadding};
|
|
839
|
+
--ft-chip-internal-horizontal-padding: ${ca.horizontalPadding};
|
|
840
840
|
--ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
|
|
841
841
|
}
|
|
842
842
|
|
|
@@ -848,15 +848,15 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
848
848
|
cursor: default;
|
|
849
849
|
pointer-events: none;
|
|
850
850
|
filter: grayscale(1);
|
|
851
|
-
opacity: ${
|
|
851
|
+
opacity: ${dt.opacityDisabled};
|
|
852
852
|
}
|
|
853
853
|
|
|
854
854
|
.ft-chip--highlighted {
|
|
855
855
|
border: none;
|
|
856
856
|
padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
|
|
857
|
-
background-color: ${
|
|
858
|
-
${(0,
|
|
859
|
-
color: ${
|
|
857
|
+
background-color: ${ar.backgroundColor};
|
|
858
|
+
${(0,P.setVariable)(I.color,ar.rippleColor)};
|
|
859
|
+
color: ${ar.color};
|
|
860
860
|
}
|
|
861
861
|
|
|
862
862
|
.ft-chip--clickable {
|
|
@@ -886,9 +886,9 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
886
886
|
}
|
|
887
887
|
|
|
888
888
|
.ft-chip--icon-button {
|
|
889
|
-
${(0,
|
|
890
|
-
${(0,
|
|
891
|
-
${(0,
|
|
889
|
+
${(0,P.setVariable)(z.iconSize,dt.iconSize)};
|
|
890
|
+
${(0,P.setVariable)(z.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
|
|
891
|
+
${(0,P.setVariable)(z.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
|
|
892
892
|
margin: calc((-1) * var(--ft-chip-internal-icon-padding));
|
|
893
893
|
}
|
|
894
894
|
|
|
@@ -896,8 +896,8 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
896
896
|
vertical-align: bottom;
|
|
897
897
|
display: block;
|
|
898
898
|
margin: 0 var(--ft-chip-internal-horizontal-padding);
|
|
899
|
-
${(0,
|
|
900
|
-
${(0,
|
|
899
|
+
${(0,P.setVariable)(xt.fontSize,"var(--ft-chip-internal-font-size)")};
|
|
900
|
+
${(0,P.setVariable)(xt.lineHeight,"var(--ft-chip-internal-content-height)")};
|
|
901
901
|
}
|
|
902
902
|
|
|
903
903
|
.ft-chip--safari-fix .ft-chip--label {
|
|
@@ -933,8 +933,8 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
933
933
|
.ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
|
|
934
934
|
order: -1;
|
|
935
935
|
}
|
|
936
|
-
`];var
|
|
937
|
-
<div class="${(0,
|
|
936
|
+
`];var ct=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(a=(i<3?c(a):i>3?c(e,r,a):c(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},yo=class extends CustomEvent{constructor(){super("icon-click")}},B=class extends go.FtLitElement{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.icon=void 0,this.trailingIcon=!1}render(){let e={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":go.isSafari};return mo.html`
|
|
937
|
+
<div class="${(0,sa.classMap)(e)}"
|
|
938
938
|
aria-label="${this.getLabel()}"
|
|
939
939
|
tabindex="${this.interactionsOnChip?0:-1}"
|
|
940
940
|
@keyup=${this.onKeyUp}
|
|
@@ -945,7 +945,7 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
945
945
|
</ft-typography>
|
|
946
946
|
${this.internalIcon?this.renderIcon():null}
|
|
947
947
|
</div>
|
|
948
|
-
`}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?
|
|
948
|
+
`}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?mo.html`
|
|
949
949
|
<ft-button round
|
|
950
950
|
class="ft-chip--icon-button"
|
|
951
951
|
@click=${this.onIconClick}
|
|
@@ -954,33 +954,33 @@ Also for action icons.`,n.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
954
954
|
label="${this.iconLabel}"
|
|
955
955
|
part="icon-button"
|
|
956
956
|
></ft-button>
|
|
957
|
-
`:
|
|
957
|
+
`:mo.html`
|
|
958
958
|
<div class="ft-chip--icon-container ft-no-text-select" part="icon-container">
|
|
959
959
|
<ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}" part="icon"></ft-icon>
|
|
960
960
|
</div>
|
|
961
|
-
`}onKeyUp(o){this.interactionsOnChip&&["Enter"," "].includes(o.key)&&o.target.click()}onIconKeyUp(o){this.interactionsOnIcon&&["Enter"," "].includes(o.key)&&(o.stopPropagation(),this.dispatchEvent(new _e))}onIconClick(o){this.interactionsOnIcon&&(o.stopPropagation(),this.dispatchEvent(new _e))}getLabel(){return this.label||this.textContent}get textContent(){var o,r;return(r=(o=this.slottedContent)===null||o===void 0?void 0:o.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&r!==void 0?r:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};P.elementDefinitions={"ft-ripple":L,"ft-typography":J,"ft-icon":X,"ft-button":ct};P.styles=Dn;et([(0,F.property)({type:Boolean})],P.prototype,"highlighted",void 0);et([(0,F.property)({type:Boolean})],P.prototype,"removable",void 0);et([(0,F.property)({type:Boolean})],P.prototype,"disabled",void 0);et([(0,F.property)({type:Boolean})],P.prototype,"clickable",void 0);et([(0,F.property)({type:Boolean})],P.prototype,"iconClickable",void 0);et([(0,F.property)({type:Boolean})],P.prototype,"dense",void 0);et([(0,F.property)({type:Boolean})],P.prototype,"multiLine",void 0);et([(0,F.property)()],P.prototype,"label",void 0);et([(0,F.property)()],P.prototype,"iconLabel",void 0);et([(0,F.property)()],P.prototype,"icon",void 0);et([(0,F.property)()],P.prototype,"iconVariant",void 0);et([(0,F.property)({type:Boolean})],P.prototype,"trailingIcon",void 0);et([(0,F.query)("ft-typography slot")],P.prototype,"slottedContent",void 0);(0,Mn.customElement)("ft-chip")(P);var te=function(e,o,r,i){var a=arguments.length,l=a<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,r):i,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(e,o,r,i);else for(var s=e.length-1;s>=0;s--)(c=e[s])&&(l=(a<3?c(l):a>3?c(o,r,l):c(o,r))||l);return a>3&&l&&Object.defineProperty(o,r,l),l},at=class extends xe{constructor(){super(...arguments),this.multiLine=!1,this.displayLabel=!1,this.editorMode=!1}render(){return it.html`
|
|
961
|
+
`}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new yo))}onIconClick(e){this.interactionsOnIcon&&(e.stopPropagation(),this.dispatchEvent(new yo))}getLabel(){return this.label||this.textContent}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&r!==void 0?r:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};B.elementDefinitions={"ft-ripple":$,"ft-typography":nt,"ft-icon":tt,"ft-button":gt};B.styles=la;ct([(0,q.property)({type:Boolean})],B.prototype,"highlighted",void 0);ct([(0,q.property)({type:Boolean})],B.prototype,"removable",void 0);ct([(0,q.property)({type:Boolean})],B.prototype,"disabled",void 0);ct([(0,q.property)({type:Boolean})],B.prototype,"clickable",void 0);ct([(0,q.property)({type:Boolean})],B.prototype,"iconClickable",void 0);ct([(0,q.property)({type:Boolean})],B.prototype,"dense",void 0);ct([(0,q.property)({type:Boolean})],B.prototype,"multiLine",void 0);ct([(0,q.property)()],B.prototype,"label",void 0);ct([(0,q.property)()],B.prototype,"iconLabel",void 0);ct([(0,q.property)()],B.prototype,"icon",void 0);ct([(0,q.property)()],B.prototype,"iconVariant",void 0);ct([(0,q.property)({type:Boolean})],B.prototype,"trailingIcon",void 0);ct([(0,q.query)("ft-typography slot")],B.prototype,"slottedContent",void 0);(0,fa.customElement)("ft-chip")(B);var Wr=S(F());function $c(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var r,n,i;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(n=r;n--!==0;)if(!oe(t[n],e[n]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;for(n of t.entries())if(!oe(n[1],e.get(n[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if(i=Object.keys(t),r=i.length,r!==Object.keys(e).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[n]))return!1;for(n=r;n--!==0;){var a=i[n];if(!oe(t[a],e[a]))return!1}return!0}return t!==t&&e!==e}function oe(t,e){try{return $c(t,e)}catch{return!1}}var pa=S(F(),1);var cr=t=>{let e=t??{};return(r,n)=>{var i;let a={hasChanged:(s,d)=>!oe(s,d),attribute:!1,...e};(0,pa.property)(a)(r,n);let c=r.constructor;c.reduxProperties=new Map(c.reduxProperties),c.reduxProperties.set(n,{selector:(i=e.selector)!==null&&i!==void 0?i:s=>s[n],store:e.store})}};var bo=class{constructor(){this.queue=[]}add(e,r=!1){r&&(this.queue=this.queue.filter(n=>n.type!==e.type)),this.queue.push(e)}consume(e){let r=this.queue.find(n=>n.type===e);return r&&(this.queue=this.queue.filter(n=>n!==r)),r}};var sr=S(F(),1);var da=S(F(),1);function ua(t,e){let r=()=>JSON.parse(JSON.stringify(t));return(0,da.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:(n,i)=>!oe(n,i),...e??{}})}var xo=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,r){return this.callbacks=[e],this.debounce(r)}queue(e,r){return this.callbacks.push(e),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((r,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let n=[...this.callbacks];this.callbacks=[];let i=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let c of n)try{await c()}catch(s){i(s);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var ma=S(M(),1);var vo=window,Dc=vo.ShadowRoot&&(vo.ShadyCSS===void 0||vo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Uh=Symbol();var ha=(t,e)=>{Dc?t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):e.forEach(r=>{let n=document.createElement("style"),i=vo.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)})};var So=class extends ma.LitElement{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([i,a])=>e.registry.define(i,a)));let r={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return ha(n,e.elementStyles),n}};var lr=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(a=(i<3?c(a):i>3?c(e,r,a):c(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},ba,ya=Symbol("constructorPrototype"),ga=Symbol("constructorName"),xa=Symbol("exportpartsDebouncer"),re=class extends So{constructor(){super(),this.adoptedCustomStyleSheet=new CSSStyleSheet,this.useAdoptedStyleSheets=!0,this[ba]=new xo(5),this[ga]=this.constructor.name,this[ya]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[ga]&&Object.setPrototypeOf(this,this[ya])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet])}catch(e){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",e)}}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var r,n,i;if(this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((r=this.customStylesheet)!==null&&r!==void 0?r:"")}catch(a){console.error(a,this.customStylesheet)}}else if(((i=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&i!==void 0?i:[]).forEach(a=>a.remove()),this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var e,r,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[xa].run(()=>{var i,a;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var r,n,i,a,c,s;let d=m=>m!=null&&m.trim().length>0,p=e.filter(d).map(m=>m.trim());if(p.length===0){this.removeAttribute("exportparts");return}let u=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 g=(a=(i=m.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],y=(s=(c=m.getAttribute("exportparts"))===null||c===void 0?void 0:c.split(",").map(b=>b.split(":")[1]))!==null&&s!==void 0?s:[];new Array(...g,...y).filter(d).map(b=>b.trim()).forEach(b=>u.add(b))}if(u.size===0){this.removeAttribute("exportparts");return}let h=[...u.values()].flatMap(m=>p.map(g=>`${m}:${g}--${m}`));this.setAttribute("exportparts",[...this.part,...h].join(", "))}};ba=xa;lr([(0,sr.property)()],re.prototype,"exportpartsPrefix",void 0);lr([ua([])],re.prototype,"exportpartsPrefixes",void 0);lr([(0,sr.property)()],re.prototype,"customStylesheet",void 0);function Ke(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var va,Sa,Oa,Oo=Symbol("internalReduxEventsUnsubscribers"),Mt=Symbol("internalStoresUnsubscribers"),ne=Symbol("internalStores"),Fe=class extends re{constructor(){super(...arguments),this[va]=new Map,this[Sa]=new Map,this[Oa]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(r=>e.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[ne].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[ne].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[ne].get(e)}addStore(e,r){var n;r=(n=r??(Ke(e)?e.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(r),this.setupStore(r,e)}removeStore(e){let r=typeof e=="string"?e:e.name;this.unsubscribeFromStore(r),this[ne].delete(r)}setupStore(e,r){this[ne].set(e,r),this.subscribeToStore(e,r),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[ne].forEach((e,r)=>this.subscribeToStore(r,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,r)=>{let n=this.constructor.getPropertyOptions(r);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:r)){let i=this.getStore(e.store);i&&(e.store?this[Mt].has(e.store):this[Mt].size>0)&&(this[r]=e.selector(i.getState(),this))}})}subscribeToStore(e,r){var n;this[Mt].set(e,r.subscribe(()=>this.updateFromStores())),Ke(r)&&r.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((i,a)=>{if(typeof this[a]=="function"&&(!i.store||r.name===i.store)){let c=s=>this[a](s);r.eventBus.addEventListener(i.eventName,c),this[Oo].push(()=>r.eventBus.removeEventListener(i.eventName,c))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[Mt].forEach((e,r)=>this.unsubscribeFromStore(r)),this[Oo].forEach(e=>e()),this[Oo]=[]}unsubscribeFromStore(e){this[Mt].has(e)&&this[Mt].get(e)(),this[Mt].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};va=Mt,Sa=ne,Oa=Oo;Fe.reduxProperties=new Map;Fe.reduxReactiveProperties=new Set;Fe.reduxEventListeners=new Map;function ut(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];if(0)var i,a;throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map(function(c){return"'"+c+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Tt(t){return!!t&&!!t[D]}function bt(t){var e;return!!t&&(function(r){if(!r||typeof r!="object")return!1;var n=Object.getPrototypeOf(r);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===Kc}(t)||Array.isArray(t)||!!t[Pa]||!!(!((e=t.constructor)===null||e===void 0)&&e[Pa])||br(t)||xr(t))}function ie(t,e,r){r===void 0&&(r=!1),Ee(t)===0?(r?Object.keys:we)(t).forEach(function(n){r&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,i){return e(i,n,t)})}function Ee(t){var e=t[D];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:br(t)?2:xr(t)?3:0}function Ce(t,e){return Ee(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function zc(t,e){return Ee(t)===2?t.get(e):t[e]}function La(t,e,r){var n=Ee(t);n===2?t.set(e,r):n===3?t.add(r):t[e]=r}function Ia(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function br(t){return Gc&&t instanceof Map}function xr(t){return jc&&t instanceof Set}function Ut(t){return t.o||t.t}function vr(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=ka(t);delete e[D];for(var r=we(e),n=0;n<r.length;n++){var i=r[n],a=e[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function Sr(t,e){return e===void 0&&(e=!1),Or(t)||Tt(t)||!bt(t)||(Ee(t)>1&&(t.set=t.add=t.clear=t.delete=Bc),Object.freeze(t),e&&ie(t,function(r,n){return Sr(n,!0)},!0)),t}function Bc(){ut(2)}function Or(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function wt(t){var e=gr[t];return e||ut(18,t),e}function Mc(t,e){gr[t]||(gr[t]=e)}function hr(){return Ze}function fr(t,e){e&&(wt("Patches"),t.u=[],t.s=[],t.v=e)}function Co(t){mr(t),t.p.forEach(Uc),t.p=null}function mr(t){t===Ze&&(Ze=t.l)}function Ca(t){return Ze={p:[],l:Ze,h:t,m:!0,_:0}}function Uc(t){var e=t[D];e.i===0||e.i===1?e.j():e.g=!0}function pr(t,e){e._=e.p.length;var r=e.p[0],n=t!==void 0&&t!==r;return e.h.O||wt("ES5").S(e,t,n),n?(r[D].P&&(Co(e),ut(4)),bt(t)&&(t=wo(e,t),e.l||Eo(e,t)),e.u&&wt("Patches").M(r[D].t,t,e.u,e.s)):t=wo(e,r,[]),Co(e),e.u&&e.v(e.u,e.s),t!==_a?t:void 0}function wo(t,e,r){if(Or(e))return e;var n=e[D];if(!n)return ie(e,function(s,d){return wa(t,n,e,s,d,r)},!0),e;if(n.A!==t)return e;if(!n.P)return Eo(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=vr(n.k):n.o,a=i,c=!1;n.i===3&&(a=new Set(i),i.clear(),c=!0),ie(a,function(s,d){return wa(t,n,i,s,d,r,c)}),Eo(t,i,!1),r&&t.u&&wt("Patches").N(n,r,t.u,t.s)}return n.o}function wa(t,e,r,n,i,a,c){if(Tt(i)){var s=wo(t,i,a&&e&&e.i!==3&&!Ce(e.R,n)?a.concat(n):void 0);if(La(r,n,s),!Tt(s))return;t.m=!1}else c&&r.add(i);if(bt(i)&&!Or(i)){if(!t.h.D&&t._<1)return;wo(t,i),e&&e.A.l||Eo(t,i)}}function Eo(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&Sr(e,r)}function dr(t,e){var r=t[D];return(r?Ut(r):t)[e]}function Ea(t,e){if(e in t)for(var r=Object.getPrototypeOf(t);r;){var n=Object.getOwnPropertyDescriptor(r,e);if(n)return n;r=Object.getPrototypeOf(r)}}function Ht(t){t.P||(t.P=!0,t.l&&Ht(t.l))}function ur(t){t.o||(t.o=vr(t.t))}function yr(t,e,r){var n=br(e)?wt("MapSet").F(e,r):xr(e)?wt("MapSet").T(e,r):t.O?function(i,a){var c=Array.isArray(i),s={i:c?1:0,A:a?a.A:hr(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},d=s,p=Ye;c&&(d=[s],p=Ve);var u=Proxy.revocable(d,p),h=u.revoke,m=u.proxy;return s.k=m,s.j=h,m}(e,r):wt("ES5").J(e,r);return(r?r.A:hr()).p.push(n),n}function Hc(t){return Tt(t)||ut(22,t),function e(r){if(!bt(r))return r;var n,i=r[D],a=Ee(r);if(i){if(!i.P&&(i.i<4||!wt("ES5").K(i)))return i.t;i.I=!0,n=Na(r,a),i.I=!1}else n=Na(r,a);return ie(n,function(c,s){i&&zc(i.t,c)===s||La(n,c,e(s))}),a===3?new Set(n):n}(t)}function Na(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return vr(t)}function Ta(){function t(c,s){var d=a[c];return d?d.enumerable=s:a[c]=d={configurable:!0,enumerable:s,get:function(){var p=this[D];return Ye.get(p,c)},set:function(p){var u=this[D];Ye.set(u,c,p)}},d}function e(c){for(var s=c.length-1;s>=0;s--){var d=c[s][D];if(!d.P)switch(d.i){case 5:n(d)&&Ht(d);break;case 4:r(d)&&Ht(d)}}}function r(c){for(var s=c.t,d=c.k,p=we(d),u=p.length-1;u>=0;u--){var h=p[u];if(h!==D){var m=s[h];if(m===void 0&&!Ce(s,h))return!0;var g=d[h],y=g&&g[D];if(y?y.t!==m:!Ia(g,m))return!0}}var b=!!s[D];return p.length!==we(s).length+(b?0:1)}function n(c){var s=c.k;if(s.length!==c.t.length)return!0;var d=Object.getOwnPropertyDescriptor(s,s.length-1);if(d&&!d.get)return!0;for(var p=0;p<s.length;p++)if(!s.hasOwnProperty(p))return!0;return!1}function i(c){c.g&&ut(3,JSON.stringify(Ut(c)))}var a={};Mc("ES5",{J:function(c,s){var d=Array.isArray(c),p=function(h,m){if(h){for(var g=Array(m.length),y=0;y<m.length;y++)Object.defineProperty(g,""+y,t(y,!0));return g}var b=ka(m);delete b[D];for(var N=we(b),C=0;C<N.length;C++){var w=N[C];b[w]=t(w,h||!!b[w].enumerable)}return Object.create(Object.getPrototypeOf(m),b)}(d,c),u={i:d?5:4,A:s?s.A:hr(),P:!1,I:!1,R:{},l:s,t:c,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,D,{value:u,writable:!0}),p},S:function(c,s,d){d?Tt(s)&&s[D].A===c&&e(c.p):(c.u&&function p(u){if(u&&typeof u=="object"){var h=u[D];if(h){var m=h.t,g=h.k,y=h.R,b=h.i;if(b===4)ie(g,function(L){L!==D&&(m[L]!==void 0||Ce(m,L)?y[L]||p(g[L]):(y[L]=!0,Ht(h)))}),ie(m,function(L){g[L]!==void 0||Ce(g,L)||(y[L]=!1,Ht(h))});else if(b===5){if(n(h)&&(Ht(h),y.length=!0),g.length<m.length)for(var N=g.length;N<m.length;N++)y[N]=!1;else for(var C=m.length;C<g.length;C++)y[C]=!0;for(var w=Math.min(g.length,m.length),R=0;R<w;R++)g.hasOwnProperty(R)||(y[R]=!0),y[R]===void 0&&p(g[R])}}}}(c.p[0]),e(c.p))},K:function(c){return c.i===4?r(c):n(c)}})}var Ra,Ze,Cr=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Gc=typeof Map<"u",jc=typeof Set<"u",Aa=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",_a=Cr?Symbol.for("immer-nothing"):((Ra={})["immer-nothing"]=!0,Ra),Pa=Cr?Symbol.for("immer-draftable"):"__$immer_draftable",D=Cr?Symbol.for("immer-state"):"__$immer_state";var Kc=""+Object.prototype.constructor,we=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,ka=Object.getOwnPropertyDescriptors||function(t){var e={};return we(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},gr={},Ye={get:function(t,e){if(e===D)return t;var r=Ut(t);if(!Ce(r,e))return function(i,a,c){var s,d=Ea(a,c);return d?"value"in d?d.value:(s=d.get)===null||s===void 0?void 0:s.call(i.k):void 0}(t,r,e);var n=r[e];return t.I||!bt(n)?n:n===dr(t.t,e)?(ur(t),t.o[e]=yr(t.A.h,n,t)):n},has:function(t,e){return e in Ut(t)},ownKeys:function(t){return Reflect.ownKeys(Ut(t))},set:function(t,e,r){var n=Ea(Ut(t),e);if(n?.set)return n.set.call(t.k,r),!0;if(!t.P){var i=dr(Ut(t),e),a=i?.[D];if(a&&a.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(Ia(r,i)&&(r!==void 0||Ce(t.t,e)))return!0;ur(t),Ht(t)}return t.o[e]===r&&(r!==void 0||e in t.o)||Number.isNaN(r)&&Number.isNaN(t.o[e])||(t.o[e]=r,t.R[e]=!0),!0},deleteProperty:function(t,e){return dr(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,ur(t),Ht(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=Ut(t),n=Reflect.getOwnPropertyDescriptor(r,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:r[e]}},defineProperty:function(){ut(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){ut(12)}},Ve={};ie(Ye,function(t,e){Ve[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),Ve.deleteProperty=function(t,e){return Ve.set.call(this,t,e,void 0)},Ve.set=function(t,e,r){return Ye.set.call(this,t[0],e,r,t[0])};var Fc=function(){function t(r){var n=this;this.O=Aa,this.D=!0,this.produce=function(i,a,c){if(typeof i=="function"&&typeof a!="function"){var s=a;a=i;var d=n;return function(b){var N=this;b===void 0&&(b=s);for(var C=arguments.length,w=Array(C>1?C-1:0),R=1;R<C;R++)w[R-1]=arguments[R];return d.produce(b,function(L){var k;return(k=a).call.apply(k,[N,L].concat(w))})}}var p;if(typeof a!="function"&&ut(6),c!==void 0&&typeof c!="function"&&ut(7),bt(i)){var u=Ca(n),h=yr(n,i,void 0),m=!0;try{p=a(h),m=!1}finally{m?Co(u):mr(u)}return typeof Promise<"u"&&p instanceof Promise?p.then(function(b){return fr(u,c),pr(b,u)},function(b){throw Co(u),b}):(fr(u,c),pr(p,u))}if(!i||typeof i!="object"){if((p=a(i))===void 0&&(p=i),p===_a&&(p=void 0),n.D&&Sr(p,!0),c){var g=[],y=[];wt("Patches").M(i,p,g,y),c(g,y)}return p}ut(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(p){for(var u=arguments.length,h=Array(u>1?u-1:0),m=1;m<u;m++)h[m-1]=arguments[m];return n.produceWithPatches(p,function(g){return i.apply(void 0,[g].concat(h))})};var c,s,d=n.produce(i,a,function(p,u){c=p,s=u});return typeof Promise<"u"&&d instanceof Promise?d.then(function(p){return[p,c,s]}):[d,c,s]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var e=t.prototype;return e.createDraft=function(r){bt(r)||ut(8),Tt(r)&&(r=Hc(r));var n=Ca(this),i=yr(this,r,void 0);return i[D].C=!0,mr(n),i},e.finishDraft=function(r,n){var i=r&&r[D],a=i.A;return fr(a,n),pr(void 0,a)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!Aa&&ut(20),this.O=r},e.applyPatches=function(r,n){var i;for(i=n.length-1;i>=0;i--){var a=n[i];if(a.path.length===0&&a.op==="replace"){r=a.value;break}}i>-1&&(n=n.slice(i+1));var c=wt("Patches").$;return Tt(r)?c(r,n):this.produce(r,function(s){return c(s,n)})},t}(),lt=new Fc,Vc=lt.produce,Qh=lt.produceWithPatches.bind(lt),tm=lt.setAutoFreeze.bind(lt),em=lt.setUseProxies.bind(lt),om=lt.applyPatches.bind(lt),rm=lt.createDraft.bind(lt),nm=lt.finishDraft.bind(lt),No=Vc;function Gt(t){"@babel/helpers - typeof";return Gt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Gt(t)}function wr(t,e){if(Gt(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(Gt(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Er(t){var e=wr(t,"string");return Gt(e)==="symbol"?e:String(e)}function Nr(t,e,r){return e=Er(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Wa(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Ro(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Wa(Object(r),!0).forEach(function(n){Nr(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Wa(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Z(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var $a=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Rr=function(){return Math.random().toString(36).substring(7).split("").join(".")},Ao={INIT:"@@redux/INIT"+Rr(),REPLACE:"@@redux/REPLACE"+Rr(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Rr()}};function Zc(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function Ar(t,e,r){var n;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(Z(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(Z(1));return r(Ar)(t,e)}if(typeof t!="function")throw new Error(Z(2));var i=t,a=e,c=[],s=c,d=!1;function p(){s===c&&(s=c.slice())}function u(){if(d)throw new Error(Z(3));return a}function h(b){if(typeof b!="function")throw new Error(Z(4));if(d)throw new Error(Z(5));var N=!0;return p(),s.push(b),function(){if(N){if(d)throw new Error(Z(6));N=!1,p();var w=s.indexOf(b);s.splice(w,1),c=null}}}function m(b){if(!Zc(b))throw new Error(Z(7));if(typeof b.type>"u")throw new Error(Z(8));if(d)throw new Error(Z(9));try{d=!0,a=i(a,b)}finally{d=!1}for(var N=c=s,C=0;C<N.length;C++){var w=N[C];w()}return b}function g(b){if(typeof b!="function")throw new Error(Z(10));i=b,m({type:Ao.REPLACE})}function y(){var b,N=h;return b={subscribe:function(w){if(typeof w!="object"||w===null)throw new Error(Z(11));function R(){w.next&&w.next(u())}R();var L=N(R);return{unsubscribe:L}}},b[$a]=function(){return this},b}return m({type:Ao.INIT}),n={dispatch:m,subscribe:h,getState:u,replaceReducer:g},n[$a]=y,n}function Yc(t){Object.keys(t).forEach(function(e){var r=t[e],n=r(void 0,{type:Ao.INIT});if(typeof n>"u")throw new Error(Z(12));if(typeof r(void 0,{type:Ao.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Z(13))})}function Da(t){for(var e=Object.keys(t),r={},n=0;n<e.length;n++){var i=e[n];typeof t[i]=="function"&&(r[i]=t[i])}var a=Object.keys(r),c,s;try{Yc(r)}catch(d){s=d}return function(p,u){if(p===void 0&&(p={}),s)throw s;if(0)var h;for(var m=!1,g={},y=0;y<a.length;y++){var b=a[y],N=r[b],C=p[b],w=N(C,u);if(typeof w>"u"){var R=u&&u.type;throw new Error(Z(14))}g[b]=w,m=m||w!==C}return m=m||a.length!==Object.keys(p).length,m?g:p}}function Ne(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.length===0?function(n){return n}:e.length===1?e[0]:e.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function za(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(Z(15))},c={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},s=e.map(function(d){return d(c)});return a=Ne.apply(void 0,s)(i.dispatch),Ro(Ro({},i),{},{dispatch:a})}}}function Ba(t){var e=function(n){var i=n.dispatch,a=n.getState;return function(c){return function(s){return typeof s=="function"?s(i,a,t):c(s)}}};return e}var Ma=Ba();Ma.withExtraArgument=Ba;var Pr=Ma;var Ka=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),qc=function(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,c;return c={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function s(p){return function(u){return d([p,u])}}function d(p){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(a=p[0]&2?i.return:p[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,p[1])).done)return a;switch(i=0,a&&(p=[p[0]&2,a.value]),p[0]){case 0:case 1:a=p;break;case 4:return r.label++,{value:p[1],done:!1};case 5:r.label++,i=p[1],p=[0];continue;case 7:p=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(p[0]===6||p[0]===2)){r=0;continue}if(p[0]===3&&(!a||p[1]>a[0]&&p[1]<a[3])){r.label=p[1];break}if(p[0]===6&&r.label<a[1]){r.label=a[1],a=p;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(p);break}a[2]&&r.ops.pop(),r.trys.pop();continue}p=e.call(t,r)}catch(u){p=[6,u],i=0}finally{n=a=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},Re=function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t},Xc=Object.defineProperty,Jc=Object.defineProperties,Qc=Object.getOwnPropertyDescriptors,Ua=Object.getOwnPropertySymbols,tl=Object.prototype.hasOwnProperty,el=Object.prototype.propertyIsEnumerable,Ha=function(t,e,r){return e in t?Xc(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},jt=function(t,e){for(var r in e||(e={}))tl.call(e,r)&&Ha(t,r,e[r]);if(Ua)for(var n=0,i=Ua(e);n<i.length;n++){var r=i[n];el.call(e,r)&&Ha(t,r,e[r])}return t},Lr=function(t,e){return Jc(t,Qc(e))},ol=function(t,e,r){return new Promise(function(n,i){var a=function(d){try{s(r.next(d))}catch(p){i(p)}},c=function(d){try{s(r.throw(d))}catch(p){i(p)}},s=function(d){return d.done?n(d.value):Promise.resolve(d.value).then(a,c)};s((r=r.apply(t,e)).next())})};var rl=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Ne:Ne.apply(null,arguments)},Om=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function nl(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return e===r}var il=function(t){Ka(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=t.apply(this,r)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return t.prototype.concat.apply(this,r)},e.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(e.bind.apply(e,Re([void 0],r[0].concat(this)))):new(e.bind.apply(e,Re([void 0],r.concat(this))))},e}(Array),al=function(t){Ka(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=t.apply(this,r)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return t.prototype.concat.apply(this,r)},e.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(e.bind.apply(e,Re([void 0],r[0].concat(this)))):new(e.bind.apply(e,Re([void 0],r.concat(this))))},e}(Array);function _r(t){return bt(t)?No(t,function(){}):t}function cl(t){return typeof t=="boolean"}function ll(){return function(e){return sl(e)}}function sl(t){t===void 0&&(t={});var e=t.thunk,r=e===void 0?!0:e,n=t.immutableCheck,i=n===void 0?!0:n,a=t.serializableCheck,c=a===void 0?!0:a,s=new il;if(r&&(cl(r)?s.push(Pr):s.push(Pr.withExtraArgument(r.extraArgument))),0){if(i)var d;if(c)var p}return s}var Ir=!0;function Fa(t){var e=ll(),r=t||{},n=r.reducer,i=n===void 0?void 0:n,a=r.middleware,c=a===void 0?e():a,s=r.devTools,d=s===void 0?!0:s,p=r.preloadedState,u=p===void 0?void 0:p,h=r.enhancers,m=h===void 0?void 0:h,g;if(typeof i=="function")g=i;else if(nl(i))g=Da(i);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 y=c;if(typeof y=="function"&&(y=y(e),!Ir&&!Array.isArray(y)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Ir&&y.some(function(L){return typeof L!="function"}))throw new Error("each middleware provided to configureStore must be a function");var b=za.apply(void 0,y),N=Ne;d&&(N=rl(jt({trace:!Ir},typeof d=="object"&&d)));var C=new al(b),w=C;Array.isArray(m)?w=Re([b],m):typeof m=="function"&&(w=m(C));var R=N.apply(void 0,w);return Ar(g,u,R)}function Kt(t,e){function r(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(e){var a=e.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return jt(jt({type:t,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:t,payload:n[0]}}return r.toString=function(){return""+t},r.type=t,r.match=function(n){return n.type===t},r}function Va(t){var e={},r=[],n,i={addCase:function(a,c){var s=typeof a=="string"?a:a.type;if(s in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[s]=c,i},addMatcher:function(a,c){return r.push({matcher:a,reducer:c}),i},addDefaultCase:function(a){return n=a,i}};return t(i),[e,r,n]}function fl(t){return typeof t=="function"}function pl(t,e,r,n){r===void 0&&(r=[]);var i=typeof e=="function"?Va(e):[e,r,n],a=i[0],c=i[1],s=i[2],d;if(fl(t))d=function(){return _r(t())};else{var p=_r(t);d=function(){return p}}function u(h,m){h===void 0&&(h=d());var g=Re([a[m.type]],c.filter(function(y){var b=y.matcher;return b(m)}).map(function(y){var b=y.reducer;return b}));return g.filter(function(y){return!!y}).length===0&&(g=[s]),g.reduce(function(y,b){if(b)if(Tt(y)){var N=y,C=b(N,m);return C===void 0?y:C}else{if(bt(y))return No(y,function(w){return b(w,m)});var C=b(y,m);if(C===void 0){if(y===null)return y;throw Error("A case reducer on a non-draftable value must not return undefined")}return C}return y},h)}return u.getInitialState=d,u}function dl(t,e){return t+"/"+e}function Za(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof t.initialState=="function"?t.initialState:_r(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},c={},s={};i.forEach(function(u){var h=n[u],m=dl(e,u),g,y;"reducer"in h?(g=h.reducer,y=h.prepare):g=h,a[u]=g,c[m]=g,s[u]=y?Kt(m,y):Kt(m)});function d(){var u=typeof t.extraReducers=="function"?Va(t.extraReducers):[t.extraReducers],h=u[0],m=h===void 0?{}:h,g=u[1],y=g===void 0?[]:g,b=u[2],N=b===void 0?void 0:b,C=jt(jt({},m),c);return pl(r,function(w){for(var R in C)w.addCase(R,C[R]);for(var L=0,k=y;L<k.length;L++){var st=k[L];w.addMatcher(st.matcher,st.reducer)}N&&w.addDefaultCase(N)})}var p;return{name:e,reducer:function(u,h){return p||(p=d()),p(u,h)},actions:s,caseReducers:a,getInitialState:function(){return p||(p=d()),p.getInitialState()}}}var ul="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",hl=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=ul[Math.random()*64|0];return e},ml=["name","message","stack","code"],Tr=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),Ga=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),yl=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,n=ml;r<n.length;r++){var i=n[r];typeof t[i]=="string"&&(e[i]=t[i])}return e}return{message:String(t)}},Nm=function(){function t(e,r,n){var i=Kt(e+"/fulfilled",function(u,h,m,g){return{payload:u,meta:Lr(jt({},g||{}),{arg:m,requestId:h,requestStatus:"fulfilled"})}}),a=Kt(e+"/pending",function(u,h,m){return{payload:void 0,meta:Lr(jt({},m||{}),{arg:h,requestId:u,requestStatus:"pending"})}}),c=Kt(e+"/rejected",function(u,h,m,g,y){return{payload:g,error:(n&&n.serializeError||yl)(u||"Rejected"),meta:Lr(jt({},y||{}),{arg:m,requestId:h,rejectedWithValue:!!g,requestStatus:"rejected",aborted:u?.name==="AbortError",condition:u?.name==="ConditionError"})}}),s=!1,d=typeof AbortController<"u"?AbortController:function(){function u(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return u.prototype.abort=function(){},u}();function p(u){return function(h,m,g){var y=n?.idGenerator?n.idGenerator(u):hl(),b=new d,N,C=!1;function w(L){N=L,b.abort()}var R=function(){return ol(this,null,function(){var L,k,st,_t,To,kt,ot;return qc(this,function(ft){switch(ft.label){case 0:return ft.trys.push([0,4,,5]),_t=(L=n?.condition)==null?void 0:L.call(n,u,{getState:m,extra:g}),bl(_t)?[4,_t]:[3,2];case 1:_t=ft.sent(),ft.label=2;case 2:if(_t===!1||b.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return C=!0,To=new Promise(function(rt,Vt){return b.signal.addEventListener("abort",function(){return Vt({name:"AbortError",message:N||"Aborted"})})}),h(a(y,u,(k=n?.getPendingMeta)==null?void 0:k.call(n,{requestId:y,arg:u},{getState:m,extra:g}))),[4,Promise.race([To,Promise.resolve(r(u,{dispatch:h,getState:m,extra:g,requestId:y,signal:b.signal,abort:w,rejectWithValue:function(rt,Vt){return new Tr(rt,Vt)},fulfillWithValue:function(rt,Vt){return new Ga(rt,Vt)}})).then(function(rt){if(rt instanceof Tr)throw rt;return rt instanceof Ga?i(rt.payload,y,u,rt.meta):i(rt,y,u)})])];case 3:return st=ft.sent(),[3,5];case 4:return kt=ft.sent(),st=kt instanceof Tr?c(null,y,u,kt.payload,kt.meta):c(kt,y,u),[3,5];case 5:return ot=n&&!n.dispatchConditionRejection&&c.match(st)&&st.meta.condition,ot||h(st),[2,st]}})})}();return Object.assign(R,{abort:w,requestId:y,arg:u,unwrap:function(){return R.then(gl)}})}}return Object.assign(p,{pending:a,rejected:c,fulfilled:i,typePrefix:e})}return t.withTypes=function(){return t},t}();function gl(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function bl(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var Ya="listener",qa="completed",Xa="cancelled",Rm="task-"+Xa,Am="task-"+qa,Pm=Ya+"-"+Xa,Lm=Ya+"-"+qa;var kr="listenerMiddleware";var Im=Kt(kr+"/add"),Tm=Kt(kr+"/removeAll"),_m=Kt(kr+"/remove");var ja,km=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(ja||(ja=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},xl=function(t){return function(e){setTimeout(e,t)}},Wm=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:xl(10);Ta();window.ftReduxStores||(window.ftReduxStores={});var Ja=class t{static get(e){var r;let n=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,a=window.ftReduxStores[n];if(Ke(a))return a;if(i==null)return;let c=Za({...i,reducers:(r=i.reducers)!==null&&r!==void 0?r:{}}),s=Fa({reducer:(d,p)=>p.type==="CLEAR_FT_REDUX_STORE"?c.getInitialState():typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...p.overwrites}:c.reducer(d,p)});return window.ftReduxStores[i.name]=new t(c,s)}constructor(e,r){this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new bo,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,i,a)=>{let c=i,s=n[c];return s?(...d)=>{let p=s(...d);return this.reduxStore.dispatch(p),p}:d=>{this.setState({[c]:d})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};var Po=class{static format(e,r,n,i){return window.moment?window.moment(e).locale(r).format(this.getDateFormat(n,i)):e}static getDateFormat(e,r){return e?r?"lll":"ll":r?"L LT":"L"}};var Qa=S(_()),vl="ft-app-info",Sl={},Lo=Qa.FtReduxStore.get({name:vl,reducers:Sl,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 Io=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(a=(i<3?c(a):i>3?c(e,r,a):c(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a};function tc(t){class e extends t{constructor(...n){super(n),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(Lo)}dateFormatOptionsChanged(n){return n.has("metadataDescriptors")||n.has("useLongDateFormat")||n.has("useDateTimeFormat")||n.has("uiLocale")}formatDateValues(n){var i,a;return((a=(i=this.metadataDescriptors.find(s=>s.key===n?.key))===null||i===void 0?void 0:i.date)!==null&&a!==void 0?a:!1)?this.formatMetadataDates(n):n}formatMetadataDates(n){return{key:n.key,label:n.label,values:n.values.map(i=>Po.format(i,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat)),hierarchicalValues:n.hierarchicalValues}}}return Io([(0,Wr.property)({type:Boolean})],e.prototype,"useLongDateFormat",void 0),Io([(0,Wr.property)({type:Boolean})],e.prototype,"useDateTimeFormat",void 0),Io([cr({store:Lo.name,selector:r=>{var n,i;return(i=(n=r.metadataConfiguration)===null||n===void 0?void 0:n.descriptors)!==null&&i!==void 0?i:[]}})],e.prototype,"metadataDescriptors",void 0),Io([cr({store:Lo.name})],e.prototype,"uiLocale",void 0),e}var Ae=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(c=t[s])&&(a=(i<3?c(a):i>3?c(e,r,a):c(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},mt=class extends tc(Xe){constructor(){super(...arguments),this.multiLine=!1,this.displayLabel=!1,this.editorMode=!1}render(){return ht.html`
|
|
962
962
|
${this.renderChip()}
|
|
963
963
|
${this.hideIfEmpty()}
|
|
964
|
-
`}renderChip(){var
|
|
964
|
+
`}renderChip(){var e,r,n;let i=ht.html`
|
|
965
965
|
<ft-chip part="chip"
|
|
966
966
|
exportpartsPrefix="chip"
|
|
967
967
|
?multiLine=${this.multiLine}>
|
|
968
|
-
${this.displayLabel?
|
|
969
|
-
<span part="label">${(
|
|
970
|
-
`:
|
|
968
|
+
${this.displayLabel?ht.html`
|
|
969
|
+
<span part="label">${(e=this.flatMetadata)===null||e===void 0?void 0:e.label}: </span>
|
|
970
|
+
`:ht.nothing}
|
|
971
971
|
<span part="values">${this.metadataValues()}</span>
|
|
972
972
|
</ft-chip>
|
|
973
|
-
`;return this.displayLabel&&((r=this.flatMetadata)===null||r===void 0?void 0:r.value)==((
|
|
973
|
+
`;return this.displayLabel&&((r=this.flatMetadata)===null||r===void 0?void 0:r.value)==((n=this.flatMetadata)===null||n===void 0?void 0:n.displayValue)?i:ht.html`
|
|
974
974
|
<ft-tooltip part="tooltip" text="${this.tooltipText}">
|
|
975
|
-
${
|
|
975
|
+
${i}
|
|
976
976
|
</ft-tooltip>
|
|
977
|
-
`}metadataValues(){var
|
|
977
|
+
`}metadataValues(){var e;return this.flatMetadata?ht.html`${(e=this.flatMetadata)===null||e===void 0?void 0:e.displayValue}`:this.key?ht.html`no value for ${this.key}`:ht.html`no metadata selected`}hideIfEmpty(){return!this.editorMode&&!this.flatMetadata?ht.html`
|
|
978
978
|
<style>
|
|
979
979
|
:host {
|
|
980
980
|
display: none !important;
|
|
981
981
|
}
|
|
982
982
|
</style>
|
|
983
|
-
`:
|
|
983
|
+
`:ht.nothing}get tooltipText(){return this.flatMetadata?this.flatMetadata.label+": "+this.flatMetadata.value:""}update(e){super.update(e),["key","tocNode"].some(r=>e.has(r))&&this.updateContent(),(e.has("metadata")||this.dateFormatOptionsChanged(e))&&(this.flatMetadata=ec.ClusteringHelper.flattenMetadata(this.formatDateValues(this.metadata)))}onStoreAvailable(){super.onStoreAvailable(),this.updateContent()}updateContent(){var e;this.metadata=void 0,this.tocNode&&this.key&&((e=this.service)===null||e===void 0||e.getTopicInfo(this.tocNode).then(r=>this.metadata=r.metadata.find(n=>n.key===this.key)).catch(()=>null))}};mt.elementDefinitions={"ft-tooltip":W,"ft-chip":B};mt.styles=Ur;Ae([(0,Ft.property)()],mt.prototype,"key",void 0);Ae([(0,Ft.property)({type:Boolean})],mt.prototype,"multiLine",void 0);Ae([(0,Ft.property)({type:Boolean})],mt.prototype,"displayLabel",void 0);Ae([(0,Ft.state)()],mt.prototype,"editorMode",void 0);Ae([(0,Ft.state)()],mt.prototype,"metadata",void 0);Ae([(0,Ft.state)()],mt.prototype,"flatMetadata",void 0);(0,oc.customElement)("ft-reader-topic-metadata")(mt);})();
|
|
984
984
|
/*! Bundled license information:
|
|
985
985
|
|
|
986
986
|
lit-html/lit-html.js:
|
|
@@ -996,4 +996,11 @@ lit-html/static.js:
|
|
|
996
996
|
* Copyright 2020 Google LLC
|
|
997
997
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
998
998
|
*)
|
|
999
|
+
|
|
1000
|
+
@lit/reactive-element/css-tag.js:
|
|
1001
|
+
(**
|
|
1002
|
+
* @license
|
|
1003
|
+
* Copyright 2019 Google LLC
|
|
1004
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1005
|
+
*)
|
|
999
1006
|
*/
|