@fluid-topics/ft-tabs 1.0.59 → 1.0.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ft-tabs.light.js +139 -132
- package/build/ft-tabs.min.js +162 -155
- package/package.json +7 -7
package/build/ft-tabs.light.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
!function(t,
|
|
1
|
+
!function(t,o,e,r,a,i,n){var l=function(t,o,e,r){for(var a,i=arguments.length,n=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(n=(i<3?a(n):i>3?a(o,e,n):a(o,e))||n);return i>3&&n&&Object.defineProperty(o,e,n),n};class c extends o.FtLitElement{constructor(){super(...arguments),this.label="",this.icon="",this.active=!1,this.disabled=!1,this.uniqueId=(""+Math.floor(1e5*Math.random())).padStart(5,"0")}render(){return e.html`
|
|
2
2
|
<style>
|
|
3
3
|
:host {
|
|
4
4
|
display: ${e.unsafeCSS(this.active?"block":"none")};
|
|
5
5
|
}
|
|
6
6
|
</style>
|
|
7
7
|
<slot></slot>
|
|
8
|
-
`}update(t){super.update(t),this.id||(this.id="tab-"+this.uniqueId),this.ariaLabelledBy=this.id+"-control"}updated(t){super.updated(t),this.dispatchEvent(new Event("updated"))}}
|
|
8
|
+
`}update(t){super.update(t),this.id||(this.id="tab-"+this.uniqueId),this.ariaLabelledBy=this.id+"-control"}updated(t){super.updated(t),this.dispatchEvent(new Event("updated"))}}c.elementDefinitions={},l([r.property({type:String})],c.prototype,"label",void 0),l([r.property({type:String})],c.prototype,"icon",void 0),l([r.property()],c.prototype,"iconVariant",void 0),l([r.property({type:Boolean,reflect:!0})],c.prototype,"active",void 0),l([r.property({type:Boolean})],c.prototype,"disabled",void 0),l([r.property({reflect:!0})],c.prototype,"id",void 0),l([r.property()],c.prototype,"color",void 0),l([r.property()],c.prototype,"rippleColor",void 0),l([r.property({reflect:!0,attribute:"aria-labelledby"})],c.prototype,"ariaLabelledBy",void 0);const p=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorContent),s=p,f=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",p),h=o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),d=o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),g=o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),y=o.FtCssVariableFactory.external(o.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),b=o.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px"),u=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorPrimary),m=u,x=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",u),O=o.FtCssVariableFactory.extend("--ft-ripple-color","",o.designSystemVariables.colorSecondary),N=O,v=o.FtCssVariableFactory.extend("--ft-ripple-background-color","",O),S=e.css`
|
|
9
9
|
:host {
|
|
10
10
|
display: contents;
|
|
11
11
|
}
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
|
|
19
19
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
20
20
|
overflow: hidden;
|
|
21
|
-
border-radius: ${
|
|
21
|
+
border-radius: ${b};
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
.ft-ripple .ft-ripple--background,
|
|
@@ -56,23 +56,23 @@
|
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
.ft-ripple .ft-ripple--effect {
|
|
59
|
-
background-color: ${
|
|
59
|
+
background-color: ${s};
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
63
|
-
background-color: ${
|
|
63
|
+
background-color: ${v};
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
67
|
-
background-color: ${
|
|
67
|
+
background-color: ${N};
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
71
|
-
background-color: ${
|
|
71
|
+
background-color: ${x};
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
75
|
-
background-color: ${
|
|
75
|
+
background-color: ${m};
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
.ft-ripple .ft-ripple--background {
|
|
@@ -106,137 +106,144 @@
|
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
109
|
-
opacity: ${
|
|
109
|
+
opacity: ${y};
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
113
|
-
opacity: ${
|
|
113
|
+
opacity: ${g};
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
117
|
-
opacity: ${
|
|
117
|
+
opacity: ${h};
|
|
118
118
|
transform: translate(-50%, -50%) scale(1);
|
|
119
119
|
}
|
|
120
|
-
`;var
|
|
120
|
+
`;var C,w=function(t,o,e,r){for(var a,i=arguments.length,n=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(n=(i<3?a(n):i>3?a(o,e,n):a(o,e))||n);return i>3&&n&&Object.defineProperty(o,e,n),n};class I extends o.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 o.Debouncer(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new o.Debouncer(10),this.moveRipple=t=>{var o,e;let{x:r,y:a}=this.getCoordinates(t),i=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=r?r-i.x:i.width/2),this.originY=Math.round(null!=a?a-i.y:i.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"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 e.html`
|
|
121
121
|
<style>
|
|
122
122
|
.ft-ripple .ft-ripple--effect {
|
|
123
123
|
left: ${this.originX}px;
|
|
124
124
|
top: ${this.originY}px;
|
|
125
125
|
}
|
|
126
126
|
</style>
|
|
127
|
-
<div class="${
|
|
127
|
+
<div class="${i.classMap(t)}">
|
|
128
128
|
<div class="ft-ripple--background"></div>
|
|
129
129
|
<div class="ft-ripple--effect"></div>
|
|
130
130
|
</div>
|
|
131
|
-
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var i,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(i=this.target)||void 0===i||i.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.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 t,i;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(i=this.target)&&void 0!==i?i:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const i=(...t)=>i=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(i)},e=i("mouseup","contextmenu"),o=i("touchend","touchcancel"),s=t=>{["Enter"," "].includes(t.key)&&i("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",o),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",s),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",o),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",s),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const i=t,e=t;let o,s;return null!=i.x?({x:o,y:s}=i):null!=e.touches&&(o=e.touches[0].clientX,s=e.touches[0].clientY),{x:o,y:s}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let i of t.composedPath()){if(i===this.target)break;if("hasAttribute"in i&&i.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}N.elementDefinitions={},N.styles=k,j([o.property({type:Boolean})],N.prototype,"primary",void 0),j([o.property({type:Boolean})],N.prototype,"secondary",void 0),j([o.property({type:Boolean})],N.prototype,"unbounded",void 0),j([o.property({type:Boolean})],N.prototype,"activated",void 0),j([o.property({type:Boolean})],N.prototype,"selected",void 0),j([o.property({type:Boolean})],N.prototype,"disabled",void 0),j([o.state()],N.prototype,"hovered",void 0),j([o.state()],N.prototype,"focused",void 0),j([o.state()],N.prototype,"pressed",void 0),j([o.state()],N.prototype,"rippling",void 0),j([o.state()],N.prototype,"originX",void 0),j([o.state()],N.prototype,"originY",void 0),j([o.query(".ft-ripple")],N.prototype,"ripple",void 0),j([o.query(".ft-ripple--effect")],N.prototype,"rippleEffect",void 0),i.customElement("ft-ripple")(N);const O=window,I=O.trustedTypes,S=I?I.createPolicy("lit-html",{createHTML:t=>t}):void 0,C="$lit$",A=`lit$${(Math.random()+"").slice(9)}$`,E="?"+A,M=`<${E}>`,T=document,_=()=>T.createComment(""),B=t=>null===t||"object"!=typeof t&&"function"!=typeof t,U=Array.isArray,D="[ \t\n\f\r]",F=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,R=/-->/g,W=/>/g,Z=RegExp(`>|${D}(?:([^\\s"'>=/]+)(${D}*=${D}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),G=/'/g,K=/"/g,L=/^(?:script|style|textarea|title)$/i,H=(t=>(i,...e)=>({_$litType$:t,strings:i,values:e}))(1),P=Symbol.for("lit-noChange"),q=Symbol.for("lit-nothing"),V=new WeakMap,X=T.createTreeWalker(T,129,null,!1),Y=(t,i)=>{const e=t.length-1,o=[];let s,n=2===i?"<svg>":"",r=F;for(let i=0;i<e;i++){const e=t[i];let a,l,p=-1,h=0;for(;h<e.length&&(r.lastIndex=h,l=r.exec(e),null!==l);)h=r.lastIndex,r===F?"!--"===l[1]?r=R:void 0!==l[1]?r=W:void 0!==l[2]?(L.test(l[2])&&(s=RegExp("</"+l[2],"g")),r=Z):void 0!==l[3]&&(r=Z):r===Z?">"===l[0]?(r=null!=s?s:F,p=-1):void 0===l[1]?p=-2:(p=r.lastIndex-l[2].length,a=l[1],r=void 0===l[3]?Z:'"'===l[3]?K:G):r===K||r===G?r=Z:r===R||r===W?r=F:(r=Z,s=void 0);const f=r===Z&&t[i+1].startsWith("/>")?" ":"";n+=r===F?e+M:p>=0?(o.push(a),e.slice(0,p)+C+e.slice(p)+A+f):e+A+(-2===p?(o.push(void 0),i):f)}const a=n+(t[e]||"<?>")+(2===i?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==S?S.createHTML(a):a,o]};class J{constructor({strings:t,_$litType$:i},e){let o;this.parts=[];let s=0,n=0;const r=t.length-1,a=this.parts,[l,p]=Y(t,i);if(this.el=J.createElement(l,e),X.currentNode=this.el.content,2===i){const t=this.el.content,i=t.firstChild;i.remove(),t.append(...i.childNodes)}for(;null!==(o=X.nextNode())&&a.length<r;){if(1===o.nodeType){if(o.hasAttributes()){const t=[];for(const i of o.getAttributeNames())if(i.endsWith(C)||i.startsWith(A)){const e=p[n++];if(t.push(i),void 0!==e){const t=o.getAttribute(e.toLowerCase()+C).split(A),i=/([.?@])?(.*)/.exec(e);a.push({type:1,index:s,name:i[2],strings:t,ctor:"."===i[1]?ot:"?"===i[1]?nt:"@"===i[1]?rt:et})}else a.push({type:6,index:s})}for(const i of t)o.removeAttribute(i)}if(L.test(o.tagName)){const t=o.textContent.split(A),i=t.length-1;if(i>0){o.textContent=I?I.emptyScript:"";for(let e=0;e<i;e++)o.append(t[e],_()),X.nextNode(),a.push({type:2,index:++s});o.append(t[i],_())}}}else if(8===o.nodeType)if(o.data===E)a.push({type:2,index:s});else{let t=-1;for(;-1!==(t=o.data.indexOf(A,t+1));)a.push({type:7,index:s}),t+=A.length-1}s++}}static createElement(t,i){const e=T.createElement("template");return e.innerHTML=t,e}}function Q(t,i,e=t,o){var s,n,r,a;if(i===P)return i;let l=void 0!==o?null===(s=e._$Co)||void 0===s?void 0:s[o]:e._$Cl;const p=B(i)?void 0:i._$litDirective$;return(null==l?void 0:l.constructor)!==p&&(null===(n=null==l?void 0:l._$AO)||void 0===n||n.call(l,!1),void 0===p?l=void 0:(l=new p(t),l._$AT(t,e,o)),void 0!==o?(null!==(r=(a=e)._$Co)&&void 0!==r?r:a._$Co=[])[o]=l:e._$Cl=l),void 0!==l&&(i=Q(t,l._$AS(t,i.values),l,o)),i}class tt{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var i;const{el:{content:e},parts:o}=this._$AD,s=(null!==(i=null==t?void 0:t.creationScope)&&void 0!==i?i:T).importNode(e,!0);X.currentNode=s;let n=X.nextNode(),r=0,a=0,l=o[0];for(;void 0!==l;){if(r===l.index){let i;2===l.type?i=new it(n,n.nextSibling,this,t):1===l.type?i=new l.ctor(n,l.name,l.strings,this,t):6===l.type&&(i=new at(n,this,t)),this._$AV.push(i),l=o[++a]}r!==(null==l?void 0:l.index)&&(n=X.nextNode(),r++)}return s}v(t){let i=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,i),i+=e.strings.length-2):e._$AI(t[i])),i++}}class it{constructor(t,i,e,o){var s;this.type=2,this._$AH=q,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=e,this.options=o,this._$Cp=null===(s=null==o?void 0:o.isConnected)||void 0===s||s}get _$AU(){var t,i;return null!==(i=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==i?i:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===(null==t?void 0:t.nodeType)&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=Q(this,t,i),B(t)?t===q||null==t||""===t?(this._$AH!==q&&this._$AR(),this._$AH=q):t!==this._$AH&&t!==P&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>U(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==q&&B(this._$AH)?this._$AA.nextSibling.data=t:this.$(T.createTextNode(t)),this._$AH=t}g(t){var i;const{values:e,_$litType$:o}=t,s="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=J.createElement(o.h,this.options)),o);if((null===(i=this._$AH)||void 0===i?void 0:i._$AD)===s)this._$AH.v(e);else{const t=new tt(s,this),i=t.u(this.options);t.v(e),this.$(i),this._$AH=t}}_$AC(t){let i=V.get(t.strings);return void 0===i&&V.set(t.strings,i=new J(t)),i}T(t){U(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let e,o=0;for(const s of t)o===i.length?i.push(e=new it(this.k(_()),this.k(_()),this,this.options)):e=i[o],e._$AI(s),o++;o<i.length&&(this._$AR(e&&e._$AB.nextSibling,o),i.length=o)}_$AR(t=this._$AA.nextSibling,i){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){var i;void 0===this._$AM&&(this._$Cp=t,null===(i=this._$AP)||void 0===i||i.call(this,t))}}class et{constructor(t,i,e,o,s){this.type=1,this._$AH=q,this._$AN=void 0,this.element=t,this.name=i,this._$AM=o,this.options=s,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=q}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,i=this,e,o){const s=this.strings;let n=!1;if(void 0===s)t=Q(this,t,i,0),n=!B(t)||t!==this._$AH&&t!==P,n&&(this._$AH=t);else{const o=t;let r,a;for(t=s[0],r=0;r<s.length-1;r++)a=Q(this,o[e+r],i,r),a===P&&(a=this._$AH[r]),n||(n=!B(a)||a!==this._$AH[r]),a===q?t=q:t!==q&&(t+=(null!=a?a:"")+s[r+1]),this._$AH[r]=a}n&&!o&&this.j(t)}j(t){t===q?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class ot extends et{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===q?void 0:t}}const st=I?I.emptyScript:"";class nt extends et{constructor(){super(...arguments),this.type=4}j(t){t&&t!==q?this.element.setAttribute(this.name,st):this.element.removeAttribute(this.name)}}class rt extends et{constructor(t,i,e,o,s){super(t,i,e,o,s),this.type=5}_$AI(t,i=this){var e;if((t=null!==(e=Q(this,t,i,0))&&void 0!==e?e:q)===P)return;const o=this._$AH,s=t===q&&o!==q||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==q&&(o===q||s);s&&this.element.removeEventListener(this.name,this,o),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var i,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(i=this.options)||void 0===i?void 0:i.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class at{constructor(t,i,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){Q(this,t)}}const lt=O.litHtmlPolyfillSupport;null==lt||lt(J,it),(null!==(z=O.litHtmlVersions)&&void 0!==z?z:O.litHtmlVersions=[]).push("2.7.3");
|
|
131
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.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 t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),r=o("touchend","touchcancel"),a=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",r),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",a),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",r),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",a),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let r,a;return null!=o.x?({x:r,y:a}=o):null!=e.touches&&(r=e.touches[0].clientX,a=e.touches[0].clientY),{x:r,y:a}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}I.elementDefinitions={},I.styles=S,w([r.property({type:Boolean})],I.prototype,"primary",void 0),w([r.property({type:Boolean})],I.prototype,"secondary",void 0),w([r.property({type:Boolean})],I.prototype,"unbounded",void 0),w([r.property({type:Boolean})],I.prototype,"activated",void 0),w([r.property({type:Boolean})],I.prototype,"selected",void 0),w([r.property({type:Boolean})],I.prototype,"disabled",void 0),w([r.state()],I.prototype,"hovered",void 0),w([r.state()],I.prototype,"focused",void 0),w([r.state()],I.prototype,"pressed",void 0),w([r.state()],I.prototype,"rippling",void 0),w([r.state()],I.prototype,"originX",void 0),w([r.state()],I.prototype,"originY",void 0),w([r.query(".ft-ripple")],I.prototype,"ripple",void 0),w([r.query(".ft-ripple--effect")],I.prototype,"rippleEffect",void 0),o.customElement("ft-ripple")(I);const U=window,$=U.trustedTypes,R=$?$.createPolicy("lit-html",{createHTML:t=>t}):void 0,W="$lit$",E=`lit$${(Math.random()+"").slice(9)}$`,L="?"+E,k=`<${L}>`,K=document,Z=()=>K.createComment(""),z=t=>null===t||"object"!=typeof t&&"function"!=typeof t,F=Array.isArray,D="[ \t\n\f\r]",B=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,A=/-->/g,H=/>/g,G=RegExp(`>|${D}(?:([^\\s"'>=/]+)(${D}*=${D}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),j=/'/g,M=/"/g,P=/^(?:script|style|textarea|title)$/i,T=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),_=Symbol.for("lit-noChange"),Y=Symbol.for("lit-nothing"),q=new WeakMap,V=K.createTreeWalker(K,129,null,!1),X=(t,o)=>{const e=t.length-1,r=[];let a,i=2===o?"<svg>":"",n=B;for(let o=0;o<e;o++){const e=t[o];let l,c,p=-1,s=0;for(;s<e.length&&(n.lastIndex=s,c=n.exec(e),null!==c);)s=n.lastIndex,n===B?"!--"===c[1]?n=A:void 0!==c[1]?n=H:void 0!==c[2]?(P.test(c[2])&&(a=RegExp("</"+c[2],"g")),n=G):void 0!==c[3]&&(n=G):n===G?">"===c[0]?(n=null!=a?a:B,p=-1):void 0===c[1]?p=-2:(p=n.lastIndex-c[2].length,l=c[1],n=void 0===c[3]?G:'"'===c[3]?M:j):n===M||n===j?n=G:n===A||n===H?n=B:(n=G,a=void 0);const f=n===G&&t[o+1].startsWith("/>")?" ":"";i+=n===B?e+k:p>=0?(r.push(l),e.slice(0,p)+W+e.slice(p)+E+f):e+E+(-2===p?(r.push(void 0),o):f)}const l=i+(t[e]||"<?>")+(2===o?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==R?R.createHTML(l):l,r]};class J{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let a=0,i=0;const n=t.length-1,l=this.parts,[c,p]=X(t,o);if(this.el=J.createElement(c,e),V.currentNode=this.el.content,2===o){const t=this.el.content,o=t.firstChild;o.remove(),t.append(...o.childNodes)}for(;null!==(r=V.nextNode())&&l.length<n;){if(1===r.nodeType){if(r.hasAttributes()){const t=[];for(const o of r.getAttributeNames())if(o.endsWith(W)||o.startsWith(E)){const e=p[i++];if(t.push(o),void 0!==e){const t=r.getAttribute(e.toLowerCase()+W).split(E),o=/([.?@])?(.*)/.exec(e);l.push({type:1,index:a,name:o[2],strings:t,ctor:"."===o[1]?rt:"?"===o[1]?it:"@"===o[1]?nt:et})}else l.push({type:6,index:a})}for(const o of t)r.removeAttribute(o)}if(P.test(r.tagName)){const t=r.textContent.split(E),o=t.length-1;if(o>0){r.textContent=$?$.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],Z()),V.nextNode(),l.push({type:2,index:++a});r.append(t[o],Z())}}}else if(8===r.nodeType)if(r.data===L)l.push({type:2,index:a});else{let t=-1;for(;-1!==(t=r.data.indexOf(E,t+1));)l.push({type:7,index:a}),t+=E.length-1}a++}}static createElement(t,o){const e=K.createElement("template");return e.innerHTML=t,e}}function Q(t,o,e=t,r){var a,i,n,l;if(o===_)return o;let c=void 0!==r?null===(a=e._$Co)||void 0===a?void 0:a[r]:e._$Cl;const p=z(o)?void 0:o._$litDirective$;return(null==c?void 0:c.constructor)!==p&&(null===(i=null==c?void 0:c._$AO)||void 0===i||i.call(c,!1),void 0===p?c=void 0:(c=new p(t),c._$AT(t,e,r)),void 0!==r?(null!==(n=(l=e)._$Co)&&void 0!==n?n:l._$Co=[])[r]=c:e._$Cl=c),void 0!==c&&(o=Q(t,c._$AS(t,o.values),c,r)),o}class tt{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var o;const{el:{content:e},parts:r}=this._$AD,a=(null!==(o=null==t?void 0:t.creationScope)&&void 0!==o?o:K).importNode(e,!0);V.currentNode=a;let i=V.nextNode(),n=0,l=0,c=r[0];for(;void 0!==c;){if(n===c.index){let o;2===c.type?o=new ot(i,i.nextSibling,this,t):1===c.type?o=new c.ctor(i,c.name,c.strings,this,t):6===c.type&&(o=new lt(i,this,t)),this._$AV.push(o),c=r[++l]}n!==(null==c?void 0:c.index)&&(i=V.nextNode(),n++)}return a}v(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}class ot{constructor(t,o,e,r){var a;this.type=2,this._$AH=Y,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cp=null===(a=null==r?void 0:r.isConnected)||void 0===a||a}get _$AU(){var t,o;return null!==(o=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==o?o:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===(null==t?void 0:t.nodeType)&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=Q(this,t,o),z(t)?t===Y||null==t||""===t?(this._$AH!==Y&&this._$AR(),this._$AH=Y):t!==this._$AH&&t!==_&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>F(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==Y&&z(this._$AH)?this._$AA.nextSibling.data=t:this.$(K.createTextNode(t)),this._$AH=t}g(t){var o;const{values:e,_$litType$:r}=t,a="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=J.createElement(r.h,this.options)),r);if((null===(o=this._$AH)||void 0===o?void 0:o._$AD)===a)this._$AH.v(e);else{const t=new tt(a,this),o=t.u(this.options);t.v(e),this.$(o),this._$AH=t}}_$AC(t){let o=q.get(t.strings);return void 0===o&&q.set(t.strings,o=new J(t)),o}T(t){F(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,r=0;for(const a of t)r===o.length?o.push(e=new ot(this.k(Z()),this.k(Z()),this,this.options)):e=o[r],e._$AI(a),r++;r<o.length&&(this._$AR(e&&e._$AB.nextSibling,r),o.length=r)}_$AR(t=this._$AA.nextSibling,o){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){var o;void 0===this._$AM&&(this._$Cp=t,null===(o=this._$AP)||void 0===o||o.call(this,t))}}class et{constructor(t,o,e,r,a){this.type=1,this._$AH=Y,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=a,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=Y}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,o=this,e,r){const a=this.strings;let i=!1;if(void 0===a)t=Q(this,t,o,0),i=!z(t)||t!==this._$AH&&t!==_,i&&(this._$AH=t);else{const r=t;let n,l;for(t=a[0],n=0;n<a.length-1;n++)l=Q(this,r[e+n],o,n),l===_&&(l=this._$AH[n]),i||(i=!z(l)||l!==this._$AH[n]),l===Y?t=Y:t!==Y&&(t+=(null!=l?l:"")+a[n+1]),this._$AH[n]=l}i&&!r&&this.j(t)}j(t){t===Y?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class rt extends et{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===Y?void 0:t}}const at=$?$.emptyScript:"";class it extends et{constructor(){super(...arguments),this.type=4}j(t){t&&t!==Y?this.element.setAttribute(this.name,at):this.element.removeAttribute(this.name)}}class nt extends et{constructor(t,o,e,r,a){super(t,o,e,r,a),this.type=5}_$AI(t,o=this){var e;if((t=null!==(e=Q(this,t,o,0))&&void 0!==e?e:Y)===_)return;const r=this._$AH,a=t===Y&&r!==Y||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,i=t!==Y&&(r===Y||a);a&&this.element.removeEventListener(this.name,this,r),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var o,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(o=this.options)||void 0===o?void 0:o.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class lt{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){Q(this,t)}}const ct=U.litHtmlPolyfillSupport;null==ct||ct(J,ot),(null!==(C=U.litHtmlVersions)&&void 0!==C?C:U.litHtmlVersions=[]).push("2.7.3");
|
|
132
132
|
/**
|
|
133
133
|
* @license
|
|
134
134
|
* Copyright 2020 Google LLC
|
|
135
135
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
136
136
|
*/
|
|
137
|
-
const pt=Symbol.for(""),ht=t=>{if((null==t?void 0:t.r)===pt)return null==t?void 0:t._$litStatic$},ft=t=>({_$litStatic$:t,r:pt}),ct=new Map,dt=(t=>(i,...e)=>{const o=e.length;let s,n;const r=[],a=[];let l,p=0,h=!1;for(;p<o;){for(l=i[p];p<o&&void 0!==(n=e[p],s=ht(n));)l+=s+i[++p],h=!0;p!==o&&a.push(n),r.push(l),p++}if(p===o&&r.push(i[o]),h){const t=r.join("$$lit$$");void 0===(i=ct.get(t))&&(r.raw=r,ct.set(t,i=r)),e=a}return t(i,...e)})(H);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"}(xt||(xt={}));const ut=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.titleFont),yt=i.FtCssVariableFactory.extend("--ft-typography-font-family",i.designSystemVariables.contentFont),gt={fontFamily:yt,fontSize:i.FtCssVariableFactory.create("--ft-typography-font-size","SIZE","16px"),fontWeight:i.FtCssVariableFactory.create("--ft-typography-font-weight","UNKNOWN","normal"),letterSpacing:i.FtCssVariableFactory.create("--ft-typography-letter-spacing","SIZE","0.496px"),lineHeight:i.FtCssVariableFactory.create("--ft-typography-line-height","NUMBER","1.5"),textTransform:i.FtCssVariableFactory.create("--ft-typography-text-transform","UNKNOWN","inherit")},bt=i.FtCssVariableFactory.extend("--ft-typography-title-font-family",ut),vt=i.FtCssVariableFactory.extend("--ft-typography-title-font-size",gt.fontSize,"20px"),mt=i.FtCssVariableFactory.extend("--ft-typography-title-font-weight",gt.fontWeight,"normal"),$t=i.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing",gt.letterSpacing,"0.15px"),wt=i.FtCssVariableFactory.extend("--ft-typography-title-line-height",gt.lineHeight,"1.2"),kt=i.FtCssVariableFactory.extend("--ft-typography-title-text-transform",gt.textTransform,"inherit"),zt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family",ut),jt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size",gt.fontSize,"14px"),Nt=i.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight",gt.fontWeight,"normal"),Ot=i.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing",gt.letterSpacing,"0.105px"),It=i.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height",gt.lineHeight,"1.7"),St=i.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform",gt.textTransform,"inherit"),Ct=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family",yt),At=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size",gt.fontSize,"16px"),Et=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight",gt.fontWeight,"600"),Mt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing",gt.letterSpacing,"0.144px"),Tt=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height",gt.lineHeight,"1.5"),_t=i.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform",gt.textTransform,"inherit"),Bt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family",yt),Ut=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size",gt.fontSize,"14px"),Dt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight",gt.fontWeight,"normal"),Ft=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing",gt.letterSpacing,"0.098px"),Rt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height",gt.lineHeight,"1.7"),Wt=i.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform",gt.textTransform,"inherit"),Zt=i.FtCssVariableFactory.extend("--ft-typography-body1-font-family",yt),Gt=i.FtCssVariableFactory.extend("--ft-typography-body1-font-size",gt.fontSize,"16px"),Kt=i.FtCssVariableFactory.extend("--ft-typography-body1-font-weight",gt.fontWeight,"normal"),Lt=i.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing",gt.letterSpacing,"0.496px"),Ht=i.FtCssVariableFactory.extend("--ft-typography-body1-line-height",gt.lineHeight,"1.5"),Pt=i.FtCssVariableFactory.extend("--ft-typography-body1-text-transform",gt.textTransform,"inherit"),qt=i.FtCssVariableFactory.extend("--ft-typography-body2-font-family",yt),Vt=i.FtCssVariableFactory.extend("--ft-typography-body2-font-size",gt.fontSize,"14px"),Xt=i.FtCssVariableFactory.extend("--ft-typography-body2-font-weight",gt.fontWeight,"normal"),Yt=i.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing",gt.letterSpacing,"0.252px"),Jt=i.FtCssVariableFactory.extend("--ft-typography-body2-line-height",gt.lineHeight,"1.4"),Qt=i.FtCssVariableFactory.extend("--ft-typography-body2-text-transform",gt.textTransform,"inherit"),ti=i.FtCssVariableFactory.extend("--ft-typography-caption-font-family",yt),ii=i.FtCssVariableFactory.extend("--ft-typography-caption-font-size",gt.fontSize,"12px"),ei=i.FtCssVariableFactory.extend("--ft-typography-caption-font-weight",gt.fontWeight,"normal"),oi=i.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing",gt.letterSpacing,"0.396px"),si=i.FtCssVariableFactory.extend("--ft-typography-caption-line-height",gt.lineHeight,"1.33"),ni=i.FtCssVariableFactory.extend("--ft-typography-caption-text-transform",gt.textTransform,"inherit"),ri=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family",yt),ai=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size",gt.fontSize,"10px"),li=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight",gt.fontWeight,"normal"),pi=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing",gt.letterSpacing,"0.33px"),hi=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height",gt.lineHeight,"1.6"),fi=i.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform",gt.textTransform,"inherit"),ci=i.FtCssVariableFactory.extend("--ft-typography-overline-font-family",yt),di=i.FtCssVariableFactory.extend("--ft-typography-overline-font-size",gt.fontSize,"10px"),xi=i.FtCssVariableFactory.extend("--ft-typography-overline-font-weight",gt.fontWeight,"normal"),ui=i.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing",gt.letterSpacing,"1.5px"),yi=i.FtCssVariableFactory.extend("--ft-typography-overline-line-height",gt.lineHeight,"1.6"),gi=i.FtCssVariableFactory.extend("--ft-typography-overline-text-transform",gt.textTransform,"uppercase"),bi=i.FtCssVariableFactory.extend("--ft-typography-button-font-family",yt),vi=i.FtCssVariableFactory.extend("--ft-typography-button-font-size",gt.fontSize,"14px"),mi=i.FtCssVariableFactory.extend("--ft-typography-button-font-weight",gt.fontWeight,"600"),$i=i.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing",gt.letterSpacing,"1.246px"),wi=i.FtCssVariableFactory.extend("--ft-typography-button-line-height",gt.lineHeight,"1.15"),ki=i.FtCssVariableFactory.extend("--ft-typography-button-text-transform",gt.textTransform,"uppercase"),zi=e.css`
|
|
137
|
+
const pt=Symbol.for(""),st=t=>{if((null==t?void 0:t.r)===pt)return null==t?void 0:t._$litStatic$},ft=t=>({_$litStatic$:t,r:pt}),ht=new Map,dt=(t=>(o,...e)=>{const r=e.length;let a,i;const n=[],l=[];let c,p=0,s=!1;for(;p<r;){for(c=o[p];p<r&&void 0!==(i=e[p],a=st(i));)c+=a+o[++p],s=!0;p!==r&&l.push(i),n.push(c),p++}if(p===r&&n.push(o[r]),s){const t=n.join("$$lit$$");void 0===(o=ht.get(t))&&(n.raw=n,ht.set(t,o=n)),e=l}return t(o,...e)})(T);var gt;!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"}(gt||(gt={}));const yt=t=>"string"==typeof t?e.unsafeCSS(t):t;class bt{static create(t,o,r,a){const i=t=>yt(null!=t?t:a),n=e.css`var(${yt(t)}, ${i(a)})`;return n.name=t,n.description=t,n.category=r,n.defaultValue=a,n.defaultCssValue=i,n.get=o=>e.css`var(${yt(t)}, ${i(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>a,n}static extend(t,o,r,a){const i=t=>r.get(null!=t?t:a),n=e.css`var(${yt(t)}, ${i(a)})`;return n.name=t,n.description=o,n.category=r.category,n.fallbackVariable=r,n.defaultValue=a,n.defaultCssValue=i,n.get=o=>e.css`var(${yt(t)}, ${i(o)})`,n.breadcrumb=()=>[r.name,...r.breadcrumb()],n.lastResortDefaultValue=()=>null!=a?a:r.lastResortDefaultValue(),n}static external(t,o){const r=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):yt(null!=o?o:t.lastResortDefaultValue()),a=e.css`var(${yt(t.name)}, ${r(t.defaultValue)})`;return a.name=t.name,a.category=t.category,a.fallbackVariable=t.fallbackVariable,a.defaultValue=t.defaultValue,a.context=o,a.defaultCssValue=r,a.get=o=>e.css`var(${yt(t.name)}, ${r(o)})`,a.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>t.lastResortDefaultValue(),a}}const ut={colorWhite:bt.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:bt.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:bt.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:bt.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:bt.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:bt.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:bt.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:bt.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:bt.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:bt.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:bt.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:bt.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:bt.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:bt.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:bt.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:bt.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:bt.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:bt.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:bt.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:bt.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:bt.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:bt.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:bt.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:bt.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:bt.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:bt.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:bt.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:bt.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:bt.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:bt.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:bt.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:bt.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:bt.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:bt.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:bt.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:bt.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:bt.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:bt.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:bt.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:bt.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:bt.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:bt.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:bt.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:bt.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:bt.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:bt.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:bt.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:bt.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:bt.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:bt.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:bt.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:bt.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:bt.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:bt.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:bt.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:bt.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:bt.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:bt.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:bt.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:bt.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:bt.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:bt.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:bt.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:bt.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:bt.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:bt.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:bt.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:bt.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:bt.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:bt.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:bt.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:bt.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:bt.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:bt.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:bt.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:bt.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:bt.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:bt.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:bt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:bt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:bt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:bt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:bt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:bt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:bt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:bt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:bt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:bt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:bt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:bt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:bt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:bt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:bt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:bt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:bt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:bt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:bt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:bt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:bt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:bt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:bt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:bt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:bt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:bt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:bt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:bt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:bt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:bt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:bt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:bt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:bt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:bt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:bt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:bt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:bt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:bt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:bt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:bt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:bt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:bt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:bt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:bt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:bt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:bt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:bt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:bt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:bt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:bt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:bt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:bt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:bt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:bt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:bt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:bt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:bt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:bt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:bt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:bt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:bt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:bt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:bt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:bt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:bt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:bt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:bt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:bt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:bt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:bt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:bt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:bt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:bt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:bt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:bt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:bt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:bt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:bt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:bt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:bt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:bt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:bt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:bt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:bt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:bt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:bt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:bt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:bt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:bt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:bt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:bt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:bt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:bt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:bt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:bt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:bt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:bt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:bt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:bt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:bt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:bt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:bt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:bt.create("--ft-opacity-0","","NUMBER","0"),opacity8:bt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:bt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:bt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:bt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:bt.create("--ft-opacity-80","","NUMBER","0.8")},mt={display:{fontFamily:bt.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:bt.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:bt.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:bt.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:bt.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:bt.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:bt.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:bt.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:bt.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:bt.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:bt.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:bt.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:bt.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:bt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:bt.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:bt.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:bt.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:bt.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:bt.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:bt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:bt.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:bt.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:bt.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:bt.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:bt.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:bt.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:bt.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:bt.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:bt.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:bt.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:bt.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:bt.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:bt.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:bt.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:bt.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:bt.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:bt.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:bt.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:bt.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:bt.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:bt.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:bt.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:bt.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:bt.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:bt.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:bt.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:bt.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:bt.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:bt.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:bt.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:bt.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:bt.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:bt.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:bt.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:bt.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:bt.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:bt.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:bt.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:bt.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:bt.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:bt.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:bt.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:bt.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:bt.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:bt.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:bt.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:bt.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:bt.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:bt.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:bt.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:bt.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:bt.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:bt.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:bt.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:bt.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:bt.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:bt.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:bt.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:bt.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:bt.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:bt.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:bt.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:bt.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:bt.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:bt.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:bt.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:bt.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:bt.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:bt.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:bt.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:bt.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:bt.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:bt.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:bt.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:bt.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:bt.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:bt.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:bt.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:bt.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:bt.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:bt.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:bt.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:bt.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:bt.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:bt.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:bt.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:bt.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:bt.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:bt.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:bt.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:bt.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:bt.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:bt.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:bt.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:bt.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:bt.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:bt.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:bt.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:bt.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:bt.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:bt.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:bt.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:bt.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:bt.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:bt.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:bt.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:bt.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:bt.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:bt.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:bt.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:bt.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:bt.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:bt.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:bt.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:bt.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},xt={backgroundActionPrimary:bt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",ut.colorBrand0),backgroundErrorPrimary:bt.extend("--ft-background-error-primary","Used as background of error components.",ut.colorRed0),backgroundErrorSubtle:bt.extend("--ft-background-error-subtle","Used as background of subtle error components.",ut.colorRed10),backgroundInfoPrimary:bt.extend("--ft-background-info-primary","Used as background of information components.",ut.colorCyan200),backgroundInfoSubtle:bt.extend("--ft-background-info-subtle","Used as background of subtle information components.",ut.colorCyan10),backgroundWarningPrimary:bt.extend("--ft-background-warning-primary","Used as background of warning components.",ut.colorOrange300),backgroundWarningSubtle:bt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",ut.colorOrange10),backgroundSuccessPrimary:bt.extend("--ft-background-success-primary","Used as background of success components.",ut.colorGreen200),backgroundSuccessSubtle:bt.extend("--ft-background-success-subtle","Used as background of subtle success components.",ut.colorGreen10),backgroundGlobalSurface:bt.extend("--ft-background-global-surface","Used as app background.",ut.colorWhite),backgroundGlobalOnSurface:bt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",ut.colorGray10),backgroundGlobalOnSurfaceDark:bt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",ut.colorGray30),contentActionPrimary:bt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",ut.colorBrand0),contentWarningPrimary:bt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",ut.colorOrange300),contentWarningIconOnly:bt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",ut.colorOrange0),contentErrorPrimary:bt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",ut.colorRed0),contentErrorIconOnly:bt.extend("--ft-content-error-icon-only","Used on error status icons alone",ut.colorRed0),contentInfoPrimary:bt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",ut.colorCyan200),contentInfoIconOnly:bt.extend("--ft-content-info-icon-only","Used on info status icons alone",ut.colorCyan0),contentSuccessIconOnly:bt.extend("--ft-content-success-icon-only","Used on success status icons alone",ut.colorGreen0),contentSuccessPrimary:bt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",ut.colorGreen200),contentGlobalPrimary:bt.extend("--ft-content-global-primary","Used for main content on the page.",ut.colorGray500),contentGlobalSecondary:bt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",ut.colorGray200),contentGlobalSubtle:bt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",ut.colorGray0),contentGlobalOnColor:bt.extend("--ft-content-global-on-color","Used for content on a dominant color.",ut.colorWhite),borderActionPrimary:bt.extend("--ft-border-action-primary","Used as border for primary action components.",ut.colorBrand0),borderActionFocusRing:bt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",ut.colorCyan0),borderWarningPrimary:bt.extend("--ft-border-warning-primary","Used as border for warning components.",ut.colorOrange30),borderSuccessPrimary:bt.extend("--ft-border-success-primary","Used as border for success components.",ut.colorGreen30),borderErrorPrimary:bt.extend("--ft-border-error-primary","Used as border for error components.",ut.colorRed30),borderInfoPrimary:bt.extend("--ft-border-info-primary","Used as border for information components.",ut.colorCyan30),borderGlobalSubtle:bt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",ut.colorGray30),borderGlobalPrimary:bt.extend("--ft-border-global-primary","Used as border for element like input.",ut.colorGray50),borderInputPrimary:bt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",ut.colorGray80)};bt.create("--ft-button-large-height","","SIZE","40px"),bt.extend("--ft-button-large-horizontal-padding","",ut.spacing4),bt.extend("--ft-button-large-gap","",ut.spacing2),bt.extend("--ft-button-large-border-radius","",ut.borderRadiusS),bt.extend("--ft-button-large-icon-size","",ut.iconSize3),bt.create("--ft-button-large-border-width","","SIZE","1px"),bt.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),bt.create("--ft-button-large-focus-outline-width","","SIZE","2px"),bt.create("--ft-button-large-icon-only-width","","SIZE","40px"),bt.create("--ft-button-small-height","","SIZE","30px"),bt.extend("--ft-button-small-horizontal-padding","",ut.spacing3),bt.extend("--ft-button-small-gap","",ut.spacing2),bt.extend("--ft-button-small-border-radius","",ut.borderRadiusS),bt.extend("--ft-button-small-icon-size","",ut.iconSize2),bt.create("--ft-button-small-border-width","","SIZE","1px"),bt.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),bt.create("--ft-button-small-focus-outline-width","","SIZE","2px"),bt.create("--ft-button-small-icon-only-width","","SIZE","30px"),bt.extend("--ft-button-primary-background-color","",xt.backgroundActionPrimary),bt.extend("--ft-button-primary-color","",xt.contentGlobalOnColor),bt.extend("--ft-button-primary-icon-color","",xt.contentGlobalOnColor),bt.extend("--ft-button-primary-state-layer-color","",xt.contentGlobalOnColor),bt.extend("--ft-button-primary-state-layer-opacity-hover","",ut.opacity16),bt.extend("--ft-button-primary-state-layer-opacity-focus","",ut.opacity16),bt.extend("--ft-button-primary-state-layer-opacity-active","",ut.opacity24),bt.extend("--ft-button-primary-component-opacity-disabled","",ut.opacity40),bt.extend("--ft-button-focus-focus-ring-color","",xt.borderActionFocusRing),bt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),bt.extend("--ft-button-tertiary-color","",xt.contentActionPrimary),bt.extend("--ft-button-tertiary-icon-color","",xt.contentActionPrimary),bt.extend("--ft-button-tertiary-state-layer-color","",xt.contentActionPrimary),bt.extend("--ft-button-tertiary-state-layer-opacity-hover","",ut.opacity8),bt.extend("--ft-button-tertiary-state-layer-opacity-focus","",ut.opacity8),bt.extend("--ft-button-tertiary-state-layer-opacity-active","",ut.opacity16),bt.extend("--ft-button-tertiary-component-opacity-disabled","",ut.opacity40),bt.extend("--ft-button-secondary-background-color","",ut.colorWhite),bt.extend("--ft-button-secondary-color","",xt.contentActionPrimary),bt.extend("--ft-button-secondary-icon-color","",xt.contentActionPrimary),bt.extend("--ft-button-secondary-state-layer-color","",xt.contentActionPrimary),bt.extend("--ft-button-secondary-state-layer-opacity-hover","",ut.opacity8),bt.extend("--ft-button-secondary-state-layer-opacity-focus","",ut.opacity8),bt.extend("--ft-button-secondary-state-layer-opacity-active","",ut.opacity16),bt.extend("--ft-button-secondary-component-opacity-disabled","",ut.opacity40),bt.extend("--ft-button-secondary-border-color","",xt.borderActionPrimary),bt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),bt.extend("--ft-button-neutral-icon-color","",xt.contentGlobalSecondary),bt.extend("--ft-button-neutral-color","",xt.contentGlobalSecondary),bt.extend("--ft-button-neutral-state-layer-color","",xt.contentGlobalSecondary),bt.extend("--ft-button-neutral-state-layer-opacity-hover","",ut.opacity8),bt.extend("--ft-button-neutral-state-layer-opacity-focus","",ut.opacity8),bt.extend("--ft-button-neutral-state-layer-opacity-active","",ut.opacity16),bt.extend("--ft-button-neutral-component-opacity-disabled","",ut.opacity40),bt.extend("--ft-tabs-top-left-border-radius","",ut.borderRadiusS),bt.extend("--ft-tabs-top-right-border-radius","",ut.borderRadiusS),bt.extend("--ft-tabs-label-horizontal-padding","",ut.spacing4),bt.extend("--ft-tabs-label-vertical-padding","",ut.spacing3),bt.extend("--ft-tabs-label-gap","",ut.spacing1),bt.extend("--ft-switch-group-horizontal-padding","",ut.spacing1),bt.extend("--ft-switch-group-vertical-padding","",ut.spacing1),bt.extend("--ft-switch-group-gap","",ut.spacing1),bt.extend("--ft-switch-group-background-color","",xt.backgroundGlobalSurface),bt.extend("--ft-switch-group-border-color","",xt.borderGlobalSubtle),bt.create("--ft-switch-group-border-radius","","SIZE","6px"),bt.extend("--ft-switch-label-horizontal-padding","",ut.spacing2),bt.extend("--ft-switch-label-vertical-padding","",ut.spacing1),bt.extend("--ft-switch-icon-horizontal-padding","",ut.spacing1),bt.extend("--ft-switch-icon-vertical-padding","",ut.spacing1),bt.create("--ft-switch-focus-outline-width","","SIZE","2px"),bt.extend("--ft-switch-focus-focus-ring-color","",xt.borderActionFocusRing),bt.extend("--ft-switch-option-border-radius","",ut.borderRadiusS),bt.extend("--ft-switch-off-state-layer-opacity-hover","",ut.opacity8),bt.extend("--ft-switch-off-state-layer-opacity-focus","",ut.opacity8),bt.extend("--ft-switch-off-state-layer-opacity-active","",ut.opacity16),bt.extend("--ft-switch-off-component-opacity-disabled","",ut.opacity40),bt.extend("--ft-switch-off-color","",xt.contentGlobalSubtle),bt.extend("--ft-switch-off-state-layer-color","",xt.contentGlobalSubtle),bt.extend("--ft-chart-1-light","for area color charts",ut.colorBrand40),bt.extend("--ft-chart-1-base","for line charts",ut.colorBrand0),bt.extend("--ft-chart-2-light","for area color charts",ut.colorYellow60),bt.extend("--ft-chart-2-base","for line charts",ut.colorYellow100),bt.extend("--ft-chart-3-light","",ut.colorUltramarine40),bt.extend("--ft-chart-3-base","",ut.colorUltramarine70),bt.extend("--ft-chart-4-light","",ut.colorCyan50),bt.extend("--ft-chart-4-base","",ut.colorCyan100),bt.extend("--ft-chart-5-light","",ut.colorRed40),bt.extend("--ft-chart-5-base","",ut.colorRed60),bt.extend("--ft-chart-6-light","",ut.colorGreen40),bt.extend("--ft-chart-6-base","",ut.colorGreen70),bt.extend("--ft-chart-7-light","",ut.colorOrange70),bt.extend("--ft-chart-7-base","",ut.colorOrange100),bt.extend("--ft-chart-8-light","",ut.colorAvocado70),bt.extend("--ft-chart-8-base","",ut.colorAvocado200),bt.extend("--ft-chart-9-light","",ut.colorBrown50),bt.extend("--ft-chart-9-base","",ut.colorBrown200),bt.extend("--ft-chart-10-light","",ut.colorGray50),bt.extend("--ft-chart-10-base","",ut.colorGray80),bt.extend("--ft-chart-monochrome-10","",ut.colorBrand10),bt.extend("--ft-chart-monochrome-20","",ut.colorBrand20),bt.extend("--ft-chart-monochrome-30","",ut.colorBrand40),bt.extend("--ft-chart-monochrome-40","",ut.colorBrand60),bt.extend("--ft-chart-monochrome-50","",ut.colorBrand0),bt.extend("--ft-chart-monochrome-60","",ut.colorBrand200),bt.extend("--ft-chip-large-horizontal-padding","",ut.spacing4),bt.extend("--ft-chip-large-vertical-padding","",ut.spacing2),bt.extend("--ft-chip-large-gap","",ut.spacing1),bt.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),bt.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),bt.extend("--ft-chip-large-border-radius","",ut.borderRadiusPill),bt.create("--ft-chip-large-border-width","","SIZE","1px"),bt.extend("--ft-chip-large-icon-size","",ut.iconSize3),bt.extend("--ft-chip-medium-horizontal-padding","",ut.spacing3),bt.extend("--ft-chip-medium-vertical-padding","",ut.spacing1),bt.extend("--ft-chip-medium-gap","",ut.spacing1),bt.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),bt.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),bt.extend("--ft-chip-medium-border-radius","",ut.borderRadiusPill),bt.create("--ft-chip-medium-border-width","","SIZE","1px"),bt.extend("--ft-chip-medium-icon-size","",ut.iconSize2),bt.extend("--ft-chip-small-horizontal-padding","",ut.spacing2),bt.extend("--ft-chip-small-vertical-padding","",ut.spacing05),bt.extend("--ft-chip-small-gap","",ut.spacing1),bt.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),bt.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),bt.extend("--ft-chip-small-border-radius","",ut.borderRadiusPill),bt.create("--ft-chip-small-border-width","","SIZE","1px"),bt.extend("--ft-chip-small-icon-size","",ut.iconSize1),bt.extend("--ft-chip-neutral-background-color","",xt.backgroundGlobalOnSurface),bt.extend("--ft-chip-neutral-color","",xt.contentGlobalPrimary),bt.extend("--ft-chip-neutral-border-color","",xt.borderGlobalSubtle),bt.extend("--ft-chip-info-background-color","",xt.backgroundInfoSubtle),bt.extend("--ft-chip-info-color","",xt.contentInfoPrimary),bt.extend("--ft-chip-info-border-color","",xt.borderInfoPrimary),bt.extend("--ft-chip-success-background-color","",xt.backgroundSuccessSubtle),bt.extend("--ft-chip-success-color","",xt.contentSuccessPrimary),bt.extend("--ft-chip-success-border-color","",xt.borderSuccessPrimary),bt.extend("--ft-chip-warning-background-color","",xt.backgroundWarningSubtle),bt.extend("--ft-chip-warning-color","",xt.contentWarningPrimary),bt.extend("--ft-chip-warning-border-color","",xt.borderWarningPrimary),bt.extend("--ft-chip-error-background-color","",xt.backgroundErrorSubtle),bt.extend("--ft-chip-error-color","",xt.contentErrorPrimary),bt.extend("--ft-chip-error-border-color","",xt.borderErrorPrimary),bt.create("--ft-notice-border-width","","SIZE","1px"),bt.extend("--ft-notice-horizontal-padding","",ut.spacing2),bt.extend("--ft-notice-vertical-padding","",ut.spacing1),bt.extend("--ft-notice-border-radius","",ut.borderRadiusS),bt.extend("--ft-notice-gap","",ut.spacing2),bt.extend("--ft-notice-icon-size","",ut.iconSize3),bt.extend("--ft-notice-info-background-color","",xt.backgroundInfoSubtle),bt.extend("--ft-notice-info-border-color","",xt.borderInfoPrimary),bt.extend("--ft-notice-info-color","",xt.contentInfoPrimary),bt.extend("--ft-notice-warning-background-color","",xt.backgroundWarningSubtle),bt.extend("--ft-notice-warning-border-color","",xt.borderWarningPrimary),bt.extend("--ft-notice-warning-color","",xt.contentWarningPrimary),bt.extend("--ft-checkbox-label-color","",xt.contentGlobalPrimary),bt.extend("--ft-checkbox-checked-background-color","",xt.contentActionPrimary),bt.extend("--ft-checkbox-checked-state-layer-color","",xt.contentActionPrimary),bt.extend("--ft-checkbox-checked-color","",xt.contentGlobalOnColor),bt.extend("--ft-checkbox-checked-state-layer-opacity-hover","",ut.opacity16),bt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",ut.opacity16),bt.extend("--ft-checkbox-checked-state-layer-opacity-active","",ut.opacity24),bt.extend("--ft-checkbox-checked-component-opacity-disabled","",ut.opacity40),bt.extend("--ft-checkbox-unchecked-border-color","",ut.colorGray80),bt.extend("--ft-checkbox-unchecked-state-layer-color","",ut.colorGray80),bt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",ut.opacity16),bt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",ut.opacity16),bt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",ut.opacity24),bt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",ut.opacity40),bt.extend("--ft-checkbox-focus-focus-ring-color","",xt.borderActionFocusRing),bt.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),bt.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),bt.extend("--ft-checkbox-gap","",ut.spacing3),bt.extend("--ft-toggle-off-state-layer-opacity-hover","",ut.opacity16),bt.extend("--ft-toggle-off-state-layer-opacity-focus","",ut.opacity16),bt.extend("--ft-toggle-off-state-layer-opacity-active","",ut.opacity24),bt.extend("--ft-toggle-off-component-opacity-disabled","",ut.opacity40),bt.extend("--ft-toggle-off-background-color","",xt.contentGlobalSubtle),bt.extend("--ft-toggle-off-icon-color","",xt.contentGlobalSubtle),bt.extend("--ft-toggle-off-state-layer-color","",xt.contentGlobalSubtle),bt.extend("--ft-toggle-on-state-layer-opacity-hover","",ut.opacity16),bt.extend("--ft-toggle-on-state-layer-opacity-focus","",ut.opacity16),bt.extend("--ft-toggle-on-state-layer-opacity-active","",ut.opacity24),bt.extend("--ft-toggle-on-component-opacity-disabled","",ut.opacity40),bt.extend("--ft-toggle-on-background-color","",xt.contentActionPrimary),bt.extend("--ft-toggle-on-icon-color","",xt.contentActionPrimary),bt.extend("--ft-toggle-on-state-layer-color","",xt.contentActionPrimary),bt.extend("--ft-toggle-label-color","",xt.contentGlobalPrimary),bt.extend("--ft-toggle-focus-focus-ring-color","",xt.borderActionFocusRing),bt.extend("--ft-toggle-gap","",ut.spacing3),bt.extend("--ft-radio-label-color","",xt.contentGlobalPrimary),bt.extend("--ft-radio-selected-color","",xt.contentActionPrimary),bt.extend("--ft-radio-selected-state-layer-color","",xt.contentActionPrimary),bt.extend("--ft-radio-selected-state-layer-opacity-hover","",ut.opacity16),bt.extend("--ft-radio-selected-state-layer-opacity-focus","",ut.opacity16),bt.extend("--ft-radio-selected-state-layer-opacity-active","",ut.opacity24),bt.extend("--ft-radio-selected-component-opacity-disabled","",ut.opacity40),bt.extend("--ft-radio-unselected-state-layer-color","",ut.colorGray80),bt.extend("--ft-radio-unselected-state-layer-opacity-hover","",ut.opacity16),bt.extend("--ft-radio-unselected-state-layer-opacity-focus","",ut.opacity16),bt.extend("--ft-radio-unselected-state-layer-opacity-active","",ut.opacity24),bt.extend("--ft-radio-unselected-component-opacity-disabled","",ut.opacity40),bt.extend("--ft-radio-focus-focus-ring-color","",xt.borderActionFocusRing),bt.create("--ft-radio-focus-outline-offset","","SIZE","3px"),bt.create("--ft-radio-focus-outline-width","","SIZE","2px"),bt.extend("--ft-radio-gap","",ut.spacing3),bt.extend("--ft-notification-icon-size","",ut.iconSize4),bt.extend("--ft-notification-horizontal-padding","",ut.spacing4),bt.extend("--ft-notification-vertical-padding","",ut.spacing4),bt.extend("--ft-notification-info-background-color","",xt.backgroundInfoSubtle),bt.extend("--ft-notification-info-color","",xt.contentInfoPrimary),bt.extend("--ft-notification-info-border-color","",xt.borderInfoPrimary),bt.extend("--ft-notification-success-background-color","",xt.backgroundSuccessSubtle),bt.extend("--ft-notification-success-color","",xt.contentSuccessPrimary),bt.extend("--ft-notification-success-border-color","",xt.borderSuccessPrimary),bt.extend("--ft-notification-warning-background-color","",xt.backgroundWarningSubtle),bt.extend("--ft-notification-warning-color","",xt.contentWarningPrimary),bt.extend("--ft-notification-warning-border-color","",xt.borderWarningPrimary),bt.extend("--ft-notification-error-background-color","",xt.backgroundErrorSubtle),bt.extend("--ft-notification-error-color","",xt.contentErrorPrimary),bt.extend("--ft-notification-error-border-color","",xt.borderErrorPrimary),bt.extend("--ft-notification-border-radius","",ut.borderRadiusPill),bt.create("--ft-notification-border-width","","SIZE","1px"),bt.extend("--ft-notification-gap-leading","",ut.spacing2),bt.extend("--ft-notification-gap-trailing","",ut.spacing8);const Ot=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.titleFont),Nt=o.FtCssVariableFactory.extend("--ft-typography-font-family","",o.designSystemVariables.contentFont),vt={fontFamily:Nt,fontSize:o.FtCssVariableFactory.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.FtCssVariableFactory.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.FtCssVariableFactory.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.FtCssVariableFactory.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.FtCssVariableFactory.create("--ft-typography-text-transform","","UNKNOWN","inherit")},St=o.FtCssVariableFactory.extend("--ft-typography-title-font-family","",Ot),Ct=o.FtCssVariableFactory.extend("--ft-typography-title-font-size","",vt.fontSize,"20px"),wt=o.FtCssVariableFactory.extend("--ft-typography-title-font-weight","",vt.fontWeight,"normal"),It=o.FtCssVariableFactory.extend("--ft-typography-title-letter-spacing","",vt.letterSpacing,"0.15px"),Ut=o.FtCssVariableFactory.extend("--ft-typography-title-line-height","",vt.lineHeight,"1.2"),$t=o.FtCssVariableFactory.extend("--ft-typography-title-text-transform","",vt.textTransform,"inherit"),Rt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-family","",Ot),Wt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-size","",vt.fontSize,"14px"),Et=o.FtCssVariableFactory.extend("--ft-typography-title-dense-font-weight","",vt.fontWeight,"normal"),Lt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-letter-spacing","",vt.letterSpacing,"0.105px"),kt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-line-height","",vt.lineHeight,"1.7"),Kt=o.FtCssVariableFactory.extend("--ft-typography-title-dense-text-transform","",vt.textTransform,"inherit"),Zt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-family","",Nt),zt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-size","",vt.fontSize,"16px"),Ft=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-font-weight","",vt.fontWeight,"600"),Dt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-letter-spacing","",vt.letterSpacing,"0.144px"),Bt=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-line-height","",vt.lineHeight,"1.5"),At=o.FtCssVariableFactory.extend("--ft-typography-subtitle1-text-transform","",vt.textTransform,"inherit"),Ht=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-family","",Nt),Gt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-size","",vt.fontSize,"14px"),jt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-font-weight","",vt.fontWeight,"normal"),Mt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-letter-spacing","",vt.letterSpacing,"0.098px"),Pt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-line-height","",vt.lineHeight,"1.7"),Tt=o.FtCssVariableFactory.extend("--ft-typography-subtitle2-text-transform","",vt.textTransform,"inherit"),_t=o.FtCssVariableFactory.extend("--ft-typography-body1-font-family","",Nt),Yt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-size","",vt.fontSize,"16px"),qt=o.FtCssVariableFactory.extend("--ft-typography-body1-font-weight","",vt.fontWeight,"normal"),Vt=o.FtCssVariableFactory.extend("--ft-typography-body1-letter-spacing","",vt.letterSpacing,"0.496px"),Xt=o.FtCssVariableFactory.extend("--ft-typography-body1-line-height","",vt.lineHeight,"1.5"),Jt=o.FtCssVariableFactory.extend("--ft-typography-body1-text-transform","",vt.textTransform,"inherit"),Qt=o.FtCssVariableFactory.extend("--ft-typography-body2-font-family","",Nt),to=o.FtCssVariableFactory.extend("--ft-typography-body2-font-size","",vt.fontSize,"14px"),oo=o.FtCssVariableFactory.extend("--ft-typography-body2-font-weight","",vt.fontWeight,"normal"),eo=o.FtCssVariableFactory.extend("--ft-typography-body2-letter-spacing","",vt.letterSpacing,"0.252px"),ro=o.FtCssVariableFactory.extend("--ft-typography-body2-line-height","",vt.lineHeight,"1.4"),ao=o.FtCssVariableFactory.extend("--ft-typography-body2-text-transform","",vt.textTransform,"inherit"),io=o.FtCssVariableFactory.extend("--ft-typography-caption-font-family","",Nt),no=o.FtCssVariableFactory.extend("--ft-typography-caption-font-size","",vt.fontSize,"12px"),lo=o.FtCssVariableFactory.extend("--ft-typography-caption-font-weight","",vt.fontWeight,"normal"),co=o.FtCssVariableFactory.extend("--ft-typography-caption-letter-spacing","",vt.letterSpacing,"0.396px"),po=o.FtCssVariableFactory.extend("--ft-typography-caption-line-height","",vt.lineHeight,"1.33"),so=o.FtCssVariableFactory.extend("--ft-typography-caption-text-transform","",vt.textTransform,"inherit"),fo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-family","",Nt),ho=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-size","",vt.fontSize,"10px"),go=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-font-weight","",vt.fontWeight,"normal"),yo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-letter-spacing","",vt.letterSpacing,"0.33px"),bo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-line-height","",vt.lineHeight,"1.6"),uo=o.FtCssVariableFactory.extend("--ft-typography-breadcrumb-text-transform","",vt.textTransform,"inherit"),mo=o.FtCssVariableFactory.extend("--ft-typography-overline-font-family","",Nt),xo=o.FtCssVariableFactory.extend("--ft-typography-overline-font-size","",vt.fontSize,"10px"),Oo=o.FtCssVariableFactory.extend("--ft-typography-overline-font-weight","",vt.fontWeight,"normal"),No=o.FtCssVariableFactory.extend("--ft-typography-overline-letter-spacing","",vt.letterSpacing,"1.5px"),vo=o.FtCssVariableFactory.extend("--ft-typography-overline-line-height","",vt.lineHeight,"1.6"),So=o.FtCssVariableFactory.extend("--ft-typography-overline-text-transform","",vt.textTransform,"uppercase"),Co=o.FtCssVariableFactory.extend("--ft-typography-button-font-family","",Nt),wo=o.FtCssVariableFactory.extend("--ft-typography-button-font-size","",vt.fontSize,"14px"),Io=o.FtCssVariableFactory.extend("--ft-typography-button-font-weight","",vt.fontWeight,"600"),Uo=o.FtCssVariableFactory.extend("--ft-typography-button-letter-spacing","",vt.letterSpacing,"1.246px"),$o=o.FtCssVariableFactory.extend("--ft-typography-button-line-height","",vt.lineHeight,"1.15"),Ro=o.FtCssVariableFactory.extend("--ft-typography-button-text-transform","",vt.textTransform,"uppercase"),Wo=e.css`
|
|
138
138
|
.ft-typography--title {
|
|
139
|
-
font-family: ${
|
|
140
|
-
font-size: ${
|
|
141
|
-
font-weight: ${
|
|
142
|
-
letter-spacing: ${
|
|
143
|
-
line-height: ${
|
|
144
|
-
text-transform: ${
|
|
145
|
-
}
|
|
146
|
-
`,
|
|
139
|
+
font-family: ${St};
|
|
140
|
+
font-size: ${Ct};
|
|
141
|
+
font-weight: ${wt};
|
|
142
|
+
letter-spacing: ${It};
|
|
143
|
+
line-height: ${Ut};
|
|
144
|
+
text-transform: ${$t};
|
|
145
|
+
}
|
|
146
|
+
`,Eo=e.css`
|
|
147
147
|
.ft-typography--title-dense {
|
|
148
|
-
font-family: ${
|
|
149
|
-
font-size: ${
|
|
150
|
-
font-weight: ${Nt};
|
|
151
|
-
letter-spacing: ${Ot};
|
|
152
|
-
line-height: ${It};
|
|
153
|
-
text-transform: ${St};
|
|
154
|
-
}
|
|
155
|
-
`,Ni=e.css`
|
|
156
|
-
.ft-typography--subtitle1 {
|
|
157
|
-
font-family: ${Ct};
|
|
158
|
-
font-size: ${At};
|
|
148
|
+
font-family: ${Rt};
|
|
149
|
+
font-size: ${Wt};
|
|
159
150
|
font-weight: ${Et};
|
|
160
|
-
letter-spacing: ${
|
|
161
|
-
line-height: ${
|
|
162
|
-
text-transform: ${
|
|
151
|
+
letter-spacing: ${Lt};
|
|
152
|
+
line-height: ${kt};
|
|
153
|
+
text-transform: ${Kt};
|
|
154
|
+
}
|
|
155
|
+
`,Lo=e.css`
|
|
156
|
+
.ft-typography--subtitle1 {
|
|
157
|
+
font-family: ${Zt};
|
|
158
|
+
font-size: ${zt};
|
|
159
|
+
font-weight: ${Ft};
|
|
160
|
+
letter-spacing: ${Dt};
|
|
161
|
+
line-height: ${Bt};
|
|
162
|
+
text-transform: ${At};
|
|
163
163
|
}
|
|
164
|
-
`,
|
|
164
|
+
`,ko=e.css`
|
|
165
165
|
.ft-typography--subtitle2 {
|
|
166
|
-
font-family: ${
|
|
167
|
-
font-size: ${
|
|
168
|
-
font-weight: ${
|
|
169
|
-
letter-spacing: ${
|
|
170
|
-
line-height: ${
|
|
171
|
-
text-transform: ${
|
|
166
|
+
font-family: ${Ht};
|
|
167
|
+
font-size: ${Gt};
|
|
168
|
+
font-weight: ${jt};
|
|
169
|
+
letter-spacing: ${Mt};
|
|
170
|
+
line-height: ${Pt};
|
|
171
|
+
text-transform: ${Tt};
|
|
172
172
|
}
|
|
173
173
|
|
|
174
|
-
`,
|
|
174
|
+
`,Ko=e.css`
|
|
175
175
|
.ft-typography--body1 {
|
|
176
|
-
font-family: ${
|
|
177
|
-
font-size: ${
|
|
178
|
-
font-weight: ${
|
|
179
|
-
letter-spacing: ${
|
|
180
|
-
line-height: ${
|
|
181
|
-
text-transform: ${
|
|
182
|
-
}
|
|
183
|
-
`,
|
|
176
|
+
font-family: ${_t};
|
|
177
|
+
font-size: ${Yt};
|
|
178
|
+
font-weight: ${qt};
|
|
179
|
+
letter-spacing: ${Vt};
|
|
180
|
+
line-height: ${Xt};
|
|
181
|
+
text-transform: ${Jt};
|
|
182
|
+
}
|
|
183
|
+
`,Zo=e.css`
|
|
184
184
|
.ft-typography--body2 {
|
|
185
|
-
font-family: ${
|
|
186
|
-
font-size: ${
|
|
187
|
-
font-weight: ${
|
|
188
|
-
letter-spacing: ${
|
|
189
|
-
line-height: ${
|
|
190
|
-
text-transform: ${
|
|
191
|
-
}
|
|
192
|
-
`,
|
|
185
|
+
font-family: ${Qt};
|
|
186
|
+
font-size: ${to};
|
|
187
|
+
font-weight: ${oo};
|
|
188
|
+
letter-spacing: ${eo};
|
|
189
|
+
line-height: ${ro};
|
|
190
|
+
text-transform: ${ao};
|
|
191
|
+
}
|
|
192
|
+
`,zo=e.css`
|
|
193
193
|
.ft-typography--caption {
|
|
194
|
-
font-family: ${
|
|
195
|
-
font-size: ${
|
|
196
|
-
font-weight: ${
|
|
197
|
-
letter-spacing: ${
|
|
198
|
-
line-height: ${
|
|
199
|
-
text-transform: ${
|
|
200
|
-
}
|
|
201
|
-
`,
|
|
194
|
+
font-family: ${io};
|
|
195
|
+
font-size: ${no};
|
|
196
|
+
font-weight: ${lo};
|
|
197
|
+
letter-spacing: ${co};
|
|
198
|
+
line-height: ${po};
|
|
199
|
+
text-transform: ${so};
|
|
200
|
+
}
|
|
201
|
+
`,Fo=e.css`
|
|
202
202
|
.ft-typography--breadcrumb {
|
|
203
|
-
font-family: ${
|
|
204
|
-
font-size: ${
|
|
205
|
-
font-weight: ${
|
|
206
|
-
letter-spacing: ${
|
|
207
|
-
line-height: ${
|
|
208
|
-
text-transform: ${
|
|
209
|
-
}
|
|
210
|
-
`,
|
|
203
|
+
font-family: ${fo};
|
|
204
|
+
font-size: ${ho};
|
|
205
|
+
font-weight: ${go};
|
|
206
|
+
letter-spacing: ${yo};
|
|
207
|
+
line-height: ${bo};
|
|
208
|
+
text-transform: ${uo};
|
|
209
|
+
}
|
|
210
|
+
`,Do=e.css`
|
|
211
211
|
.ft-typography--overline {
|
|
212
|
-
font-family: ${
|
|
213
|
-
font-size: ${
|
|
214
|
-
font-weight: ${
|
|
215
|
-
letter-spacing: ${
|
|
216
|
-
line-height: ${
|
|
217
|
-
text-transform: ${
|
|
218
|
-
}
|
|
219
|
-
`,
|
|
212
|
+
font-family: ${mo};
|
|
213
|
+
font-size: ${xo};
|
|
214
|
+
font-weight: ${Oo};
|
|
215
|
+
letter-spacing: ${No};
|
|
216
|
+
line-height: ${vo};
|
|
217
|
+
text-transform: ${So};
|
|
218
|
+
}
|
|
219
|
+
`,Bo=e.css`
|
|
220
220
|
.ft-typography--button {
|
|
221
|
-
font-family: ${
|
|
222
|
-
font-size: ${
|
|
223
|
-
font-weight: ${
|
|
224
|
-
letter-spacing: ${
|
|
225
|
-
line-height: ${
|
|
226
|
-
text-transform: ${
|
|
227
|
-
}
|
|
228
|
-
`,
|
|
221
|
+
font-family: ${Co};
|
|
222
|
+
font-size: ${wo};
|
|
223
|
+
font-weight: ${Io};
|
|
224
|
+
letter-spacing: ${Uo};
|
|
225
|
+
line-height: ${$o};
|
|
226
|
+
text-transform: ${Ro};
|
|
227
|
+
}
|
|
228
|
+
`,Ao=e.css`
|
|
229
229
|
.ft-typography {
|
|
230
230
|
vertical-align: inherit;
|
|
231
231
|
}
|
|
232
|
-
|
|
232
|
+
`,Ho=[Object.keys(mt).map((t=>function(t){const o=mt[t];return e.css`
|
|
233
|
+
font-family: ${o.fontFamily};
|
|
234
|
+
font-size: ${o.fontSize};
|
|
235
|
+
font-weight: ${o.fontWeight};
|
|
236
|
+
letter-spacing: ${o.letterSpacing};
|
|
237
|
+
line-height: ${o.lineHeight};
|
|
238
|
+
text-transform: ${o.textCase};
|
|
239
|
+
`}(t)))];var Go,jo,Mo=function(t,o,e,r){for(var a,i=arguments.length,n=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(n=(i<3?a(n):i>3?a(o,e,n):a(o,e))||n);return i>3&&n&&Object.defineProperty(o,e,n),n};class Po extends o.FtLitElement{constructor(){super(...arguments),this.variant=gt.body1}render(){return this.element?dt`
|
|
233
240
|
<${ft(this.element)}
|
|
234
|
-
|
|
241
|
+
class="ft-typography ft-typography--${this.variant}">
|
|
235
242
|
<slot></slot>
|
|
236
243
|
</${ft(this.element)}>
|
|
237
244
|
`:dt`
|
|
238
245
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
239
|
-
`}}
|
|
246
|
+
`}}Po.styles=[Wo,Eo,Lo,ko,Ko,Zo,zo,Fo,Do,Bo,Ao,...Ho],Mo([r.property()],Po.prototype,"element",void 0),Mo([r.property()],Po.prototype,"variant",void 0),o.customElement("ft-typography")(Po),function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",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_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK=""}(Go||(Go={})),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=""}(jo||(jo={})),new Map([...["abw"].map((t=>[t,jo.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,jo.AUDIO])),...["avi"].map((t=>[t,jo.AVI])),...["chm","xhs"].map((t=>[t,jo.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,jo.CODE])),...["csv"].map((t=>[t,jo.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,jo.DITA])),...["epub"].map((t=>[t,jo.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,jo.EXCEL])),...["flac"].map((t=>[t,jo.FLAC])),...["gif"].map((t=>[t,jo.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,jo.GZIP])),...["html","htm","xhtml"].map((t=>[t,jo.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,jo.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,jo.JPEG])),...["json"].map((t=>[t,jo.JSON])),...["m4a","m4p"].map((t=>[t,jo.M4A])),...["mov","qt"].map((t=>[t,jo.MOV])),...["mp3"].map((t=>[t,jo.MP3])),...["mp4","m4v"].map((t=>[t,jo.MP4])),...["ogg","oga"].map((t=>[t,jo.OGG])),...["pdf","ps"].map((t=>[t,jo.PDF])),...["png"].map((t=>[t,jo.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,jo.POWERPOINT])),...["rar"].map((t=>[t,jo.RAR])),...["stp"].map((t=>[t,jo.STP])),...["txt","rtf","md","mdown"].map((t=>[t,jo.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,jo.VIDEO])),...["wav"].map((t=>[t,jo.WAV])),...["wma"].map((t=>[t,jo.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,jo.WORD])),...["xml","xsl","rdf"].map((t=>[t,jo.XML])),...["yaml","yml","x-yaml"].map((t=>[t,jo.YAML])),...["zip"].map((t=>[t,jo.ZIP]))]);const To=o.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),_o=o.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),Yo=o.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),qo=o.FtCssVariableFactory.extend("--ft-icon-material-font-family","",o.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),Vo=o.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset"),Xo=e.css`
|
|
240
247
|
:host, i.ft-icon {
|
|
241
248
|
display: inline-flex;
|
|
242
249
|
align-items: center;
|
|
@@ -245,14 +252,14 @@ const pt=Symbol.for(""),ht=t=>{if((null==t?void 0:t.r)===pt)return null==t?void
|
|
|
245
252
|
}
|
|
246
253
|
|
|
247
254
|
:host {
|
|
248
|
-
width: ${
|
|
249
|
-
height: ${
|
|
255
|
+
width: ${To};
|
|
256
|
+
height: ${To};
|
|
250
257
|
}
|
|
251
258
|
|
|
252
259
|
i.ft-icon {
|
|
253
260
|
width: 100%;
|
|
254
261
|
height: 100%;
|
|
255
|
-
font-size: ${
|
|
262
|
+
font-size: ${To};
|
|
256
263
|
line-height: 1;
|
|
257
264
|
font-weight: normal;
|
|
258
265
|
text-transform: none;
|
|
@@ -263,37 +270,37 @@ const pt=Symbol.for(""),ht=t=>{if((null==t?void 0:t.r)===pt)return null==t?void
|
|
|
263
270
|
text-rendering: auto;
|
|
264
271
|
-webkit-font-smoothing: antialiased;
|
|
265
272
|
-moz-osx-font-smoothing: grayscale;
|
|
266
|
-
vertical-align: ${
|
|
273
|
+
vertical-align: ${Vo};
|
|
267
274
|
}
|
|
268
275
|
|
|
269
276
|
i.ft-icon.ft-icon--fluid-topics {
|
|
270
|
-
font-family: ${
|
|
277
|
+
font-family: ${_o}, ft-icons, fticons, sans-serif;
|
|
271
278
|
|
|
272
279
|
/* Ugly fix because font is broken */
|
|
273
|
-
font-size: calc(0.75 * ${
|
|
274
|
-
line-height: ${
|
|
280
|
+
font-size: calc(0.75 * ${To});
|
|
281
|
+
line-height: ${To};
|
|
275
282
|
position: relative;
|
|
276
283
|
top: -4%;
|
|
277
284
|
justify-content: center;
|
|
278
285
|
}
|
|
279
286
|
|
|
280
287
|
.ft-icon--file-format {
|
|
281
|
-
font-family: ${
|
|
288
|
+
font-family: ${Yo}, ft-mime, sans-serif;
|
|
282
289
|
}
|
|
283
290
|
|
|
284
291
|
.ft-icon--material {
|
|
285
|
-
font-family: ${
|
|
292
|
+
font-family: ${qo}, "Material Icons", sans-serif;
|
|
286
293
|
}
|
|
287
|
-
`;var
|
|
294
|
+
`;var Jo;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Jo||(Jo={}));var Qo,te=function(t,o,e,r){for(var a,i=arguments.length,n=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(n=(i<3?a(n):i>3?a(o,e,n):a(o,e))||n);return i>3&&n&&Object.defineProperty(o,e,n),n};class oe extends o.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=e.nothing}render(){const t=this.variant&&Object.values(Jo).includes(this.variant)?this.variant:Jo.fluid_topics,o=t!==Jo.material||!!this.value;return e.html`
|
|
288
295
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
289
|
-
${
|
|
290
|
-
<slot ?hidden=${
|
|
296
|
+
${n.unsafeHTML(this.resolvedIcon)}
|
|
297
|
+
<slot ?hidden=${o}></slot>
|
|
291
298
|
</i>
|
|
292
|
-
`}get textContent(){var t,
|
|
299
|
+
`}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let r=this.value||this.textContent;switch(this.variant){case Jo.file_format:this.resolvedIcon=null!==(t=jo[r.replace("-","_").toUpperCase()])&&void 0!==t?t:r;break;case Jo.material:this.resolvedIcon=this.value||e.nothing;break;default:this.resolvedIcon=null!==(o=Go[r.replace("-","_").toUpperCase()])&&void 0!==o?o:r}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}oe.elementDefinitions={},oe.styles=Xo,te([r.property()],oe.prototype,"variant",void 0),te([r.property()],oe.prototype,"value",void 0),te([r.state()],oe.prototype,"resolvedIcon",void 0),te([r.query("slot")],oe.prototype,"slottedContent",void 0),o.customElement("ft-icon")(oe),t.FtTabsAlignment=void 0,(Qo=t.FtTabsAlignment||(t.FtTabsAlignment={})).left="left",Qo.right="right",Qo.justify="justify";const ee={colorSurface:o.FtCssVariableFactory.external(o.designSystemVariables.colorSurface,"Design system"),colorPrimary:o.FtCssVariableFactory.external(o.designSystemVariables.colorPrimary,"Design system"),colorOnSurfaceMedium:o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:o.FtCssVariableFactory.external(o.designSystemVariables.colorOnSurfaceDisabled,"Design system")},re=e.css`
|
|
293
300
|
.ft-tabs {
|
|
294
301
|
display: flex;
|
|
295
302
|
flex-direction: column;
|
|
296
|
-
background-color: ${
|
|
303
|
+
background-color: ${ee.colorSurface};
|
|
297
304
|
height: 100%;
|
|
298
305
|
}
|
|
299
306
|
|
|
@@ -333,15 +340,15 @@ const pt=Symbol.for(""),ht=t=>{if((null==t?void 0:t.r)===pt)return null==t?void
|
|
|
333
340
|
outline: none;
|
|
334
341
|
font-size: 16px;
|
|
335
342
|
line-height: 1;
|
|
336
|
-
color: ${
|
|
343
|
+
color: ${ee.colorOnSurfaceMedium};
|
|
337
344
|
}
|
|
338
345
|
|
|
339
346
|
[role='tab'][aria-selected='true'] {
|
|
340
|
-
color: ${
|
|
347
|
+
color: ${ee.colorPrimary};
|
|
341
348
|
}
|
|
342
349
|
|
|
343
350
|
[role='tab'][disabled] {
|
|
344
|
-
color: ${
|
|
351
|
+
color: ${ee.colorOnSurfaceDisabled};
|
|
345
352
|
}
|
|
346
353
|
|
|
347
354
|
.ft-tabs--align-justify [role='tab'],
|
|
@@ -373,7 +380,7 @@ const pt=Symbol.for(""),ht=t=>{if((null==t?void 0:t.r)===pt)return null==t?void
|
|
|
373
380
|
position: absolute;
|
|
374
381
|
height: 3px;
|
|
375
382
|
border-radius: 2px;
|
|
376
|
-
background-color: ${
|
|
383
|
+
background-color: ${ee.colorPrimary};
|
|
377
384
|
transition: width 200ms ease, left 200ms ease, top 200ms ease;
|
|
378
385
|
}
|
|
379
386
|
|
|
@@ -382,7 +389,7 @@ const pt=Symbol.for(""),ht=t=>{if((null==t?void 0:t.r)===pt)return null==t?void
|
|
|
382
389
|
flex-grow: 1;
|
|
383
390
|
overflow: auto;
|
|
384
391
|
}
|
|
385
|
-
`,
|
|
392
|
+
`,ae=o.FtCssVariableFactory.create("--ft-tooltip-distance","","SIZE","4px"),ie=o.FtCssVariableFactory.create("--ft-tooltip-color","","COLOR","#FFFFFF"),ne=o.FtCssVariableFactory.create("--ft-tooltip-background-color","","COLOR","#666666"),le=o.FtCssVariableFactory.create("--ft-tooltip-z-index","","NUMBER","100"),ce=o.FtCssVariableFactory.external(o.designSystemVariables.borderRadiusS,"Design system"),pe=o.FtCssVariableFactory.create("--ft-tooltip-max-width","","SIZE","150px"),se=e.css`
|
|
386
393
|
.ft-tooltip--container {
|
|
387
394
|
display: block;
|
|
388
395
|
}
|
|
@@ -397,21 +404,21 @@ const pt=Symbol.for(""),ht=t=>{if((null==t?void 0:t.r)===pt)return null==t?void
|
|
|
397
404
|
box-sizing: border-box;
|
|
398
405
|
overflow: hidden;
|
|
399
406
|
width: max-content;
|
|
400
|
-
max-width: ${
|
|
407
|
+
max-width: ${pe};
|
|
401
408
|
text-align: center;
|
|
402
|
-
padding: ${
|
|
403
|
-
z-index: ${
|
|
409
|
+
padding: ${ae};
|
|
410
|
+
z-index: ${le};
|
|
404
411
|
}
|
|
405
412
|
|
|
406
413
|
.ft-tooltip--content {
|
|
407
414
|
padding: 4px 8px;
|
|
408
|
-
border-radius: ${
|
|
409
|
-
background-color: ${
|
|
410
|
-
color: ${
|
|
415
|
+
border-radius: ${ce};
|
|
416
|
+
background-color: ${ne};
|
|
417
|
+
color: ${ie};
|
|
411
418
|
position: relative;
|
|
412
419
|
word-break: break-word;
|
|
413
420
|
}
|
|
414
|
-
`;var
|
|
421
|
+
`;var fe=function(t,o,e,r){for(var a,i=arguments.length,n=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(n=(i<3?a(n):i>3?a(o,e,n):a(o,e))||n);return i>3&&n&&Object.defineProperty(o,e,n),n};class he extends o.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 o.Debouncer,this.revealDebouncer=new o.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return e.html`
|
|
415
422
|
<div part="container"
|
|
416
423
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
417
424
|
@mouseenter=${this.onHover}
|
|
@@ -429,13 +436,13 @@ const pt=Symbol.for(""),ht=t=>{if((null==t?void 0:t.r)===pt)return null==t?void
|
|
|
429
436
|
</div>
|
|
430
437
|
</div>
|
|
431
438
|
</div>
|
|
432
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((
|
|
433
|
-
<div class="${
|
|
439
|
+
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const o=this.tooltip.offsetWidth,e=this.tooltip.offsetHeight,r=(t.offsetHeight-e)/2,a=(t.offsetWidth-o)/2;let i=0,n=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":n=t.offsetTop-e-this.tooltip.offsetTop,i=t.offsetLeft+a-this.tooltip.offsetLeft;break;case"bottom":n=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,i=t.offsetLeft+a-this.tooltip.offsetLeft;break;case"left":n=t.offsetTop+r-this.tooltip.offsetTop,i=t.offsetLeft-o-this.tooltip.offsetLeft;break;case"right":n=t.offsetTop+r-this.tooltip.offsetTop,i=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const l=this.tooltip.style;l.left=i+"px",l.top=n+"px";const c=this.tooltip.getBoundingClientRect();let p=-c.x,s=c.x+c.width-window.innerWidth;l.left=i+Math.round(this.correctOutOfWindowPixels(p,s))+"px";let f=-c.y,h=c.y+c.height-window.innerHeight;l.top=n+Math.round(this.correctOutOfWindowPixels(f,h))+"px",l.maxWidth=`max(${t.offsetWidth}px, ${pe})`}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",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}he.elementDefinitions={"ft-typography":Po},he.styles=se,fe([r.property()],he.prototype,"text",void 0),fe([r.property({type:Boolean})],he.prototype,"manual",void 0),fe([r.property({type:Boolean})],he.prototype,"inline",void 0),fe([r.property({type:Number})],he.prototype,"delay",void 0),fe([r.property()],he.prototype,"position",void 0),fe([r.queryAssignedNodes("",!0)],he.prototype,"slotNodes",void 0),fe([r.query(".ft-tooltip--container")],he.prototype,"container",void 0),fe([r.query(".ft-tooltip")],he.prototype,"tooltip",void 0),fe([r.query(".ft-tooltip--content")],he.prototype,"tooltipContent",void 0),fe([r.state()],he.prototype,"visible",void 0),o.customElement("ft-tooltip")(he);var de=function(t,o,e,r){for(var a,i=arguments.length,n=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(n=(i<3?a(n):i>3?a(o,e,n):a(o,e))||n);return i>3&&n&&Object.defineProperty(o,e,n),n};class ge extends CustomEvent{constructor(t){super("index-change",{detail:t})}}class ye extends o.FtLitElement{constructor(){super(...arguments),this.dense=!1,this.contentBefore=!1,this.alignTabs=t.FtTabsAlignment.justify,this.ftTabs=[],this.activeIndex=0,this.updateDebouncer=new o.Debouncer(2),this.onTabUpdated=()=>this.updateDebouncer.run((()=>{this.requestUpdate(),this.dispatchEvent(new o.PostResizeEvent)})),this.resizeObserver=new ResizeObserver((()=>this.placeIndicator()))}render(){var t;const o={"ft-tabs":!0,"ft-tabs--reverse":this.contentBefore,"ft-tabs--dense":this.dense},r=null===(t=this.ftTabs[this.activeIndex])||void 0===t?void 0:t.color;return e.html`
|
|
440
|
+
<div class="${i.classMap(o)}" part="container">
|
|
434
441
|
<div class="ft-tabs--align-${this.alignTabs}" role="tablist" part="tablist">
|
|
435
|
-
${
|
|
436
|
-
<button class="${
|
|
442
|
+
${a.repeat(this.ftTabs,((t,o)=>this.addTooltipIfNecessary(t,e.html`
|
|
443
|
+
<button class="${i.classMap({"ft-tabs--tab-with-icon":!!t.icon,"ft-tabs--tab-with-label":!!t.label})}"
|
|
437
444
|
?disabled=${t.disabled}
|
|
438
|
-
@click=${()=>this.activeIndex=
|
|
445
|
+
@click=${()=>this.activeIndex=o}
|
|
439
446
|
role="tab"
|
|
440
447
|
part="tab tab-${t.id}${t.active?" active-tab":""}"
|
|
441
448
|
id="${t.ariaLabelledBy}"
|
|
@@ -455,25 +462,25 @@ const pt=Symbol.for(""),ht=t=>{if((null==t?void 0:t.r)===pt)return null==t?void
|
|
|
455
462
|
</ft-icon>
|
|
456
463
|
<ft-typography class="ft-tabs--tab-label"
|
|
457
464
|
part="tab-label${t.active?" active-tab-label":""}"
|
|
458
|
-
variant="${
|
|
465
|
+
variant="${gt.body2}">
|
|
459
466
|
${t.label}
|
|
460
467
|
</ft-typography>
|
|
461
468
|
</button>
|
|
462
469
|
`)))}
|
|
463
470
|
<div class="ft-tabs--active-tab-indicator"
|
|
464
471
|
part="active-tab-indicator"
|
|
465
|
-
style="${
|
|
472
|
+
style="${r?`background-color: ${r} !important;`:""}">
|
|
466
473
|
</div>
|
|
467
474
|
</div>
|
|
468
475
|
<div class="ft-tabs--content" part="content">
|
|
469
476
|
<slot @slotchange=${this.onContentChange}></slot>
|
|
470
477
|
</div>
|
|
471
478
|
</div>
|
|
472
|
-
`}onContentChange(t){const
|
|
479
|
+
`}onContentChange(t){const o=t.composedPath()[0];this.ftTabs=o.assignedElements().map((t=>t)),this.ftTabs.forEach((t=>{t.removeEventListener("updated",this.onTabUpdated),t.addEventListener("updated",this.onTabUpdated)})),this.updateTabs()}update(t){super.update(t),t.has("activeIndex")&&this.dispatchEvent(new o.PreResizeEvent),(t.has("ftTabs")||t.has("activeIndex"))&&this.updateTabs(),t.has("activeIndex")&&this.dispatchEvent(new ge(this.activeIndex))}contentAvailableCallback(t){super.contentAvailableCallback(t),this.tabsContainer&&this.resizeObserver.observe(this.tabsContainer),this.placeIndicator()}placeIndicator(){var t,o,e,r,a,i,n;if(this.activeTabIndicator){const l=null!==(o=null===(t=this.activeTab)||void 0===t?void 0:t.closest(".ft-tabs--tab-tooltip"))&&void 0!==o?o:this.activeTab;this.activeTabIndicator.style.width=(null!==(e=null==l?void 0:l.clientWidth)&&void 0!==e?e:0)+"px",this.activeTabIndicator.style.left=(null!==(r=null==l?void 0:l.offsetLeft)&&void 0!==r?r:0)+"px",this.contentBefore?this.activeTabIndicator.style.top=(null!==(a=null==l?void 0:l.offsetTop)&&void 0!==a?a:0)+"px":this.activeTabIndicator.style.top=(null!==(i=null==l?void 0:l.offsetTop)&&void 0!==i?i:0)+(null!==(n=null==l?void 0:l.clientHeight)&&void 0!==n?n:0)-this.activeTabIndicator.clientHeight+"px"}}updateTabs(){this.ftTabs.forEach(((t,o)=>{t.active=o==this.activeIndex}))}addTooltipIfNecessary(t,o){return this.dense&&t.label&&t.icon?e.html`
|
|
473
480
|
<ft-tooltip class="ft-tabs--tab-tooltip"
|
|
474
481
|
part="tab-tooltip"
|
|
475
482
|
text="${t.label}"
|
|
476
483
|
position="${this.contentBefore?"top":"bottom"}">
|
|
477
|
-
${
|
|
484
|
+
${o}
|
|
478
485
|
</ft-tooltip>
|
|
479
|
-
`:
|
|
486
|
+
`:o}}ye.elementDefinitions={"ft-tab":c,"ft-ripple":I,"ft-tooltip":he,"ft-typography":Po,"ft-icon":oe},ye.styles=re,de([r.property({type:Boolean})],ye.prototype,"dense",void 0),de([r.property({type:Boolean})],ye.prototype,"contentBefore",void 0),de([r.property()],ye.prototype,"alignTabs",void 0),de([r.state()],ye.prototype,"ftTabs",void 0),de([r.query("[role='tablist']")],ye.prototype,"tabsContainer",void 0),de([r.query("[aria-selected='true']")],ye.prototype,"activeTab",void 0),de([r.query(".ft-tabs--active-tab-indicator")],ye.prototype,"activeTabIndicator",void 0),de([r.property({type:Number,reflect:!0})],ye.prototype,"activeIndex",void 0);o.customElement("ft-tab")(c),o.customElement("ft-tabs")(ye),t.FtTab=c,t.FtTabCssVariables={},t.FtTabs=ye,t.FtTabsCssVariables=ee,t.IndexChangeEvent=ge,t.styles=re}({},ftGlobals.wcUtils,ftGlobals.lit,ftGlobals.litDecorators,ftGlobals.litRepeat,ftGlobals.litClassMap,ftGlobals.litUnsafeHTML);
|