@fluid-topics/ft-file-drop 1.1.113 → 1.1.114
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-file-drop.light.js +25 -25
- package/build/ft-file-drop.min.js +340 -339
- package/package.json +4 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";(()=>{var ei=Object.create;var No=Object.defineProperty;var oi=Object.getOwnPropertyDescriptor;var ri=Object.getOwnPropertyNames;var ni=Object.getPrototypeOf,ii=Object.prototype.hasOwnProperty;var se=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports);var ai=(e,o,n,i)=>{if(o&&typeof o=="object"||typeof o=="function")for(let a of ri(o))!ii.call(e,a)&&a!==n&&No(e,a,{get:()=>o[a],enumerable:!(i=oi(o,a))||i.enumerable});return e};var m=(e,o,n)=>(n=e!=null?ei(ni(e)):{},ai(o||!e||!e.__esModule?No(n,"default",{value:e,enumerable:!0}):n,e));var R=se((Bi,Eo)=>{Eo.exports=ftGlobals.wcUtils});var B=se((Wi,wo)=>{wo.exports=ftGlobals.lit});var pt=se((zi,Ro)=>{Ro.exports=ftGlobals.litDecorators});var Zt=se((Ti,Lo)=>{Lo.exports=ftGlobals.litClassMap});var Fr=se((Zs,Kr)=>{Kr.exports=ftGlobals.litUnsafeHTML});var Jn=m(R());var Yn=m(B()),Bt=m(pt()),Xn=m(R()),qn=m(Zt());function Ao(e,o,n){if(e.length==0)return!0;let i=e.replace(/[.+?^${}()|[\]\\]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"|"),a=new RegExp(i),c=o.includes(".")?"."+o.split(".").pop():void 0;return c&&a.test(c)?!0:a.test(n)}var xo=m(R());var Ze=m(B()),Q=m(pt()),Zn=m(Zt()),Ke=m(R());var
|
|
1
|
+
"use strict";(()=>{var ei=Object.create;var No=Object.defineProperty;var oi=Object.getOwnPropertyDescriptor;var ri=Object.getOwnPropertyNames;var ni=Object.getPrototypeOf,ii=Object.prototype.hasOwnProperty;var se=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports);var ai=(e,o,n,i)=>{if(o&&typeof o=="object"||typeof o=="function")for(let a of ri(o))!ii.call(e,a)&&a!==n&&No(e,a,{get:()=>o[a],enumerable:!(i=oi(o,a))||i.enumerable});return e};var m=(e,o,n)=>(n=e!=null?ei(ni(e)):{},ai(o||!e||!e.__esModule?No(n,"default",{value:e,enumerable:!0}):n,e));var R=se((Bi,Eo)=>{Eo.exports=ftGlobals.wcUtils});var B=se((Wi,wo)=>{wo.exports=ftGlobals.lit});var pt=se((zi,Ro)=>{Ro.exports=ftGlobals.litDecorators});var Zt=se((Ti,Lo)=>{Lo.exports=ftGlobals.litClassMap});var Fr=se((Zs,Kr)=>{Kr.exports=ftGlobals.litUnsafeHTML});var Jn=m(R());var Yn=m(B()),Bt=m(pt()),Xn=m(R()),qn=m(Zt());function Ao(e,o,n){if(e.length==0)return!0;let i=e.replace(/[.+?^${}()|[\]\\]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"|"),a=new RegExp(i),c=o.includes(".")?"."+o.split(".").pop():void 0;return c&&a.test(c)?!0:a.test(n)}var xo=m(R());var Ze=m(B()),Q=m(pt()),Zn=m(Zt()),Ke=m(R());var Ho=m(R());var ko=m(B()),K=m(pt()),_o=m(Zt()),pe=m(R());var zo=m(B()),_=m(R()),$o=_.FtCssVariableFactory.extend("--ft-ripple-color","",_.designSystemVariables.colorContent),N={color:$o,backgroundColor:_.FtCssVariableFactory.extend("--ft-ripple-background-color","",$o),opacityContentOnSurfacePressed:_.FtCssVariableFactory.external(_.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:_.FtCssVariableFactory.external(_.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:_.FtCssVariableFactory.external(_.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:_.FtCssVariableFactory.external(_.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:_.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},Io=_.FtCssVariableFactory.extend("--ft-ripple-color","",_.designSystemVariables.colorPrimary),Po={color:Io,backgroundColor:_.FtCssVariableFactory.extend("--ft-ripple-background-color","",Io)},Bo=_.FtCssVariableFactory.extend("--ft-ripple-color","",_.designSystemVariables.colorSecondary),Wo={color:Bo,backgroundColor:_.FtCssVariableFactory.extend("--ft-ripple-background-color","",Bo)},To=zo.css`
|
|
2
2
|
:host {
|
|
3
3
|
display: contents;
|
|
4
4
|
}
|
|
@@ -117,11 +117,11 @@
|
|
|
117
117
|
top: ${this.originY}px;
|
|
118
118
|
}
|
|
119
119
|
</style>
|
|
120
|
-
<div class="${(0,
|
|
120
|
+
<div class="${(0,_o.classMap)(o)}">
|
|
121
121
|
<div class="ft-ripple--background"></div>
|
|
122
122
|
<div class="ft-ripple--effect"></div>
|
|
123
123
|
</div>
|
|
124
|
-
`}contentAvailableCallback(o){super.contentAvailableCallback(o),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(o){var n,i;super.update(o),o.has("disabled")&&(this.disabled?(this.endRipple(),(n=this.target)===null||n===void 0||n.removeAttribute("data-is-ft-ripple-target")):(i=this.target)===null||i===void 0||i.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var o,n;let i=(o=this.shadowRoot)===null||o===void 0?void 0:o.host.parentElement;i&&this.setupFor((n=this.target)!==null&&n!==void 0?n:i)}setupFor(o){if(this.setupDebouncer.cancel(),this.target===o)return;this.onDisconnect&&this.onDisconnect(),this.target=o,o.setAttribute("data-is-ft-ripple-target","true");let n=(...p)=>d=>{p.forEach(u=>window.addEventListener(u,this.endPress,{once:!0})),this.startPress(d)},i=n("mouseup","contextmenu"),a=n("touchend","touchcancel"),c=p=>{["Enter"," "].includes(p.key)&&n("keyup")(p)},s={passive:!0};o.addEventListener("mouseover",this.startHover,s),o.addEventListener("mousemove",this.moveRipple,s),o.addEventListener("mouseleave",this.endHover,s),o.addEventListener("mousedown",i,s),o.addEventListener("touchstart",a,s),o.addEventListener("touchmove",this.moveRipple,s),o.addEventListener("keydown",c,s),o.addEventListener("focus",this.startFocus,s),o.addEventListener("blur",this.endFocus,s),o.addEventListener("focusin",this.startFocus,s),o.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{o.removeAttribute("data-is-ft-ripple-target"),o.removeEventListener("mouseover",this.startHover,s),o.removeEventListener("mousemove",this.moveRipple,s),o.removeEventListener("mouseleave",this.endHover,s),o.removeEventListener("mousedown",i,s),o.removeEventListener("touchstart",a,s),o.removeEventListener("touchmove",this.moveRipple,s),o.removeEventListener("keydown",c,s),o.removeEventListener("focus",this.startFocus,s),o.removeEventListener("blur",this.endFocus,s),o.removeEventListener("focusin",this.startFocus,s),o.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(o){let n=o,i=o,a,c;return n.x!=null?{x:a,y:c}=n:i.touches!=null&&(a=i.touches[0].clientX,c=i.touches[0].clientY),{x:a,y:c}}isFocusVisible(o){return o instanceof HTMLElement?o.matches(":focus-visible"):!0}isIgnored(o){if(this.disabled)return!0;if(o!=null)for(let n of o.composedPath()){if(n===this.target)break;if("hasAttribute"in n&&n.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};A.elementDefinitions={};A.styles=To;tt([(0,K.property)({type:Boolean})],A.prototype,"primary",void 0);tt([(0,K.property)({type:Boolean})],A.prototype,"secondary",void 0);tt([(0,K.property)({type:Boolean})],A.prototype,"unbounded",void 0);tt([(0,K.property)({type:Boolean})],A.prototype,"activated",void 0);tt([(0,K.property)({type:Boolean})],A.prototype,"selected",void 0);tt([(0,K.property)({type:Boolean})],A.prototype,"disabled",void 0);tt([(0,K.state)()],A.prototype,"hovered",void 0);tt([(0,K.state)()],A.prototype,"focused",void 0);tt([(0,K.state)()],A.prototype,"pressed",void 0);tt([(0,K.state)()],A.prototype,"rippling",void 0);tt([(0,K.state)()],A.prototype,"originX",void 0);tt([(0,K.state)()],A.prototype,"originY",void 0);tt([(0,K.query)(".ft-ripple")],A.prototype,"ripple",void 0);tt([(0,K.query)(".ft-ripple--effect")],A.prototype,"rippleEffect",void 0);(0,
|
|
124
|
+
`}contentAvailableCallback(o){super.contentAvailableCallback(o),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(o){var n,i;super.update(o),o.has("disabled")&&(this.disabled?(this.endRipple(),(n=this.target)===null||n===void 0||n.removeAttribute("data-is-ft-ripple-target")):(i=this.target)===null||i===void 0||i.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var o,n;let i=(o=this.shadowRoot)===null||o===void 0?void 0:o.host.parentElement;i&&this.setupFor((n=this.target)!==null&&n!==void 0?n:i)}setupFor(o){if(this.setupDebouncer.cancel(),this.target===o)return;this.onDisconnect&&this.onDisconnect(),this.target=o,o.setAttribute("data-is-ft-ripple-target","true");let n=(...p)=>d=>{p.forEach(u=>window.addEventListener(u,this.endPress,{once:!0})),this.startPress(d)},i=n("mouseup","contextmenu"),a=n("touchend","touchcancel"),c=p=>{["Enter"," "].includes(p.key)&&n("keyup")(p)},s={passive:!0};o.addEventListener("mouseover",this.startHover,s),o.addEventListener("mousemove",this.moveRipple,s),o.addEventListener("mouseleave",this.endHover,s),o.addEventListener("mousedown",i,s),o.addEventListener("touchstart",a,s),o.addEventListener("touchmove",this.moveRipple,s),o.addEventListener("keydown",c,s),o.addEventListener("focus",this.startFocus,s),o.addEventListener("blur",this.endFocus,s),o.addEventListener("focusin",this.startFocus,s),o.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{o.removeAttribute("data-is-ft-ripple-target"),o.removeEventListener("mouseover",this.startHover,s),o.removeEventListener("mousemove",this.moveRipple,s),o.removeEventListener("mouseleave",this.endHover,s),o.removeEventListener("mousedown",i,s),o.removeEventListener("touchstart",a,s),o.removeEventListener("touchmove",this.moveRipple,s),o.removeEventListener("keydown",c,s),o.removeEventListener("focus",this.startFocus,s),o.removeEventListener("blur",this.endFocus,s),o.removeEventListener("focusin",this.startFocus,s),o.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(o){let n=o,i=o,a,c;return n.x!=null?{x:a,y:c}=n:i.touches!=null&&(a=i.touches[0].clientX,c=i.touches[0].clientY),{x:a,y:c}}isFocusVisible(o){return o instanceof HTMLElement?o.matches(":focus-visible"):!0}isIgnored(o){if(this.disabled)return!0;if(o!=null)for(let n of o.composedPath()){if(n===this.target)break;if("hasAttribute"in n&&n.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};A.elementDefinitions={};A.styles=To;tt([(0,K.property)({type:Boolean})],A.prototype,"primary",void 0);tt([(0,K.property)({type:Boolean})],A.prototype,"secondary",void 0);tt([(0,K.property)({type:Boolean})],A.prototype,"unbounded",void 0);tt([(0,K.property)({type:Boolean})],A.prototype,"activated",void 0);tt([(0,K.property)({type:Boolean})],A.prototype,"selected",void 0);tt([(0,K.property)({type:Boolean})],A.prototype,"disabled",void 0);tt([(0,K.state)()],A.prototype,"hovered",void 0);tt([(0,K.state)()],A.prototype,"focused",void 0);tt([(0,K.state)()],A.prototype,"pressed",void 0);tt([(0,K.state)()],A.prototype,"rippling",void 0);tt([(0,K.state)()],A.prototype,"originX",void 0);tt([(0,K.state)()],A.prototype,"originY",void 0);tt([(0,K.query)(".ft-ripple")],A.prototype,"ripple",void 0);tt([(0,K.query)(".ft-ripple--effect")],A.prototype,"rippleEffect",void 0);(0,Ho.customElement)("ft-ripple")(A);var Mr=m(R());var Qe=globalThis,we=Qe.trustedTypes,Do=we?we.createPolicy("lit-html",{createHTML:e=>e}):void 0,Fo="$lit$",At=`lit$${(Math.random()+"").slice(9)}$`,Vo="?"+At,li=`<${Vo}>`,Tt=document,Re=()=>Tt.createComment(""),fe=e=>e===null||typeof e!="object"&&typeof e!="function",jo=Array.isArray,ci=e=>jo(e)||typeof e?.[Symbol.iterator]=="function",Ve=`[
|
|
125
125
|
\f\r]`,de=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Uo=/-->/g,Go=/>/g,Wt=RegExp(`>|${Ve}(?:([^\\s"'>=/]+)(${Ve}*=${Ve}*(?:[^
|
|
126
126
|
\f\r"'\`<>=]|("|')|))|$)`,"g"),Zo=/'/g,Mo=/"/g,Yo=/^(?:script|style|textarea|title)$/i,Xo=e=>(o,...n)=>({_$litType$:e,strings:o,values:n}),qo=Xo(1),Jo=Xo(2),he=Symbol.for("lit-noChange"),Z=Symbol.for("lit-nothing"),Ko=new WeakMap,zt=Tt.createTreeWalker(Tt,129);function Qo(e,o){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Do!==void 0?Do.createHTML(o):o}var si=(e,o)=>{let n=e.length-1,i=[],a,c=o===2?"<svg>":"",s=de;for(let p=0;p<n;p++){let d=e[p],u,x,y=-1,w=0;for(;w<d.length&&(s.lastIndex=w,x=s.exec(d),x!==null);)w=s.lastIndex,s===de?x[1]==="!--"?s=Uo:x[1]!==void 0?s=Go:x[2]!==void 0?(Yo.test(x[2])&&(a=RegExp("</"+x[2],"g")),s=Wt):x[3]!==void 0&&(s=Wt):s===Wt?x[0]===">"?(s=a??de,y=-1):x[1]===void 0?y=-2:(y=s.lastIndex-x[2].length,u=x[1],s=x[3]===void 0?Wt:x[3]==='"'?Mo:Zo):s===Mo||s===Zo?s=Wt:s===Uo||s===Go?s=de:(s=Wt,a=void 0);let C=s===Wt&&e[p+1].startsWith("/>")?" ":"";c+=s===de?d+li:y>=0?(i.push(u),d.slice(0,y)+Fo+d.slice(y)+At+C):d+At+(y===-2?p:C)}return[Qo(e,c+(e[n]||"<?>")+(o===2?"</svg>":"")),i]},ge=class e{constructor({strings:o,_$litType$:n},i){let a;this.parts=[];let c=0,s=0,p=o.length-1,d=this.parts,[u,x]=si(o,n);if(this.el=e.createElement(u,i),zt.currentNode=this.el.content,n===2){let y=this.el.content.firstChild;y.replaceWith(...y.childNodes)}for(;(a=zt.nextNode())!==null&&d.length<p;){if(a.nodeType===1){if(a.hasAttributes())for(let y of a.getAttributeNames())if(y.endsWith(Fo)){let w=x[s++],C=a.getAttribute(y).split(At),L=/([.?@])?(.*)/.exec(w);d.push({type:1,index:c,name:L[2],strings:C,ctor:L[1]==="."?Ye:L[1]==="?"?Xe:L[1]==="@"?qe:Kt}),a.removeAttribute(y)}else y.startsWith(At)&&(d.push({type:6,index:c}),a.removeAttribute(y));if(Yo.test(a.tagName)){let y=a.textContent.split(At),w=y.length-1;if(w>0){a.textContent=we?we.emptyScript:"";for(let C=0;C<w;C++)a.append(y[C],Re()),zt.nextNode(),d.push({type:2,index:++c});a.append(y[w],Re())}}}else if(a.nodeType===8)if(a.data===Vo)d.push({type:2,index:c});else{let y=-1;for(;(y=a.data.indexOf(At,y+1))!==-1;)d.push({type:7,index:c}),y+=At.length-1}c++}}static createElement(o,n){let i=Tt.createElement("template");return i.innerHTML=o,i}};function Mt(e,o,n=e,i){if(o===he)return o;let a=i!==void 0?n._$Co?.[i]:n._$Cl,c=fe(o)?void 0:o._$litDirective$;return a?.constructor!==c&&(a?._$AO?.(!1),c===void 0?a=void 0:(a=new c(e),a._$AT(e,n,i)),i!==void 0?(n._$Co??=[])[i]=a:n._$Cl=a),a!==void 0&&(o=Mt(e,a._$AS(e,o.values),a,i)),o}var je=class{constructor(o,n){this._$AV=[],this._$AN=void 0,this._$AD=o,this._$AM=n}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(o){let{el:{content:n},parts:i}=this._$AD,a=(o?.creationScope??Tt).importNode(n,!0);zt.currentNode=a;let c=zt.nextNode(),s=0,p=0,d=i[0];for(;d!==void 0;){if(s===d.index){let u;d.type===2?u=new Le(c,c.nextSibling,this,o):d.type===1?u=new d.ctor(c,d.name,d.strings,this,o):d.type===6&&(u=new Je(c,this,o)),this._$AV.push(u),d=i[++p]}s!==d?.index&&(c=zt.nextNode(),s++)}return zt.currentNode=Tt,a}p(o){let n=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(o,i,n),n+=i.strings.length-2):i._$AI(o[n])),n++}},Le=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(o,n,i,a){this.type=2,this._$AH=Z,this._$AN=void 0,this._$AA=o,this._$AB=n,this._$AM=i,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let o=this._$AA.parentNode,n=this._$AM;return n!==void 0&&o?.nodeType===11&&(o=n.parentNode),o}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(o,n=this){o=Mt(this,o,n),fe(o)?o===Z||o==null||o===""?(this._$AH!==Z&&this._$AR(),this._$AH=Z):o!==this._$AH&&o!==he&&this._(o):o._$litType$!==void 0?this.g(o):o.nodeType!==void 0?this.$(o):ci(o)?this.T(o):this._(o)}k(o){return this._$AA.parentNode.insertBefore(o,this._$AB)}$(o){this._$AH!==o&&(this._$AR(),this._$AH=this.k(o))}_(o){this._$AH!==Z&&fe(this._$AH)?this._$AA.nextSibling.data=o:this.$(Tt.createTextNode(o)),this._$AH=o}g(o){let{values:n,_$litType$:i}=o,a=typeof i=="number"?this._$AC(o):(i.el===void 0&&(i.el=ge.createElement(Qo(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===a)this._$AH.p(n);else{let c=new je(a,this),s=c.u(this.options);c.p(n),this.$(s),this._$AH=c}}_$AC(o){let n=Ko.get(o.strings);return n===void 0&&Ko.set(o.strings,n=new ge(o)),n}T(o){jo(this._$AH)||(this._$AH=[],this._$AR());let n=this._$AH,i,a=0;for(let c of o)a===n.length?n.push(i=new e(this.k(Re()),this.k(Re()),this,this.options)):i=n[a],i._$AI(c),a++;a<n.length&&(this._$AR(i&&i._$AB.nextSibling,a),n.length=a)}_$AR(o=this._$AA.nextSibling,n){for(this._$AP?.(!1,!0,n);o&&o!==this._$AB;){let i=o.nextSibling;o.remove(),o=i}}setConnected(o){this._$AM===void 0&&(this._$Cv=o,this._$AP?.(o))}},Kt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(o,n,i,a,c){this.type=1,this._$AH=Z,this._$AN=void 0,this.element=o,this.name=n,this._$AM=a,this.options=c,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=Z}_$AI(o,n=this,i,a){let c=this.strings,s=!1;if(c===void 0)o=Mt(this,o,n,0),s=!fe(o)||o!==this._$AH&&o!==he,s&&(this._$AH=o);else{let p=o,d,u;for(o=c[0],d=0;d<c.length-1;d++)u=Mt(this,p[i+d],n,d),u===he&&(u=this._$AH[d]),s||=!fe(u)||u!==this._$AH[d],u===Z?o=Z:o!==Z&&(o+=(u??"")+c[d+1]),this._$AH[d]=u}s&&!a&&this.O(o)}O(o){o===Z?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,o??"")}},Ye=class extends Kt{constructor(){super(...arguments),this.type=3}O(o){this.element[this.name]=o===Z?void 0:o}},Xe=class extends Kt{constructor(){super(...arguments),this.type=4}O(o){this.element.toggleAttribute(this.name,!!o&&o!==Z)}},qe=class extends Kt{constructor(o,n,i,a,c){super(o,n,i,a,c),this.type=5}_$AI(o,n=this){if((o=Mt(this,o,n,0)??Z)===he)return;let i=this._$AH,a=o===Z&&i!==Z||o.capture!==i.capture||o.once!==i.once||o.passive!==i.passive,c=o!==Z&&(i===Z||a);a&&this.element.removeEventListener(this.name,this,i),c&&this.element.addEventListener(this.name,this,o),this._$AH=o}handleEvent(o){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,o):this._$AH.handleEvent(o)}},Je=class{constructor(o,n,i){this.element=o,this.type=6,this._$AN=void 0,this._$AM=n,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(o){Mt(this,o)}};var pi=Qe.litHtmlPolyfillSupport;pi?.(ge,Le),(Qe.litHtmlVersions??=[]).push("3.1.0");var er=Symbol.for(""),di=e=>{if(e?.r===er)return e?._$litStatic$},to=e=>({_$litStatic$:e,r:er});var tr=new Map,or=e=>(o,...n)=>{let i=n.length,a,c,s=[],p=[],d,u=0,x=!1;for(;u<i;){for(d=o[u];u<i&&(c=n[u],(a=di(c))!==void 0);)d+=a+o[++u],x=!0;u!==i&&p.push(c),s.push(d),u++}if(u===i&&s.push(o[i]),x){let y=s.join("$$lit$$");(o=tr.get(y))===void 0&&(s.raw=s,tr.set(y,o=s)),n=p}return e(o,...n)},eo=or(qo),ji=or(Jo);var oo=m(pt()),Zr=m(R());var at;(function(e){e.title="title",e.title_dense="title-dense",e.subtitle1="subtitle1",e.subtitle2="subtitle2",e.body1="body1",e.body2="body2",e.caption="caption",e.breadcrumb="breadcrumb",e.overline="overline",e.button="button",e.display="display",e.title1="title-1",e.title2="title-2",e.title3="title-3",e.body1regular="body-1-regular",e.body1medium="body-1-medium",e.body1semibold="body-1-semibold",e.body2regular="body-2-regular",e.body2medium="body-2-medium",e.body2semibold="body-2-semibold",e.label1medium="label-1-medium",e.label1semibold="label-1-semibold",e.label1bold="label-1-bold",e.label2medium="label-2-medium",e.label2semibold="label-2-semibold",e.label2bold="label-2-bold",e.caption1medium="caption-1-medium",e.caption1semibold="caption-1-semibold",e.caption1bold="caption-1-bold",e.caption2medium="caption-2-medium",e.caption2semibold="caption-2-semibold",e.caption2bold="caption-2-bold"})(at||(at={}));var lt=m(B()),g=m(R());var St=m(B(),1),$t=e=>typeof e=="string"?(0,St.unsafeCSS)(e):e,t=class{static create(o,n,i,a){let c=p=>$t(p??a),s=St.css`var(${$t(o)}, ${c(a)})`;return s.name=o,s.description=n,s.category=i,s.defaultValue=a,s.defaultCssValue=c,s.get=p=>St.css`var(${$t(o)}, ${c(p)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>a,s}static extend(o,n,i,a){let c=p=>i.get(p??a),s=St.css`var(${$t(o)}, ${c(a)})`;return s.name=o,s.description=n,s.category=i.category,s.fallbackVariable=i,s.defaultValue=a,s.defaultCssValue=c,s.get=p=>St.css`var(${$t(o)}, ${c(p)})`,s.breadcrumb=()=>[i.name,...i.breadcrumb()],s.lastResortDefaultValue=()=>a??i.lastResortDefaultValue(),s}static external(o,n){let i=c=>o.fallbackVariable?o.fallbackVariable.get(c??o.defaultValue):$t(c??o.lastResortDefaultValue()),a=St.css`var(${$t(o.name)}, ${i(o.defaultValue)})`;return a.name=o.name,a.category=o.category,a.fallbackVariable=o.fallbackVariable,a.defaultValue=o.defaultValue,a.context=n,a.defaultCssValue=i,a.get=c=>St.css`var(${$t(o.name)}, ${i(c)})`,a.breadcrumb=()=>o.fallbackVariable?[o.fallbackVariable.name,...o.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>o.lastResortDefaultValue(),a}};var r={colorWhite:t.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:t.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:t.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:t.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:t.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:t.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:t.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:t.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:t.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:t.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:t.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:t.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:t.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:t.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:t.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:t.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:t.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:t.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:t.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:t.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:t.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:t.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:t.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:t.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:t.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:t.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:t.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:t.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:t.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:t.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:t.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:t.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:t.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:t.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:t.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:t.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:t.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:t.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:t.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:t.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:t.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:t.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:t.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:t.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:t.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:t.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:t.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:t.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:t.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:t.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:t.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:t.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:t.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:t.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:t.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:t.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:t.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:t.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:t.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:t.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:t.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:t.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:t.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:t.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:t.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:t.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:t.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:t.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:t.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:t.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:t.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:t.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:t.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:t.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:t.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:t.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:t.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:t.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:t.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:t.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:t.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:t.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:t.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:t.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:t.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:t.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:t.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:t.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:t.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:t.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:t.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:t.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:t.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:t.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:t.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:t.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:t.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:t.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:t.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:t.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:t.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:t.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:t.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:t.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:t.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:t.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:t.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:t.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:t.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:t.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:t.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:t.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:t.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:t.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:t.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:t.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:t.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:t.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:t.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:t.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:t.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:t.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:t.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:t.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:t.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:t.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:t.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:t.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:t.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:t.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:t.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:t.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:t.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:t.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:t.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:t.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:t.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:t.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:t.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:t.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:t.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:t.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:t.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:t.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:t.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:t.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:t.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:t.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:t.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:t.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:t.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:t.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:t.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:t.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:t.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:t.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:t.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:t.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:t.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:t.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:t.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:t.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:t.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:t.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:t.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:t.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:t.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:t.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:t.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:t.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:t.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:t.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:t.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:t.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:t.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:t.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:t.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:t.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:t.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:t.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:t.create("--ft-opacity-0","","NUMBER","0"),opacity8:t.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:t.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:t.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:t.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:t.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:t.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:t.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:t.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:t.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:t.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:t.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:t.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:t.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:t.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:t.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},rr={fontFamily:t.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:t.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-display-textCase","","UNKNOWN","none")},nr={fontFamily:t.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:t.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},ir={fontFamily:t.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:t.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},ar={fontFamily:t.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:t.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:t.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},lr={fontFamily:t.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:t.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},cr={fontFamily:t.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},sr={fontFamily:t.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},pr={fontFamily:t.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:t.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},dr={fontFamily:t.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},fi={fontFamily:t.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:t.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:t.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},fr={fontFamily:t.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},hr={fontFamily:t.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},gr={fontFamily:t.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},ur={fontFamily:t.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},mr={fontFamily:t.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},yr={fontFamily:t.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},br={fontFamily:t.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},xr={fontFamily:t.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Or={fontFamily:t.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Sr={fontFamily:t.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Cr={fontFamily:t.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},vr={fontFamily:t.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Nr={fontFamily:t.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Er={fontFamily:t.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},wr={fontFamily:t.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Rr={fontFamily:t.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Ae={display:rr,"title-1":nr,"title-2":ir,"title-3":ar,"body-1-regular":lr,"body-1-medium":cr,"body-1-semibold":sr,"body-2-regular":pr,"body-2-medium":dr,"body-2-medium-underline":fi,"body-2-semibold":fr,"label-1-medium":hr,"label-1-semibold":gr,"label-1-bold":ur,"label-2-medium":mr,"label-2-semibold":yr,"label-2-bold":br,"caption-1-medium":xr,"caption-1-semibold":Or,"caption-1-bold":Sr,"caption-2-medium":Cr,"caption-2-semibold":vr,"caption-2-bold":Nr,"caption-3-medium":Er,"caption-3-semibold":wr,"caption-3-bold":Rr};var l={backgroundActionPrimary:t.extend("--ft-background-action-primary","Used as backgorund of primary action components.",r.colorBrand0),backgroundErrorSubtle:t.extend("--ft-background-error-subtle","Used as background of subtle error components.",r.colorRed10),backgroundInfoSubtle:t.extend("--ft-background-info-subtle","Used as background of subtle information components.",r.colorCyan10),backgroundWarningSubtle:t.extend("--ft-background-warning-subtle","Used as background of subtle information components.",r.colorOrange10),backgroundSuccessSubtle:t.extend("--ft-background-success-subtle","Used as background of subtle success components.",r.colorGreen10),backgroundGlobalSurface:t.extend("--ft-background-global-surface","Used as app background.",r.colorWhite),backgroundGlobalOnSurface:t.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",r.colorGray10),backgroundGlobalOnSurfaceDark:t.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",r.colorGray30),contentActionPrimary:t.extend("--ft-content-action-primary","Used on label of primary action on light surface.",r.colorBrand0),contentWarningPrimary:t.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",r.colorOrange200),contentWarningIconOnly:t.extend("--ft-content-warning-icon-only","Used on warning status icons alone",r.colorOrange0),contentErrorPrimary:t.extend("--ft-content-error-primary","Used on label of error messages on light surface.",r.colorRed0),contentErrorIconOnly:t.extend("--ft-content-error-icon-only","Used on error status icons alone",r.colorRed70),contentInfoPrimary:t.extend("--ft-content-info-primary","Used on label of information messages on light surface.",r.colorCyan200),contentInfoIconOnly:t.extend("--ft-content-info-icon-only","Used on info status icons alone",r.colorCyan0),contentSuccessPrimary:t.extend("--ft-content-success-primary","Used on label of success messages on light surface.",r.colorGreen200),contentSuccessIconOnly:t.extend("--ft-content-success-icon-only","Used on success status icons alone",r.colorGreen0),contentGlobalPrimary:t.extend("--ft-content-global-primary","Used for main content on the page.",r.colorGray500),contentGlobalSecondary:t.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
127
127
|
Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",r.colorGray0),contentGlobalOnColor:t.extend("--ft-content-global-on-color","Used for content on a dominant color.",r.colorWhite),borderActionPrimary:t.extend("--ft-border-action-primary","Used as border for primary action components.",r.colorBrand0),borderActionFocusRing:t.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",r.colorCyan0),borderWarningPrimary:t.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",r.colorOrange200),borderWarningSubtle:t.extend("--ft-border-warning-subtle","Used as border for warning components.",r.colorOrange30),borderSuccessPrimary:t.extend("--ft-border-success-primary","Used as border for success buttons.",r.colorGreen200),borderSuccessSubtle:t.extend("--ft-border-success-subtle","Used as border for success components.",r.colorGreen30),borderErrorPrimary:t.extend("--ft-border-error-primary","Used as border for text fields in error states.",r.colorRed0),borderErrorSubtle:t.extend("--ft-border-error-subtle","Used as border for error components.",r.colorRed30),borderInfoPrimary:t.extend("--ft-border-info-primary","Used as border for buttons in info color.",r.colorCyan200),borderInfoSubtle:t.extend("--ft-border-info-subtle","Used as border for information components.",r.colorCyan30),borderGlobalPrimary:t.extend("--ft-border-global-primary","Used as border for element like input.",r.colorGray50),borderGlobalSubtle:t.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",r.colorGray30),borderInputPrimary:t.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",r.colorGray80)};var f={largeHeight:t.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:t.extend("--ft-button-large-horizontal-padding","",r.spacing4),largeGap:t.extend("--ft-button-large-gap","",r.spacing2),largeBorderRadius:t.extend("--ft-button-large-border-radius","",r.borderRadiusS),largeIconSize:t.extend("--ft-button-large-icon-size","",r.iconSize3),largeBorderWidth:t.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:t.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:t.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:t.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:t.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:t.extend("--ft-button-medium-horizontal-padding","",r.spacing3),mediumGap:t.extend("--ft-button-medium-gap","",r.spacing2),mediumBorderRadius:t.extend("--ft-button-medium-border-radius","",r.borderRadiusS),mediumIconSize:t.extend("--ft-button-medium-icon-size","",r.iconSize2),mediumBorderWidth:t.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:t.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:t.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:t.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:t.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:t.extend("--ft-button-small-horizontal-padding","",r.spacing2),smallGap:t.extend("--ft-button-small-gap","",r.spacing1),smallBorderRadius:t.extend("--ft-button-small-border-radius","",r.borderRadiusS),smallIconSize:t.extend("--ft-button-small-icon-size","",r.iconSize1),smallBorderWidth:t.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:t.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:t.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:t.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:t.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:t.extend("--ft-button-x-small-icon-size","",r.iconSize1),xSmallFocusOutlineOffset:t.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:t.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:t.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:t.extend("--ft-button-round-border-radius","",r.borderRadiusPill),primaryBackgroundColor:t.extend("--ft-button-primary-background-color","",l.backgroundActionPrimary),primaryColor:t.extend("--ft-button-primary-color","",l.contentGlobalOnColor),primaryIconColor:t.extend("--ft-button-primary-icon-color","",l.contentGlobalOnColor),primaryStateLayerColor:t.extend("--ft-button-primary-state-layer-color","",l.contentGlobalOnColor),primaryHoverStateLayerOpacity:t.extend("--ft-button-primary-hover-state-layer-opacity","",r.opacity16),primaryFocusStateLayerOpacity:t.extend("--ft-button-primary-focus-state-layer-opacity","",r.opacity16),primaryActiveStateLayerOpacity:t.extend("--ft-button-primary-active-state-layer-opacity","",r.opacity24),primaryDisabledComponentOpacity:t.extend("--ft-button-primary-disabled-component-opacity","",r.opacity40),focusFocusRingColor:t.extend("--ft-button-focus-focus-ring-color","",l.borderActionFocusRing),tertiaryBackgroundColor:t.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:t.extend("--ft-button-tertiary-color","",l.contentActionPrimary),tertiaryIconColor:t.extend("--ft-button-tertiary-icon-color","",l.contentActionPrimary),tertiaryStateLayerColor:t.extend("--ft-button-tertiary-state-layer-color","",l.contentActionPrimary),tertiaryHoverStateLayerOpacity:t.extend("--ft-button-tertiary-hover-state-layer-opacity","",r.opacity8),tertiaryFocusStateLayerOpacity:t.extend("--ft-button-tertiary-focus-state-layer-opacity","",r.opacity8),tertiaryActiveStateLayerOpacity:t.extend("--ft-button-tertiary-active-state-layer-opacity","",r.opacity16),tertiaryDisabledComponentOpacity:t.extend("--ft-button-tertiary-disabled-component-opacity","",r.opacity40),secondaryBackgroundColor:t.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:t.extend("--ft-button-secondary-color","",l.contentActionPrimary),secondaryIconColor:t.extend("--ft-button-secondary-icon-color","",l.contentActionPrimary),secondaryStateLayerColor:t.extend("--ft-button-secondary-state-layer-color","",l.contentActionPrimary),secondaryHoverStateLayerOpacity:t.extend("--ft-button-secondary-hover-state-layer-opacity","",r.opacity8),secondaryFocusStateLayerOpacity:t.extend("--ft-button-secondary-focus-state-layer-opacity","",r.opacity8),secondaryActiveStateLayerOpacity:t.extend("--ft-button-secondary-active-state-layer-opacity","",r.opacity16),secondaryDisabledComponentOpacity:t.extend("--ft-button-secondary-disabled-component-opacity","",r.opacity40),secondaryBorderColor:t.extend("--ft-button-secondary-border-color","",l.borderActionPrimary),neutralBackgroundColor:t.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:t.extend("--ft-button-neutral-icon-color","",l.contentGlobalSecondary),neutralColor:t.extend("--ft-button-neutral-color","",l.contentGlobalSecondary),neutralStateLayerColor:t.extend("--ft-button-neutral-state-layer-color","",l.contentGlobalSecondary),neutralHoverStateLayerOpacity:t.extend("--ft-button-neutral-hover-state-layer-opacity","",r.opacity8),neutralFocusStateLayerOpacity:t.extend("--ft-button-neutral-focus-state-layer-opacity","",r.opacity8),neutralActiveStateLayerOpacity:t.extend("--ft-button-neutral-active-state-layer-opacity","",r.opacity16),neutralDisabledComponentOpacity:t.extend("--ft-button-neutral-disabled-component-opacity","",r.opacity40)};var fa={neutralOffHoverStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",r.opacity8),neutralOffFocusStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",r.opacity8),neutralOffFocusFocusRingColor:t.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",l.borderActionFocusRing),neutralOffActiveStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",r.opacity16),neutralOffBackgroundColor:t.extend("--ft-chip-choice-neutral-off-background-color","",l.backgroundGlobalOnSurface),neutralOffBorderColor:t.extend("--ft-chip-choice-neutral-off-border-color","",l.borderGlobalPrimary),neutralOffColor:t.extend("--ft-chip-choice-neutral-off-color","",l.contentGlobalSecondary),neutralOffStateLayerColor:t.extend("--ft-chip-choice-neutral-off-state-layer-color","",l.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",r.opacity16),neutralOnHoverStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",r.opacity24),neutralOnFocusStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",r.opacity24),neutralOnFocusFocusRingColor:t.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",l.borderActionFocusRing),neutralOnActiveStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",r.opacity32),neutralOnBackgroundColor:t.extend("--ft-chip-choice-neutral-on-background-color","",l.backgroundGlobalOnSurface),neutralOnBorderColor:t.extend("--ft-chip-choice-neutral-on-border-color","",l.borderGlobalPrimary),neutralOnColor:t.extend("--ft-chip-choice-neutral-on-color","",l.contentGlobalPrimary),neutralOnIconColor:t.extend("--ft-chip-choice-neutral-on-icon-color","",l.contentGlobalPrimary),neutralOnStateLayerColor:t.extend("--ft-chip-choice-neutral-on-state-layer-color","",l.contentGlobalPrimary),largeMinHeight:t.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:t.extend("--ft-chip-choice-large-horizontal-padding","",r.spacing3),largeGap:t.extend("--ft-chip-choice-large-gap","",r.spacing1),largeBorderRadius:t.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:t.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:t.extend("--ft-chip-choice-large-icon-size","",r.iconSize3),mediumMinHeight:t.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:t.extend("--ft-chip-choice-medium-horizontal-padding","",r.spacing2),mediumGap:t.extend("--ft-chip-choice-medium-gap","",r.spacing1),mediumBorderRadius:t.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:t.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:t.extend("--ft-chip-choice-medium-icon-size","",r.iconSize2)};var v={largeMinHeight:t.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:t.extend("--ft-chip-large-horizontal-padding","",r.spacing3),largeButtonRightPadding:t.extend("--ft-chip-large-button-right-padding","",r.spacing1),largeGap:t.extend("--ft-chip-large-gap","",r.spacing1),largeFocusOutlineOffset:t.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:t.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:t.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:t.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:t.extend("--ft-chip-large-icon-size","",r.iconSize3),mediumMinHeight:t.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:t.extend("--ft-chip-medium-horizontal-padding","",r.spacing2),mediumButtonRightPadding:t.extend("--ft-chip-medium-button-right-padding","",r.spacing05),mediumGap:t.extend("--ft-chip-medium-gap","",r.spacing1),mediumFocusOutlineOffset:t.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:t.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:t.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:t.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:t.extend("--ft-chip-medium-icon-size","",r.iconSize2),smallMinHeight:t.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:t.extend("--ft-chip-small-horizontal-padding","",r.spacing1),smallButtonRightPadding:t.extend("--ft-chip-small-button-right-padding","",r.spacing05),smallGap:t.extend("--ft-chip-small-gap","",r.spacing1),smallFocusOutlineOffset:t.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:t.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:t.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:t.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:t.extend("--ft-chip-small-icon-size","",r.iconSize1),neutralBackgroundColor:t.extend("--ft-chip-neutral-background-color","",l.backgroundGlobalOnSurface),neutralColor:t.extend("--ft-chip-neutral-color","",l.contentGlobalSecondary),neutralIconColor:t.extend("--ft-chip-neutral-icon-color","",l.contentGlobalSecondary),neutralBorderColor:t.extend("--ft-chip-neutral-border-color","",l.borderGlobalSubtle),infoBackgroundColor:t.extend("--ft-chip-info-background-color","",l.backgroundInfoSubtle),infoColor:t.extend("--ft-chip-info-color","",l.contentInfoPrimary),infoIconColor:t.extend("--ft-chip-info-icon-color","",l.contentInfoIconOnly),infoBorderColor:t.extend("--ft-chip-info-border-color","",l.borderInfoSubtle),successBackgroundColor:t.extend("--ft-chip-success-background-color","",l.backgroundSuccessSubtle),successColor:t.extend("--ft-chip-success-color","",l.contentSuccessPrimary),successIconColor:t.extend("--ft-chip-success-icon-color","",l.contentSuccessIconOnly),successBorderColor:t.extend("--ft-chip-success-border-color","",l.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-chip-warning-background-color","",l.backgroundWarningSubtle),warningColor:t.extend("--ft-chip-warning-color","",l.contentWarningPrimary),warningIconColor:t.extend("--ft-chip-warning-icon-color","",l.contentWarningIconOnly),warningBorderColor:t.extend("--ft-chip-warning-border-color","",l.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-chip-error-background-color","",l.backgroundErrorSubtle),errorColor:t.extend("--ft-chip-error-color","",l.contentErrorPrimary),errorIconColor:t.extend("--ft-chip-error-icon-color","",l.contentErrorIconOnly),errorBorderColor:t.extend("--ft-chip-error-border-color","",l.borderErrorSubtle)};var Sa={brandHoverOpacity:t.extend("--ft-link-brand-hover-opacity","",r.opacity80),brandHoverColor:t.extend("--ft-link-brand-hover-color","",l.contentActionPrimary),brandFocusFocusRingColor:t.extend("--ft-link-brand-focus-focus-ring-color","",l.borderActionFocusRing),brandFocusColor:t.extend("--ft-link-brand-focus-color","",l.contentActionPrimary),brandDefaultColor:t.extend("--ft-link-brand-default-color","",l.contentActionPrimary),brandActiveColor:t.extend("--ft-link-brand-active-color","",l.contentActionPrimary),infoHoverOpacity:t.extend("--ft-link-info-hover-opacity","",r.opacity80),infoHoverColor:t.extend("--ft-link-info-hover-color","",l.contentInfoPrimary),infoFocusFocusRingColor:t.extend("--ft-link-info-focus-focus-ring-color","",l.borderActionFocusRing),infoFocusColor:t.extend("--ft-link-info-focus-color","",l.contentInfoPrimary),infoDefaultColor:t.extend("--ft-link-info-default-color","",l.contentInfoPrimary),infoActiveColor:t.extend("--ft-link-info-active-color","",l.contentInfoPrimary),neutralFocusFocusRingColor:t.extend("--ft-link-neutral-focus-focus-ring-color","",l.borderActionFocusRing),neutralFocusColor:t.extend("--ft-link-neutral-focus-color","",l.contentActionPrimary),neutralDefaultColor:t.extend("--ft-link-neutral-default-color","",l.contentGlobalPrimary),neutralHoverColor:t.extend("--ft-link-neutral-hover-color","",l.contentActionPrimary),neutralActiveColor:t.extend("--ft-link-neutral-active-color","",l.contentActionPrimary)};var wa={iconSize:t.extend("--ft-banner-icon-size","",r.iconSize5),borderWidth:t.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:t.extend("--ft-banner-left-padding","",r.spacing6),rightPadding:t.extend("--ft-banner-right-padding","",r.spacing6),verticalPadding:t.extend("--ft-banner-vertical-padding","",r.spacing6),horizontalSideGap:t.extend("--ft-banner-horizontal-side-gap","",r.spacing6),horizontalMobileGap:t.extend("--ft-banner-horizontal-mobile-gap","",r.spacing4),verticalMobileGap:t.extend("--ft-banner-vertical-mobile-gap","",r.spacing6),horizontalMiddleGap:t.extend("--ft-banner-horizontal-middle-gap","",r.spacing20),infoBackgroundColor:t.extend("--ft-banner-info-background-color","",l.backgroundInfoSubtle),infoColor:t.extend("--ft-banner-info-color","",l.contentInfoPrimary),infoIconColor:t.extend("--ft-banner-info-icon-color","",l.contentInfoIconOnly),infoBorderColor:t.extend("--ft-banner-info-border-color","",l.borderInfoSubtle)};var Ia={horizontalPadding:t.extend("--ft-badge-horizontal-padding","",r.spacing1),verticalPadding:t.extend("--ft-badge-vertical-padding","",r.spacing1),borderRadius:t.extend("--ft-badge-border-radius","",r.borderRadiusPill),color:t.extend("--ft-badge-color","",l.contentGlobalOnColor),backgroundColor:t.extend("--ft-badge-background-color","",l.contentActionPrimary)};var Ta={horizontalGap:t.extend("--ft-breadcrumb-horizontal-gap","",r.spacing1),verticalGap:t.extend("--ft-breadcrumb-vertical-gap","",r.spacing2),currentColor:t.extend("--ft-breadcrumb-current-color","",l.contentGlobalPrimary),previousNonClickableColor:t.extend("--ft-breadcrumb-previous-non-clickable-color","",l.contentGlobalSecondary),iconColor:t.extend("--ft-breadcrumb-icon-color","",l.contentGlobalSubtle)};var Ua={horizontalPadding:t.extend("--ft-page-header-horizontal-padding","",r.spacing6),horizontalGap:t.extend("--ft-page-header-horizontal-gap","",r.spacing4),verticalGap:t.extend("--ft-page-header-vertical-gap","",r.spacing2),classicVerticalPadding:t.extend("--ft-page-header-classic-vertical-padding","",r.spacing6),multilineVerticalPadding:t.extend("--ft-page-header-multiline-vertical-padding","",r.spacing4),inlineVerticalPadding:t.extend("--ft-page-header-inline-vertical-padding","",r.spacing2),backgroundColor:t.extend("--ft-page-header-background-color","",r.colorWhite),bottomBorderColor:t.extend("--ft-page-header-bottom-border-color","",l.borderGlobalSubtle),titleColor:t.extend("--ft-page-header-title-color","",l.contentGlobalPrimary),subtitleColor:t.extend("--ft-page-header-subtitle-color","",l.contentGlobalSecondary)};var Fa={smallContainerWidth:t.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:t.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:t.extend("--ft-modal-overlay-background-color","",r.colorGray700),overlayOpacity:t.extend("--ft-modal-overlay-opacity","",r.opacity40),shadow:t.extend("--ft-modal-shadow","",r.shadowElevation03),bodyBackgroundColor:t.extend("--ft-modal-body-background-color","",r.colorWhite),bodyColor:t.extend("--ft-modal-body-color","",l.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-modal-body-horizontal-padding","",r.spacing6),bodyVerticalPadding:t.extend("--ft-modal-body-vertical-padding","",r.spacing6),bodyVerticalGap:t.extend("--ft-modal-body-vertical-gap","",r.spacing6),containerMargin:t.extend("--ft-modal-container-margin","",r.spacing3),headerBackgroundColor:t.extend("--ft-modal-header-background-color","",l.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-modal-header-border-color","",l.borderGlobalSubtle),headerColor:t.extend("--ft-modal-header-color","",l.contentGlobalPrimary),headerTrailingIconColor:t.extend("--ft-modal-header-trailing-icon-color","",l.contentGlobalSecondary),headerVerticalPadding:t.extend("--ft-modal-header-vertical-padding","",r.spacing1),headerRightPadding:t.extend("--ft-modal-header-right-padding","",r.spacing1),headerLeftPadding:t.extend("--ft-modal-header-left-padding","",r.spacing6),headerGap:t.extend("--ft-modal-header-gap","",r.spacing2),headerBorderBottom:t.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:t.extend("--ft-modal-border-radius","",r.borderRadiusM)};var qa={overlayOpacity:t.extend("--ft-drawer-overlay-opacity","",r.opacity40),shadow:t.extend("--ft-drawer-shadow","",r.shadowElevation03),bodyColor:t.extend("--ft-drawer-body-color","",l.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-drawer-body-horizontal-padding","",r.spacing6),bodyVerticalPadding:t.extend("--ft-drawer-body-vertical-padding","",r.spacing6),bodyGap:t.extend("--ft-drawer-body-gap","",r.spacing6),bodyBackgroundColor:t.extend("--ft-drawer-body-background-color","",r.colorWhite),headerBackgroundColor:t.extend("--ft-drawer-header-background-color","",l.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-drawer-header-border-color","",l.borderGlobalSubtle),headerColor:t.extend("--ft-drawer-header-color","",l.contentGlobalPrimary),headerTrailingIconColor:t.extend("--ft-drawer-header-trailing-icon-color","",l.contentGlobalSecondary),headerHeight:t.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:t.extend("--ft-drawer-header-horizontal-padding","",r.spacing2),headerBorderWidth:t.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:t.extend("--ft-drawer-header-gap","",r.spacing3),buttonsBarBackgroundColor:t.extend("--ft-drawer-buttons-bar-background-color","",l.backgroundGlobalOnSurface),buttonsBarBorderColor:t.extend("--ft-drawer-buttons-bar-border-color","",l.borderGlobalSubtle),buttonsBarColor:t.extend("--ft-drawer-buttons-bar-color","",l.contentGlobalPrimary),buttonsBarHorizontalPadding:t.extend("--ft-drawer-buttons-bar-horizontal-padding","",r.spacing6),buttonsBarVerticalPadding:t.extend("--ft-drawer-buttons-bar-vertical-padding","",r.spacing4),buttonsBarGap:t.extend("--ft-drawer-buttons-bar-gap","",r.spacing3),buttonsBarBorderWidth:t.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:t.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:t.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:t.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:t.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:t.extend("--ft-drawer-overlay-background-color","",r.colorGray700)};var ol={offBorderBottomWidth:t.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:t.extend("--ft-tabs-off-hover-state-layer-opacity","",r.opacity8),offDefaultStateLayerOpacity:t.extend("--ft-tabs-off-default-state-layer-opacity","",r.opacity0),offFocusStateLayerOpacity:t.extend("--ft-tabs-off-focus-state-layer-opacity","",r.opacity8),offDisabledComponentOpacity:t.extend("--ft-tabs-off-disabled-component-opacity","",r.opacity40),offColor:t.extend("--ft-tabs-off-color","",l.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-tabs-off-state-layer-color","",l.contentGlobalSubtle),offBorderBottomColor:t.extend("--ft-tabs-off-border-bottom-color","",l.borderGlobalSubtle),activeTabIndicatorHeight:t.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:t.extend("--ft-tabs-top-left-border-radius","",r.borderRadiusS),topRightBorderRadius:t.extend("--ft-tabs-top-right-border-radius","",r.borderRadiusS),withLabelHorizontalPadding:t.extend("--ft-tabs-with-label-horizontal-padding","",r.spacing4),withLabelVerticalPadding:t.extend("--ft-tabs-with-label-vertical-padding","",r.spacing3),horizontalGap:t.extend("--ft-tabs-horizontal-gap","",r.spacing1),verticalGap:t.extend("--ft-tabs-vertical-gap","",r.spacing1),onHoverStateLayerOpacity:t.extend("--ft-tabs-on-hover-state-layer-opacity","",r.opacity16),onDefaultStateLayerOpacity:t.extend("--ft-tabs-on-default-state-layer-opacity","",r.opacity8),onFocusStateLayerOpacity:t.extend("--ft-tabs-on-focus-state-layer-opacity","",r.opacity16),onActiveStateLayerOpacity:t.extend("--ft-tabs-on-active-state-layer-opacity","",r.opacity24),onColor:t.extend("--ft-tabs-on-color","",l.contentActionPrimary),onStateLayerColor:t.extend("--ft-tabs-on-state-layer-color","",l.contentActionPrimary),onActiveTabIndicatorColor:t.extend("--ft-tabs-on-active-tab-indicator-color","",l.contentActionPrimary),iconOnlyHorizontalPadding:t.extend("--ft-tabs-icon-only-horizontal-padding","",r.spacing4),iconOnlyVerticalPadding:t.extend("--ft-tabs-icon-only-vertical-padding","",r.spacing4),alertTopPadding:t.extend("--ft-tabs-alert-top-padding","",r.spacing1),alertRightPadding:t.extend("--ft-tabs-alert-right-padding","",r.spacing05),focusOutlineWidth:t.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-tabs-focus-focus-ring-color","",l.borderActionFocusRing)};var ll={fieldHorizontalPadding:t.extend("--ft-text-input-field-horizontal-padding","",r.spacing4),fieldHorizontalGap:t.extend("--ft-text-input-field-horizontal-gap","",r.spacing3),fieldVerticalGap:t.extend("--ft-text-input-field-vertical-gap","",r.spacing05),fieldIconSize:t.extend("--ft-text-input-field-icon-size","",r.iconSize3),fieldHeight:t.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:t.extend("--ft-text-input-helper-horizontal-padding","",r.spacing4),helperHorizontalGap:t.extend("--ft-text-input-helper-horizontal-gap","",r.spacing1),helperIconSize:t.extend("--ft-text-input-helper-icon-size","",r.iconSize2),borderRadius:t.extend("--ft-text-input-border-radius","",r.borderRadiusM),backgroundColor:t.extend("--ft-text-input-background-color","",r.colorWhite),contentValueColor:t.extend("--ft-text-input-content-value-color","",l.contentGlobalPrimary),trailingIconColor:t.extend("--ft-text-input-trailing-icon-color","",l.contentGlobalSubtle),labelColor:t.extend("--ft-text-input-label-color","",l.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-input-default-border-color","",l.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-input-default-helper-text-color","",l.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-text-input-error-border-color","",l.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-input-error-helper-text-color","",l.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-input-error-helper-icon-color","",l.contentErrorIconOnly),warningBorderWidth:t.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:t.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-text-input-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineOffset:t.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-text-input-disabled-component-opacity","",r.opacity40)};var fl={backgroundColor:t.extend("--ft-text-area-background-color","",r.colorWhite),contentValueColor:t.extend("--ft-text-area-content-value-color","",l.contentGlobalPrimary),labelColor:t.extend("--ft-text-area-label-color","",l.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-area-default-border-color","",l.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-area-default-helper-text-color","",l.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-text-area-error-border-color","",l.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-area-error-helper-text-color","",l.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-area-error-helper-icon-color","",l.contentErrorIconOnly),focusFocusRingColor:t.extend("--ft-text-area-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineWidth:t.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:t.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-text-area-disabled-component-opacity","",r.opacity40),fieldHorizontalLeftPadding:t.extend("--ft-text-area-field-horizontal-left-padding","",r.spacing4),fieldHorizontalGap:t.extend("--ft-text-area-field-horizontal-gap","",r.spacing3),fieldVerticalGap:t.extend("--ft-text-area-field-vertical-gap","",r.spacing05),fieldMinHeight:t.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:t.extend("--ft-text-area-helper-horizontal-padding","",r.spacing4),helperHorizontalGap:t.extend("--ft-text-area-helper-horizontal-gap","",r.spacing1),helperIconSize:t.extend("--ft-text-area-helper-icon-size","",r.iconSize2),borderRadius:t.extend("--ft-text-area-border-radius","",r.borderRadiusM)};var yl={height:t.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:t.extend("--ft-floating-menu-horizontal-padding","",r.spacing4),offIconColor:t.extend("--ft-floating-menu-off-icon-color","",l.contentGlobalPrimary),offColor:t.extend("--ft-floating-menu-off-color","",l.contentGlobalPrimary),onColor:t.extend("--ft-floating-menu-on-color","",l.contentActionPrimary),onStateLayerColor:t.extend("--ft-floating-menu-on-state-layer-color","",l.contentActionPrimary),gap:t.extend("--ft-floating-menu-gap","",r.spacing3),focusFocusRingColor:t.extend("--ft-floating-menu-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineWidth:t.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:t.extend("--ft-floating-menu-focus-state-layer-opacity","",r.opacity8),hoverStateLayerOpacity:t.extend("--ft-floating-menu-hover-state-layer-opacity","",r.opacity8),activeStateLayerOpacity:t.extend("--ft-floating-menu-active-state-layer-opacity","",r.opacity16),disabledComponentOpacity:t.extend("--ft-floating-menu-disabled-component-opacity","",r.opacity40),iconSize:t.extend("--ft-floating-menu-icon-size","",r.iconSize3),backgroundColor:t.extend("--ft-floating-menu-background-color","",l.backgroundGlobalOnSurface),shadow:t.extend("--ft-floating-menu-shadow","",r.shadowElevation02)};var Cl={fieldHorizontalPadding:t.extend("--ft-combobox-single-select-field-horizontal-padding","",r.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-single-select-field-horizontal-gap","",r.spacing3),fieldVerticalGap:t.extend("--ft-combobox-single-select-field-vertical-gap","",r.spacing05),fieldIconSize:t.extend("--ft-combobox-single-select-field-icon-size","",r.iconSize3),fieldHeight:t.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:t.extend("--ft-combobox-single-select-helper-horizontal-padding","",r.spacing4),helperHorizontalGap:t.extend("--ft-combobox-single-select-helper-horizontal-gap","",r.spacing1),helperVerticalGap:t.extend("--ft-combobox-single-select-helper-vertical-gap","",r.spacing1),helperIconSize:t.extend("--ft-combobox-single-select-helper-icon-size","",r.iconSize2),menuVerticalGap:t.extend("--ft-combobox-single-select-menu-vertical-gap","",r.spacing2),borderRadius:t.extend("--ft-combobox-single-select-border-radius","",r.borderRadiusM),backgroundColor:t.extend("--ft-combobox-single-select-background-color","",r.colorWhite),labelColor:t.extend("--ft-combobox-single-select-label-color","",l.contentGlobalSubtle),contentValueColor:t.extend("--ft-combobox-single-select-content-value-color","",l.contentGlobalPrimary),trailingIconColor:t.extend("--ft-combobox-single-select-trailing-icon-color","",l.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-single-select-default-border-color","",l.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-single-select-default-helper-text-color","",l.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-combobox-single-select-error-border-color","",l.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-single-select-error-helper-text-color","",l.contentErrorPrimary),warningBorderWidth:t.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-single-select-warning-border-color","",l.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-single-select-warning-helper-text-color","",l.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-single-select-warning-helper-icon-color","",l.contentWarningIconOnly),focusOutlineWidth:t.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-single-select-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineOffset:t.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-combobox-single-select-disabled-component-opacity","",r.opacity40)};var Rl={backgroundColor:t.extend("--ft-combobox-multi-select-background-color","",r.colorWhite),labelColor:t.extend("--ft-combobox-multi-select-label-color","",l.contentGlobalSubtle),trailingIconColor:t.extend("--ft-combobox-multi-select-trailing-icon-color","",l.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-multi-select-default-border-color","",l.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-multi-select-default-helper-text-color","",l.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:t.extend("--ft-combobox-multi-select-error-border-color","",l.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-multi-select-error-helper-text-color","",l.contentErrorPrimary),errorHelperIcon:t.extend("--ft-combobox-multi-select-error-helper-icon","",l.contentErrorIconOnly),errorBorderWidth:t.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-multi-select-warning-border-color","",l.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-multi-select-warning-helper-text-color","",l.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-multi-select-warning-helper-icon-color","",l.contentWarningIconOnly),warningBorderWidth:t.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-multi-select-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineWidth:t.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:t.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-combobox-multi-select-disabled-component-opacity","",r.opacity40),helperHorizontalPadding:t.extend("--ft-combobox-multi-select-helper-horizontal-padding","",r.spacing4),helperHorizontalGap:t.extend("--ft-combobox-multi-select-helper-horizontal-gap","",r.spacing1),helperVerticalGap:t.extend("--ft-combobox-multi-select-helper-vertical-gap","",r.spacing1),helperIconSize:t.extend("--ft-combobox-multi-select-helper-icon-size","",r.iconSize2),fieldHorizontalPadding:t.extend("--ft-combobox-multi-select-field-horizontal-padding","",r.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-multi-select-field-horizontal-gap","",r.spacing3),fieldVerticalGap:t.extend("--ft-combobox-multi-select-field-vertical-gap","",r.spacing05),fieldIconSize:t.extend("--ft-combobox-multi-select-field-icon-size","",r.iconSize3),fieldMaxHeight:t.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:t.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",r.spacing1),contentValuesVerticalGap:t.extend("--ft-combobox-multi-select-content-values-vertical-gap","",r.spacing1),borderRadius:t.extend("--ft-combobox-multi-select-border-radius","",r.borderRadiusM)};var Pl={backgroundColor:t.extend("--ft-popover-background-color","",l.backgroundGlobalOnSurface),horizontalPadding:t.extend("--ft-popover-horizontal-padding","",r.spacing6),verticalPadding:t.extend("--ft-popover-vertical-padding","",r.spacing6),titleColor:t.extend("--ft-popover-title-color","",l.contentGlobalPrimary),bodyColor:t.extend("--ft-popover-body-color","",l.contentGlobalSecondary),linkColor:t.extend("--ft-popover-link-color","",l.contentActionPrimary),gap:t.extend("--ft-popover-gap","",r.spacing3),borderRadius:t.extend("--ft-popover-border-radius","",r.borderRadiusM),shadow:t.extend("--ft-popover-shadow","",r.shadowElevation02)};var kl={hoverStateLayerOpacity:t.extend("--ft-collapsible-hover-state-layer-opacity","",r.opacity8),focusStateLayerOpacity:t.extend("--ft-collapsible-focus-state-layer-opacity","",r.opacity8),focusOutlineWidth:t.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:t.extend("--ft-collapsible-focus-focus-ring-color","",l.borderActionFocusRing),activeStateLayerOpacity:t.extend("--ft-collapsible-active-state-layer-opacity","",r.opacity16),disabledComponentOpacity:t.extend("--ft-collapsible-disabled-component-opacity","",r.opacity40),horizontalPadding:t.extend("--ft-collapsible-horizontal-padding","",r.spacing4),verticalPadding:t.extend("--ft-collapsible-vertical-padding","",r.spacing3),color:t.extend("--ft-collapsible-color","",l.contentGlobalPrimary),stateLayerColor:t.extend("--ft-collapsible-state-layer-color","",l.contentGlobalPrimary),backgroundColor:t.extend("--ft-collapsible-background-color","",l.backgroundGlobalOnSurface),borderColor:t.extend("--ft-collapsible-border-color","",l.borderGlobalSubtle),iconSize:t.extend("--ft-collapsible-icon-size","",r.iconSize3)};var Gl={groupHorizontalPadding:t.extend("--ft-switch-group-horizontal-padding","",r.spacing1),groupVerticalPadding:t.extend("--ft-switch-group-vertical-padding","",r.spacing1),groupGap:t.extend("--ft-switch-group-gap","",r.spacing1),groupBackgroundColor:t.extend("--ft-switch-group-background-color","",l.backgroundGlobalSurface),groupBorderColor:t.extend("--ft-switch-group-border-color","",l.borderGlobalSubtle),groupBorderRadius:t.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:t.extend("--ft-switch-label-horizontal-padding","",r.spacing2),labelVerticalPadding:t.extend("--ft-switch-label-vertical-padding","",r.spacing1),offHoverStateLayerOpacity:t.extend("--ft-switch-off-hover-state-layer-opacity","",r.opacity8),offFocusStateLayerOpacity:t.extend("--ft-switch-off-focus-state-layer-opacity","",r.opacity8),offActiveStateLayerOpacity:t.extend("--ft-switch-off-active-state-layer-opacity","",r.opacity16),offDisabledComponentOpacity:t.extend("--ft-switch-off-disabled-component-opacity","",r.opacity40),offColor:t.extend("--ft-switch-off-color","",l.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-switch-off-state-layer-color","",l.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-switch-on-hover-state-layer-opacity","",r.opacity8),onFocusStateLayerOpacity:t.extend("--ft-switch-on-focus-state-layer-opacity","",r.opacity8),onActiveStateLayerOpacity:t.extend("--ft-switch-on-active-state-layer-opacity","",r.opacity16),onDisabledComponentOpacity:t.extend("--ft-switch-on-disabled-component-opacity","",r.opacity40),onColor:t.extend("--ft-switch-on-color","",l.contentActionPrimary),onStateLayerColor:t.extend("--ft-switch-on-state-layer-color","",l.contentActionPrimary),iconHorizontalPadding:t.extend("--ft-switch-icon-horizontal-padding","",r.spacing1),iconVerticalPadding:t.extend("--ft-switch-icon-vertical-padding","",r.spacing1),focusOutlineWidth:t.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-switch-focus-focus-ring-color","",l.borderActionFocusRing),optionBorderRadius:t.extend("--ft-switch-option-border-radius","",r.borderRadiusS)};var Fl={color1Light:t.extend("--ft-chart-1-light","for area color charts",r.colorBrand40),color1Base:t.extend("--ft-chart-1-base","for line charts",r.colorBrand0),color2Light:t.extend("--ft-chart-2-light","for area color charts",r.colorYellow60),color2Base:t.extend("--ft-chart-2-base","for line charts",r.colorYellow100),color3Light:t.extend("--ft-chart-3-light","",r.colorUltramarine40),color3Base:t.extend("--ft-chart-3-base","",r.colorUltramarine70),color4Light:t.extend("--ft-chart-4-light","",r.colorCyan50),color4Base:t.extend("--ft-chart-4-base","",r.colorCyan100),color5Light:t.extend("--ft-chart-5-light","",r.colorRed40),color5Base:t.extend("--ft-chart-5-base","",r.colorRed60),color6Light:t.extend("--ft-chart-6-light","",r.colorGreen40),color6Base:t.extend("--ft-chart-6-base","",r.colorGreen70),color7Light:t.extend("--ft-chart-7-light","",r.colorOrange70),color7Base:t.extend("--ft-chart-7-base","",r.colorOrange100),color8Light:t.extend("--ft-chart-8-light","",r.colorAvocado70),color8Base:t.extend("--ft-chart-8-base","",r.colorAvocado200),color9Light:t.extend("--ft-chart-9-light","",r.colorBrown50),color9Base:t.extend("--ft-chart-9-base","",r.colorBrown200),color10Light:t.extend("--ft-chart-10-light","",r.colorGray50),color10Base:t.extend("--ft-chart-10-base","",r.colorGray80),monochrome10:t.extend("--ft-chart-monochrome-10","",r.colorBrand10),monochrome20:t.extend("--ft-chart-monochrome-20","",r.colorBrand20),monochrome30:t.extend("--ft-chart-monochrome-30","",r.colorBrand40),monochrome40:t.extend("--ft-chart-monochrome-40","",r.colorBrand60),monochrome50:t.extend("--ft-chart-monochrome-50","",r.colorBrand0),monochrome60:t.extend("--ft-chart-monochrome-60","",r.colorBrand200)};var ql={borderWidth:t.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:t.extend("--ft-notice-horizontal-padding","",r.spacing3),verticalPadding:t.extend("--ft-notice-vertical-padding","",r.spacing2),borderRadius:t.extend("--ft-notice-border-radius","",r.borderRadiusS),gap:t.extend("--ft-notice-gap","",r.spacing2),iconSize:t.extend("--ft-notice-icon-size","",r.iconSize3),infoBackgroundColor:t.extend("--ft-notice-info-background-color","",l.backgroundInfoSubtle),infoBorderColor:t.extend("--ft-notice-info-border-color","",l.borderInfoSubtle),infoColor:t.extend("--ft-notice-info-color","",l.contentInfoPrimary),infoIconColor:t.extend("--ft-notice-info-icon-color","",l.contentInfoIconOnly),warningBackgroundColor:t.extend("--ft-notice-warning-background-color","",l.backgroundWarningSubtle),warningBorderColor:t.extend("--ft-notice-warning-border-color","",l.borderWarningSubtle),warningColor:t.extend("--ft-notice-warning-color","",l.contentWarningPrimary),warningIconColor:t.extend("--ft-notice-warning-icon-color","",l.contentWarningIconOnly),errorBackgroundColor:t.extend("--ft-notice-error-background-color","",l.backgroundErrorSubtle),errorBorderColor:t.extend("--ft-notice-error-border-color","",l.borderErrorSubtle),errorColor:t.extend("--ft-notice-error-color","",l.contentErrorPrimary),errorIconColor:t.extend("--ft-notice-error-icon-color","",l.contentErrorIconOnly),successBackgroundColor:t.extend("--ft-notice-success-background-color","",l.backgroundSuccessSubtle),successBorderColor:t.extend("--ft-notice-success-border-color","",l.borderSuccessSubtle),successColor:t.extend("--ft-notice-success-color","",l.contentSuccessPrimary),successIconColor:t.extend("--ft-notice-success-icon-color","",l.contentSuccessIconOnly)};var oc={color:t.extend("--ft-checkbox-color","",l.contentGlobalPrimary),checkedBackgroundColor:t.extend("--ft-checkbox-checked-background-color","",l.contentActionPrimary),checkedStateLayerColor:t.extend("--ft-checkbox-checked-state-layer-color","",l.contentActionPrimary),checkedIconColor:t.extend("--ft-checkbox-checked-icon-color","",l.contentGlobalOnColor),checkedHoverStateLayerOpacity:t.extend("--ft-checkbox-checked-hover-state-layer-opacity","",r.opacity16),checkedFocusStateLayerOpacity:t.extend("--ft-checkbox-checked-focus-state-layer-opacity","",r.opacity16),checkedActiveStateLayerOpacity:t.extend("--ft-checkbox-checked-active-state-layer-opacity","",r.opacity24),checkedDisabledComponentOpacity:t.extend("--ft-checkbox-checked-disabled-component-opacity","",r.opacity40),uncheckedBorderColor:t.extend("--ft-checkbox-unchecked-border-color","",r.colorGray80),uncheckedStateLayerColor:t.extend("--ft-checkbox-unchecked-state-layer-color","",r.colorGray80),uncheckedHoverStateLayerOpacity:t.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",r.opacity16),uncheckedFocusStateLayerOpacity:t.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",r.opacity16),uncheckedActiveStateLayerOpacity:t.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",r.opacity24),uncheckedDisabledComponentOpacity:t.extend("--ft-checkbox-unchecked-disabled-component-opacity","",r.opacity40),focusFocusRingColor:t.extend("--ft-checkbox-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineOffset:t.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:t.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:t.extend("--ft-checkbox-gap","",r.spacing3)};var lc={offHoverStateLayerOpacity:t.extend("--ft-toggle-off-hover-state-layer-opacity","",r.opacity16),offFocusStateLayerOpacity:t.extend("--ft-toggle-off-focus-state-layer-opacity","",r.opacity16),offActiveStateLayerOpacity:t.extend("--ft-toggle-off-active-state-layer-opacity","",r.opacity24),offDisabledComponentOpacity:t.extend("--ft-toggle-off-disabled-component-opacity","",r.opacity40),offBackgroundColor:t.extend("--ft-toggle-off-background-color","",l.contentGlobalSubtle),offIconColor:t.extend("--ft-toggle-off-icon-color","",l.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-toggle-off-state-layer-color","",l.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-toggle-on-hover-state-layer-opacity","",r.opacity16),onFocusStateLayerOpacity:t.extend("--ft-toggle-on-focus-state-layer-opacity","",r.opacity16),onActiveStateLayerOpacity:t.extend("--ft-toggle-on-active-state-layer-opacity","",r.opacity24),onDisabledComponentOpacity:t.extend("--ft-toggle-on-disabled-component-opacity","",r.opacity40),onBackgroundColor:t.extend("--ft-toggle-on-background-color","",l.contentActionPrimary),onStateLayerColor:t.extend("--ft-toggle-on-state-layer-color","",l.contentActionPrimary),onIconColor:t.extend("--ft-toggle-on-icon-color","",l.contentActionPrimary),color:t.extend("--ft-toggle-color","",l.contentGlobalPrimary),focusFocusRingColor:t.extend("--ft-toggle-focus-focus-ring-color","",l.borderActionFocusRing),gap:t.extend("--ft-toggle-gap","",r.spacing3)};var fc={color:t.extend("--ft-radio-color","",l.contentGlobalPrimary),selectedRadioColor:t.extend("--ft-radio-selected-radio-color","",l.contentActionPrimary),selectedStateLayerColor:t.extend("--ft-radio-selected-state-layer-color","",l.contentActionPrimary),selectedHoverStateLayerOpacity:t.extend("--ft-radio-selected-hover-state-layer-opacity","",r.opacity16),selectedFocusStateLayerOpacity:t.extend("--ft-radio-selected-focus-state-layer-opacity","",r.opacity16),selectedActiveStateLayerOpacity:t.extend("--ft-radio-selected-active-state-layer-opacity","",r.opacity24),selectedDisabledComponentOpacity:t.extend("--ft-radio-selected-disabled-component-opacity","",r.opacity40),unselectedStateLayerColor:t.extend("--ft-radio-unselected-state-layer-color","",l.borderInputPrimary),unselectedBorderColor:t.extend("--ft-radio-unselected-border-color","",l.borderInputPrimary),unselectedHoverStateLayerOpacity:t.extend("--ft-radio-unselected-hover-state-layer-opacity","",r.opacity16),unselectedFocusStateLayerOpacity:t.extend("--ft-radio-unselected-focus-state-layer-opacity","",r.opacity16),unselectedActiveStateLayerOpacity:t.extend("--ft-radio-unselected-active-state-layer-opacity","",r.opacity24),unselectedDisabledComponentOpacity:t.extend("--ft-radio-unselected-disabled-component-opacity","",r.opacity40),focusFocusRingColor:t.extend("--ft-radio-focus-focus-ring-color","",l.borderActionFocusRing),focusOutlineOffset:t.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:t.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:t.extend("--ft-radio-gap","",r.spacing3)};var yc={iconSize:t.extend("--ft-notification-icon-size","",r.iconSize4),leftPadding:t.extend("--ft-notification-left-padding","",r.spacing5),rightPadding:t.extend("--ft-notification-right-padding","",r.spacing4),verticalPadding:t.extend("--ft-notification-vertical-padding","",r.spacing3),infoBackgroundColor:t.extend("--ft-notification-info-background-color","",l.backgroundInfoSubtle),infoColor:t.extend("--ft-notification-info-color","",l.contentInfoPrimary),infoIconColor:t.extend("--ft-notification-info-icon-color","",l.contentInfoIconOnly),infoBorderColor:t.extend("--ft-notification-info-border-color","",l.borderInfoSubtle),successBackgroundColor:t.extend("--ft-notification-success-background-color","",l.backgroundSuccessSubtle),successColor:t.extend("--ft-notification-success-color","",l.contentSuccessPrimary),successIconColor:t.extend("--ft-notification-success-icon-color","",l.contentSuccessIconOnly),successBorderColor:t.extend("--ft-notification-success-border-color","",l.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-notification-warning-background-color","",l.backgroundWarningSubtle),warningColor:t.extend("--ft-notification-warning-color","",l.contentWarningPrimary),warningIconColor:t.extend("--ft-notification-warning-icon-color","",l.contentWarningIconOnly),warningBorderColor:t.extend("--ft-notification-warning-border-color","",l.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-notification-error-background-color","",l.backgroundErrorSubtle),errorColor:t.extend("--ft-notification-error-color","",l.contentErrorPrimary),errorIconColor:t.extend("--ft-notification-error-icon-color","",l.contentErrorIconOnly),errorBorderColor:t.extend("--ft-notification-error-border-color","",l.borderErrorSubtle),borderRadius:t.extend("--ft-notification-border-radius","",r.borderRadiusPill),borderWidth:t.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:t.extend("--ft-notification-leading-gap","",r.spacing2),trailingGap:t.extend("--ft-notification-trailing-gap","",r.spacing8)};var Cc={horizontalPadding:t.extend("--ft-tooltip-horizontal-padding","",r.spacing2),verticalPadding:t.extend("--ft-tooltip-vertical-padding","",r.spacing2),borderRadius:t.extend("--ft-tooltip-border-radius","",r.borderRadiusS),color:t.extend("--ft-tooltip-color","",l.contentGlobalOnColor),backgroundColor:t.extend("--ft-tooltip-background-color","",l.contentGlobalPrimary),backgroundOpacity:t.extend("--ft-tooltip-background-opacity","",r.opacity80),shadow:t.extend("--ft-tooltip-shadow","",r.shadowElevation02),maxWidth:t.create("--ft-tooltip-max-width","","SIZE","256px"),gap:t.extend("--ft-tooltip-gap","",r.spacing05)};var $e;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})($e||($e={}));var X;(function(e){e.large="large",e.medium="medium",e.small="small"})(X||(X={}));var Ie=m(B());function Lr(e){let o=Ae[e];return Ie.css`
|
|
@@ -206,7 +206,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
206
206
|
line-height: ${Jt.lineHeight};
|
|
207
207
|
text-transform: ${Jt.textTransform};
|
|
208
208
|
}
|
|
209
|
-
`,
|
|
209
|
+
`,_r=lt.css`
|
|
210
210
|
.ft-typography--overline {
|
|
211
211
|
font-family: ${Qt.fontFamily};
|
|
212
212
|
font-size: ${Qt.fontSize};
|
|
@@ -215,7 +215,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
215
215
|
line-height: ${Qt.lineHeight};
|
|
216
216
|
text-transform: ${Qt.textTransform};
|
|
217
217
|
}
|
|
218
|
-
`,
|
|
218
|
+
`,Hr=lt.css`
|
|
219
219
|
.ft-typography--button {
|
|
220
220
|
font-family: ${bt.fontFamily};
|
|
221
221
|
font-size: ${bt.fontSize};
|
|
@@ -236,7 +236,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
236
236
|
</${to(this.element)}>
|
|
237
237
|
`:eo`
|
|
238
238
|
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
239
|
-
`}};q.styles=[$r,Ir,Pr,Br,Wr,zr,Tr,kr,Hr,
|
|
239
|
+
`}};q.styles=[$r,Ir,Pr,Br,Wr,zr,Tr,kr,_r,Hr,Dr,...Ur];Gr([(0,oo.property)()],q.prototype,"element",void 0);Gr([(0,oo.property)()],q.prototype,"variant",void 0);(0,Mr.customElement)("ft-typography")(q);var qr=m(R());var ue=m(B()),kt=m(pt()),Yr=m(R()),Xr=m(Fr());var te;(function(e){e.ADD_TO_PBK="",e.ALERT="",e.ADD_ALERT="",e.BACK_TO_SEARCH="",e.ADD_BOOKMARK="",e.BOOKMARK="",e.BOOKS="",e.MENU="",e.DOWNLOAD="",e.EDIT="",e.FEEDBACK="",e.HOME="",e.MODIFY_PBK="",e.SCHEDULED="",e.SEARCH="",e.EXPORT="",e.TOC="",e.WRITE_UGC="",e.TRASH="",e.USER="",e.EXTLINK="",e.CALENDAR="",e.OFFLINE="",e.BOOK="",e.DOWNLOAD_PLAIN="",e.CHECK="",e.STAR_PLAIN="",e.TOPICS="",e.DISC="",e.CIRCLE="",e.SHARED="",e.SORT_UNSORTED="",e.SORT_UP="",e.SORT_DOWN="",e.WORKING="",e.CLOSE="",e.ZOOM_OUT="",e.ZOOM_IN="",e.ZOOM_REALSIZE="",e.ZOOM_FULLSCREEN="",e.ADMIN_RESTRICTED="",e.ADMIN="",e.ADMIN_KHUB="",e.ADMIN_THEME="",e.ADMIN_USERS="",e.WARNING="",e.CONTEXT="",e.SEARCH_HOME="",e.STEPS="",e.ICON_EXPAND="",e.ICON_COLLAPSE="",e.INFO="",e.MINUS_PLAIN="",e.PLUS_PLAIN="",e.FACET_HAS_DESCENDANT="",e.TRIANGLE_BOTTOM="",e.TRIANGLE_LEFT="",e.TRIANGLE_RIGHT="",e.TRIANGLE_TOP="",e.THIN_ARROW="",e.SIGN_IN="",e.LOGOUT="",e.TRANSLATE="",e.CLOSE_PLAIN="",e.CHECK_PLAIN="",e.ARTICLE="",e.COLUMNS="",e.ANALYTICS="",e.COLLECTIONS="",e.ARROW_DOWN="",e.ARROW_LEFT="",e.ARROW_RIGHT="",e.ARROW_UP="",e.SEARCH_IN_PUBLICATION="",e.COPY_TO_CLIPBOARD="",e.SHARED_PBK="",e.ATTACHMENTS="",e.STRIPE_ARROW_LEFT="",e.STRIPE_ARROW_RIGHT="",e.FILTERS="",e.DOT="",e.MINUS="",e.PLUS="",e.MAILS_AND_NOTIFICATIONS="",e.SAVE="",e.LOCKER="",e.ADMIN_INTEGRATION="",e.SYNC="",e.TAG="",e.BOOK_PLAIN="",e.UPLOAD="",e.ONLINE="",e.TAG_PLAIN="",e.ACCOUNT_SETTINGS="",e.PRINT="",e.DEFAULT_ROLES="",e.SHORTCUT_MENU="",e.RELATIVES_PLAIN="",e.RELATIVES="",e.PAUSE="",e.PLAY="",e.ADMIN_PORTAL="",e.STAR="",e.THUMBS_DOWN="",e.THUMBS_DOWN_PLAIN="",e.THUMBS_UP="",e.THUMBS_UP_PLAIN="",e.FEEDBACK_PLAIN="",e.RATE_PLAIN="",e.RATE="",e.OFFLINE_SETTINGS="",e.MY_COLLECTIONS="",e.THIN_ARROW_LEFT="",e.THIN_ARROW_RIGHT="",e.RESET="",e.MY_LIBRARY="",e.UNSTRUCTURED_DOC="",e.CONTEXTUAL="",e.THIN_ARROW_UP="",e.ARROW_RIGHT_TO_LINE="",e.DESKTOP="",e.TABLET_LANDSCAPE="",e.TABLET_PORTRAIT="",e.MOBILE_LANDSCAPE="",e.MOBILE_PORTRAIT="",e.DIAGRAM_SUNBURST="",e.DIAGRAM_SANKEY="",e.COMMENT_QUESTION="",e.COMMENT_QUESTION_PLAIN="",e.MESSAGE_BOT="",e.CHART_SIMPLE="",e.BARS_PROGRESS="",e.BOOK_OPEN_GEAR="",e.BOOK_OPEN_GEAR_SLASH="",e.LINE_CHART="",e.STACKED_CHART="",e.CHART_BAR_STACKED="",e.CHART_BAR_GROUPED="",e.EYE_SLASH="",e.X_MARK="",e.EXPAND_WIDE="",e.PIP="",e.PIP_WIDE="",e.LIFE_RING="",e.GLOBE="",e.PIGGY_BANK="",e.EXTLINK_LIGHT="",e.CLONE="",e.CLONE_LINK_SIMPLE="",e.CHART_BAR_NORMALIZED="",e.CONSUMER="",e.OCTAGON_XMARK="",e.HOURGLASS_HALF="",e.CLOCK="",e.CLOCK_THREE="",e.CALENDAR_DAY="",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="",e.WAND_MAGIC_SPARKLES="",e.PAPER_PLANE="",e.CIRCLE_STOP="",e.ARROW_ROTATE_RIGHT="",e.ARROWS_ROTATE="",e.ALIGN_RIGHT="",e.FORMAT_CLEAR="",e.ALIGN_CENTER="",e.ALIGN_LEFT="",e.PALETTE="",e.BOLD="",e.ITALIC="",e.UNDERLINE="",e.STRIKETHROUGH="",e.LINK_SIMPLE_SLASH="",e.LINK_SIMPLE="",e.ROUTE="",e.CIRCLE_USER_SLASH="",e.CIRCLE_USER_CHECK="",e.LIST_MAGNIFYING_GLASS="",e.MEDAL="",e.THUMBS_UP_THUMBS_DOWN_SOLID="",e.ARROW_TURN_DOWN_RIGHT="",e.FLASK="",e.LOCK_KEYHOLE_OPEN_SOLID="",e.HOURGLASS_END="",e.CIRCLE_QUESTION="",e.EYE="",e.SHARE="󨃱"})(te||(te={}));var h;(function(e){e.UNKNOWN="",e.ABW="",e.AUDIO="",e.AVI="",e.CHM="",e.CODE="",e.CSV="",e.DITA="",e.EPUB="",e.EXCEL="",e.FLAC="",e.GIF="",e.GZIP="",e.HTML="",e.IMAGE="",e.JPEG="",e.JSON="",e.M4A="",e.MOV="",e.MP3="",e.MP4="",e.OGG="",e.PDF="",e.PNG="",e.POWERPOINT="",e.RAR="",e.STP="",e.TEXT="",e.VIDEO="",e.WAV="",e.WMA="",e.WORD="",e.XML="",e.YAML="",e.ZIP=""})(h||(h={}));var Ms=new Map([...["abw"].map(e=>[e,h.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(e=>[e,h.AUDIO]),...["avi"].map(e=>[e,h.AVI]),...["chm","xhs"].map(e=>[e,h.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(e=>[e,h.CODE]),...["csv"].map(e=>[e,h.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,h.DITA]),...["epub"].map(e=>[e,h.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,h.EXCEL]),...["flac"].map(e=>[e,h.FLAC]),...["gif"].map(e=>[e,h.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,h.GZIP]),...["html","htm","xhtml"].map(e=>[e,h.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(e=>[e,h.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,h.JPEG]),...["json"].map(e=>[e,h.JSON]),...["m4a","m4p"].map(e=>[e,h.M4A]),...["mov","qt"].map(e=>[e,h.MOV]),...["mp3"].map(e=>[e,h.MP3]),...["mp4","m4v"].map(e=>[e,h.MP4]),...["ogg","oga"].map(e=>[e,h.OGG]),...["pdf","ps"].map(e=>[e,h.PDF]),...["png"].map(e=>[e,h.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,h.POWERPOINT]),...["rar"].map(e=>[e,h.RAR]),...["stp"].map(e=>[e,h.STP]),...["txt","rtf","md","mdown"].map(e=>[e,h.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(e=>[e,h.VIDEO]),...["wav"].map(e=>[e,h.WAV]),...["wma"].map(e=>[e,h.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,h.WORD]),...["xml","xsl","rdf"].map(e=>[e,h.XML]),...["yaml","yml","x-yaml"].map(e=>[e,h.YAML]),...["zip"].map(e=>[e,h.ZIP])]);var Ks={[h.ABW]:"#91ABC6",[h.AUDIO]:"#1795E3",[h.AVI]:"#E63324",[h.CHM]:"#71C3EB",[h.CODE]:"#71C3EB",[h.CSV]:"#1F7345",[h.DITA]:"#71C3EB",[h.EPUB]:"#85B926",[h.EXCEL]:"#1F7345",[h.FLAC]:"#1795E3",[h.GIF]:"#59B031",[h.GZIP]:"#F8AB36",[h.HTML]:"#71C3EB",[h.IMAGE]:"#59B031",[h.JPEG]:"#59B031",[h.JSON]:"#71C3EB",[h.M4A]:"#1795E3",[h.MOV]:"#E63324",[h.MP3]:"#1795E3",[h.MP4]:"#E63324",[h.OGG]:"#1795E3",[h.PDF]:"#E44948",[h.PNG]:"#59B031",[h.POWERPOINT]:"#B54A2B",[h.RAR]:"#F8AB36",[h.STP]:"#3764B1",[h.TEXT]:"#3162AB",[h.UNKNOWN]:"#999999",[h.VIDEO]:"#E63324",[h.WAV]:"#1795E3",[h.WMA]:"#1795E3",[h.WORD]:"#3162AB",[h.XML]:"#71C3EB",[h.YAML]:"#71C3EB",[h.ZIP]:"#F8AB36"};var Vr=m(B()),vt=m(R()),H={size:vt.FtCssVariableFactory.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:vt.FtCssVariableFactory.extend("--ft-icon-fluid-topics-font-family","",vt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:vt.FtCssVariableFactory.extend("--ft-icon-file-format-font-family","",vt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:vt.FtCssVariableFactory.extend("--ft-icon-material-font-family","",vt.FtCssVariableFactory.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:vt.FtCssVariableFactory.create("--ft-icon-vertical-align","","UNKNOWN","unset")},jr=Vr.css`
|
|
240
240
|
:host, i.ft-icon {
|
|
241
241
|
display: inline-flex;
|
|
242
242
|
align-items: center;
|
|
@@ -245,14 +245,14 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
245
245
|
}
|
|
246
246
|
|
|
247
247
|
:host {
|
|
248
|
-
width: ${
|
|
249
|
-
height: ${
|
|
248
|
+
width: ${H.size};
|
|
249
|
+
height: ${H.size};
|
|
250
250
|
}
|
|
251
251
|
|
|
252
252
|
i.ft-icon {
|
|
253
253
|
width: 100%;
|
|
254
254
|
height: 100%;
|
|
255
|
-
font-size: ${
|
|
255
|
+
font-size: ${H.size};
|
|
256
256
|
line-height: 1;
|
|
257
257
|
font-weight: normal;
|
|
258
258
|
text-transform: none;
|
|
@@ -263,26 +263,26 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
263
263
|
text-rendering: auto;
|
|
264
264
|
-webkit-font-smoothing: antialiased;
|
|
265
265
|
-moz-osx-font-smoothing: grayscale;
|
|
266
|
-
vertical-align: ${
|
|
266
|
+
vertical-align: ${H.verticalAlign};
|
|
267
267
|
}
|
|
268
268
|
|
|
269
269
|
i.ft-icon.ft-icon--fluid-topics {
|
|
270
|
-
font-family: ${
|
|
270
|
+
font-family: ${H.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
271
271
|
|
|
272
272
|
/* Ugly fix because font is broken */
|
|
273
|
-
font-size: calc(0.75 * ${
|
|
274
|
-
line-height: ${
|
|
273
|
+
font-size: calc(0.75 * ${H.size});
|
|
274
|
+
line-height: ${H.size};
|
|
275
275
|
position: relative;
|
|
276
276
|
top: -4%;
|
|
277
277
|
justify-content: center;
|
|
278
278
|
}
|
|
279
279
|
|
|
280
280
|
.ft-icon--file-format {
|
|
281
|
-
font-family: ${
|
|
281
|
+
font-family: ${H.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
282
282
|
}
|
|
283
283
|
|
|
284
284
|
.ft-icon--material {
|
|
285
|
-
font-family: ${
|
|
285
|
+
font-family: ${H.materialFontFamily}, "Material Icons", sans-serif;
|
|
286
286
|
}
|
|
287
287
|
`;var ct;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(ct||(ct={}));var Pe=function(e,o,n,i){var a=arguments.length,c=a<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,n):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,o,n,i);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(c=(a<3?s(c):a>3?s(o,n,c):s(o,n))||c);return a>3&&c&&Object.defineProperty(o,n,c),c},V=class extends Yr.FtLitElement{constructor(){super(...arguments),this.resolvedIcon=ue.nothing}render(){let o=this.variant&&Object.values(ct).includes(this.variant)?this.variant:ct.fluid_topics,n=o!==ct.material||!!this.value;return ue.html`
|
|
288
288
|
<i class="ft-icon ft-icon--${o}" part="icon icon-${o}">
|
|
@@ -400,7 +400,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
400
400
|
|
|
401
401
|
--ft-button-internal-line-height: max(calc(${I.fontSize} + 2px), ${I.iconSize});
|
|
402
402
|
--ft-button-internal-color: ${I.color};
|
|
403
|
-
${(0,O.setVariable)(
|
|
403
|
+
${(0,O.setVariable)(H.size,I.iconSize)};
|
|
404
404
|
${(0,O.setVariable)(N.color,I.rippleColor)};
|
|
405
405
|
|
|
406
406
|
border-radius: ${I.borderRadius};
|
|
@@ -523,7 +523,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
523
523
|
position: relative;
|
|
524
524
|
word-break: break-word;
|
|
525
525
|
}
|
|
526
|
-
`;var cn=["top","right","bottom","left"],ln=["start","end"],io=cn.reduce((e,o)=>e.concat(o,o+"-"+ln[0],o+"-"+ln[1]),[]),ye=Math.min,It=Math.max,be=Math.round;var Et=e=>({x:e,y:e}),hi={left:"right",right:"left",bottom:"top",top:"bottom"},gi={start:"end",end:"start"};function ao(e,o,n){return It(e,ye(o,n))}function Be(e,o){return typeof e=="function"?e(o):e}function oe(e){return e.split("-")[0]}function Pt(e){return e.split("-")[1]}function lo(e){return e==="x"?"y":"x"}function co(e){return e==="y"?"height":"width"}function We(e){return["top","bottom"].includes(oe(e))?"y":"x"}function so(e){return lo(We(e))}function sn(e,o,n){n===void 0&&(n=!1);let i=Pt(e),a=so(e),c=co(a),s=a==="x"?i===(n?"end":"start")?"right":"left":i==="start"?"bottom":"top";return o.reference[c]>o.floating[c]&&(s=no(s)),[s,no(s)]}function pn(e){return e.replace(/start|end/g,o=>gi[o])}function no(e){return e.replace(/left|right|bottom|top/g,o=>hi[o])}function ui(e){return{top:0,right:0,bottom:0,left:0,...e}}function dn(e){return typeof e!="number"?ui(e):{top:e,right:e,bottom:e,left:e}}function Ht(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function fn(e,o,n){let{reference:i,floating:a}=e,c=We(o),s=so(o),p=co(s),d=oe(o),u=c==="y",x=i.x+i.width/2-a.width/2,y=i.y+i.height/2-a.height/2,w=i[p]/2-a[p]/2,C;switch(d){case"top":C={x,y:i.y-a.height};break;case"bottom":C={x,y:i.y+i.height};break;case"right":C={x:i.x+i.width,y};break;case"left":C={x:i.x-a.width,y};break;default:C={x:i.x,y:i.y}}switch(Pt(o)){case"start":C[s]-=w*(n&&u?-1:1);break;case"end":C[s]+=w*(n&&u?-1:1);break}return C}var hn=async(e,o,n)=>{let{placement:i="bottom",strategy:a="absolute",middleware:c=[],platform:s}=n,p=c.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(o)),u=await s.getElementRects({reference:e,floating:o,strategy:a}),{x,y}=fn(u,i,d),w=i,C={},L=0;for(let T=0;T<p.length;T++){let{name:D,fn:k}=p[T],{x:U,y:Y,data:Lt,reset:F}=await k({x,y,initialPlacement:i,placement:w,strategy:a,middlewareData:C,rects:u,platform:s,elements:{reference:e,floating:o}});if(x=U??x,y=Y??y,C={...C,[D]:{...C[D],...Lt}},F&&L<=50){L++,typeof F=="object"&&(F.placement&&(w=F.placement),F.rects&&(u=F.rects===!0?await s.getElementRects({reference:e,floating:o,strategy:a}):F.rects),{x,y}=fn(u,w,d)),T=-1;continue}}return{x,y,placement:w,strategy:a,middlewareData:C}};async function po(e,o){var n;o===void 0&&(o={});let{x:i,y:a,platform:c,rects:s,elements:p,strategy:d}=e,{boundary:u="clippingAncestors",rootBoundary:x="viewport",elementContext:y="floating",altBoundary:w=!1,padding:C=0}=Be(o,e),L=dn(C),D=p[w?y==="floating"?"reference":"floating":y],k=Ht(await c.getClippingRect({element:(n=await(c.isElement==null?void 0:c.isElement(D)))==null||n?D:D.contextElement||await(c.getDocumentElement==null?void 0:c.getDocumentElement(p.floating)),boundary:u,rootBoundary:x,strategy:d})),U=y==="floating"?{...s.floating,x:i,y:a}:s.reference,Y=await(c.getOffsetParent==null?void 0:c.getOffsetParent(p.floating)),Lt=await(c.isElement==null?void 0:c.isElement(Y))?await(c.getScale==null?void 0:c.getScale(Y))||{x:1,y:1}:{x:1,y:1},F=Ht(c.convertOffsetParentRelativeRectToViewportRelativeRect?await c.convertOffsetParentRelativeRectToViewportRelativeRect({rect:U,offsetParent:Y,strategy:d}):U);return{top:(k.top-F.top+L.top)/Lt.y,bottom:(F.bottom-k.bottom+L.bottom)/Lt.y,left:(k.left-F.left+L.left)/Lt.x,right:(F.right-k.right+L.right)/Lt.x}}function mi(e,o,n){return(e?[...n.filter(a=>Pt(a)===e),...n.filter(a=>Pt(a)!==e)]:n.filter(a=>oe(a)===a)).filter(a=>e?Pt(a)===e||(o?pn(a)!==a:!1):!0)}var fo=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(o){var n,i,a;let{rects:c,middlewareData:s,placement:p,platform:d,elements:u}=o,{crossAxis:x=!1,alignment:y,allowedPlacements:w=io,autoAlignment:C=!0,...L}=Be(e,o),T=y!==void 0||w===io?mi(y||null,C,w):w,D=await po(o,L),k=((n=s.autoPlacement)==null?void 0:n.index)||0,U=T[k];if(U==null)return{};let Y=sn(U,c,await(d.isRTL==null?void 0:d.isRTL(u.floating)));if(p!==U)return{reset:{placement:T[0]}};let Lt=[D[oe(U)],D[Y[0]],D[Y[1]]],F=[...((i=s.autoPlacement)==null?void 0:i.overflows)||[],{placement:U,overflows:Lt}],So=T[k+1];if(So)return{data:{index:k+1,overflows:F},reset:{placement:So}};let Co=F.map(mt=>{let ce=Pt(mt.placement);return[mt.placement,ce&&x?mt.overflows.slice(0,2).reduce((Qn,ti)=>Qn+ti,0):mt.overflows[0],mt.overflows]}).sort((mt,ce)=>mt[1]-ce[1]),vo=((a=Co.filter(mt=>mt[2].slice(0,Pt(mt[0])?2:3).every(ce=>ce<=0))[0])==null?void 0:a[0])||Co[0][0];return vo!==p?{data:{index:k+1,overflows:F},reset:{placement:vo}}:{}}}};var ho=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(o){let{x:n,y:i,placement:a}=o,{mainAxis:c=!0,crossAxis:s=!1,limiter:p={fn:D=>{let{x:k,y:U}=D;return{x:k,y:U}}},...d}=Be(e,o),u={x:n,y:i},x=await po(o,d),y=We(oe(a)),w=lo(y),C=u[w],L=u[y];if(c){let D=w==="y"?"top":"left",k=w==="y"?"bottom":"right",U=C+x[D],Y=C-x[k];C=ao(U,C,Y)}if(s){let D=y==="y"?"top":"left",k=y==="y"?"bottom":"right",U=L+x[D],Y=L-x[k];L=ao(U,L,Y)}let T=p.fn({...o,[w]:C,[y]:L});return{...T,data:{x:T.x-n,y:T.y-i}}}}};function wt(e){return un(e)?(e.nodeName||"").toLowerCase():"#document"}function et(e){var o;return(e==null||(o=e.ownerDocument)==null?void 0:o.defaultView)||window}function Rt(e){var o;return(o=(un(e)?e.ownerDocument:e.document)||window.document)==null?void 0:o.documentElement}function un(e){return e instanceof Node||e instanceof et(e).Node}function Ot(e){return e instanceof Element||e instanceof et(e).Element}function dt(e){return e instanceof HTMLElement||e instanceof et(e).HTMLElement}function gn(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof et(e).ShadowRoot}function re(e){let{overflow:o,overflowX:n,overflowY:i,display:a}=nt(e);return/auto|scroll|overlay|hidden|clip/.test(o+i+n)&&!["inline","contents"].includes(a)}function mn(e){return["table","td","th"].includes(wt(e))}function Te(e){let o=ke(),n=nt(e);return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!o&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!o&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(i=>(n.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(n.contain||"").includes(i))}function yn(e){let o=_t(e);for(;dt(o)&&!xe(o);){if(Te(o))return o;o=_t(o)}return null}function ke(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function xe(e){return["html","body","#document"].includes(wt(e))}function nt(e){return et(e).getComputedStyle(e)}function Oe(e){return Ot(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function _t(e){if(wt(e)==="html")return e;let o=e.assignedSlot||e.parentNode||gn(e)&&e.host||Rt(e);return gn(o)?o.host:o}function bn(e){let o=_t(e);return xe(o)?e.ownerDocument?e.ownerDocument.body:e.body:dt(o)&&re(o)?o:bn(o)}function ze(e,o,n){var i;o===void 0&&(o=[]),n===void 0&&(n=!0);let a=bn(e),c=a===((i=e.ownerDocument)==null?void 0:i.body),s=et(a);return c?o.concat(s,s.visualViewport||[],re(a)?a:[],s.frameElement&&n?ze(s.frameElement):[]):o.concat(a,ze(a,[],n))}function Sn(e){let o=nt(e),n=parseFloat(o.width)||0,i=parseFloat(o.height)||0,a=dt(e),c=a?e.offsetWidth:n,s=a?e.offsetHeight:i,p=be(n)!==c||be(i)!==s;return p&&(n=c,i=s),{width:n,height:i,$:p}}function Cn(e){return Ot(e)?e:e.contextElement}function ne(e){let o=Cn(e);if(!dt(o))return Et(1);let n=o.getBoundingClientRect(),{width:i,height:a,$:c}=Sn(o),s=(c?be(n.width):n.width)/i,p=(c?be(n.height):n.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!p||!Number.isFinite(p))&&(p=1),{x:s,y:p}}var yi=Et(0);function vn(e){let o=et(e);return!ke()||!o.visualViewport?yi:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function bi(e,o,n){return o===void 0&&(o=!1),!n||o&&n!==et(e)?!1:o}function Se(e,o,n,i){o===void 0&&(o=!1),n===void 0&&(n=!1);let a=e.getBoundingClientRect(),c=Cn(e),s=Et(1);o&&(i?Ot(i)&&(s=ne(i)):s=ne(e));let p=bi(c,n,i)?vn(c):Et(0),d=(a.left+p.x)/s.x,u=(a.top+p.y)/s.y,x=a.width/s.x,y=a.height/s.y;if(c){let w=et(c),C=i&&Ot(i)?et(i):i,L=w.frameElement;for(;L&&i&&C!==w;){let T=ne(L),D=L.getBoundingClientRect(),k=nt(L),U=D.left+(L.clientLeft+parseFloat(k.paddingLeft))*T.x,Y=D.top+(L.clientTop+parseFloat(k.paddingTop))*T.y;d*=T.x,u*=T.y,x*=T.x,y*=T.y,d+=U,u+=Y,L=et(L).frameElement}}return Ht({width:x,height:y,x:d,y:u})}function xi(e){let{rect:o,offsetParent:n,strategy:i}=e,a=dt(n),c=Rt(n);if(n===c)return o;let s={scrollLeft:0,scrollTop:0},p=Et(1),d=Et(0);if((a||!a&&i!=="fixed")&&((wt(n)!=="body"||re(c))&&(s=Oe(n)),dt(n))){let u=Se(n);p=ne(n),d.x=u.x+n.clientLeft,d.y=u.y+n.clientTop}return{width:o.width*p.x,height:o.height*p.y,x:o.x*p.x-s.scrollLeft*p.x+d.x,y:o.y*p.y-s.scrollTop*p.y+d.y}}function Oi(e){return Array.from(e.getClientRects())}function Nn(e){return Se(Rt(e)).left+Oe(e).scrollLeft}function Si(e){let o=Rt(e),n=Oe(e),i=e.ownerDocument.body,a=It(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),c=It(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight),s=-n.scrollLeft+Nn(e),p=-n.scrollTop;return nt(i).direction==="rtl"&&(s+=It(o.clientWidth,i.clientWidth)-a),{width:a,height:c,x:s,y:p}}function Ci(e,o){let n=et(e),i=Rt(e),a=n.visualViewport,c=i.clientWidth,s=i.clientHeight,p=0,d=0;if(a){c=a.width,s=a.height;let u=ke();(!u||u&&o==="fixed")&&(p=a.offsetLeft,d=a.offsetTop)}return{width:c,height:s,x:p,y:d}}function vi(e,o){let n=Se(e,!0,o==="fixed"),i=n.top+e.clientTop,a=n.left+e.clientLeft,c=dt(e)?ne(e):Et(1),s=e.clientWidth*c.x,p=e.clientHeight*c.y,d=a*c.x,u=i*c.y;return{width:s,height:p,x:d,y:u}}function xn(e,o,n){let i;if(o==="viewport")i=Ci(e,n);else if(o==="document")i=Si(Rt(e));else if(Ot(o))i=vi(o,n);else{let a=vn(e);i={...o,x:o.x-a.x,y:o.y-a.y}}return Ht(i)}function En(e,o){let n=_t(e);return n===o||!Ot(n)||xe(n)?!1:nt(n).position==="fixed"||En(n,o)}function Ni(e,o){let n=o.get(e);if(n)return n;let i=ze(e,[],!1).filter(p=>Ot(p)&&wt(p)!=="body"),a=null,c=nt(e).position==="fixed",s=c?_t(e):e;for(;Ot(s)&&!xe(s);){let p=nt(s),d=Te(s);!d&&p.position==="fixed"&&(a=null),(c?!d&&!a:!d&&p.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||re(s)&&!d&&En(e,s))?i=i.filter(x=>x!==s):a=p,s=_t(s)}return o.set(e,i),i}function Ei(e){let{element:o,boundary:n,rootBoundary:i,strategy:a}=e,s=[...n==="clippingAncestors"?Ni(o,this._c):[].concat(n),i],p=s[0],d=s.reduce((u,x)=>{let y=xn(o,x,a);return u.top=It(y.top,u.top),u.right=ye(y.right,u.right),u.bottom=ye(y.bottom,u.bottom),u.left=It(y.left,u.left),u},xn(o,p,a));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function wi(e){return Sn(e)}function Ri(e,o,n){let i=dt(o),a=Rt(o),c=n==="fixed",s=Se(e,!0,c,o),p={scrollLeft:0,scrollTop:0},d=Et(0);if(i||!i&&!c)if((wt(o)!=="body"||re(a))&&(p=Oe(o)),i){let u=Se(o,!0,c,o);d.x=u.x+o.clientLeft,d.y=u.y+o.clientTop}else a&&(d.x=Nn(a));return{x:s.left+p.scrollLeft-d.x,y:s.top+p.scrollTop-d.y,width:s.width,height:s.height}}function On(e,o){return!dt(e)||nt(e).position==="fixed"?null:o?o(e):e.offsetParent}function wn(e,o){let n=et(e);if(!dt(e))return n;let i=On(e,o);for(;i&&mn(i)&&nt(i).position==="static";)i=On(i,o);return i&&(wt(i)==="html"||wt(i)==="body"&&nt(i).position==="static"&&!Te(i))?n:i||yn(e)||n}var Li=async function(e){let{reference:o,floating:n,strategy:i}=e,a=this.getOffsetParent||wn,c=this.getDimensions;return{reference:Ri(o,await a(n),i),floating:{x:0,y:0,...await c(n)}}};function Ai(e){return nt(e).direction==="rtl"}var He={convertOffsetParentRelativeRectToViewportRelativeRect:xi,getDocumentElement:Rt,getClippingRect:Ei,getOffsetParent:wn,getElementRects:Li,getClientRects:Oi,getDimensions:wi,getScale:ne,isElement:Ot,isRTL:Ai};var Rn=(e,o,n)=>{let i=new Map,a={platform:He,...n},c={...a.platform,_c:i};return hn(e,o,{...a,platform:c})};function Ln(e){return $i(e)}function go(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function $i(e){for(let o=e;o;o=go(o))if(o instanceof Element&&getComputedStyle(o).display==="none")return null;for(let o=go(e);o;o=go(o)){if(!(o instanceof Element))continue;let n=getComputedStyle(o);if(n.display!=="contents"&&(n.position!=="static"||n.filter!=="none"||o.tagName==="BODY"))return o}return null}async function An(e,o,n){return Rn(e,o,{platform:{...He,getOffsetParent:i=>He.getOffsetParent(i,Ln)},middleware:[ho({crossAxis:!0}),fo({allowedPlacements:[n]})]})}var ot=function(e,o,n,i){var a=arguments.length,c=a<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,n):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,o,n,i);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(c=(a<3?s(c):a>3?s(o,n,c):s(o,n))||c);return a>3&&c&&Object.defineProperty(o,n,c),c},P=class extends Ce.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 Ce.Debouncer,this.revealDebouncer=new Ce.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return $n.html`
|
|
526
|
+
`;var cn=["top","right","bottom","left"],ln=["start","end"],io=cn.reduce((e,o)=>e.concat(o,o+"-"+ln[0],o+"-"+ln[1]),[]),ye=Math.min,It=Math.max,be=Math.round;var Et=e=>({x:e,y:e}),hi={left:"right",right:"left",bottom:"top",top:"bottom"},gi={start:"end",end:"start"};function ao(e,o,n){return It(e,ye(o,n))}function Be(e,o){return typeof e=="function"?e(o):e}function oe(e){return e.split("-")[0]}function Pt(e){return e.split("-")[1]}function lo(e){return e==="x"?"y":"x"}function co(e){return e==="y"?"height":"width"}function We(e){return["top","bottom"].includes(oe(e))?"y":"x"}function so(e){return lo(We(e))}function sn(e,o,n){n===void 0&&(n=!1);let i=Pt(e),a=so(e),c=co(a),s=a==="x"?i===(n?"end":"start")?"right":"left":i==="start"?"bottom":"top";return o.reference[c]>o.floating[c]&&(s=no(s)),[s,no(s)]}function pn(e){return e.replace(/start|end/g,o=>gi[o])}function no(e){return e.replace(/left|right|bottom|top/g,o=>hi[o])}function ui(e){return{top:0,right:0,bottom:0,left:0,...e}}function dn(e){return typeof e!="number"?ui(e):{top:e,right:e,bottom:e,left:e}}function _t(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function fn(e,o,n){let{reference:i,floating:a}=e,c=We(o),s=so(o),p=co(s),d=oe(o),u=c==="y",x=i.x+i.width/2-a.width/2,y=i.y+i.height/2-a.height/2,w=i[p]/2-a[p]/2,C;switch(d){case"top":C={x,y:i.y-a.height};break;case"bottom":C={x,y:i.y+i.height};break;case"right":C={x:i.x+i.width,y};break;case"left":C={x:i.x-a.width,y};break;default:C={x:i.x,y:i.y}}switch(Pt(o)){case"start":C[s]-=w*(n&&u?-1:1);break;case"end":C[s]+=w*(n&&u?-1:1);break}return C}var hn=async(e,o,n)=>{let{placement:i="bottom",strategy:a="absolute",middleware:c=[],platform:s}=n,p=c.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(o)),u=await s.getElementRects({reference:e,floating:o,strategy:a}),{x,y}=fn(u,i,d),w=i,C={},L=0;for(let T=0;T<p.length;T++){let{name:D,fn:k}=p[T],{x:U,y:Y,data:Lt,reset:F}=await k({x,y,initialPlacement:i,placement:w,strategy:a,middlewareData:C,rects:u,platform:s,elements:{reference:e,floating:o}});if(x=U??x,y=Y??y,C={...C,[D]:{...C[D],...Lt}},F&&L<=50){L++,typeof F=="object"&&(F.placement&&(w=F.placement),F.rects&&(u=F.rects===!0?await s.getElementRects({reference:e,floating:o,strategy:a}):F.rects),{x,y}=fn(u,w,d)),T=-1;continue}}return{x,y,placement:w,strategy:a,middlewareData:C}};async function po(e,o){var n;o===void 0&&(o={});let{x:i,y:a,platform:c,rects:s,elements:p,strategy:d}=e,{boundary:u="clippingAncestors",rootBoundary:x="viewport",elementContext:y="floating",altBoundary:w=!1,padding:C=0}=Be(o,e),L=dn(C),D=p[w?y==="floating"?"reference":"floating":y],k=_t(await c.getClippingRect({element:(n=await(c.isElement==null?void 0:c.isElement(D)))==null||n?D:D.contextElement||await(c.getDocumentElement==null?void 0:c.getDocumentElement(p.floating)),boundary:u,rootBoundary:x,strategy:d})),U=y==="floating"?{...s.floating,x:i,y:a}:s.reference,Y=await(c.getOffsetParent==null?void 0:c.getOffsetParent(p.floating)),Lt=await(c.isElement==null?void 0:c.isElement(Y))?await(c.getScale==null?void 0:c.getScale(Y))||{x:1,y:1}:{x:1,y:1},F=_t(c.convertOffsetParentRelativeRectToViewportRelativeRect?await c.convertOffsetParentRelativeRectToViewportRelativeRect({rect:U,offsetParent:Y,strategy:d}):U);return{top:(k.top-F.top+L.top)/Lt.y,bottom:(F.bottom-k.bottom+L.bottom)/Lt.y,left:(k.left-F.left+L.left)/Lt.x,right:(F.right-k.right+L.right)/Lt.x}}function mi(e,o,n){return(e?[...n.filter(a=>Pt(a)===e),...n.filter(a=>Pt(a)!==e)]:n.filter(a=>oe(a)===a)).filter(a=>e?Pt(a)===e||(o?pn(a)!==a:!1):!0)}var fo=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(o){var n,i,a;let{rects:c,middlewareData:s,placement:p,platform:d,elements:u}=o,{crossAxis:x=!1,alignment:y,allowedPlacements:w=io,autoAlignment:C=!0,...L}=Be(e,o),T=y!==void 0||w===io?mi(y||null,C,w):w,D=await po(o,L),k=((n=s.autoPlacement)==null?void 0:n.index)||0,U=T[k];if(U==null)return{};let Y=sn(U,c,await(d.isRTL==null?void 0:d.isRTL(u.floating)));if(p!==U)return{reset:{placement:T[0]}};let Lt=[D[oe(U)],D[Y[0]],D[Y[1]]],F=[...((i=s.autoPlacement)==null?void 0:i.overflows)||[],{placement:U,overflows:Lt}],So=T[k+1];if(So)return{data:{index:k+1,overflows:F},reset:{placement:So}};let Co=F.map(mt=>{let ce=Pt(mt.placement);return[mt.placement,ce&&x?mt.overflows.slice(0,2).reduce((Qn,ti)=>Qn+ti,0):mt.overflows[0],mt.overflows]}).sort((mt,ce)=>mt[1]-ce[1]),vo=((a=Co.filter(mt=>mt[2].slice(0,Pt(mt[0])?2:3).every(ce=>ce<=0))[0])==null?void 0:a[0])||Co[0][0];return vo!==p?{data:{index:k+1,overflows:F},reset:{placement:vo}}:{}}}};var ho=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(o){let{x:n,y:i,placement:a}=o,{mainAxis:c=!0,crossAxis:s=!1,limiter:p={fn:D=>{let{x:k,y:U}=D;return{x:k,y:U}}},...d}=Be(e,o),u={x:n,y:i},x=await po(o,d),y=We(oe(a)),w=lo(y),C=u[w],L=u[y];if(c){let D=w==="y"?"top":"left",k=w==="y"?"bottom":"right",U=C+x[D],Y=C-x[k];C=ao(U,C,Y)}if(s){let D=y==="y"?"top":"left",k=y==="y"?"bottom":"right",U=L+x[D],Y=L-x[k];L=ao(U,L,Y)}let T=p.fn({...o,[w]:C,[y]:L});return{...T,data:{x:T.x-n,y:T.y-i}}}}};function wt(e){return un(e)?(e.nodeName||"").toLowerCase():"#document"}function et(e){var o;return(e==null||(o=e.ownerDocument)==null?void 0:o.defaultView)||window}function Rt(e){var o;return(o=(un(e)?e.ownerDocument:e.document)||window.document)==null?void 0:o.documentElement}function un(e){return e instanceof Node||e instanceof et(e).Node}function Ot(e){return e instanceof Element||e instanceof et(e).Element}function dt(e){return e instanceof HTMLElement||e instanceof et(e).HTMLElement}function gn(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof et(e).ShadowRoot}function re(e){let{overflow:o,overflowX:n,overflowY:i,display:a}=nt(e);return/auto|scroll|overlay|hidden|clip/.test(o+i+n)&&!["inline","contents"].includes(a)}function mn(e){return["table","td","th"].includes(wt(e))}function Te(e){let o=ke(),n=nt(e);return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!o&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!o&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(i=>(n.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(n.contain||"").includes(i))}function yn(e){let o=Ht(e);for(;dt(o)&&!xe(o);){if(Te(o))return o;o=Ht(o)}return null}function ke(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function xe(e){return["html","body","#document"].includes(wt(e))}function nt(e){return et(e).getComputedStyle(e)}function Oe(e){return Ot(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Ht(e){if(wt(e)==="html")return e;let o=e.assignedSlot||e.parentNode||gn(e)&&e.host||Rt(e);return gn(o)?o.host:o}function bn(e){let o=Ht(e);return xe(o)?e.ownerDocument?e.ownerDocument.body:e.body:dt(o)&&re(o)?o:bn(o)}function ze(e,o,n){var i;o===void 0&&(o=[]),n===void 0&&(n=!0);let a=bn(e),c=a===((i=e.ownerDocument)==null?void 0:i.body),s=et(a);return c?o.concat(s,s.visualViewport||[],re(a)?a:[],s.frameElement&&n?ze(s.frameElement):[]):o.concat(a,ze(a,[],n))}function Sn(e){let o=nt(e),n=parseFloat(o.width)||0,i=parseFloat(o.height)||0,a=dt(e),c=a?e.offsetWidth:n,s=a?e.offsetHeight:i,p=be(n)!==c||be(i)!==s;return p&&(n=c,i=s),{width:n,height:i,$:p}}function Cn(e){return Ot(e)?e:e.contextElement}function ne(e){let o=Cn(e);if(!dt(o))return Et(1);let n=o.getBoundingClientRect(),{width:i,height:a,$:c}=Sn(o),s=(c?be(n.width):n.width)/i,p=(c?be(n.height):n.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!p||!Number.isFinite(p))&&(p=1),{x:s,y:p}}var yi=Et(0);function vn(e){let o=et(e);return!ke()||!o.visualViewport?yi:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function bi(e,o,n){return o===void 0&&(o=!1),!n||o&&n!==et(e)?!1:o}function Se(e,o,n,i){o===void 0&&(o=!1),n===void 0&&(n=!1);let a=e.getBoundingClientRect(),c=Cn(e),s=Et(1);o&&(i?Ot(i)&&(s=ne(i)):s=ne(e));let p=bi(c,n,i)?vn(c):Et(0),d=(a.left+p.x)/s.x,u=(a.top+p.y)/s.y,x=a.width/s.x,y=a.height/s.y;if(c){let w=et(c),C=i&&Ot(i)?et(i):i,L=w.frameElement;for(;L&&i&&C!==w;){let T=ne(L),D=L.getBoundingClientRect(),k=nt(L),U=D.left+(L.clientLeft+parseFloat(k.paddingLeft))*T.x,Y=D.top+(L.clientTop+parseFloat(k.paddingTop))*T.y;d*=T.x,u*=T.y,x*=T.x,y*=T.y,d+=U,u+=Y,L=et(L).frameElement}}return _t({width:x,height:y,x:d,y:u})}function xi(e){let{rect:o,offsetParent:n,strategy:i}=e,a=dt(n),c=Rt(n);if(n===c)return o;let s={scrollLeft:0,scrollTop:0},p=Et(1),d=Et(0);if((a||!a&&i!=="fixed")&&((wt(n)!=="body"||re(c))&&(s=Oe(n)),dt(n))){let u=Se(n);p=ne(n),d.x=u.x+n.clientLeft,d.y=u.y+n.clientTop}return{width:o.width*p.x,height:o.height*p.y,x:o.x*p.x-s.scrollLeft*p.x+d.x,y:o.y*p.y-s.scrollTop*p.y+d.y}}function Oi(e){return Array.from(e.getClientRects())}function Nn(e){return Se(Rt(e)).left+Oe(e).scrollLeft}function Si(e){let o=Rt(e),n=Oe(e),i=e.ownerDocument.body,a=It(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),c=It(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight),s=-n.scrollLeft+Nn(e),p=-n.scrollTop;return nt(i).direction==="rtl"&&(s+=It(o.clientWidth,i.clientWidth)-a),{width:a,height:c,x:s,y:p}}function Ci(e,o){let n=et(e),i=Rt(e),a=n.visualViewport,c=i.clientWidth,s=i.clientHeight,p=0,d=0;if(a){c=a.width,s=a.height;let u=ke();(!u||u&&o==="fixed")&&(p=a.offsetLeft,d=a.offsetTop)}return{width:c,height:s,x:p,y:d}}function vi(e,o){let n=Se(e,!0,o==="fixed"),i=n.top+e.clientTop,a=n.left+e.clientLeft,c=dt(e)?ne(e):Et(1),s=e.clientWidth*c.x,p=e.clientHeight*c.y,d=a*c.x,u=i*c.y;return{width:s,height:p,x:d,y:u}}function xn(e,o,n){let i;if(o==="viewport")i=Ci(e,n);else if(o==="document")i=Si(Rt(e));else if(Ot(o))i=vi(o,n);else{let a=vn(e);i={...o,x:o.x-a.x,y:o.y-a.y}}return _t(i)}function En(e,o){let n=Ht(e);return n===o||!Ot(n)||xe(n)?!1:nt(n).position==="fixed"||En(n,o)}function Ni(e,o){let n=o.get(e);if(n)return n;let i=ze(e,[],!1).filter(p=>Ot(p)&&wt(p)!=="body"),a=null,c=nt(e).position==="fixed",s=c?Ht(e):e;for(;Ot(s)&&!xe(s);){let p=nt(s),d=Te(s);!d&&p.position==="fixed"&&(a=null),(c?!d&&!a:!d&&p.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||re(s)&&!d&&En(e,s))?i=i.filter(x=>x!==s):a=p,s=Ht(s)}return o.set(e,i),i}function Ei(e){let{element:o,boundary:n,rootBoundary:i,strategy:a}=e,s=[...n==="clippingAncestors"?Ni(o,this._c):[].concat(n),i],p=s[0],d=s.reduce((u,x)=>{let y=xn(o,x,a);return u.top=It(y.top,u.top),u.right=ye(y.right,u.right),u.bottom=ye(y.bottom,u.bottom),u.left=It(y.left,u.left),u},xn(o,p,a));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function wi(e){return Sn(e)}function Ri(e,o,n){let i=dt(o),a=Rt(o),c=n==="fixed",s=Se(e,!0,c,o),p={scrollLeft:0,scrollTop:0},d=Et(0);if(i||!i&&!c)if((wt(o)!=="body"||re(a))&&(p=Oe(o)),i){let u=Se(o,!0,c,o);d.x=u.x+o.clientLeft,d.y=u.y+o.clientTop}else a&&(d.x=Nn(a));return{x:s.left+p.scrollLeft-d.x,y:s.top+p.scrollTop-d.y,width:s.width,height:s.height}}function On(e,o){return!dt(e)||nt(e).position==="fixed"?null:o?o(e):e.offsetParent}function wn(e,o){let n=et(e);if(!dt(e))return n;let i=On(e,o);for(;i&&mn(i)&&nt(i).position==="static";)i=On(i,o);return i&&(wt(i)==="html"||wt(i)==="body"&&nt(i).position==="static"&&!Te(i))?n:i||yn(e)||n}var Li=async function(e){let{reference:o,floating:n,strategy:i}=e,a=this.getOffsetParent||wn,c=this.getDimensions;return{reference:Ri(o,await a(n),i),floating:{x:0,y:0,...await c(n)}}};function Ai(e){return nt(e).direction==="rtl"}var _e={convertOffsetParentRelativeRectToViewportRelativeRect:xi,getDocumentElement:Rt,getClippingRect:Ei,getOffsetParent:wn,getElementRects:Li,getClientRects:Oi,getDimensions:wi,getScale:ne,isElement:Ot,isRTL:Ai};var Rn=(e,o,n)=>{let i=new Map,a={platform:_e,...n},c={...a.platform,_c:i};return hn(e,o,{...a,platform:c})};function Ln(e){return $i(e)}function go(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function $i(e){for(let o=e;o;o=go(o))if(o instanceof Element&&getComputedStyle(o).display==="none")return null;for(let o=go(e);o;o=go(o)){if(!(o instanceof Element))continue;let n=getComputedStyle(o);if(n.display!=="contents"&&(n.position!=="static"||n.filter!=="none"||o.tagName==="BODY"))return o}return null}async function An(e,o,n){return Rn(e,o,{platform:{..._e,getOffsetParent:i=>_e.getOffsetParent(i,Ln)},middleware:[ho({crossAxis:!0}),fo({allowedPlacements:[n]})]})}var ot=function(e,o,n,i){var a=arguments.length,c=a<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,n):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,o,n,i);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(c=(a<3?s(c):a>3?s(o,n,c):s(o,n))||c);return a>3&&c&&Object.defineProperty(o,n,c),c},P=class extends Ce.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 Ce.Debouncer,this.revealDebouncer=new Ce.Debouncer}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return $n.html`
|
|
527
527
|
<div part="container"
|
|
528
528
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
529
529
|
@mouseenter=${this.onHover}
|
|
@@ -574,7 +574,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
574
574
|
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
|
|
575
575
|
`:ie.html`
|
|
576
576
|
<slot part="icon" name="icon"></slot>
|
|
577
|
-
`}focus(){var o;(o=this.button)===null||o===void 0||o.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(o){return o instanceof HTMLSlotElement?o.assignedNodes().map(n=>this.unslotText(n)).join(""):o?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};W.elementDefinitions={"ft-ripple":A,"ft-tooltip":P,"ft-typography":q,"ft-icon":V,"ft-loader":Dt};rt([(0,j.property)({type:String,reflect:!0})],W.prototype,"role",void 0);rt([(0,j.property)()],W.prototype,"type",void 0);rt([(0,j.property)({type:Boolean})],W.prototype,"disabled",void 0);rt([(0,j.property)()],W.prototype,"label",void 0);rt([(0,j.property)()],W.prototype,"icon",void 0);rt([(0,j.property)()],W.prototype,"iconVariant",void 0);rt([(0,j.property)({type:Boolean})],W.prototype,"trailingIcon",void 0);rt([(0,j.property)({type:Boolean})],W.prototype,"loading",void 0);rt([(0,j.property)({attribute:"aria-label"})],W.prototype,"ariaLabel",void 0);rt([(0,j.property)()],W.prototype,"tooltipPosition",void 0);rt([(0,j.property)({type:Boolean})],W.prototype,"hideTooltip",void 0);rt([(0,j.property)({type:Boolean})],W.prototype,"forceTooltip",void 0);rt([(0,j.query)(".ft-button")],W.prototype,"button",void 0);rt([(0,j.query)(".ft-button--label slot")],W.prototype,"slottedContent",void 0);var
|
|
577
|
+
`}focus(){var o;(o=this.button)===null||o===void 0||o.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(o){return o instanceof HTMLSlotElement?o.assignedNodes().map(n=>this.unslotText(n)).join(""):o?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};W.elementDefinitions={"ft-ripple":A,"ft-tooltip":P,"ft-typography":q,"ft-icon":V,"ft-loader":Dt};rt([(0,j.property)({type:String,reflect:!0})],W.prototype,"role",void 0);rt([(0,j.property)()],W.prototype,"type",void 0);rt([(0,j.property)({type:Boolean})],W.prototype,"disabled",void 0);rt([(0,j.property)()],W.prototype,"label",void 0);rt([(0,j.property)()],W.prototype,"icon",void 0);rt([(0,j.property)()],W.prototype,"iconVariant",void 0);rt([(0,j.property)({type:Boolean})],W.prototype,"trailingIcon",void 0);rt([(0,j.property)({type:Boolean})],W.prototype,"loading",void 0);rt([(0,j.property)({attribute:"aria-label"})],W.prototype,"ariaLabel",void 0);rt([(0,j.property)()],W.prototype,"tooltipPosition",void 0);rt([(0,j.property)({type:Boolean})],W.prototype,"hideTooltip",void 0);rt([(0,j.property)({type:Boolean})],W.prototype,"forceTooltip",void 0);rt([(0,j.query)(".ft-button")],W.prototype,"button",void 0);rt([(0,j.query)(".ft-button--label slot")],W.prototype,"slottedContent",void 0);var He=function(e,o,n,i){var a=arguments.length,c=a<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,n):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,o,n,i);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(c=(a<3?s(c):a>3?s(o,n,c):s(o,n))||c);return a>3&&c&&Object.defineProperty(o,n,c),c},ft=class extends W{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}};ft.styles=[Tn.safariEllipsisFix,rn];He([(0,ve.property)({type:Boolean})],ft.prototype,"primary",void 0);He([(0,ve.property)({type:Boolean})],ft.prototype,"outlined",void 0);He([(0,ve.property)({type:Boolean})],ft.prototype,"dense",void 0);He([(0,ve.property)({type:Boolean})],ft.prototype,"round",void 0);var Ne=m(pt());var Ue=m(R());var kn=m(B()),E=m(R());var _n=[kn.css`
|
|
578
578
|
:host {
|
|
579
579
|
display: inline-block;
|
|
580
580
|
max-width: 100%;
|
|
@@ -755,7 +755,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
755
755
|
/** Large styles **/
|
|
756
756
|
|
|
757
757
|
.ftds--size-large {
|
|
758
|
-
${(0,E.setVariable)(
|
|
758
|
+
${(0,E.setVariable)(H.size,f.largeIconSize)};
|
|
759
759
|
${(0,E.setVariable)(J.size,f.largeIconSize)};
|
|
760
760
|
|
|
761
761
|
height: ${f.largeHeight};
|
|
@@ -777,7 +777,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
777
777
|
/** Small styles **/
|
|
778
778
|
|
|
779
779
|
.ftds--size-medium {
|
|
780
|
-
${(0,E.setVariable)(
|
|
780
|
+
${(0,E.setVariable)(H.size,f.mediumIconSize)};
|
|
781
781
|
${(0,E.setVariable)(J.size,f.mediumIconSize)};
|
|
782
782
|
|
|
783
783
|
height: ${f.mediumHeight};
|
|
@@ -800,7 +800,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
800
800
|
/** Small styles **/
|
|
801
801
|
|
|
802
802
|
.ftds--size-small {
|
|
803
|
-
${(0,E.setVariable)(
|
|
803
|
+
${(0,E.setVariable)(H.size,f.smallIconSize)};
|
|
804
804
|
${(0,E.setVariable)(J.size,f.smallIconSize)};
|
|
805
805
|
|
|
806
806
|
height: ${f.smallHeight};
|
|
@@ -818,7 +818,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
818
818
|
.ftds--size-small.ft-button--icon-only {
|
|
819
819
|
width: ${f.smallIconOnlyWidth};
|
|
820
820
|
}
|
|
821
|
-
`,E.noTextSelect];var De=function(e,o,n,i){var a=arguments.length,c=a<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,n):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,o,n,i);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(c=(a<3?s(c):a>3?s(o,n,c):s(o,n))||c);return a>3&&c&&Object.defineProperty(o,n,c),c},ht=class extends(0,Ue.toFtdsBase)(W){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=$e.brand,this.iconVariant=ct.fluid_topics}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon,"ft-button--round":this.round,...this.getDesignSystemBaseClasses()}}get typographyVariant(){switch(this.size){case X.large:return at.body2medium;case X.medium:return at.caption1medium;case X.small:return at.caption2medium}}};ht.styles=[Ue.safariEllipsisFix,
|
|
821
|
+
`,E.noTextSelect];var De=function(e,o,n,i){var a=arguments.length,c=a<3?o:i===null?i=Object.getOwnPropertyDescriptor(o,n):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,o,n,i);else for(var p=e.length-1;p>=0;p--)(s=e[p])&&(c=(a<3?s(c):a>3?s(o,n,c):s(o,n))||c);return a>3&&c&&Object.defineProperty(o,n,c),c},ht=class extends(0,Ue.toFtdsBase)(W){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=$e.brand,this.iconVariant=ct.fluid_topics}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon,"ft-button--round":this.round,...this.getDesignSystemBaseClasses()}}get typographyVariant(){switch(this.size){case X.large:return at.body2medium;case X.medium:return at.caption1medium;case X.small:return at.caption2medium}}};ht.styles=[Ue.safariEllipsisFix,_n];De([(0,Ne.property)({type:Boolean})],ht.prototype,"primary",void 0);De([(0,Ne.property)({type:Boolean})],ht.prototype,"secondary",void 0);De([(0,Ne.property)({type:Boolean})],ht.prototype,"tertiary",void 0);De([(0,Ne.property)({type:Boolean})],ht.prototype,"round",void 0);(0,uo.customElement)("ft-button")(ft);(0,uo.customElement)("ftds-button")(ht);var Hn=S.FtCssVariableFactory.extend("--ft-chip-color","",S.designSystemVariables.colorOnSurface),M={backgroundColor:S.FtCssVariableFactory.extend("--ft-chip-background-color","",S.designSystemVariables.colorSurface),color:Hn,fontSize:S.FtCssVariableFactory.extend("--ft-chip-font-size","",yt.fontSize),iconSize:S.FtCssVariableFactory.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:S.FtCssVariableFactory.create("--ft-chip-border-radius","","SIZE",""),rippleColor:S.FtCssVariableFactory.extend("--ft-chip-ripple-color","",Hn),horizontalPadding:S.FtCssVariableFactory.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:S.FtCssVariableFactory.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:S.FtCssVariableFactory.external(S.designSystemVariables.colorOutline,"Design system"),opacityDisabled:S.FtCssVariableFactory.external(S.designSystemVariables.colorOpacityDisabled,"Design system")},Dn=S.FtCssVariableFactory.extend("--ft-chip-highlighted-color","",S.FtCssVariableFactory.extend("--ft-chip-color","",S.designSystemVariables.colorOnPrimary)),mo={backgroundColor:S.FtCssVariableFactory.extend("--ft-chip-highlighted-background-color","",S.FtCssVariableFactory.extend("--ft-chip-background-color","",S.designSystemVariables.colorPrimary)),color:Dn,rippleColor:S.FtCssVariableFactory.extend("--ft-chip-highlighted-ripple-color","",Dn)},Un={horizontalPadding:S.FtCssVariableFactory.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:S.FtCssVariableFactory.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},Gn=[S.noTextSelect,Ge.css`
|
|
822
822
|
:host {
|
|
823
823
|
display: inline-block;
|
|
824
824
|
max-width: 100%;
|
|
@@ -836,7 +836,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
836
836
|
|
|
837
837
|
--ft-chip-internal-font-size: ${M.fontSize};
|
|
838
838
|
--ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
|
|
839
|
-
${(0,S.setVariable)(
|
|
839
|
+
${(0,S.setVariable)(H.size,M.iconSize)};
|
|
840
840
|
--ft-chip-internal-vertical-padding: ${M.verticalPadding};
|
|
841
841
|
--ft-chip-internal-horizontal-padding: ${M.horizontalPadding};
|
|
842
842
|
--ft-chip-internal-icon-padding: 3px;
|
|
@@ -1005,7 +1005,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1005
1005
|
border-width: ${v.mediumBorderWidth};
|
|
1006
1006
|
border-style: solid;
|
|
1007
1007
|
gap: ${v.mediumGap};
|
|
1008
|
-
${(0,yo.setVariable)(
|
|
1008
|
+
${(0,yo.setVariable)(H.size,v.mediumIconSize)}
|
|
1009
1009
|
}
|
|
1010
1010
|
|
|
1011
1011
|
.ftds--size-medium.ftds-chip--removable {
|
|
@@ -1021,7 +1021,7 @@ Also for action icons.`,r.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
1021
1021
|
border-width: ${v.largeBorderWidth};
|
|
1022
1022
|
border-style: solid;
|
|
1023
1023
|
gap: ${v.largeGap};
|
|
1024
|
-
${(0,yo.setVariable)(
|
|
1024
|
+
${(0,yo.setVariable)(H.size,v.largeIconSize)}
|
|
1025
1025
|
}
|
|
1026
1026
|
|
|
1027
1027
|
.ftds--size-large.ftds-chip--removable {
|