@fluid-topics/ft-ripple 1.0.59 → 1.0.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ft-ripple.css.js +7 -7
- package/build/ft-ripple.light.js +1 -1
- package/build/ft-ripple.min.js +26 -26
- package/package.json +3 -3
package/build/ft-ripple.css.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { css } from "lit";
|
|
2
2
|
import { designSystemVariables, FtCssVariableFactory } from "@fluid-topics/ft-wc-utils";
|
|
3
|
-
const colorCssVar = FtCssVariableFactory.extend("--ft-ripple-color", designSystemVariables.colorContent);
|
|
3
|
+
const colorCssVar = FtCssVariableFactory.extend("--ft-ripple-color", "", designSystemVariables.colorContent);
|
|
4
4
|
export const FtRippleCssVariables = {
|
|
5
5
|
color: colorCssVar,
|
|
6
|
-
backgroundColor: FtCssVariableFactory.extend("--ft-ripple-background-color", colorCssVar),
|
|
6
|
+
backgroundColor: FtCssVariableFactory.extend("--ft-ripple-background-color", "", colorCssVar),
|
|
7
7
|
opacityContentOnSurfacePressed: FtCssVariableFactory.external(designSystemVariables.opacityContentOnSurfacePressed, "Design system"),
|
|
8
8
|
opacityContentOnSurfaceHover: FtCssVariableFactory.external(designSystemVariables.opacityContentOnSurfaceHover, "Design system"),
|
|
9
9
|
opacityContentOnSurfaceFocused: FtCssVariableFactory.external(designSystemVariables.opacityContentOnSurfaceFocused, "Design system"),
|
|
10
10
|
opacityContentOnSurfaceSelected: FtCssVariableFactory.external(designSystemVariables.opacityContentOnSurfaceSelected, "Design system"),
|
|
11
|
-
borderRadius: FtCssVariableFactory.create("--ft-ripple-border-radius", "SIZE", "0px")
|
|
11
|
+
borderRadius: FtCssVariableFactory.create("--ft-ripple-border-radius", "", "SIZE", "0px")
|
|
12
12
|
};
|
|
13
|
-
const primaryColorCssVar = FtCssVariableFactory.extend("--ft-ripple-color", designSystemVariables.colorPrimary);
|
|
13
|
+
const primaryColorCssVar = FtCssVariableFactory.extend("--ft-ripple-color", "", designSystemVariables.colorPrimary);
|
|
14
14
|
export const FtRipplePrimaryCssVariables = {
|
|
15
15
|
color: primaryColorCssVar,
|
|
16
|
-
backgroundColor: FtCssVariableFactory.extend("--ft-ripple-background-color", primaryColorCssVar),
|
|
16
|
+
backgroundColor: FtCssVariableFactory.extend("--ft-ripple-background-color", "", primaryColorCssVar),
|
|
17
17
|
};
|
|
18
|
-
const secondaryColorCssVar = FtCssVariableFactory.extend("--ft-ripple-color", designSystemVariables.colorSecondary);
|
|
18
|
+
const secondaryColorCssVar = FtCssVariableFactory.extend("--ft-ripple-color", "", designSystemVariables.colorSecondary);
|
|
19
19
|
export const FtRippleSecondaryCssVariables = {
|
|
20
20
|
color: secondaryColorCssVar,
|
|
21
|
-
backgroundColor: FtCssVariableFactory.extend("--ft-ripple-background-color", secondaryColorCssVar),
|
|
21
|
+
backgroundColor: FtCssVariableFactory.extend("--ft-ripple-background-color", "", secondaryColorCssVar),
|
|
22
22
|
};
|
|
23
23
|
//language=css
|
|
24
24
|
export const styles = css `
|
package/build/ft-ripple.light.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(t,i,e,r,p){const s=i.FtCssVariableFactory.extend("--ft-ripple-color",i.designSystemVariables.colorContent),o={color:s,backgroundColor:i.FtCssVariableFactory.extend("--ft-ripple-background-color",s),opacityContentOnSurfacePressed:i.FtCssVariableFactory.external(i.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:i.FtCssVariableFactory.external(i.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:i.FtCssVariableFactory.external(i.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:i.FtCssVariableFactory.external(i.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:i.FtCssVariableFactory.create("--ft-ripple-border-radius","SIZE","0px")},l=i.FtCssVariableFactory.extend("--ft-ripple-color",i.designSystemVariables.colorPrimary),n={color:l,backgroundColor:i.FtCssVariableFactory.extend("--ft-ripple-background-color",l)},f=i.FtCssVariableFactory.extend("--ft-ripple-color",i.designSystemVariables.colorSecondary),a={color:f,backgroundColor:i.FtCssVariableFactory.extend("--ft-ripple-background-color",f)},h=e.css`
|
|
1
|
+
!function(t,i,e,r,p){const s=i.FtCssVariableFactory.extend("--ft-ripple-color","",i.designSystemVariables.colorContent),o={color:s,backgroundColor:i.FtCssVariableFactory.extend("--ft-ripple-background-color","",s),opacityContentOnSurfacePressed:i.FtCssVariableFactory.external(i.designSystemVariables.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:i.FtCssVariableFactory.external(i.designSystemVariables.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:i.FtCssVariableFactory.external(i.designSystemVariables.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:i.FtCssVariableFactory.external(i.designSystemVariables.opacityContentOnSurfaceSelected,"Design system"),borderRadius:i.FtCssVariableFactory.create("--ft-ripple-border-radius","","SIZE","0px")},l=i.FtCssVariableFactory.extend("--ft-ripple-color","",i.designSystemVariables.colorPrimary),n={color:l,backgroundColor:i.FtCssVariableFactory.extend("--ft-ripple-background-color","",l)},f=i.FtCssVariableFactory.extend("--ft-ripple-color","",i.designSystemVariables.colorSecondary),a={color:f,backgroundColor:i.FtCssVariableFactory.extend("--ft-ripple-background-color","",f)},h=e.css`
|
|
2
2
|
:host {
|
|
3
3
|
display: contents;
|
|
4
4
|
}
|
package/build/ft-ripple.min.js
CHANGED
|
@@ -14,17 +14,17 @@
|
|
|
14
14
|
*
|
|
15
15
|
* @see https://github.com/webcomponents/polyfills/tree/master/packages/scoped-custom-element-registry
|
|
16
16
|
*/
|
|
17
|
-
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,
|
|
17
|
+
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.customElements.define,r=window.customElements.get,e=window.customElements,i=new WeakMap,a=new WeakMap,n=new WeakMap,l=new WeakMap;let c;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,i){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(i))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const l=i.prototype.attributeChangedCallback,c=new Set(i.observedAttributes||[]);d(i,c,l);const s={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:l,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:c};this._definitionsByTag.set(t,s),this._definitionsByClass.set(i,s);let p=r.call(e,t);p||(p=f(t),o.call(e,t,p)),this===window.customElements&&(n.set(i,s),s.standInClass=p);const h=this._awaitingUpgrade.get(t);if(h){this._awaitingUpgrade.delete(t);for(const t of h)a.delete(t),u(t,s,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(i),this._whenDefinedPromises.delete(t)),i}upgrade(){g.push(this),e.upgrade.apply(e,arguments),g.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let r=this._whenDefinedPromises.get(t);return void 0===r&&(r={},r.promise=new Promise((t=>r.resolve=t)),this._whenDefinedPromises.set(t,r)),r.promise}_upgradeWhenDefined(t,o,r){let e=this._awaitingUpgrade.get(o);e||this._awaitingUpgrade.set(o,e=new Set),r?e.add(t):e.delete(t)}},window.HTMLElement=function(){let o=c;if(o)return c=void 0,o;const r=n.get(this.constructor);if(!r)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],r.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),i.set(o,r),o},window.HTMLElement.prototype=t.prototype;const s=t=>t===document||t instanceof ShadowRoot,p=t=>{let o=t.getRootNode();if(!s(o)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),s(o)||(o=l.get(o)?.getRootNode()||document)}return o.customElements},f=o=>class{static get formAssociated(){return!0}constructor(){const r=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(r,HTMLElement.prototype);const e=p(r)||window.customElements,i=e._getDefinition(o);return i?u(r,i):a.set(r,e),r}connectedCallback(){const t=i.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=i.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=i.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=i.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=i.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=i.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=i.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},d=(t,o,r)=>{if(0===o.size||void 0===r)return;const e=t.prototype.setAttribute;e&&(t.prototype.setAttribute=function(t,i){const a=t.toLowerCase();if(o.has(a)){const t=this.getAttribute(a);e.call(this,a,i),r.call(this,a,t,i)}else e.call(this,a,i)});const i=t.prototype.removeAttribute;i&&(t.prototype.removeAttribute=function(t){const e=t.toLowerCase();if(o.has(e)){const t=this.getAttribute(e);i.call(this,e),r.call(this,e,t,null)}else i.call(this,e)})},h=o=>{const r=Object.getPrototypeOf(o);if(r!==window.HTMLElement)return r===t||"HTMLElement"===r?.prototype?.constructor?.name?Object.setPrototypeOf(o,window.HTMLElement):h(r)},u=(t,o,r=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),i.set(t,o),c=t;try{new o.elementClass}catch(t){h(o.elementClass),new o.elementClass}o.observedAttributes.forEach((r=>{t.hasAttribute(r)&&o.attributeChangedCallback.call(t,r,null,t.getAttribute(r))})),r&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=y.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let g=[document];const b=(t,o,r=void 0)=>{const e=(r?Object.getPrototypeOf(r):t.prototype)[o];t.prototype[o]=function(){g.push(this);const t=e.apply(r||this,arguments);return void 0!==t&&l.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,o)=>{const r=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...r,set(t){g.push(this),r.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,o=HTMLElement.prototype.attachInternals,r=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...r){const e=o.call(this,...r);return t.set(e,this),e},r.forEach((o=>{const r=window.ElementInternals.prototype,e=r[o];r[o]=function(...o){const r=t.get(this);if(!0!==i.get(r).formAssociated)throw new DOMException(`Failed to execute ${e} on 'ElementInternals': The target element is not a form-associated custom element.`);e?.call(this,...o)}}));class e extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class a{constructor(t){const o=new Map;t.forEach(((t,r)=>{const e=t.getAttribute("name"),i=o.get(e)||[];this[+r]=t,i.push(t),o.set(e,i)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new e(t))}))}namedItem(t){return this[t]}}const n=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=n.get.call(this,[]),o=[];for(const r of t){const t=i.get(r);t&&!0!==t.formAssociated||o.push(r)}return new a(o)}})}}try{window.customElements.define("custom-element",null)}catch(t){const o=window.customElements.define;window.customElements.define=(t,r,e)=>{if(null!==r)try{o.bind(window.customElements)(t,r,e)}catch(o){console.info(t,r,e,o)}}}class o{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,o)=>{this.resolvePromise=t,this.rejectPromise=o}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,o;const r=[...this.callbacks];this.callbacks=[];const e=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,i=null!==(o=this.resolvePromise)&&void 0!==o?o:()=>null;this.clearPromise();for(let t of r)try{await t()}catch(t){return void e(t)}i(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
|
|
18
18
|
/**
|
|
19
19
|
* @license
|
|
20
20
|
* Copyright 2017 Google LLC
|
|
21
21
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
22
|
-
*/const
|
|
22
|
+
*/const r=(t,o)=>"method"===o.kind&&o.descriptor&&!("value"in o.descriptor)?{...o,finisher(r){r.createProperty(o.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:o.key,initializer(){"function"==typeof o.initializer&&(this[o.key]=o.initializer.call(this))},finisher(r){r.createProperty(o.key,t)}};function e(t){return(o,e)=>void 0!==e?((t,o,r)=>{o.constructor.createProperty(r,t)})(t,o,e):r(t,o)
|
|
23
23
|
/**
|
|
24
24
|
* @license
|
|
25
25
|
* Copyright 2017 Google LLC
|
|
26
26
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
27
|
-
*/}function
|
|
27
|
+
*/}function i(t){return e({...t,state:!0})}
|
|
28
28
|
/**
|
|
29
29
|
* @license
|
|
30
30
|
* Copyright 2017 Google LLC
|
|
@@ -35,35 +35,35 @@ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,i=window.cust
|
|
|
35
35
|
* Copyright 2017 Google LLC
|
|
36
36
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
37
37
|
*/
|
|
38
|
-
function
|
|
38
|
+
function a(t,o){return(({finisher:t,descriptor:o})=>(r,e)=>{var i;if(void 0===e){const e=null!==(i=r.originalKey)&&void 0!==i?i:r.key,a=null!=o?{kind:"method",placement:"prototype",key:e,descriptor:o(r.key)}:{...r,key:e};return null!=t&&(a.finisher=function(o){t(o,e)}),a}{const i=r.constructor;void 0!==o&&Object.defineProperty(r,e,o(e)),null==t||t(i,e)}})({descriptor:r=>{const e={get(){var o,r;return null!==(r=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(t))&&void 0!==r?r:null},enumerable:!0,configurable:!0};if(o){const o="symbol"==typeof r?Symbol():"__"+r;e.get=function(){var r,e;return void 0===this[o]&&(this[o]=null!==(e=null===(r=this.renderRoot)||void 0===r?void 0:r.querySelector(t))&&void 0!==e?e:null),this[o]}}return e}})}
|
|
39
39
|
/**
|
|
40
40
|
* @license
|
|
41
41
|
* Copyright 2021 Google LLC
|
|
42
42
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
43
|
-
*/var n;function l(t,
|
|
43
|
+
*/var n;function l(t,o){try{return function(t,o){if(t===o)return!0;if(t&&o&&"object"==typeof t&&"object"==typeof o){if(t.constructor!==o.constructor)return!1;var r,e,i;if(Array.isArray(t)){if((r=t.length)!=o.length)return!1;for(e=r;0!=e--;)if(!l(t[e],o[e]))return!1;return!0}if(t instanceof Map&&o instanceof Map){if(t.size!==o.size)return!1;for(e of t.entries())if(!o.has(e[0]))return!1;for(e of t.entries())if(!l(e[1],o.get(e[0])))return!1;return!0}if(t instanceof Set&&o instanceof Set){if(t.size!==o.size)return!1;for(e of t.entries())if(!o.has(e[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&&t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();if((r=(i=Object.keys(t)).length)!==Object.keys(o).length)return!1;for(e=r;0!=e--;)if(!Object.prototype.hasOwnProperty.call(o,i[e]))return!1;for(e=r;0!=e--;){var a=i[e];if(!l(t[a],o[a]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}null===(n=window.HTMLSlotElement)||void 0===n||n.prototype.assignedElements;
|
|
44
44
|
/**
|
|
45
45
|
* @license
|
|
46
46
|
* Copyright 2019 Google LLC
|
|
47
47
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
48
48
|
*/
|
|
49
|
-
const
|
|
49
|
+
const c=window,s=c.ShadowRoot&&(void 0===c.ShadyCSS||c.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,p=Symbol(),f=new WeakMap;let d=class{constructor(t,o,r){if(this._$cssResult$=!0,r!==p)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o;const o=this.t;if(s&&void 0===t){const r=void 0!==o&&1===o.length;r&&(t=f.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),r&&f.set(o,t))}return t}toString(){return this.cssText}};const h=t=>new d("string"==typeof t?t:t+"",void 0,p),u=(t,...o)=>{const r=1===t.length?t[0]:o.reduce(((o,r,e)=>o+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+t[e+1]),t[0]);return new d(r,t,p)},y=(t,o)=>{s?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const r=document.createElement("style"),e=c.litNonce;void 0!==e&&r.setAttribute("nonce",e),r.textContent=o.cssText,t.appendChild(r)}))},g=s?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const r of t.cssRules)o+=r.cssText;return h(o)})(t):t
|
|
50
50
|
/**
|
|
51
51
|
* @license
|
|
52
52
|
* Copyright 2017 Google LLC
|
|
53
53
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
54
|
-
*/;var
|
|
54
|
+
*/;var b;const m=window,O=m.trustedTypes,N=O?O.emptyScript:"",v=m.reactiveElementPolyfillSupport,S={toAttribute(t,o){switch(o){case Boolean:t=t?N:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let r=t;switch(o){case Boolean:r=null!==t;break;case Number:r=null===t?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch(t){r=null}}return r}},C=(t,o)=>o!==t&&(o==o||t==t),w={attribute:!0,type:String,converter:S,reflect:!1,hasChanged:C};let x=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var o;this.finalize(),(null!==(o=this.h)&&void 0!==o?o:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((o,r)=>{const e=this._$Ep(r,o);void 0!==e&&(this._$Ev.set(e,r),t.push(e))})),t}static createProperty(t,o=w){if(o.state&&(o.attribute=!1),this.finalize(),this.elementProperties.set(t,o),!o.noAccessor&&!this.prototype.hasOwnProperty(t)){const r="symbol"==typeof t?Symbol():"__"+t,e=this.getPropertyDescriptor(t,r,o);void 0!==e&&Object.defineProperty(this.prototype,t,e)}}static getPropertyDescriptor(t,o,r){return{get(){return this[o]},set(e){const i=this[t];this[o]=e,this.requestUpdate(t,i,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||w}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),void 0!==t.h&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,o=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const r of o)this.createProperty(r,t[r])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const r=new Set(t.flat(1/0).reverse());for(const t of r)o.unshift(g(t))}else void 0!==t&&o.push(g(t));return o}static _$Ep(t,o){const r=o.attribute;return!1===r?void 0:"string"==typeof r?r:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var o,r;(null!==(o=this._$ES)&&void 0!==o?o:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(r=t.hostConnected)||void 0===r||r.call(t))}removeController(t){var o;null===(o=this._$ES)||void 0===o||o.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,o)=>{this.hasOwnProperty(o)&&(this._$Ei.set(o,this[o]),delete this[o])}))}createRenderRoot(){var t;const o=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return y(o,this.constructor.elementStyles),o}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var o;return null===(o=t.hostConnected)||void 0===o?void 0:o.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var o;return null===(o=t.hostDisconnected)||void 0===o?void 0:o.call(t)}))}attributeChangedCallback(t,o,r){this._$AK(t,r)}_$EO(t,o,r=w){var e;const i=this.constructor._$Ep(t,r);if(void 0!==i&&!0===r.reflect){const a=(void 0!==(null===(e=r.converter)||void 0===e?void 0:e.toAttribute)?r.converter:S).toAttribute(o,r.type);this._$El=t,null==a?this.removeAttribute(i):this.setAttribute(i,a),this._$El=null}}_$AK(t,o){var r;const e=this.constructor,i=e._$Ev.get(t);if(void 0!==i&&this._$El!==i){const t=e.getPropertyOptions(i),a="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(r=t.converter)||void 0===r?void 0:r.fromAttribute)?t.converter:S;this._$El=i,this[i]=a.fromAttribute(o,t.type),this._$El=null}}requestUpdate(t,o,r){let e=!0;void 0!==t&&(((r=r||this.constructor.getPropertyOptions(t)).hasChanged||C)(this[t],o)?(this._$AL.has(t)||this._$AL.set(t,o),!0===r.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,r))):e=!1),!this.isUpdatePending&&e&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,o)=>this[o]=t)),this._$Ei=void 0);let o=!1;const r=this._$AL;try{o=this.shouldUpdate(r),o?(this.willUpdate(r),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var o;return null===(o=t.hostUpdate)||void 0===o?void 0:o.call(t)})),this.update(r)):this._$Ek()}catch(t){throw o=!1,this._$Ek(),t}o&&this._$AE(r)}willUpdate(t){}_$AE(t){var o;null===(o=this._$ES)||void 0===o||o.forEach((t=>{var o;return null===(o=t.hostUpdated)||void 0===o?void 0:o.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,o)=>this._$EO(o,this[o],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}};
|
|
55
55
|
/**
|
|
56
56
|
* @license
|
|
57
57
|
* Copyright 2017 Google LLC
|
|
58
58
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
59
59
|
*/
|
|
60
|
-
var
|
|
60
|
+
var R;x.finalized=!0,x.elementProperties=new Map,x.elementStyles=[],x.shadowRootOptions={mode:"open"},null==v||v({ReactiveElement:x}),(null!==(b=m.reactiveElementVersions)&&void 0!==b?b:m.reactiveElementVersions=[]).push("1.6.1");const U=window,E=U.trustedTypes,L=E?E.createPolicy("lit-html",{createHTML:t=>t}):void 0,I="$lit$",W=`lit$${(Math.random()+"").slice(9)}$`,k="?"+W,K=`<${k}>`,Z=document,F=()=>Z.createComment(""),B=t=>null===t||"object"!=typeof t&&"function"!=typeof t,M=Array.isArray,A="[ \t\n\f\r]",$=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,D=/-->/g,z=/>/g,P=RegExp(`>|${A}(?:([^\\s"'>=/]+)(${A}*=${A}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),H=/'/g,G=/"/g,j=/^(?:script|style|textarea|title)$/i,_=(t=>(o,...r)=>({_$litType$:t,strings:o,values:r}))(1),T=Symbol.for("lit-noChange"),Y=Symbol.for("lit-nothing"),V=new WeakMap,J=Z.createTreeWalker(Z,129,null,!1),X=(t,o)=>{const r=t.length-1,e=[];let i,a=2===o?"<svg>":"",n=$;for(let o=0;o<r;o++){const r=t[o];let l,c,s=-1,p=0;for(;p<r.length&&(n.lastIndex=p,c=n.exec(r),null!==c);)p=n.lastIndex,n===$?"!--"===c[1]?n=D:void 0!==c[1]?n=z:void 0!==c[2]?(j.test(c[2])&&(i=RegExp("</"+c[2],"g")),n=P):void 0!==c[3]&&(n=P):n===P?">"===c[0]?(n=null!=i?i:$,s=-1):void 0===c[1]?s=-2:(s=n.lastIndex-c[2].length,l=c[1],n=void 0===c[3]?P:'"'===c[3]?G:H):n===G||n===H?n=P:n===D||n===z?n=$:(n=P,i=void 0);const f=n===P&&t[o+1].startsWith("/>")?" ":"";a+=n===$?r+K:s>=0?(e.push(l),r.slice(0,s)+I+r.slice(s)+W+f):r+W+(-2===s?(e.push(void 0),o):f)}const l=a+(t[r]||"<?>")+(2===o?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==L?L.createHTML(l):l,e]};class q{constructor({strings:t,_$litType$:o},r){let e;this.parts=[];let i=0,a=0;const n=t.length-1,l=this.parts,[c,s]=X(t,o);if(this.el=q.createElement(c,r),J.currentNode=this.el.content,2===o){const t=this.el.content,o=t.firstChild;o.remove(),t.append(...o.childNodes)}for(;null!==(e=J.nextNode())&&l.length<n;){if(1===e.nodeType){if(e.hasAttributes()){const t=[];for(const o of e.getAttributeNames())if(o.endsWith(I)||o.startsWith(W)){const r=s[a++];if(t.push(o),void 0!==r){const t=e.getAttribute(r.toLowerCase()+I).split(W),o=/([.?@])?(.*)/.exec(r);l.push({type:1,index:i,name:o[2],strings:t,ctor:"."===o[1]?et:"?"===o[1]?at:"@"===o[1]?nt:rt})}else l.push({type:6,index:i})}for(const o of t)e.removeAttribute(o)}if(j.test(e.tagName)){const t=e.textContent.split(W),o=t.length-1;if(o>0){e.textContent=E?E.emptyScript:"";for(let r=0;r<o;r++)e.append(t[r],F()),J.nextNode(),l.push({type:2,index:++i});e.append(t[o],F())}}}else if(8===e.nodeType)if(e.data===k)l.push({type:2,index:i});else{let t=-1;for(;-1!==(t=e.data.indexOf(W,t+1));)l.push({type:7,index:i}),t+=W.length-1}i++}}static createElement(t,o){const r=Z.createElement("template");return r.innerHTML=t,r}}function Q(t,o,r=t,e){var i,a,n,l;if(o===T)return o;let c=void 0!==e?null===(i=r._$Co)||void 0===i?void 0:i[e]:r._$Cl;const s=B(o)?void 0:o._$litDirective$;return(null==c?void 0:c.constructor)!==s&&(null===(a=null==c?void 0:c._$AO)||void 0===a||a.call(c,!1),void 0===s?c=void 0:(c=new s(t),c._$AT(t,r,e)),void 0!==e?(null!==(n=(l=r)._$Co)&&void 0!==n?n:l._$Co=[])[e]=c:r._$Cl=c),void 0!==c&&(o=Q(t,c._$AS(t,o.values),c,e)),o}class tt{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var o;const{el:{content:r},parts:e}=this._$AD,i=(null!==(o=null==t?void 0:t.creationScope)&&void 0!==o?o:Z).importNode(r,!0);J.currentNode=i;let a=J.nextNode(),n=0,l=0,c=e[0];for(;void 0!==c;){if(n===c.index){let o;2===c.type?o=new ot(a,a.nextSibling,this,t):1===c.type?o=new c.ctor(a,c.name,c.strings,this,t):6===c.type&&(o=new lt(a,this,t)),this._$AV.push(o),c=e[++l]}n!==(null==c?void 0:c.index)&&(a=J.nextNode(),n++)}return i}v(t){let o=0;for(const r of this._$AV)void 0!==r&&(void 0!==r.strings?(r._$AI(t,r,o),o+=r.strings.length-2):r._$AI(t[o])),o++}}class ot{constructor(t,o,r,e){var i;this.type=2,this._$AH=Y,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=r,this.options=e,this._$Cp=null===(i=null==e?void 0:e.isConnected)||void 0===i||i}get _$AU(){var t,o;return null!==(o=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==o?o:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===(null==t?void 0:t.nodeType)&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=Q(this,t,o),B(t)?t===Y||null==t||""===t?(this._$AH!==Y&&this._$AR(),this._$AH=Y):t!==this._$AH&&t!==T&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>M(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]))(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==Y&&B(this._$AH)?this._$AA.nextSibling.data=t:this.$(Z.createTextNode(t)),this._$AH=t}g(t){var o;const{values:r,_$litType$:e}=t,i="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=q.createElement(e.h,this.options)),e);if((null===(o=this._$AH)||void 0===o?void 0:o._$AD)===i)this._$AH.v(r);else{const t=new tt(i,this),o=t.u(this.options);t.v(r),this.$(o),this._$AH=t}}_$AC(t){let o=V.get(t.strings);return void 0===o&&V.set(t.strings,o=new q(t)),o}T(t){M(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let r,e=0;for(const i of t)e===o.length?o.push(r=new ot(this.k(F()),this.k(F()),this,this.options)):r=o[e],r._$AI(i),e++;e<o.length&&(this._$AR(r&&r._$AB.nextSibling,e),o.length=e)}_$AR(t=this._$AA.nextSibling,o){var r;for(null===(r=this._$AP)||void 0===r||r.call(this,!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){var o;void 0===this._$AM&&(this._$Cp=t,null===(o=this._$AP)||void 0===o||o.call(this,t))}}class rt{constructor(t,o,r,e,i){this.type=1,this._$AH=Y,this._$AN=void 0,this.element=t,this.name=o,this._$AM=e,this.options=i,r.length>2||""!==r[0]||""!==r[1]?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=Y}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,o=this,r,e){const i=this.strings;let a=!1;if(void 0===i)t=Q(this,t,o,0),a=!B(t)||t!==this._$AH&&t!==T,a&&(this._$AH=t);else{const e=t;let n,l;for(t=i[0],n=0;n<i.length-1;n++)l=Q(this,e[r+n],o,n),l===T&&(l=this._$AH[n]),a||(a=!B(l)||l!==this._$AH[n]),l===Y?t=Y:t!==Y&&(t+=(null!=l?l:"")+i[n+1]),this._$AH[n]=l}a&&!e&&this.j(t)}j(t){t===Y?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class et extends rt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===Y?void 0:t}}const it=E?E.emptyScript:"";class at extends rt{constructor(){super(...arguments),this.type=4}j(t){t&&t!==Y?this.element.setAttribute(this.name,it):this.element.removeAttribute(this.name)}}class nt extends rt{constructor(t,o,r,e,i){super(t,o,r,e,i),this.type=5}_$AI(t,o=this){var r;if((t=null!==(r=Q(this,t,o,0))&&void 0!==r?r:Y)===T)return;const e=this._$AH,i=t===Y&&e!==Y||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,a=t!==Y&&(e===Y||i);i&&this.element.removeEventListener(this.name,this,e),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var o,r;"function"==typeof this._$AH?this._$AH.call(null!==(r=null===(o=this.options)||void 0===o?void 0:o.host)&&void 0!==r?r:this.element,t):this._$AH.handleEvent(t)}}class lt{constructor(t,o,r){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(t){Q(this,t)}}const ct=U.litHtmlPolyfillSupport;null==ct||ct(q,ot),(null!==(R=U.litHtmlVersions)&&void 0!==R?R:U.litHtmlVersions=[]).push("2.7.3");
|
|
61
61
|
/**
|
|
62
62
|
* @license
|
|
63
63
|
* Copyright 2017 Google LLC
|
|
64
64
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
65
65
|
*/
|
|
66
|
-
var ct,ht;class ut extends k{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,i;const e=super.createRenderRoot();return null!==(t=(i=this.renderOptions).renderBefore)&&void 0!==t||(i.renderBefore=e.firstChild),e}update(t){const i=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,i,e)=>{var s,o;const r=null!==(s=null==e?void 0:e.renderBefore)&&void 0!==s?s:i;let n=r._$litPart$;if(void 0===n){const t=null!==(o=null==e?void 0:e.renderBefore)&&void 0!==o?o:null;r._$litPart$=n=new it(i.insertBefore(L(),t),t,void 0,null!=e?e:{})}return n._$AI(t),n})(i,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return Z}}ut.finalized=!0,ut._$litElement$=!0,null===(ct=globalThis.litElementHydrateSupport)||void 0===ct||ct.call(globalThis,{LitElement:ut});const pt=globalThis.litElementPolyfillSupport;null==pt||pt({LitElement:ut}),(null!==(ht=globalThis.litElementVersions)&&void 0!==ht?ht:globalThis.litElementVersions=[]).push("3.3.2");class dt{static create(t,i,e){let s=t=>d(null!=t?t:e),o=f`var(${d(t)}, ${s(e)})`;return o.name=t,o.category=i,o.defaultValue=e,o.defaultCssValue=s,o.get=i=>f`var(${d(t)}, ${s(i)})`,o.breadcrumb=()=>[],o.lastResortDefaultValue=()=>e,o}static extend(t,i,e){let s=t=>i.get(null!=t?t:e),o=f`var(${d(t)}, ${s(e)})`;return o.name=t,o.category=i.category,o.fallbackVariable=i,o.defaultValue=e,o.defaultCssValue=s,o.get=i=>f`var(${d(t)}, ${s(i)})`,o.breadcrumb=()=>[i.name,...i.breadcrumb()],o.lastResortDefaultValue=()=>e,o}static external(t,i){let e=i=>t.fallbackVariable?t.fallbackVariable.get(null!=i?i:t.defaultValue):d(null!=i?i:t.defaultValue),s=f`var(${d(t.name)}, ${e(t.defaultValue)})`;return s.name=t.name,s.category=t.category,s.fallbackVariable=t.fallbackVariable,s.defaultValue=t.defaultValue,s.context=i,s.defaultCssValue=e,s.get=i=>f`var(${d(t.name)}, ${e(i)})`,s.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],s.lastResortDefaultValue=()=>{var i,e;return null!==(i=t.defaultValue)&&void 0!==i?i:null===(e=t.fallbackVariable)||void 0===e?void 0:e.lastResortDefaultValue()},s}}const ft={colorPrimary:dt.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:dt.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:dt.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:dt.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:dt.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:dt.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:dt.create("--ft-color-error","COLOR","#B00020"),colorOutline:dt.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:dt.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:dt.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:dt.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:dt.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:dt.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:dt.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:dt.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:dt.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:dt.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:dt.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:dt.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:dt.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:dt.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:dt.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:dt.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:dt.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:dt.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:dt.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:dt.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:dt.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:dt.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:dt.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:dt.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:dt.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:dt.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:dt.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:dt.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:dt.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:dt.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:dt.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:dt.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:dt.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:dt.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:dt.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:dt.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:dt.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:dt.create("--ft-elevation-00","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:dt.create("--ft-elevation-01","UNKNOWN","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)"),elevation02:dt.create("--ft-elevation-02","UNKNOWN","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)"),elevation03:dt.create("--ft-elevation-03","UNKNOWN","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)"),elevation04:dt.create("--ft-elevation-04","UNKNOWN","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)"),elevation06:dt.create("--ft-elevation-06","UNKNOWN","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)"),elevation08:dt.create("--ft-elevation-08","UNKNOWN","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)"),elevation12:dt.create("--ft-elevation-12","UNKNOWN","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)"),elevation16:dt.create("--ft-elevation-16","UNKNOWN","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)"),elevation24:dt.create("--ft-elevation-24","UNKNOWN","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)"),borderRadiusS:dt.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:dt.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:dt.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:dt.create("--ft-border-radius-XL","SIZE","16px"),titleFont:dt.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:dt.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:dt.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:dt.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};class vt extends ut{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([i,e])=>t.registry.define(i,e))));const i={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(i);return v(e,t.elementStyles),e}}var bt,yt=function(t,i,e,s){for(var o,r=arguments.length,n=r<3?i:null===s?s=Object.getOwnPropertyDescriptor(i,e):s,l=t.length-1;l>=0;l--)(o=t[l])&&(n=(r<3?o(n):r>3?o(i,e,n):o(i,e))||n);return r>3&&n&&Object.defineProperty(i,e,n),n};const mt=Symbol("constructorPrototype"),gt=Symbol("constructorName"),xt=Symbol("exportpartsDebouncer");class wt extends vt{constructor(){super(),this[bt]=new i(5),this[gt]=this.constructor.name,this[mt]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[gt]&&Object.setPrototypeOf(this,this[mt])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var i,e;if((null!==(e=null===(i=this.shadowRoot)||void 0===i?void 0:i.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==e?e:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[xt].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var i,e,s,o,r,n;const l=t=>null!=t&&t.trim().length>0,a=t.filter(l).map((t=>t.trim()));if(0===a.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(e=null===(i=this.shadowRoot)||void 0===i?void 0:i.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const i=null!==(o=null===(s=t.getAttribute("part"))||void 0===s?void 0:s.split(" "))&&void 0!==o?o:[],e=null!==(n=null===(r=t.getAttribute("exportparts"))||void 0===r?void 0:r.split(",").map((t=>t.split(":")[1])))&&void 0!==n?n:[];new Array(...i,...e).filter(l).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const h=[...c.values()].flatMap((t=>a.map((i=>`${t}:${i}--${t}`))));this.setAttribute("exportparts",[...this.part,...h].join(", "))}}var Ot,St;bt=xt,yt([s()],wt.prototype,"exportpartsPrefix",void 0),yt([function(t,i){const e=()=>JSON.parse(JSON.stringify(t));return s({type:Object,converter:{fromAttribute:t=>{if(null==t)return e();try{return JSON.parse(t)}catch{return e()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,i)=>!l(t,i),...null!=i?i:{}})}([])],wt.prototype,"exportpartsPrefixes",void 0),yt([s()],wt.prototype,"customStylesheet",void 0),f`
|
|
66
|
+
var st,pt;class ft extends x{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,o;const r=super.createRenderRoot();return null!==(t=(o=this.renderOptions).renderBefore)&&void 0!==t||(o.renderBefore=r.firstChild),r}update(t){const o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,o,r)=>{var e,i;const a=null!==(e=null==r?void 0:r.renderBefore)&&void 0!==e?e:o;let n=a._$litPart$;if(void 0===n){const t=null!==(i=null==r?void 0:r.renderBefore)&&void 0!==i?i:null;a._$litPart$=n=new ot(o.insertBefore(F(),t),t,void 0,null!=r?r:{})}return n._$AI(t),n})(o,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return T}}ft.finalized=!0,ft._$litElement$=!0,null===(st=globalThis.litElementHydrateSupport)||void 0===st||st.call(globalThis,{LitElement:ft});const dt=globalThis.litElementPolyfillSupport;null==dt||dt({LitElement:ft}),(null!==(pt=globalThis.litElementVersions)&&void 0!==pt?pt:globalThis.litElementVersions=[]).push("3.3.2");const ht=t=>"string"==typeof t?h(t):t;class ut{static create(t,o,r,e){const i=t=>ht(null!=t?t:e),a=u`var(${ht(t)}, ${i(e)})`;return a.name=t,a.description=t,a.category=r,a.defaultValue=e,a.defaultCssValue=i,a.get=o=>u`var(${ht(t)}, ${i(o)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>e,a}static extend(t,o,r,e){const i=t=>r.get(null!=t?t:e),a=u`var(${ht(t)}, ${i(e)})`;return a.name=t,a.description=o,a.category=r.category,a.fallbackVariable=r,a.defaultValue=e,a.defaultCssValue=i,a.get=o=>u`var(${ht(t)}, ${i(o)})`,a.breadcrumb=()=>[r.name,...r.breadcrumb()],a.lastResortDefaultValue=()=>null!=e?e:r.lastResortDefaultValue(),a}static external(t,o){const r=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):ht(null!=o?o:t.lastResortDefaultValue()),e=u`var(${ht(t.name)}, ${r(t.defaultValue)})`;return e.name=t.name,e.category=t.category,e.fallbackVariable=t.fallbackVariable,e.defaultValue=t.defaultValue,e.context=o,e.defaultCssValue=r,e.get=o=>u`var(${ht(t.name)}, ${r(o)})`,e.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],e.lastResortDefaultValue=()=>t.lastResortDefaultValue(),e}}const yt={colorWhite:ut.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:ut.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:ut.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:ut.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:ut.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:ut.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:ut.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:ut.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:ut.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:ut.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:ut.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:ut.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:ut.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:ut.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:ut.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:ut.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:ut.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:ut.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:ut.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:ut.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:ut.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:ut.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:ut.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:ut.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:ut.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:ut.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:ut.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:ut.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:ut.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:ut.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:ut.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:ut.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:ut.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:ut.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:ut.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:ut.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:ut.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:ut.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:ut.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:ut.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:ut.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:ut.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:ut.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:ut.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:ut.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:ut.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:ut.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:ut.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:ut.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:ut.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:ut.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:ut.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:ut.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:ut.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:ut.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:ut.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:ut.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:ut.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:ut.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:ut.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:ut.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:ut.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:ut.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:ut.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:ut.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:ut.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:ut.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:ut.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:ut.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:ut.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:ut.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:ut.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:ut.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:ut.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:ut.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:ut.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:ut.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:ut.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:ut.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:ut.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:ut.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:ut.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:ut.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:ut.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:ut.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:ut.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:ut.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:ut.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:ut.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:ut.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:ut.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:ut.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:ut.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:ut.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:ut.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:ut.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:ut.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:ut.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:ut.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:ut.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:ut.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:ut.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:ut.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:ut.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:ut.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:ut.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:ut.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:ut.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:ut.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:ut.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:ut.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:ut.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:ut.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:ut.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:ut.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:ut.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:ut.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:ut.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:ut.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:ut.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:ut.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:ut.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:ut.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:ut.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:ut.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:ut.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:ut.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:ut.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:ut.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:ut.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:ut.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:ut.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:ut.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:ut.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:ut.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:ut.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:ut.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:ut.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:ut.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:ut.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:ut.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:ut.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:ut.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:ut.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:ut.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:ut.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:ut.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:ut.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:ut.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:ut.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:ut.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:ut.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:ut.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:ut.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:ut.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:ut.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:ut.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:ut.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:ut.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:ut.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:ut.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:ut.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:ut.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:ut.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:ut.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:ut.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:ut.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:ut.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:ut.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:ut.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:ut.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:ut.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:ut.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:ut.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:ut.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:ut.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:ut.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:ut.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:ut.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:ut.create("--ft-icon-size-6","","SIZE","48px"),opacity0:ut.create("--ft-opacity-0","","NUMBER","0"),opacity8:ut.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:ut.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:ut.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:ut.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:ut.create("--ft-opacity-80","","NUMBER","0.8")};ut.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),ut.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),ut.create("--ft-typography-display-lineHeight","","SIZE","120%"),ut.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),ut.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),ut.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),ut.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),ut.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),ut.create("--ft-typography-display-textCase","","UNKNOWN","none"),ut.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),ut.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),ut.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),ut.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),ut.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),ut.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),ut.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),ut.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),ut.create("--ft-typography-title-1-textCase","","UNKNOWN","none"),ut.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),ut.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),ut.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),ut.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),ut.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),ut.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),ut.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),ut.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),ut.create("--ft-typography-title-2-textCase","","UNKNOWN","none"),ut.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),ut.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),ut.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),ut.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),ut.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),ut.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),ut.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),ut.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),ut.create("--ft-typography-title-3-textCase","","UNKNOWN","none"),ut.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),ut.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),ut.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),ut.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),ut.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),ut.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),ut.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),ut.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),ut.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none"),ut.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),ut.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),ut.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),ut.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),ut.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),ut.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),ut.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),ut.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),ut.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none"),ut.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),ut.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),ut.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),ut.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),ut.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),ut.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),ut.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),ut.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),ut.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none"),ut.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),ut.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),ut.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),ut.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),ut.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),ut.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),ut.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),ut.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),ut.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none"),ut.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),ut.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),ut.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),ut.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),ut.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),ut.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),ut.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),ut.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),ut.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none"),ut.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),ut.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),ut.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),ut.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),ut.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),ut.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),ut.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),ut.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),ut.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none"),ut.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),ut.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),ut.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),ut.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),ut.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),ut.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),ut.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),ut.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),ut.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none"),ut.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),ut.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),ut.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),ut.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),ut.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),ut.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),ut.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),ut.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),ut.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none"),ut.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),ut.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),ut.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),ut.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),ut.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),ut.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),ut.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),ut.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),ut.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none"),ut.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),ut.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),ut.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),ut.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),ut.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),ut.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),ut.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),ut.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),ut.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none"),ut.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),ut.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),ut.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),ut.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),ut.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),ut.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),ut.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),ut.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),ut.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none"),ut.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),ut.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),ut.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),ut.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),ut.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),ut.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),ut.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),ut.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),ut.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none"),ut.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),ut.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),ut.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),ut.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),ut.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),ut.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),ut.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),ut.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),ut.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none"),ut.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),ut.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),ut.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),ut.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),ut.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),ut.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),ut.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),ut.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),ut.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none"),ut.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),ut.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),ut.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),ut.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),ut.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),ut.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),ut.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),ut.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),ut.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none"),ut.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),ut.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),ut.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),ut.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),ut.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),ut.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),ut.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),ut.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),ut.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none"),ut.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),ut.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),ut.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),ut.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),ut.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),ut.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),ut.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),ut.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),ut.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none"),ut.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),ut.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),ut.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),ut.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),ut.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),ut.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),ut.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),ut.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),ut.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none");const gt={backgroundActionPrimary:ut.extend("--ft-background-action-primary","Used as backgorund of primary action components.",yt.colorBrand0),backgroundErrorPrimary:ut.extend("--ft-background-error-primary","Used as background of error components.",yt.colorRed0),backgroundErrorSubtle:ut.extend("--ft-background-error-subtle","Used as background of subtle error components.",yt.colorRed10),backgroundInfoPrimary:ut.extend("--ft-background-info-primary","Used as background of information components.",yt.colorCyan200),backgroundInfoSubtle:ut.extend("--ft-background-info-subtle","Used as background of subtle information components.",yt.colorCyan10),backgroundWarningPrimary:ut.extend("--ft-background-warning-primary","Used as background of warning components.",yt.colorOrange300),backgroundWarningSubtle:ut.extend("--ft-background-warning-subtle","Used as background of subtle information components.",yt.colorOrange10),backgroundSuccessPrimary:ut.extend("--ft-background-success-primary","Used as background of success components.",yt.colorGreen200),backgroundSuccessSubtle:ut.extend("--ft-background-success-subtle","Used as background of subtle success components.",yt.colorGreen10),backgroundGlobalSurface:ut.extend("--ft-background-global-surface","Used as app background.",yt.colorWhite),backgroundGlobalOnSurface:ut.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",yt.colorGray10),backgroundGlobalOnSurfaceDark:ut.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",yt.colorGray30),contentActionPrimary:ut.extend("--ft-content-action-primary","Used on label of primary action on light surface.",yt.colorBrand0),contentWarningPrimary:ut.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",yt.colorOrange300),contentWarningIconOnly:ut.extend("--ft-content-warning-icon-only","Used on warning status icons alone",yt.colorOrange0),contentErrorPrimary:ut.extend("--ft-content-error-primary","Used on label of error messages on light surface.",yt.colorRed0),contentErrorIconOnly:ut.extend("--ft-content-error-icon-only","Used on error status icons alone",yt.colorRed0),contentInfoPrimary:ut.extend("--ft-content-info-primary","Used on label of information messages on light surface.",yt.colorCyan200),contentInfoIconOnly:ut.extend("--ft-content-info-icon-only","Used on info status icons alone",yt.colorCyan0),contentSuccessIconOnly:ut.extend("--ft-content-success-icon-only","Used on success status icons alone",yt.colorGreen0),contentSuccessPrimary:ut.extend("--ft-content-success-primary","Used on label of success messages on light surface.",yt.colorGreen200),contentGlobalPrimary:ut.extend("--ft-content-global-primary","Used for main content on the page.",yt.colorGray500),contentGlobalSecondary:ut.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",yt.colorGray200),contentGlobalSubtle:ut.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",yt.colorGray0),contentGlobalOnColor:ut.extend("--ft-content-global-on-color","Used for content on a dominant color.",yt.colorWhite),borderActionPrimary:ut.extend("--ft-border-action-primary","Used as border for primary action components.",yt.colorBrand0),borderActionFocusRing:ut.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",yt.colorCyan0),borderWarningPrimary:ut.extend("--ft-border-warning-primary","Used as border for warning components.",yt.colorOrange30),borderSuccessPrimary:ut.extend("--ft-border-success-primary","Used as border for success components.",yt.colorGreen30),borderErrorPrimary:ut.extend("--ft-border-error-primary","Used as border for error components.",yt.colorRed30),borderInfoPrimary:ut.extend("--ft-border-info-primary","Used as border for information components.",yt.colorCyan30),borderGlobalSubtle:ut.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",yt.colorGray30),borderGlobalPrimary:ut.extend("--ft-border-global-primary","Used as border for element like input.",yt.colorGray50),borderInputPrimary:ut.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",yt.colorGray80)};ut.create("--ft-button-large-height","","SIZE","40px"),ut.extend("--ft-button-large-horizontal-padding","",yt.spacing4),ut.extend("--ft-button-large-gap","",yt.spacing2),ut.extend("--ft-button-large-border-radius","",yt.borderRadiusS),ut.extend("--ft-button-large-icon-size","",yt.iconSize3),ut.create("--ft-button-large-border-width","","SIZE","1px"),ut.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),ut.create("--ft-button-large-focus-outline-width","","SIZE","2px"),ut.create("--ft-button-large-icon-only-width","","SIZE","40px"),ut.create("--ft-button-small-height","","SIZE","30px"),ut.extend("--ft-button-small-horizontal-padding","",yt.spacing3),ut.extend("--ft-button-small-gap","",yt.spacing2),ut.extend("--ft-button-small-border-radius","",yt.borderRadiusS),ut.extend("--ft-button-small-icon-size","",yt.iconSize2),ut.create("--ft-button-small-border-width","","SIZE","1px"),ut.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),ut.create("--ft-button-small-focus-outline-width","","SIZE","2px"),ut.create("--ft-button-small-icon-only-width","","SIZE","30px"),ut.extend("--ft-button-primary-background-color","",gt.backgroundActionPrimary),ut.extend("--ft-button-primary-color","",gt.contentGlobalOnColor),ut.extend("--ft-button-primary-icon-color","",gt.contentGlobalOnColor),ut.extend("--ft-button-primary-state-layer-color","",gt.contentGlobalOnColor),ut.extend("--ft-button-primary-state-layer-opacity-hover","",yt.opacity16),ut.extend("--ft-button-primary-state-layer-opacity-focus","",yt.opacity16),ut.extend("--ft-button-primary-state-layer-opacity-active","",yt.opacity24),ut.extend("--ft-button-primary-component-opacity-disabled","",yt.opacity40),ut.extend("--ft-button-focus-focus-ring-color","",gt.borderActionFocusRing),ut.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),ut.extend("--ft-button-tertiary-color","",gt.contentActionPrimary),ut.extend("--ft-button-tertiary-icon-color","",gt.contentActionPrimary),ut.extend("--ft-button-tertiary-state-layer-color","",gt.contentActionPrimary),ut.extend("--ft-button-tertiary-state-layer-opacity-hover","",yt.opacity8),ut.extend("--ft-button-tertiary-state-layer-opacity-focus","",yt.opacity8),ut.extend("--ft-button-tertiary-state-layer-opacity-active","",yt.opacity16),ut.extend("--ft-button-tertiary-component-opacity-disabled","",yt.opacity40),ut.extend("--ft-button-secondary-background-color","",yt.colorWhite),ut.extend("--ft-button-secondary-color","",gt.contentActionPrimary),ut.extend("--ft-button-secondary-icon-color","",gt.contentActionPrimary),ut.extend("--ft-button-secondary-state-layer-color","",gt.contentActionPrimary),ut.extend("--ft-button-secondary-state-layer-opacity-hover","",yt.opacity8),ut.extend("--ft-button-secondary-state-layer-opacity-focus","",yt.opacity8),ut.extend("--ft-button-secondary-state-layer-opacity-active","",yt.opacity16),ut.extend("--ft-button-secondary-component-opacity-disabled","",yt.opacity40),ut.extend("--ft-button-secondary-border-color","",gt.borderActionPrimary),ut.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),ut.extend("--ft-button-neutral-icon-color","",gt.contentGlobalSecondary),ut.extend("--ft-button-neutral-color","",gt.contentGlobalSecondary),ut.extend("--ft-button-neutral-state-layer-color","",gt.contentGlobalSecondary),ut.extend("--ft-button-neutral-state-layer-opacity-hover","",yt.opacity8),ut.extend("--ft-button-neutral-state-layer-opacity-focus","",yt.opacity8),ut.extend("--ft-button-neutral-state-layer-opacity-active","",yt.opacity16),ut.extend("--ft-button-neutral-component-opacity-disabled","",yt.opacity40),ut.extend("--ft-tabs-top-left-border-radius","",yt.borderRadiusS),ut.extend("--ft-tabs-top-right-border-radius","",yt.borderRadiusS),ut.extend("--ft-tabs-label-horizontal-padding","",yt.spacing4),ut.extend("--ft-tabs-label-vertical-padding","",yt.spacing3),ut.extend("--ft-tabs-label-gap","",yt.spacing1),ut.extend("--ft-switch-group-horizontal-padding","",yt.spacing1),ut.extend("--ft-switch-group-vertical-padding","",yt.spacing1),ut.extend("--ft-switch-group-gap","",yt.spacing1),ut.extend("--ft-switch-group-background-color","",gt.backgroundGlobalSurface),ut.extend("--ft-switch-group-border-color","",gt.borderGlobalSubtle),ut.create("--ft-switch-group-border-radius","","SIZE","6px"),ut.extend("--ft-switch-label-horizontal-padding","",yt.spacing2),ut.extend("--ft-switch-label-vertical-padding","",yt.spacing1),ut.extend("--ft-switch-icon-horizontal-padding","",yt.spacing1),ut.extend("--ft-switch-icon-vertical-padding","",yt.spacing1),ut.create("--ft-switch-focus-outline-width","","SIZE","2px"),ut.extend("--ft-switch-focus-focus-ring-color","",gt.borderActionFocusRing),ut.extend("--ft-switch-option-border-radius","",yt.borderRadiusS),ut.extend("--ft-switch-off-state-layer-opacity-hover","",yt.opacity8),ut.extend("--ft-switch-off-state-layer-opacity-focus","",yt.opacity8),ut.extend("--ft-switch-off-state-layer-opacity-active","",yt.opacity16),ut.extend("--ft-switch-off-component-opacity-disabled","",yt.opacity40),ut.extend("--ft-switch-off-color","",gt.contentGlobalSubtle),ut.extend("--ft-switch-off-state-layer-color","",gt.contentGlobalSubtle),ut.extend("--ft-chart-1-light","for area color charts",yt.colorBrand40),ut.extend("--ft-chart-1-base","for line charts",yt.colorBrand0),ut.extend("--ft-chart-2-light","for area color charts",yt.colorYellow60),ut.extend("--ft-chart-2-base","for line charts",yt.colorYellow100),ut.extend("--ft-chart-3-light","",yt.colorUltramarine40),ut.extend("--ft-chart-3-base","",yt.colorUltramarine70),ut.extend("--ft-chart-4-light","",yt.colorCyan50),ut.extend("--ft-chart-4-base","",yt.colorCyan100),ut.extend("--ft-chart-5-light","",yt.colorRed40),ut.extend("--ft-chart-5-base","",yt.colorRed60),ut.extend("--ft-chart-6-light","",yt.colorGreen40),ut.extend("--ft-chart-6-base","",yt.colorGreen70),ut.extend("--ft-chart-7-light","",yt.colorOrange70),ut.extend("--ft-chart-7-base","",yt.colorOrange100),ut.extend("--ft-chart-8-light","",yt.colorAvocado70),ut.extend("--ft-chart-8-base","",yt.colorAvocado200),ut.extend("--ft-chart-9-light","",yt.colorBrown50),ut.extend("--ft-chart-9-base","",yt.colorBrown200),ut.extend("--ft-chart-10-light","",yt.colorGray50),ut.extend("--ft-chart-10-base","",yt.colorGray80),ut.extend("--ft-chart-monochrome-10","",yt.colorBrand10),ut.extend("--ft-chart-monochrome-20","",yt.colorBrand20),ut.extend("--ft-chart-monochrome-30","",yt.colorBrand40),ut.extend("--ft-chart-monochrome-40","",yt.colorBrand60),ut.extend("--ft-chart-monochrome-50","",yt.colorBrand0),ut.extend("--ft-chart-monochrome-60","",yt.colorBrand200),ut.extend("--ft-chip-large-horizontal-padding","",yt.spacing4),ut.extend("--ft-chip-large-vertical-padding","",yt.spacing2),ut.extend("--ft-chip-large-gap","",yt.spacing1),ut.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),ut.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),ut.extend("--ft-chip-large-border-radius","",yt.borderRadiusPill),ut.create("--ft-chip-large-border-width","","SIZE","1px"),ut.extend("--ft-chip-large-icon-size","",yt.iconSize3),ut.extend("--ft-chip-medium-horizontal-padding","",yt.spacing3),ut.extend("--ft-chip-medium-vertical-padding","",yt.spacing1),ut.extend("--ft-chip-medium-gap","",yt.spacing1),ut.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),ut.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),ut.extend("--ft-chip-medium-border-radius","",yt.borderRadiusPill),ut.create("--ft-chip-medium-border-width","","SIZE","1px"),ut.extend("--ft-chip-medium-icon-size","",yt.iconSize2),ut.extend("--ft-chip-small-horizontal-padding","",yt.spacing2),ut.extend("--ft-chip-small-vertical-padding","",yt.spacing05),ut.extend("--ft-chip-small-gap","",yt.spacing1),ut.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),ut.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),ut.extend("--ft-chip-small-border-radius","",yt.borderRadiusPill),ut.create("--ft-chip-small-border-width","","SIZE","1px"),ut.extend("--ft-chip-small-icon-size","",yt.iconSize1),ut.extend("--ft-chip-neutral-background-color","",gt.backgroundGlobalOnSurface),ut.extend("--ft-chip-neutral-color","",gt.contentGlobalPrimary),ut.extend("--ft-chip-neutral-border-color","",gt.borderGlobalSubtle),ut.extend("--ft-chip-info-background-color","",gt.backgroundInfoSubtle),ut.extend("--ft-chip-info-color","",gt.contentInfoPrimary),ut.extend("--ft-chip-info-border-color","",gt.borderInfoPrimary),ut.extend("--ft-chip-success-background-color","",gt.backgroundSuccessSubtle),ut.extend("--ft-chip-success-color","",gt.contentSuccessPrimary),ut.extend("--ft-chip-success-border-color","",gt.borderSuccessPrimary),ut.extend("--ft-chip-warning-background-color","",gt.backgroundWarningSubtle),ut.extend("--ft-chip-warning-color","",gt.contentWarningPrimary),ut.extend("--ft-chip-warning-border-color","",gt.borderWarningPrimary),ut.extend("--ft-chip-error-background-color","",gt.backgroundErrorSubtle),ut.extend("--ft-chip-error-color","",gt.contentErrorPrimary),ut.extend("--ft-chip-error-border-color","",gt.borderErrorPrimary),ut.create("--ft-notice-border-width","","SIZE","1px"),ut.extend("--ft-notice-horizontal-padding","",yt.spacing2),ut.extend("--ft-notice-vertical-padding","",yt.spacing1),ut.extend("--ft-notice-border-radius","",yt.borderRadiusS),ut.extend("--ft-notice-gap","",yt.spacing2),ut.extend("--ft-notice-icon-size","",yt.iconSize3),ut.extend("--ft-notice-info-background-color","",gt.backgroundInfoSubtle),ut.extend("--ft-notice-info-border-color","",gt.borderInfoPrimary),ut.extend("--ft-notice-info-color","",gt.contentInfoPrimary),ut.extend("--ft-notice-warning-background-color","",gt.backgroundWarningSubtle),ut.extend("--ft-notice-warning-border-color","",gt.borderWarningPrimary),ut.extend("--ft-notice-warning-color","",gt.contentWarningPrimary),ut.extend("--ft-checkbox-label-color","",gt.contentGlobalPrimary),ut.extend("--ft-checkbox-checked-background-color","",gt.contentActionPrimary),ut.extend("--ft-checkbox-checked-state-layer-color","",gt.contentActionPrimary),ut.extend("--ft-checkbox-checked-color","",gt.contentGlobalOnColor),ut.extend("--ft-checkbox-checked-state-layer-opacity-hover","",yt.opacity16),ut.extend("--ft-checkbox-checked-state-layer-opacity-focus","",yt.opacity16),ut.extend("--ft-checkbox-checked-state-layer-opacity-active","",yt.opacity24),ut.extend("--ft-checkbox-checked-component-opacity-disabled","",yt.opacity40),ut.extend("--ft-checkbox-unchecked-border-color","",yt.colorGray80),ut.extend("--ft-checkbox-unchecked-state-layer-color","",yt.colorGray80),ut.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",yt.opacity16),ut.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",yt.opacity16),ut.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",yt.opacity24),ut.extend("--ft-checkbox-unchecked-component-opacity-disabled","",yt.opacity40),ut.extend("--ft-checkbox-focus-focus-ring-color","",gt.borderActionFocusRing),ut.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),ut.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),ut.extend("--ft-checkbox-gap","",yt.spacing3),ut.extend("--ft-toggle-off-state-layer-opacity-hover","",yt.opacity16),ut.extend("--ft-toggle-off-state-layer-opacity-focus","",yt.opacity16),ut.extend("--ft-toggle-off-state-layer-opacity-active","",yt.opacity24),ut.extend("--ft-toggle-off-component-opacity-disabled","",yt.opacity40),ut.extend("--ft-toggle-off-background-color","",gt.contentGlobalSubtle),ut.extend("--ft-toggle-off-icon-color","",gt.contentGlobalSubtle),ut.extend("--ft-toggle-off-state-layer-color","",gt.contentGlobalSubtle),ut.extend("--ft-toggle-on-state-layer-opacity-hover","",yt.opacity16),ut.extend("--ft-toggle-on-state-layer-opacity-focus","",yt.opacity16),ut.extend("--ft-toggle-on-state-layer-opacity-active","",yt.opacity24),ut.extend("--ft-toggle-on-component-opacity-disabled","",yt.opacity40),ut.extend("--ft-toggle-on-background-color","",gt.contentActionPrimary),ut.extend("--ft-toggle-on-icon-color","",gt.contentActionPrimary),ut.extend("--ft-toggle-on-state-layer-color","",gt.contentActionPrimary),ut.extend("--ft-toggle-label-color","",gt.contentGlobalPrimary),ut.extend("--ft-toggle-focus-focus-ring-color","",gt.borderActionFocusRing),ut.extend("--ft-toggle-gap","",yt.spacing3),ut.extend("--ft-radio-label-color","",gt.contentGlobalPrimary),ut.extend("--ft-radio-selected-color","",gt.contentActionPrimary),ut.extend("--ft-radio-selected-state-layer-color","",gt.contentActionPrimary),ut.extend("--ft-radio-selected-state-layer-opacity-hover","",yt.opacity16),ut.extend("--ft-radio-selected-state-layer-opacity-focus","",yt.opacity16),ut.extend("--ft-radio-selected-state-layer-opacity-active","",yt.opacity24),ut.extend("--ft-radio-selected-component-opacity-disabled","",yt.opacity40),ut.extend("--ft-radio-unselected-state-layer-color","",yt.colorGray80),ut.extend("--ft-radio-unselected-state-layer-opacity-hover","",yt.opacity16),ut.extend("--ft-radio-unselected-state-layer-opacity-focus","",yt.opacity16),ut.extend("--ft-radio-unselected-state-layer-opacity-active","",yt.opacity24),ut.extend("--ft-radio-unselected-component-opacity-disabled","",yt.opacity40),ut.extend("--ft-radio-focus-focus-ring-color","",gt.borderActionFocusRing),ut.create("--ft-radio-focus-outline-offset","","SIZE","3px"),ut.create("--ft-radio-focus-outline-width","","SIZE","2px"),ut.extend("--ft-radio-gap","",yt.spacing3),ut.extend("--ft-notification-icon-size","",yt.iconSize4),ut.extend("--ft-notification-horizontal-padding","",yt.spacing4),ut.extend("--ft-notification-vertical-padding","",yt.spacing4),ut.extend("--ft-notification-info-background-color","",gt.backgroundInfoSubtle),ut.extend("--ft-notification-info-color","",gt.contentInfoPrimary),ut.extend("--ft-notification-info-border-color","",gt.borderInfoPrimary),ut.extend("--ft-notification-success-background-color","",gt.backgroundSuccessSubtle),ut.extend("--ft-notification-success-color","",gt.contentSuccessPrimary),ut.extend("--ft-notification-success-border-color","",gt.borderSuccessPrimary),ut.extend("--ft-notification-warning-background-color","",gt.backgroundWarningSubtle),ut.extend("--ft-notification-warning-color","",gt.contentWarningPrimary),ut.extend("--ft-notification-warning-border-color","",gt.borderWarningPrimary),ut.extend("--ft-notification-error-background-color","",gt.backgroundErrorSubtle),ut.extend("--ft-notification-error-color","",gt.contentErrorPrimary),ut.extend("--ft-notification-error-border-color","",gt.borderErrorPrimary),ut.extend("--ft-notification-border-radius","",yt.borderRadiusPill),ut.create("--ft-notification-border-width","","SIZE","1px"),ut.extend("--ft-notification-gap-leading","",yt.spacing2),ut.extend("--ft-notification-gap-trailing","",yt.spacing8);const bt={colorPrimary:ut.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:ut.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:ut.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:ut.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:ut.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:ut.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:ut.create("--ft-color-error","","COLOR","#B00020"),colorOutline:ut.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:ut.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:ut.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:ut.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:ut.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:ut.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:ut.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:ut.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:ut.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:ut.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:ut.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:ut.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:ut.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:ut.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:ut.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:ut.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:ut.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:ut.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:ut.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:ut.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:ut.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:ut.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:ut.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:ut.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:ut.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:ut.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:ut.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:ut.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:ut.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:ut.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:ut.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:ut.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:ut.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:ut.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:ut.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:ut.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:ut.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:ut.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:ut.create("--ft-elevation-01","","UNKNOWN","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)"),elevation02:ut.create("--ft-elevation-02","","UNKNOWN","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)"),elevation03:ut.create("--ft-elevation-03","","UNKNOWN","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)"),elevation04:ut.create("--ft-elevation-04","","UNKNOWN","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)"),elevation06:ut.create("--ft-elevation-06","","UNKNOWN","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)"),elevation08:ut.create("--ft-elevation-08","","UNKNOWN","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)"),elevation12:ut.create("--ft-elevation-12","","UNKNOWN","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)"),elevation16:ut.create("--ft-elevation-16","","UNKNOWN","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)"),elevation24:ut.create("--ft-elevation-24","","UNKNOWN","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)"),borderRadiusS:ut.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:ut.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:ut.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:ut.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:ut.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:ut.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:ut.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:ut.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};class mt extends ft{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,r])=>t.registry.define(o,r))));const o={...t.shadowRootOptions,customElements:t.registry},r=this.renderOptions.creationScope=this.attachShadow(o);return y(r,t.elementStyles),r}}var Ot,Nt=function(t,o,r,e){for(var i,a=arguments.length,n=a<3?o:null===e?e=Object.getOwnPropertyDescriptor(o,r):e,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,r,n):i(o,r))||n);return a>3&&n&&Object.defineProperty(o,r,n),n};const vt=Symbol("constructorPrototype"),St=Symbol("constructorName"),Ct=Symbol("exportpartsDebouncer");class wt extends mt{constructor(){super(),this[Ot]=new o(5),this[St]=this.constructor.name,this[vt]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[St]&&Object.setPrototypeOf(this,this[vt])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var o,r;if((null!==(r=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==r?r:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[Ct].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,r,e,i,a,n;const l=t=>null!=t&&t.trim().length>0,c=t.filter(l).map((t=>t.trim()));if(0===c.length)return void this.removeAttribute("exportparts");const s=new Set;for(let t of null!==(r=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==r?r:[]){const o=null!==(i=null===(e=t.getAttribute("part"))||void 0===e?void 0:e.split(" "))&&void 0!==i?i:[],r=null!==(n=null===(a=t.getAttribute("exportparts"))||void 0===a?void 0:a.split(",").map((t=>t.split(":")[1])))&&void 0!==n?n:[];new Array(...o,...r).filter(l).map((t=>t.trim())).forEach((t=>s.add(t)))}if(0===s.size)return void this.removeAttribute("exportparts");const p=[...s.values()].flatMap((t=>c.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...p].join(", "))}}var xt,Rt;Ot=Ct,Nt([e()],wt.prototype,"exportpartsPrefix",void 0),Nt([function(t,o){const r=()=>JSON.parse(JSON.stringify(t));return e({type:Object,converter:{fromAttribute:t=>{if(null==t)return r();try{return JSON.parse(t)}catch{return r()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,o)=>!l(t,o),...null!=o?o:{}})}([])],wt.prototype,"exportpartsPrefixes",void 0),Nt([e()],wt.prototype,"customStylesheet",void 0),u`
|
|
67
67
|
.ft-no-text-select {
|
|
68
68
|
-webkit-touch-callout: none;
|
|
69
69
|
-webkit-user-select: none;
|
|
@@ -72,7 +72,7 @@ var ct,ht;class ut extends k{constructor(){super(...arguments),this.renderOption
|
|
|
72
72
|
-ms-user-select: none;
|
|
73
73
|
user-select: none;
|
|
74
74
|
}
|
|
75
|
-
`,
|
|
75
|
+
`,u`
|
|
76
76
|
.ft-word-wrap {
|
|
77
77
|
white-space: normal;
|
|
78
78
|
word-wrap: break-word;
|
|
@@ -84,7 +84,7 @@ var ct,ht;class ut extends k{constructor(){super(...arguments),this.renderOption
|
|
|
84
84
|
-webkit-hyphens: auto;
|
|
85
85
|
hyphens: auto
|
|
86
86
|
}
|
|
87
|
-
`,
|
|
87
|
+
`,u`
|
|
88
88
|
.ft-safari-ellipsis-fix {
|
|
89
89
|
margin-right: 0;
|
|
90
90
|
|
|
@@ -95,18 +95,18 @@ var ct,ht;class ut extends k{constructor(){super(...arguments),this.renderOption
|
|
|
95
95
|
display: inline-block;
|
|
96
96
|
width: 0;
|
|
97
97
|
}
|
|
98
|
-
`,window.ftReduxStores||(window.ftReduxStores={}),navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(
|
|
98
|
+
`,window.ftReduxStores||(window.ftReduxStores={}),navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(Rt=null===(xt=window.safari)||void 0===xt?void 0:xt.pushNotification)||void 0===Rt||Rt.toString());
|
|
99
99
|
/**
|
|
100
100
|
* @license
|
|
101
101
|
* Copyright 2017 Google LLC
|
|
102
102
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
103
103
|
*/
|
|
104
|
-
const
|
|
104
|
+
const Ut=1;class Et{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,r){this._$Ct=t,this._$AM=o,this._$Ci=r}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}}
|
|
105
105
|
/**
|
|
106
106
|
* @license
|
|
107
107
|
* Copyright 2018 Google LLC
|
|
108
108
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
109
|
-
*/const
|
|
109
|
+
*/const Lt=(t=>(...o)=>({_$litDirective$:t,values:o}))(class extends Et{constructor(t){var o;if(super(t),t.type!==Ut||"class"!==t.name||(null===(o=t.strings)||void 0===o?void 0:o.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((o=>t[o])).join(" ")+" "}update(t,[o]){var r,e;if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in o)o[t]&&!(null===(r=this.nt)||void 0===r?void 0:r.has(t))&&this.it.add(t);return this.render(o)}const i=t.element.classList;this.it.forEach((t=>{t in o||(i.remove(t),this.it.delete(t))}));for(const t in o){const r=!!o[t];r===this.it.has(t)||(null===(e=this.nt)||void 0===e?void 0:e.has(t))||(r?(i.add(t),this.it.add(t)):(i.remove(t),this.it.delete(t)))}return T}}),It=ut.extend("--ft-ripple-color","",bt.colorContent),Wt={color:It,backgroundColor:ut.extend("--ft-ripple-background-color","",It),opacityContentOnSurfacePressed:ut.external(bt.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:ut.external(bt.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:ut.external(bt.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:ut.external(bt.opacityContentOnSurfaceSelected,"Design system"),borderRadius:ut.create("--ft-ripple-border-radius","","SIZE","0px")},kt=ut.extend("--ft-ripple-color","",bt.colorPrimary),Kt={color:kt,backgroundColor:ut.extend("--ft-ripple-background-color","",kt)},Zt=ut.extend("--ft-ripple-color","",bt.colorSecondary),Ft={color:Zt,backgroundColor:ut.extend("--ft-ripple-background-color","",Zt)},Bt=u`
|
|
110
110
|
:host {
|
|
111
111
|
display: contents;
|
|
112
112
|
}
|
|
@@ -119,7 +119,7 @@ const Ct=1;class kt{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,i,e)
|
|
|
119
119
|
|
|
120
120
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
121
121
|
overflow: hidden;
|
|
122
|
-
border-radius: ${
|
|
122
|
+
border-radius: ${Wt.borderRadius};
|
|
123
123
|
}
|
|
124
124
|
|
|
125
125
|
.ft-ripple .ft-ripple--background,
|
|
@@ -153,11 +153,11 @@ const Ct=1;class kt{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,i,e)
|
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
.ft-ripple .ft-ripple--background {
|
|
156
|
-
background-color: ${
|
|
156
|
+
background-color: ${Wt.backgroundColor};
|
|
157
157
|
}
|
|
158
158
|
|
|
159
159
|
.ft-ripple .ft-ripple--effect {
|
|
160
|
-
background-color: ${
|
|
160
|
+
background-color: ${Wt.color};
|
|
161
161
|
}
|
|
162
162
|
|
|
163
163
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
@@ -169,11 +169,11 @@ const Ct=1;class kt{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,i,e)
|
|
|
169
169
|
}
|
|
170
170
|
|
|
171
171
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
172
|
-
background-color: ${
|
|
172
|
+
background-color: ${Kt.backgroundColor};
|
|
173
173
|
}
|
|
174
174
|
|
|
175
175
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
176
|
-
background-color: ${
|
|
176
|
+
background-color: ${Kt.color};
|
|
177
177
|
}
|
|
178
178
|
|
|
179
179
|
.ft-ripple .ft-ripple--background {
|
|
@@ -203,30 +203,30 @@ const Ct=1;class kt{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,i,e)
|
|
|
203
203
|
}
|
|
204
204
|
|
|
205
205
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
206
|
-
opacity: ${
|
|
206
|
+
opacity: ${Wt.opacityContentOnSurfaceHover};
|
|
207
207
|
}
|
|
208
208
|
|
|
209
209
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
210
|
-
opacity: ${
|
|
210
|
+
opacity: ${Wt.opacityContentOnSurfaceSelected};
|
|
211
211
|
}
|
|
212
212
|
|
|
213
213
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
214
|
-
opacity: ${
|
|
214
|
+
opacity: ${Wt.opacityContentOnSurfaceFocused};
|
|
215
215
|
}
|
|
216
216
|
|
|
217
217
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
218
|
-
opacity: ${
|
|
218
|
+
opacity: ${Wt.opacityContentOnSurfacePressed};
|
|
219
219
|
transform: translate(-50%, -50%) scale(1);
|
|
220
220
|
}
|
|
221
|
-
`;var
|
|
221
|
+
`;var Mt,At=function(t,o,r,e){for(var i,a=arguments.length,n=a<3?o:null===e?e=Object.getOwnPropertyDescriptor(o,r):e,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,r,n):i(o,r))||n);return a>3&&n&&Object.defineProperty(o,r,n),n};class $t extends wt{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new o(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new o(10),this.moveRipple=t=>{var o,r;let{x:e,y:i}=this.getCoordinates(t),a=null!==(r=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==r?r:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=e?e-a.x:a.width/2),this.originY=Math.round(null!=i?i-a.y:a.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return _`
|
|
222
222
|
<style>
|
|
223
223
|
.ft-ripple .ft-ripple--effect {
|
|
224
224
|
left: ${this.originX}px;
|
|
225
225
|
top: ${this.originY}px;
|
|
226
226
|
}
|
|
227
227
|
</style>
|
|
228
|
-
<div class="${
|
|
228
|
+
<div class="${Lt(t)}">
|
|
229
229
|
<div class="ft-ripple--background"></div>
|
|
230
230
|
<div class="ft-ripple--effect"></div>
|
|
231
231
|
</div>
|
|
232
|
-
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var
|
|
232
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,r;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(r=this.target)||void 0===r||r.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const r=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;r&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:r)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},r=o("mouseup","contextmenu"),e=o("touchend","touchcancel"),i=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",r),t.addEventListener("touchstart",e),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",i),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",r),t.removeEventListener("touchstart",e),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",i),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,r=t;let e,i;return null!=o.x?({x:e,y:i}=o):null!=r.touches&&(e=r.touches[0].clientX,i=r.touches[0].clientY),{x:e,y:i}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}$t.elementDefinitions={},$t.styles=Bt,At([e({type:Boolean})],$t.prototype,"primary",void 0),At([e({type:Boolean})],$t.prototype,"secondary",void 0),At([e({type:Boolean})],$t.prototype,"unbounded",void 0),At([e({type:Boolean})],$t.prototype,"activated",void 0),At([e({type:Boolean})],$t.prototype,"selected",void 0),At([e({type:Boolean})],$t.prototype,"disabled",void 0),At([i()],$t.prototype,"hovered",void 0),At([i()],$t.prototype,"focused",void 0),At([i()],$t.prototype,"pressed",void 0),At([i()],$t.prototype,"rippling",void 0),At([i()],$t.prototype,"originX",void 0),At([i()],$t.prototype,"originY",void 0),At([a(".ft-ripple")],$t.prototype,"ripple",void 0),At([a(".ft-ripple--effect")],$t.prototype,"rippleEffect",void 0),(Mt="ft-ripple",t=>{window.customElements.get(Mt)||window.customElements.define(Mt,t)})($t),t.FtRipple=$t,t.FtRippleCssVariables=Wt,t.FtRipplePrimaryCssVariables=Kt,t.FtRippleSecondaryCssVariables=Ft,t.styles=Bt}({});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-ripple",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.60",
|
|
4
4
|
"description": "A custom Fluid Topics ripple component",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@fluid-topics/ft-wc-utils": "1.0.
|
|
22
|
+
"@fluid-topics/ft-wc-utils": "1.0.60",
|
|
23
23
|
"lit": "2.7.2"
|
|
24
24
|
},
|
|
25
|
-
"gitHead": "
|
|
25
|
+
"gitHead": "8eb7c2ef052f5d3f61ed0bf150fcaee093805450"
|
|
26
26
|
}
|