@fluid-topics/ft-tooltip 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-tooltip.css.js +5 -5
- package/build/ft-tooltip.light.js +93 -86
- package/build/ft-tooltip.min.js +105 -98
- package/package.json +4 -4
package/build/ft-tooltip.min.js
CHANGED
|
@@ -14,12 +14,12 @@
|
|
|
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,e=window.customElements.get,r=window.customElements,a=new WeakMap,i=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,a){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(a))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const l=a.prototype.attributeChangedCallback,c=new Set(a.observedAttributes||[]);h(a,c,l);const s={elementClass:a,connectedCallback:a.prototype.connectedCallback,disconnectedCallback:a.prototype.disconnectedCallback,adoptedCallback:a.prototype.adoptedCallback,attributeChangedCallback:l,formAssociated:a.formAssociated,formAssociatedCallback:a.prototype.formAssociatedCallback,formDisabledCallback:a.prototype.formDisabledCallback,formResetCallback:a.prototype.formResetCallback,formStateRestoreCallback:a.prototype.formStateRestoreCallback,observedAttributes:c};this._definitionsByTag.set(t,s),this._definitionsByClass.set(a,s);let p=e.call(r,t);p||(p=f(t),o.call(r,t,p)),this===window.customElements&&(n.set(a,s),s.standInClass=p);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)i.delete(t),y(t,s,!0)}const g=this._whenDefinedPromises.get(t);return void 0!==g&&(g.resolve(a),this._whenDefinedPromises.delete(t)),a}upgrade(){u.push(this),r.upgrade.apply(r,arguments),u.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 e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,o,e){let r=this._awaitingUpgrade.get(o);r||this._awaitingUpgrade.set(o,r=new Set),e?r.add(t):r.delete(t)}},window.HTMLElement=function(){let o=c;if(o)return c=void 0,o;const e=n.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),a.set(o,e),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=u[u.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 e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const r=p(e)||window.customElements,a=r._getDefinition(o);return a?y(e,a):i.set(e,r),e}connectedCallback(){const t=a.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=a.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=a.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=a.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=a.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=a.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=a.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},h=(t,o,e)=>{if(0===o.size||void 0===e)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,a){const i=t.toLowerCase();if(o.has(i)){const t=this.getAttribute(i);r.call(this,i,a),e.call(this,i,t,a)}else r.call(this,i,a)});const a=t.prototype.removeAttribute;a&&(t.prototype.removeAttribute=function(t){const r=t.toLowerCase();if(o.has(r)){const t=this.getAttribute(r);a.call(this,r),e.call(this,r,t,null)}else a.call(this,r)})},d=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t||"HTMLElement"===e?.prototype?.constructor?.name?Object.setPrototypeOf(o,window.HTMLElement):d(e)},y=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),a.set(t,o),c=t;try{new o.elementClass}catch(t){d(o.elementClass),new o.elementClass}o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},g=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=g.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let u=[document];const b=(t,o,e=void 0)=>{const r=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){u.push(this);const t=r.apply(e||this,arguments);return void 0!==t&&l.set(t,this),u.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,o)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...e,set(t){u.push(this),e.set.call(this,t),u.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,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const r=o.call(this,...e);return t.set(r,this),r},e.forEach((o=>{const e=window.ElementInternals.prototype,r=e[o];e[o]=function(...o){const e=t.get(this);if(!0!==a.get(e).formAssociated)throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`);r?.call(this,...o)}}));class r extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class i{constructor(t){const o=new Map;t.forEach(((t,e)=>{const r=t.getAttribute("name"),a=o.get(r)||[];this[+e]=t,a.push(t),o.set(r,a)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new r(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 e of t){const t=a.get(e);t&&!0!==t.formAssociated||o.push(e)}return new i(o)}})}}try{window.customElements.define("custom-element",null)}catch(Wt){const t=window.customElements.define;window.customElements.define=(o,e,r)=>{if(null!==e)try{t.bind(window.customElements)(o,e,r)}catch(t){console.info(o,e,r,t)}}}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 e=[...this.callbacks];this.callbacks=[];const r=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,a=null!==(o=this.resolvePromise)&&void 0!==o?o:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void r(t)}a(!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 e=(t,
|
|
22
|
+
*/const e=(t,o)=>"method"===o.kind&&o.descriptor&&!("value"in o.descriptor)?{...o,finisher(e){e.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(e){e.createProperty(o.key,t)}};function r(t){return(o,r)=>void 0!==r?((t,o,e)=>{o.constructor.createProperty(e,t)})(t,o,r):e(t,o)
|
|
23
23
|
/**
|
|
24
24
|
* @license
|
|
25
25
|
* Copyright 2017 Google LLC
|
|
@@ -30,40 +30,40 @@ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,i=window.cust
|
|
|
30
30
|
* Copyright 2017 Google LLC
|
|
31
31
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
32
32
|
*/
|
|
33
|
-
const
|
|
33
|
+
const a=({finisher:t,descriptor:o})=>(e,r)=>{var a;if(void 0===r){const r=null!==(a=e.originalKey)&&void 0!==a?a:e.key,i=null!=o?{kind:"method",placement:"prototype",key:r,descriptor:o(e.key)}:{...e,key:r};return null!=t&&(i.finisher=function(o){t(o,r)}),i}{const a=e.constructor;void 0!==o&&Object.defineProperty(e,r,o(r)),null==t||t(a,r)}}
|
|
34
34
|
/**
|
|
35
35
|
* @license
|
|
36
36
|
* Copyright 2017 Google LLC
|
|
37
37
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
38
|
-
*/;function
|
|
38
|
+
*/;function i(t,o){return a({descriptor:e=>{const r={get(){var o,e;return null!==(e=null===(o=this.renderRoot)||void 0===o?void 0:o.querySelector(t))&&void 0!==e?e:null},enumerable:!0,configurable:!0};if(o){const o="symbol"==typeof e?Symbol():"__"+e;r.get=function(){var e,r;return void 0===this[o]&&(this[o]=null!==(r=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==r?r:null),this[o]}}return r}})}
|
|
39
39
|
/**
|
|
40
40
|
* @license
|
|
41
41
|
* Copyright 2021 Google LLC
|
|
42
42
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
43
|
-
*/var
|
|
43
|
+
*/var n;const l=null!=(null===(n=window.HTMLSlotElement)||void 0===n?void 0:n.prototype.assignedElements)?(t,o)=>t.assignedElements(o):(t,o)=>t.assignedNodes(o).filter((t=>t.nodeType===Node.ELEMENT_NODE));function c(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 e,r,a;if(Array.isArray(t)){if((e=t.length)!=o.length)return!1;for(r=e;0!=r--;)if(!c(t[r],o[r]))return!1;return!0}if(t instanceof Map&&o instanceof Map){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;for(r of t.entries())if(!c(r[1],o.get(r[0])))return!1;return!0}if(t instanceof Set&&o instanceof Set){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[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((e=(a=Object.keys(t)).length)!==Object.keys(o).length)return!1;for(r=e;0!=r--;)if(!Object.prototype.hasOwnProperty.call(o,a[r]))return!1;for(r=e;0!=r--;){var i=a[r];if(!c(t[i],o[i]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}const s=t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)};
|
|
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 p=window,f=p.ShadowRoot&&(void 0===p.ShadyCSS||p.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,h=Symbol(),d=new WeakMap;let y=class{constructor(t,o,e){if(this._$cssResult$=!0,e!==h)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(f&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=d.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&d.set(o,t))}return t}toString(){return this.cssText}};const g=t=>new y("string"==typeof t?t:t+"",void 0,h),u=(t,...o)=>{const e=1===t.length?t[0]:o.reduce(((o,e,r)=>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.")})(e)+t[r+1]),t[0]);return new y(e,t,h)},b=(t,o)=>{f?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),r=p.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}))},m=f?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return g(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 O;const N=window,v=N.trustedTypes,x=v?v.emptyScript:"",S=N.reactiveElementPolyfillSupport,C={toAttribute(t,o){switch(o){case Boolean:t=t?x:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},w=(t,o)=>o!==t&&(o==o||t==t),R={attribute:!0,type:String,converter:C,reflect:!1,hasChanged:w};let U=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,e)=>{const r=this._$Ep(e,o);void 0!==r&&(this._$Ev.set(r,e),t.push(r))})),t}static createProperty(t,o=R){if(o.state&&(o.attribute=!1),this.finalize(),this.elementProperties.set(t,o),!o.noAccessor&&!this.prototype.hasOwnProperty(t)){const e="symbol"==typeof t?Symbol():"__"+t,r=this.getPropertyDescriptor(t,e,o);void 0!==r&&Object.defineProperty(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){return{get(){return this[o]},set(r){const a=this[t];this[o]=r,this.requestUpdate(t,a,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||R}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 e of o)this.createProperty(e,t[e])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(m(t))}else void 0!==t&&o.push(m(t));return o}static _$Ep(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"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,e;(null!==(o=this._$ES)&&void 0!==o?o:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(e=t.hostConnected)||void 0===e||e.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 b(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,e){this._$AK(t,e)}_$EO(t,o,e=R){var r;const a=this.constructor._$Ep(t,e);if(void 0!==a&&!0===e.reflect){const i=(void 0!==(null===(r=e.converter)||void 0===r?void 0:r.toAttribute)?e.converter:C).toAttribute(o,e.type);this._$El=t,null==i?this.removeAttribute(a):this.setAttribute(a,i),this._$El=null}}_$AK(t,o){var e;const r=this.constructor,a=r._$Ev.get(t);if(void 0!==a&&this._$El!==a){const t=r.getPropertyOptions(a),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(e=t.converter)||void 0===e?void 0:e.fromAttribute)?t.converter:C;this._$El=a,this[a]=i.fromAttribute(o,t.type),this._$El=null}}requestUpdate(t,o,e){let r=!0;void 0!==t&&(((e=e||this.constructor.getPropertyOptions(t)).hasChanged||w)(this[t],o)?(this._$AL.has(t)||this._$AL.set(t,o),!0===e.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,e))):r=!1),!this.isUpdatePending&&r&&(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 e=this._$AL;try{o=this.shouldUpdate(e),o?(this.willUpdate(e),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(e)):this._$Ek()}catch(t){throw o=!1,this._$Ek(),t}o&&this._$AE(e)}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 E;U.finalized=!0,U.elementProperties=new Map,U.elementStyles=[],U.shadowRootOptions={mode:"open"},null==S||S({ReactiveElement:U}),(null!==(O=N.reactiveElementVersions)&&void 0!==O?O:N.reactiveElementVersions=[]).push("1.6.1");const I=window,W=I.trustedTypes,L=W?W.createPolicy("lit-html",{createHTML:t=>t}):void 0,k="$lit$",K=`lit$${(Math.random()+"").slice(9)}$`,$="?"+K,Z=`<${$}>`,F=document,z=()=>F.createComment(""),D=t=>null===t||"object"!=typeof t&&"function"!=typeof t,B=Array.isArray,M="[ \t\n\f\r]",A=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,H=/-->/g,P=/>/g,j=RegExp(`>|${M}(?:([^\\s"'>=/]+)(${M}*=${M}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),G=/'/g,T=/"/g,_=/^(?:script|style|textarea|title)$/i,Y=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),V=Symbol.for("lit-noChange"),J=Symbol.for("lit-nothing"),X=new WeakMap,q=F.createTreeWalker(F,129,null,!1),Q=(t,o)=>{const e=t.length-1,r=[];let a,i=2===o?"<svg>":"",n=A;for(let o=0;o<e;o++){const e=t[o];let l,c,s=-1,p=0;for(;p<e.length&&(n.lastIndex=p,c=n.exec(e),null!==c);)p=n.lastIndex,n===A?"!--"===c[1]?n=H:void 0!==c[1]?n=P:void 0!==c[2]?(_.test(c[2])&&(a=RegExp("</"+c[2],"g")),n=j):void 0!==c[3]&&(n=j):n===j?">"===c[0]?(n=null!=a?a:A,s=-1):void 0===c[1]?s=-2:(s=n.lastIndex-c[2].length,l=c[1],n=void 0===c[3]?j:'"'===c[3]?T:G):n===T||n===G?n=j:n===H||n===P?n=A:(n=j,a=void 0);const f=n===j&&t[o+1].startsWith("/>")?" ":"";i+=n===A?e+Z:s>=0?(r.push(l),e.slice(0,s)+k+e.slice(s)+K+f):e+K+(-2===s?(r.push(void 0),o):f)}const l=i+(t[e]||"<?>")+(2===o?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==L?L.createHTML(l):l,r]};class tt{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let a=0,i=0;const n=t.length-1,l=this.parts,[c,s]=Q(t,o);if(this.el=tt.createElement(c,e),q.currentNode=this.el.content,2===o){const t=this.el.content,o=t.firstChild;o.remove(),t.append(...o.childNodes)}for(;null!==(r=q.nextNode())&&l.length<n;){if(1===r.nodeType){if(r.hasAttributes()){const t=[];for(const o of r.getAttributeNames())if(o.endsWith(k)||o.startsWith(K)){const e=s[i++];if(t.push(o),void 0!==e){const t=r.getAttribute(e.toLowerCase()+k).split(K),o=/([.?@])?(.*)/.exec(e);l.push({type:1,index:a,name:o[2],strings:t,ctor:"."===o[1]?it:"?"===o[1]?lt:"@"===o[1]?ct:at})}else l.push({type:6,index:a})}for(const o of t)r.removeAttribute(o)}if(_.test(r.tagName)){const t=r.textContent.split(K),o=t.length-1;if(o>0){r.textContent=W?W.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],z()),q.nextNode(),l.push({type:2,index:++a});r.append(t[o],z())}}}else if(8===r.nodeType)if(r.data===$)l.push({type:2,index:a});else{let t=-1;for(;-1!==(t=r.data.indexOf(K,t+1));)l.push({type:7,index:a}),t+=K.length-1}a++}}static createElement(t,o){const e=F.createElement("template");return e.innerHTML=t,e}}function ot(t,o,e=t,r){var a,i,n,l;if(o===V)return o;let c=void 0!==r?null===(a=e._$Co)||void 0===a?void 0:a[r]:e._$Cl;const s=D(o)?void 0:o._$litDirective$;return(null==c?void 0:c.constructor)!==s&&(null===(i=null==c?void 0:c._$AO)||void 0===i||i.call(c,!1),void 0===s?c=void 0:(c=new s(t),c._$AT(t,e,r)),void 0!==r?(null!==(n=(l=e)._$Co)&&void 0!==n?n:l._$Co=[])[r]=c:e._$Cl=c),void 0!==c&&(o=ot(t,c._$AS(t,o.values),c,r)),o}class et{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var o;const{el:{content:e},parts:r}=this._$AD,a=(null!==(o=null==t?void 0:t.creationScope)&&void 0!==o?o:F).importNode(e,!0);q.currentNode=a;let i=q.nextNode(),n=0,l=0,c=r[0];for(;void 0!==c;){if(n===c.index){let o;2===c.type?o=new rt(i,i.nextSibling,this,t):1===c.type?o=new c.ctor(i,c.name,c.strings,this,t):6===c.type&&(o=new st(i,this,t)),this._$AV.push(o),c=r[++l]}n!==(null==c?void 0:c.index)&&(i=q.nextNode(),n++)}return a}v(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}class rt{constructor(t,o,e,r){var a;this.type=2,this._$AH=J,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cp=null===(a=null==r?void 0:r.isConnected)||void 0===a||a}get _$AU(){var t,o;return null!==(o=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==o?o:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===(null==t?void 0:t.nodeType)&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=ot(this,t,o),D(t)?t===J||null==t||""===t?(this._$AH!==J&&this._$AR(),this._$AH=J):t!==this._$AH&&t!==V&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>B(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!==J&&D(this._$AH)?this._$AA.nextSibling.data=t:this.$(F.createTextNode(t)),this._$AH=t}g(t){var o;const{values:e,_$litType$:r}=t,a="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=tt.createElement(r.h,this.options)),r);if((null===(o=this._$AH)||void 0===o?void 0:o._$AD)===a)this._$AH.v(e);else{const t=new et(a,this),o=t.u(this.options);t.v(e),this.$(o),this._$AH=t}}_$AC(t){let o=X.get(t.strings);return void 0===o&&X.set(t.strings,o=new tt(t)),o}T(t){B(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,r=0;for(const a of t)r===o.length?o.push(e=new rt(this.k(z()),this.k(z()),this,this.options)):e=o[r],e._$AI(a),r++;r<o.length&&(this._$AR(e&&e._$AB.nextSibling,r),o.length=r)}_$AR(t=this._$AA.nextSibling,o){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){var o;void 0===this._$AM&&(this._$Cp=t,null===(o=this._$AP)||void 0===o||o.call(this,t))}}class at{constructor(t,o,e,r,a){this.type=1,this._$AH=J,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=a,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=J}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,o=this,e,r){const a=this.strings;let i=!1;if(void 0===a)t=ot(this,t,o,0),i=!D(t)||t!==this._$AH&&t!==V,i&&(this._$AH=t);else{const r=t;let n,l;for(t=a[0],n=0;n<a.length-1;n++)l=ot(this,r[e+n],o,n),l===V&&(l=this._$AH[n]),i||(i=!D(l)||l!==this._$AH[n]),l===J?t=J:t!==J&&(t+=(null!=l?l:"")+a[n+1]),this._$AH[n]=l}i&&!r&&this.j(t)}j(t){t===J?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class it extends at{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===J?void 0:t}}const nt=W?W.emptyScript:"";class lt extends at{constructor(){super(...arguments),this.type=4}j(t){t&&t!==J?this.element.setAttribute(this.name,nt):this.element.removeAttribute(this.name)}}class ct extends at{constructor(t,o,e,r,a){super(t,o,e,r,a),this.type=5}_$AI(t,o=this){var e;if((t=null!==(e=ot(this,t,o,0))&&void 0!==e?e:J)===V)return;const r=this._$AH,a=t===J&&r!==J||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,i=t!==J&&(r===J||a);a&&this.element.removeEventListener(this.name,this,r),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var o,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(o=this.options)||void 0===o?void 0:o.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}}class st{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){ot(this,t)}}const pt=I.litHtmlPolyfillSupport;null==pt||pt(tt,rt),(null!==(E=I.litHtmlVersions)&&void 0!==E?E:I.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 pt,ft;let ut=class extends E{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 o,n;const r=null!==(o=null==e?void 0:e.renderBefore)&&void 0!==o?o:i;let s=r._$litPart$;if(void 0===s){const t=null!==(n=null==e?void 0:e.renderBefore)&&void 0!==n?n:null;r._$litPart$=s=new ot(i.insertBefore(z(),t),t,void 0,null!=e?e:{})}return s._$AI(t),s})(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 q}};ut.finalized=!0,ut._$litElement$=!0,null===(pt=globalThis.litElementHydrateSupport)||void 0===pt||pt.call(globalThis,{LitElement:ut});const dt=globalThis.litElementPolyfillSupport;null==dt||dt({LitElement:ut}),(null!==(ft=globalThis.litElementVersions)&&void 0!==ft?ft:globalThis.litElementVersions=[]).push("3.3.2");class yt{static create(t,i,e){let o=t=>y(null!=t?t:e),n=v`var(${y(t)}, ${o(e)})`;return n.name=t,n.category=i,n.defaultValue=e,n.defaultCssValue=o,n.get=i=>v`var(${y(t)}, ${o(i)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>e,n}static extend(t,i,e){let o=t=>i.get(null!=t?t:e),n=v`var(${y(t)}, ${o(e)})`;return n.name=t,n.category=i.category,n.fallbackVariable=i,n.defaultValue=e,n.defaultCssValue=o,n.get=i=>v`var(${y(t)}, ${o(i)})`,n.breadcrumb=()=>[i.name,...i.breadcrumb()],n.lastResortDefaultValue=()=>e,n}static external(t,i){let e=i=>t.fallbackVariable?t.fallbackVariable.get(null!=i?i:t.defaultValue):y(null!=i?i:t.defaultValue),o=v`var(${y(t.name)}, ${e(t.defaultValue)})`;return o.name=t.name,o.category=t.category,o.fallbackVariable=t.fallbackVariable,o.defaultValue=t.defaultValue,o.context=i,o.defaultCssValue=e,o.get=i=>v`var(${y(t.name)}, ${e(i)})`,o.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],o.lastResortDefaultValue=()=>{var i,e;return null!==(i=t.defaultValue)&&void 0!==i?i:null===(e=t.fallbackVariable)||void 0===e?void 0:e.lastResortDefaultValue()},o}}const vt={colorPrimary:yt.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:yt.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:yt.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:yt.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:yt.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:yt.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:yt.create("--ft-color-error","COLOR","#B00020"),colorOutline:yt.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:yt.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:yt.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:yt.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:yt.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:yt.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:yt.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:yt.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:yt.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:yt.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:yt.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:yt.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:yt.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:yt.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:yt.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:yt.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:yt.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:yt.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:yt.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:yt.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:yt.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:yt.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:yt.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:yt.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:yt.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:yt.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:yt.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:yt.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:yt.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:yt.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:yt.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:yt.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:yt.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:yt.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:yt.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:yt.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:yt.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:yt.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:yt.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:yt.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:yt.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:yt.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:yt.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:yt.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:yt.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:yt.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:yt.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:yt.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:yt.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:yt.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:yt.create("--ft-border-radius-XL","SIZE","16px"),titleFont:yt.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:yt.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:yt.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:yt.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};class gt 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 g(e,t.elementStyles),e}}var bt,mt=function(t,i,e,o){for(var n,r=arguments.length,s=r<3?i:null===o?o=Object.getOwnPropertyDescriptor(i,e):o,a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(i,e,s):n(i,e))||s);return r>3&&s&&Object.defineProperty(i,e,s),s};const xt=Symbol("constructorPrototype"),wt=Symbol("constructorName"),Ot=Symbol("exportpartsDebouncer");class $t extends gt{constructor(){super(),this[bt]=new i(5),this[wt]=this.constructor.name,this[xt]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[wt]&&Object.setPrototypeOf(this,this[xt])}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[Ot].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,o,n,r,s;const a=t=>null!=t&&t.trim().length>0,l=t.filter(a).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const h=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!==(n=null===(o=t.getAttribute("part"))||void 0===o?void 0:o.split(" "))&&void 0!==n?n:[],e=null!==(s=null===(r=t.getAttribute("exportparts"))||void 0===r?void 0:r.split(",").map((t=>t.split(":")[1])))&&void 0!==s?s:[];new Array(...i,...e).filter(a).map((t=>t.trim())).forEach((t=>h.add(t)))}if(0===h.size)return void this.removeAttribute("exportparts");const c=[...h.values()].flatMap((t=>l.map((i=>`${t}:${i}--${t}`))));this.setAttribute("exportparts",[...this.part,...c].join(", "))}}var St,Nt;bt=Ot,mt([o()],$t.prototype,"exportpartsPrefix",void 0),mt([function(t,i){const e=()=>JSON.parse(JSON.stringify(t));return o({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:{}})}([])],$t.prototype,"exportpartsPrefixes",void 0),mt([o()],$t.prototype,"customStylesheet",void 0),v`
|
|
66
|
+
var ft,ht;let dt=class extends U{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,o;const e=super.createRenderRoot();return null!==(t=(o=this.renderOptions).renderBefore)&&void 0!==t||(o.renderBefore=e.firstChild),e}update(t){const o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,o,e)=>{var r,a;const i=null!==(r=null==e?void 0:e.renderBefore)&&void 0!==r?r:o;let n=i._$litPart$;if(void 0===n){const t=null!==(a=null==e?void 0:e.renderBefore)&&void 0!==a?a:null;i._$litPart$=n=new rt(o.insertBefore(z(),t),t,void 0,null!=e?e:{})}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 V}};dt.finalized=!0,dt._$litElement$=!0,null===(ft=globalThis.litElementHydrateSupport)||void 0===ft||ft.call(globalThis,{LitElement:dt});const yt=globalThis.litElementPolyfillSupport;null==yt||yt({LitElement:dt}),(null!==(ht=globalThis.litElementVersions)&&void 0!==ht?ht:globalThis.litElementVersions=[]).push("3.3.2");const gt=t=>"string"==typeof t?g(t):t;class ut{static create(t,o,e,r){const a=t=>gt(null!=t?t:r),i=u`var(${gt(t)}, ${a(r)})`;return i.name=t,i.description=t,i.category=e,i.defaultValue=r,i.defaultCssValue=a,i.get=o=>u`var(${gt(t)}, ${a(o)})`,i.breadcrumb=()=>[],i.lastResortDefaultValue=()=>r,i}static extend(t,o,e,r){const a=t=>e.get(null!=t?t:r),i=u`var(${gt(t)}, ${a(r)})`;return i.name=t,i.description=o,i.category=e.category,i.fallbackVariable=e,i.defaultValue=r,i.defaultCssValue=a,i.get=o=>u`var(${gt(t)}, ${a(o)})`,i.breadcrumb=()=>[e.name,...e.breadcrumb()],i.lastResortDefaultValue=()=>null!=r?r:e.lastResortDefaultValue(),i}static external(t,o){const e=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):gt(null!=o?o:t.lastResortDefaultValue()),r=u`var(${gt(t.name)}, ${e(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=o,r.defaultCssValue=e,r.get=o=>u`var(${gt(t.name)}, ${e(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const bt={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")},mt={display:{fontFamily:ut.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:ut.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:ut.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:ut.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:ut.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:ut.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ut.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:ut.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:ut.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:ut.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:ut.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:ut.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:ut.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:ut.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:ut.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ut.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:ut.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:ut.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:ut.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:ut.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:ut.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:ut.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:ut.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:ut.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ut.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:ut.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:ut.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:ut.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:ut.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:ut.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:ut.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:ut.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:ut.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ut.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:ut.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:ut.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:ut.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:ut.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:ut.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:ut.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:ut.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:ut.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ut.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:ut.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:ut.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:ut.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ut.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:ut.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:ut.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:ut.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:ut.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ut.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ut.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:ut.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:ut.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ut.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ut.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:ut.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:ut.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:ut.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ut.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ut.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:ut.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:ut.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:ut.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:ut.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:ut.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:ut.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:ut.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ut.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:ut.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:ut.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:ut.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ut.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:ut.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:ut.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:ut.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:ut.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ut.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ut.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:ut.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:ut.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ut.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ut.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:ut.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:ut.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:ut.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ut.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ut.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:ut.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:ut.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ut.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:ut.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:ut.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:ut.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:ut.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ut.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ut.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ut.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:ut.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ut.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ut.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:ut.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:ut.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:ut.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ut.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ut.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ut.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:ut.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ut.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:ut.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:ut.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:ut.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:ut.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ut.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ut.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ut.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:ut.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ut.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:ut.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:ut.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:ut.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:ut.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ut.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ut.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ut.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:ut.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ut.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ut.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:ut.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:ut.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:ut.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ut.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ut.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ut.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:ut.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ut.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:ut.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:ut.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:ut.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:ut.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ut.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ut.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ut.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:ut.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ut.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:ut.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:ut.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:ut.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:ut.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:ut.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ut.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ut.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:ut.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ut.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ut.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:ut.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:ut.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:ut.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:ut.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ut.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ut.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:ut.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ut.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:ut.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:ut.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:ut.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:ut.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:ut.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ut.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ut.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:ut.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ut.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:ut.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:ut.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:ut.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:ut.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:ut.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ut.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ut.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:ut.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ut.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ut.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:ut.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:ut.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:ut.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:ut.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ut.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ut.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:ut.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ut.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:ut.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:ut.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:ut.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:ut.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:ut.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ut.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ut.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Ot={backgroundActionPrimary:ut.extend("--ft-background-action-primary","Used as backgorund of primary action components.",bt.colorBrand0),backgroundErrorPrimary:ut.extend("--ft-background-error-primary","Used as background of error components.",bt.colorRed0),backgroundErrorSubtle:ut.extend("--ft-background-error-subtle","Used as background of subtle error components.",bt.colorRed10),backgroundInfoPrimary:ut.extend("--ft-background-info-primary","Used as background of information components.",bt.colorCyan200),backgroundInfoSubtle:ut.extend("--ft-background-info-subtle","Used as background of subtle information components.",bt.colorCyan10),backgroundWarningPrimary:ut.extend("--ft-background-warning-primary","Used as background of warning components.",bt.colorOrange300),backgroundWarningSubtle:ut.extend("--ft-background-warning-subtle","Used as background of subtle information components.",bt.colorOrange10),backgroundSuccessPrimary:ut.extend("--ft-background-success-primary","Used as background of success components.",bt.colorGreen200),backgroundSuccessSubtle:ut.extend("--ft-background-success-subtle","Used as background of subtle success components.",bt.colorGreen10),backgroundGlobalSurface:ut.extend("--ft-background-global-surface","Used as app background.",bt.colorWhite),backgroundGlobalOnSurface:ut.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",bt.colorGray10),backgroundGlobalOnSurfaceDark:ut.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",bt.colorGray30),contentActionPrimary:ut.extend("--ft-content-action-primary","Used on label of primary action on light surface.",bt.colorBrand0),contentWarningPrimary:ut.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",bt.colorOrange300),contentWarningIconOnly:ut.extend("--ft-content-warning-icon-only","Used on warning status icons alone",bt.colorOrange0),contentErrorPrimary:ut.extend("--ft-content-error-primary","Used on label of error messages on light surface.",bt.colorRed0),contentErrorIconOnly:ut.extend("--ft-content-error-icon-only","Used on error status icons alone",bt.colorRed0),contentInfoPrimary:ut.extend("--ft-content-info-primary","Used on label of information messages on light surface.",bt.colorCyan200),contentInfoIconOnly:ut.extend("--ft-content-info-icon-only","Used on info status icons alone",bt.colorCyan0),contentSuccessIconOnly:ut.extend("--ft-content-success-icon-only","Used on success status icons alone",bt.colorGreen0),contentSuccessPrimary:ut.extend("--ft-content-success-primary","Used on label of success messages on light surface.",bt.colorGreen200),contentGlobalPrimary:ut.extend("--ft-content-global-primary","Used for main content on the page.",bt.colorGray500),contentGlobalSecondary:ut.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",bt.colorGray200),contentGlobalSubtle:ut.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",bt.colorGray0),contentGlobalOnColor:ut.extend("--ft-content-global-on-color","Used for content on a dominant color.",bt.colorWhite),borderActionPrimary:ut.extend("--ft-border-action-primary","Used as border for primary action components.",bt.colorBrand0),borderActionFocusRing:ut.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",bt.colorCyan0),borderWarningPrimary:ut.extend("--ft-border-warning-primary","Used as border for warning components.",bt.colorOrange30),borderSuccessPrimary:ut.extend("--ft-border-success-primary","Used as border for success components.",bt.colorGreen30),borderErrorPrimary:ut.extend("--ft-border-error-primary","Used as border for error components.",bt.colorRed30),borderInfoPrimary:ut.extend("--ft-border-info-primary","Used as border for information components.",bt.colorCyan30),borderGlobalSubtle:ut.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",bt.colorGray30),borderGlobalPrimary:ut.extend("--ft-border-global-primary","Used as border for element like input.",bt.colorGray50),borderInputPrimary:ut.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",bt.colorGray80)};ut.create("--ft-button-large-height","","SIZE","40px"),ut.extend("--ft-button-large-horizontal-padding","",bt.spacing4),ut.extend("--ft-button-large-gap","",bt.spacing2),ut.extend("--ft-button-large-border-radius","",bt.borderRadiusS),ut.extend("--ft-button-large-icon-size","",bt.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","",bt.spacing3),ut.extend("--ft-button-small-gap","",bt.spacing2),ut.extend("--ft-button-small-border-radius","",bt.borderRadiusS),ut.extend("--ft-button-small-icon-size","",bt.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","",Ot.backgroundActionPrimary),ut.extend("--ft-button-primary-color","",Ot.contentGlobalOnColor),ut.extend("--ft-button-primary-icon-color","",Ot.contentGlobalOnColor),ut.extend("--ft-button-primary-state-layer-color","",Ot.contentGlobalOnColor),ut.extend("--ft-button-primary-state-layer-opacity-hover","",bt.opacity16),ut.extend("--ft-button-primary-state-layer-opacity-focus","",bt.opacity16),ut.extend("--ft-button-primary-state-layer-opacity-active","",bt.opacity24),ut.extend("--ft-button-primary-component-opacity-disabled","",bt.opacity40),ut.extend("--ft-button-focus-focus-ring-color","",Ot.borderActionFocusRing),ut.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),ut.extend("--ft-button-tertiary-color","",Ot.contentActionPrimary),ut.extend("--ft-button-tertiary-icon-color","",Ot.contentActionPrimary),ut.extend("--ft-button-tertiary-state-layer-color","",Ot.contentActionPrimary),ut.extend("--ft-button-tertiary-state-layer-opacity-hover","",bt.opacity8),ut.extend("--ft-button-tertiary-state-layer-opacity-focus","",bt.opacity8),ut.extend("--ft-button-tertiary-state-layer-opacity-active","",bt.opacity16),ut.extend("--ft-button-tertiary-component-opacity-disabled","",bt.opacity40),ut.extend("--ft-button-secondary-background-color","",bt.colorWhite),ut.extend("--ft-button-secondary-color","",Ot.contentActionPrimary),ut.extend("--ft-button-secondary-icon-color","",Ot.contentActionPrimary),ut.extend("--ft-button-secondary-state-layer-color","",Ot.contentActionPrimary),ut.extend("--ft-button-secondary-state-layer-opacity-hover","",bt.opacity8),ut.extend("--ft-button-secondary-state-layer-opacity-focus","",bt.opacity8),ut.extend("--ft-button-secondary-state-layer-opacity-active","",bt.opacity16),ut.extend("--ft-button-secondary-component-opacity-disabled","",bt.opacity40),ut.extend("--ft-button-secondary-border-color","",Ot.borderActionPrimary),ut.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),ut.extend("--ft-button-neutral-icon-color","",Ot.contentGlobalSecondary),ut.extend("--ft-button-neutral-color","",Ot.contentGlobalSecondary),ut.extend("--ft-button-neutral-state-layer-color","",Ot.contentGlobalSecondary),ut.extend("--ft-button-neutral-state-layer-opacity-hover","",bt.opacity8),ut.extend("--ft-button-neutral-state-layer-opacity-focus","",bt.opacity8),ut.extend("--ft-button-neutral-state-layer-opacity-active","",bt.opacity16),ut.extend("--ft-button-neutral-component-opacity-disabled","",bt.opacity40),ut.extend("--ft-tabs-top-left-border-radius","",bt.borderRadiusS),ut.extend("--ft-tabs-top-right-border-radius","",bt.borderRadiusS),ut.extend("--ft-tabs-label-horizontal-padding","",bt.spacing4),ut.extend("--ft-tabs-label-vertical-padding","",bt.spacing3),ut.extend("--ft-tabs-label-gap","",bt.spacing1),ut.extend("--ft-switch-group-horizontal-padding","",bt.spacing1),ut.extend("--ft-switch-group-vertical-padding","",bt.spacing1),ut.extend("--ft-switch-group-gap","",bt.spacing1),ut.extend("--ft-switch-group-background-color","",Ot.backgroundGlobalSurface),ut.extend("--ft-switch-group-border-color","",Ot.borderGlobalSubtle),ut.create("--ft-switch-group-border-radius","","SIZE","6px"),ut.extend("--ft-switch-label-horizontal-padding","",bt.spacing2),ut.extend("--ft-switch-label-vertical-padding","",bt.spacing1),ut.extend("--ft-switch-icon-horizontal-padding","",bt.spacing1),ut.extend("--ft-switch-icon-vertical-padding","",bt.spacing1),ut.create("--ft-switch-focus-outline-width","","SIZE","2px"),ut.extend("--ft-switch-focus-focus-ring-color","",Ot.borderActionFocusRing),ut.extend("--ft-switch-option-border-radius","",bt.borderRadiusS),ut.extend("--ft-switch-off-state-layer-opacity-hover","",bt.opacity8),ut.extend("--ft-switch-off-state-layer-opacity-focus","",bt.opacity8),ut.extend("--ft-switch-off-state-layer-opacity-active","",bt.opacity16),ut.extend("--ft-switch-off-component-opacity-disabled","",bt.opacity40),ut.extend("--ft-switch-off-color","",Ot.contentGlobalSubtle),ut.extend("--ft-switch-off-state-layer-color","",Ot.contentGlobalSubtle),ut.extend("--ft-chart-1-light","for area color charts",bt.colorBrand40),ut.extend("--ft-chart-1-base","for line charts",bt.colorBrand0),ut.extend("--ft-chart-2-light","for area color charts",bt.colorYellow60),ut.extend("--ft-chart-2-base","for line charts",bt.colorYellow100),ut.extend("--ft-chart-3-light","",bt.colorUltramarine40),ut.extend("--ft-chart-3-base","",bt.colorUltramarine70),ut.extend("--ft-chart-4-light","",bt.colorCyan50),ut.extend("--ft-chart-4-base","",bt.colorCyan100),ut.extend("--ft-chart-5-light","",bt.colorRed40),ut.extend("--ft-chart-5-base","",bt.colorRed60),ut.extend("--ft-chart-6-light","",bt.colorGreen40),ut.extend("--ft-chart-6-base","",bt.colorGreen70),ut.extend("--ft-chart-7-light","",bt.colorOrange70),ut.extend("--ft-chart-7-base","",bt.colorOrange100),ut.extend("--ft-chart-8-light","",bt.colorAvocado70),ut.extend("--ft-chart-8-base","",bt.colorAvocado200),ut.extend("--ft-chart-9-light","",bt.colorBrown50),ut.extend("--ft-chart-9-base","",bt.colorBrown200),ut.extend("--ft-chart-10-light","",bt.colorGray50),ut.extend("--ft-chart-10-base","",bt.colorGray80),ut.extend("--ft-chart-monochrome-10","",bt.colorBrand10),ut.extend("--ft-chart-monochrome-20","",bt.colorBrand20),ut.extend("--ft-chart-monochrome-30","",bt.colorBrand40),ut.extend("--ft-chart-monochrome-40","",bt.colorBrand60),ut.extend("--ft-chart-monochrome-50","",bt.colorBrand0),ut.extend("--ft-chart-monochrome-60","",bt.colorBrand200),ut.extend("--ft-chip-large-horizontal-padding","",bt.spacing4),ut.extend("--ft-chip-large-vertical-padding","",bt.spacing2),ut.extend("--ft-chip-large-gap","",bt.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","",bt.borderRadiusPill),ut.create("--ft-chip-large-border-width","","SIZE","1px"),ut.extend("--ft-chip-large-icon-size","",bt.iconSize3),ut.extend("--ft-chip-medium-horizontal-padding","",bt.spacing3),ut.extend("--ft-chip-medium-vertical-padding","",bt.spacing1),ut.extend("--ft-chip-medium-gap","",bt.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","",bt.borderRadiusPill),ut.create("--ft-chip-medium-border-width","","SIZE","1px"),ut.extend("--ft-chip-medium-icon-size","",bt.iconSize2),ut.extend("--ft-chip-small-horizontal-padding","",bt.spacing2),ut.extend("--ft-chip-small-vertical-padding","",bt.spacing05),ut.extend("--ft-chip-small-gap","",bt.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","",bt.borderRadiusPill),ut.create("--ft-chip-small-border-width","","SIZE","1px"),ut.extend("--ft-chip-small-icon-size","",bt.iconSize1),ut.extend("--ft-chip-neutral-background-color","",Ot.backgroundGlobalOnSurface),ut.extend("--ft-chip-neutral-color","",Ot.contentGlobalPrimary),ut.extend("--ft-chip-neutral-border-color","",Ot.borderGlobalSubtle),ut.extend("--ft-chip-info-background-color","",Ot.backgroundInfoSubtle),ut.extend("--ft-chip-info-color","",Ot.contentInfoPrimary),ut.extend("--ft-chip-info-border-color","",Ot.borderInfoPrimary),ut.extend("--ft-chip-success-background-color","",Ot.backgroundSuccessSubtle),ut.extend("--ft-chip-success-color","",Ot.contentSuccessPrimary),ut.extend("--ft-chip-success-border-color","",Ot.borderSuccessPrimary),ut.extend("--ft-chip-warning-background-color","",Ot.backgroundWarningSubtle),ut.extend("--ft-chip-warning-color","",Ot.contentWarningPrimary),ut.extend("--ft-chip-warning-border-color","",Ot.borderWarningPrimary),ut.extend("--ft-chip-error-background-color","",Ot.backgroundErrorSubtle),ut.extend("--ft-chip-error-color","",Ot.contentErrorPrimary),ut.extend("--ft-chip-error-border-color","",Ot.borderErrorPrimary),ut.create("--ft-notice-border-width","","SIZE","1px"),ut.extend("--ft-notice-horizontal-padding","",bt.spacing2),ut.extend("--ft-notice-vertical-padding","",bt.spacing1),ut.extend("--ft-notice-border-radius","",bt.borderRadiusS),ut.extend("--ft-notice-gap","",bt.spacing2),ut.extend("--ft-notice-icon-size","",bt.iconSize3),ut.extend("--ft-notice-info-background-color","",Ot.backgroundInfoSubtle),ut.extend("--ft-notice-info-border-color","",Ot.borderInfoPrimary),ut.extend("--ft-notice-info-color","",Ot.contentInfoPrimary),ut.extend("--ft-notice-warning-background-color","",Ot.backgroundWarningSubtle),ut.extend("--ft-notice-warning-border-color","",Ot.borderWarningPrimary),ut.extend("--ft-notice-warning-color","",Ot.contentWarningPrimary),ut.extend("--ft-checkbox-label-color","",Ot.contentGlobalPrimary),ut.extend("--ft-checkbox-checked-background-color","",Ot.contentActionPrimary),ut.extend("--ft-checkbox-checked-state-layer-color","",Ot.contentActionPrimary),ut.extend("--ft-checkbox-checked-color","",Ot.contentGlobalOnColor),ut.extend("--ft-checkbox-checked-state-layer-opacity-hover","",bt.opacity16),ut.extend("--ft-checkbox-checked-state-layer-opacity-focus","",bt.opacity16),ut.extend("--ft-checkbox-checked-state-layer-opacity-active","",bt.opacity24),ut.extend("--ft-checkbox-checked-component-opacity-disabled","",bt.opacity40),ut.extend("--ft-checkbox-unchecked-border-color","",bt.colorGray80),ut.extend("--ft-checkbox-unchecked-state-layer-color","",bt.colorGray80),ut.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",bt.opacity16),ut.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",bt.opacity16),ut.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",bt.opacity24),ut.extend("--ft-checkbox-unchecked-component-opacity-disabled","",bt.opacity40),ut.extend("--ft-checkbox-focus-focus-ring-color","",Ot.borderActionFocusRing),ut.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),ut.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),ut.extend("--ft-checkbox-gap","",bt.spacing3),ut.extend("--ft-toggle-off-state-layer-opacity-hover","",bt.opacity16),ut.extend("--ft-toggle-off-state-layer-opacity-focus","",bt.opacity16),ut.extend("--ft-toggle-off-state-layer-opacity-active","",bt.opacity24),ut.extend("--ft-toggle-off-component-opacity-disabled","",bt.opacity40),ut.extend("--ft-toggle-off-background-color","",Ot.contentGlobalSubtle),ut.extend("--ft-toggle-off-icon-color","",Ot.contentGlobalSubtle),ut.extend("--ft-toggle-off-state-layer-color","",Ot.contentGlobalSubtle),ut.extend("--ft-toggle-on-state-layer-opacity-hover","",bt.opacity16),ut.extend("--ft-toggle-on-state-layer-opacity-focus","",bt.opacity16),ut.extend("--ft-toggle-on-state-layer-opacity-active","",bt.opacity24),ut.extend("--ft-toggle-on-component-opacity-disabled","",bt.opacity40),ut.extend("--ft-toggle-on-background-color","",Ot.contentActionPrimary),ut.extend("--ft-toggle-on-icon-color","",Ot.contentActionPrimary),ut.extend("--ft-toggle-on-state-layer-color","",Ot.contentActionPrimary),ut.extend("--ft-toggle-label-color","",Ot.contentGlobalPrimary),ut.extend("--ft-toggle-focus-focus-ring-color","",Ot.borderActionFocusRing),ut.extend("--ft-toggle-gap","",bt.spacing3),ut.extend("--ft-radio-label-color","",Ot.contentGlobalPrimary),ut.extend("--ft-radio-selected-color","",Ot.contentActionPrimary),ut.extend("--ft-radio-selected-state-layer-color","",Ot.contentActionPrimary),ut.extend("--ft-radio-selected-state-layer-opacity-hover","",bt.opacity16),ut.extend("--ft-radio-selected-state-layer-opacity-focus","",bt.opacity16),ut.extend("--ft-radio-selected-state-layer-opacity-active","",bt.opacity24),ut.extend("--ft-radio-selected-component-opacity-disabled","",bt.opacity40),ut.extend("--ft-radio-unselected-state-layer-color","",bt.colorGray80),ut.extend("--ft-radio-unselected-state-layer-opacity-hover","",bt.opacity16),ut.extend("--ft-radio-unselected-state-layer-opacity-focus","",bt.opacity16),ut.extend("--ft-radio-unselected-state-layer-opacity-active","",bt.opacity24),ut.extend("--ft-radio-unselected-component-opacity-disabled","",bt.opacity40),ut.extend("--ft-radio-focus-focus-ring-color","",Ot.borderActionFocusRing),ut.create("--ft-radio-focus-outline-offset","","SIZE","3px"),ut.create("--ft-radio-focus-outline-width","","SIZE","2px"),ut.extend("--ft-radio-gap","",bt.spacing3),ut.extend("--ft-notification-icon-size","",bt.iconSize4),ut.extend("--ft-notification-horizontal-padding","",bt.spacing4),ut.extend("--ft-notification-vertical-padding","",bt.spacing4),ut.extend("--ft-notification-info-background-color","",Ot.backgroundInfoSubtle),ut.extend("--ft-notification-info-color","",Ot.contentInfoPrimary),ut.extend("--ft-notification-info-border-color","",Ot.borderInfoPrimary),ut.extend("--ft-notification-success-background-color","",Ot.backgroundSuccessSubtle),ut.extend("--ft-notification-success-color","",Ot.contentSuccessPrimary),ut.extend("--ft-notification-success-border-color","",Ot.borderSuccessPrimary),ut.extend("--ft-notification-warning-background-color","",Ot.backgroundWarningSubtle),ut.extend("--ft-notification-warning-color","",Ot.contentWarningPrimary),ut.extend("--ft-notification-warning-border-color","",Ot.borderWarningPrimary),ut.extend("--ft-notification-error-background-color","",Ot.backgroundErrorSubtle),ut.extend("--ft-notification-error-color","",Ot.contentErrorPrimary),ut.extend("--ft-notification-error-border-color","",Ot.borderErrorPrimary),ut.extend("--ft-notification-border-radius","",bt.borderRadiusPill),ut.create("--ft-notification-border-width","","SIZE","1px"),ut.extend("--ft-notification-gap-leading","",bt.spacing2),ut.extend("--ft-notification-gap-trailing","",bt.spacing8);const Nt={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 vt extends dt{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return b(e,t.elementStyles),e}}var xt,St=function(t,o,e,r){for(var a,i=arguments.length,n=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(n=(i<3?a(n):i>3?a(o,e,n):a(o,e))||n);return i>3&&n&&Object.defineProperty(o,e,n),n};const Ct=Symbol("constructorPrototype"),wt=Symbol("constructorName"),Rt=Symbol("exportpartsDebouncer");class Ut extends vt{constructor(){super(),this[xt]=new o(5),this[wt]=this.constructor.name,this[Ct]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[wt]&&Object.setPrototypeOf(this,this[Ct])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var o,e;if((null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.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[Rt].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,e,r,a,i,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!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(a=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==a?a:[],e=null!==(n=null===(i=t.getAttribute("exportparts"))||void 0===i?void 0:i.split(",").map((t=>t.split(":")[1])))&&void 0!==n?n:[];new Array(...o,...e).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 Et,It;xt=Rt,St([r()],Ut.prototype,"exportpartsPrefix",void 0),St([function(t,o){const e=()=>JSON.parse(JSON.stringify(t));return r({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,o)=>!c(t,o),...null!=o?o:{}})}([])],Ut.prototype,"exportpartsPrefixes",void 0),St([r()],Ut.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 pt,ft;let ut=class extends E{constructor(){super(...arguments),this.renderOp
|
|
|
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 pt,ft;let ut=class extends E{constructor(){super(...arguments),this.renderOp
|
|
|
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,115 +95,122 @@ var pt,ft;let ut=class extends E{constructor(){super(...arguments),this.renderOp
|
|
|
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===(It=null===(Et=window.safari)||void 0===Et?void 0:Et.pushNotification)||void 0===It||It.toString());
|
|
99
99
|
/**
|
|
100
100
|
* @license
|
|
101
101
|
* Copyright 2020 Google LLC
|
|
102
102
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
103
103
|
*/
|
|
104
|
-
const
|
|
104
|
+
const Wt=Symbol.for(""),Lt=t=>{if((null==t?void 0:t.r)===Wt)return null==t?void 0:t._$litStatic$},kt=t=>({_$litStatic$:t,r:Wt}),Kt=new Map,$t=(t=>(o,...e)=>{const r=e.length;let a,i;const n=[],l=[];let c,s=0,p=!1;for(;s<r;){for(c=o[s];s<r&&void 0!==(i=e[s],a=Lt(i));)c+=a+o[++s],p=!0;s!==r&&l.push(i),n.push(c),s++}if(s===r&&n.push(o[r]),p){const t=n.join("$$lit$$");void 0===(o=Kt.get(t))&&(n.raw=n,Kt.set(t,o=n)),e=l}return t(o,...e)})(Y);var Zt;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(Zt||(Zt={}));const Ft=ut.extend("--ft-typography-font-family","",Nt.titleFont),zt=ut.extend("--ft-typography-font-family","",Nt.contentFont),Dt={fontFamily:zt,fontSize:ut.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:ut.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:ut.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:ut.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:ut.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Bt=ut.extend("--ft-typography-title-font-family","",Ft),Mt=ut.extend("--ft-typography-title-font-size","",Dt.fontSize,"20px"),At=ut.extend("--ft-typography-title-font-weight","",Dt.fontWeight,"normal"),Ht=ut.extend("--ft-typography-title-letter-spacing","",Dt.letterSpacing,"0.15px"),Pt=ut.extend("--ft-typography-title-line-height","",Dt.lineHeight,"1.2"),jt=ut.extend("--ft-typography-title-text-transform","",Dt.textTransform,"inherit"),Gt=ut.extend("--ft-typography-title-dense-font-family","",Ft),Tt=ut.extend("--ft-typography-title-dense-font-size","",Dt.fontSize,"14px"),_t=ut.extend("--ft-typography-title-dense-font-weight","",Dt.fontWeight,"normal"),Yt=ut.extend("--ft-typography-title-dense-letter-spacing","",Dt.letterSpacing,"0.105px"),Vt=ut.extend("--ft-typography-title-dense-line-height","",Dt.lineHeight,"1.7"),Jt=ut.extend("--ft-typography-title-dense-text-transform","",Dt.textTransform,"inherit"),Xt=ut.extend("--ft-typography-subtitle1-font-family","",zt),qt=ut.extend("--ft-typography-subtitle1-font-size","",Dt.fontSize,"16px"),Qt=ut.extend("--ft-typography-subtitle1-font-weight","",Dt.fontWeight,"600"),to=ut.extend("--ft-typography-subtitle1-letter-spacing","",Dt.letterSpacing,"0.144px"),oo=ut.extend("--ft-typography-subtitle1-line-height","",Dt.lineHeight,"1.5"),eo=ut.extend("--ft-typography-subtitle1-text-transform","",Dt.textTransform,"inherit"),ro=ut.extend("--ft-typography-subtitle2-font-family","",zt),ao=ut.extend("--ft-typography-subtitle2-font-size","",Dt.fontSize,"14px"),io=ut.extend("--ft-typography-subtitle2-font-weight","",Dt.fontWeight,"normal"),no=ut.extend("--ft-typography-subtitle2-letter-spacing","",Dt.letterSpacing,"0.098px"),lo=ut.extend("--ft-typography-subtitle2-line-height","",Dt.lineHeight,"1.7"),co=ut.extend("--ft-typography-subtitle2-text-transform","",Dt.textTransform,"inherit"),so=ut.extend("--ft-typography-body1-font-family","",zt),po=ut.extend("--ft-typography-body1-font-size","",Dt.fontSize,"16px"),fo=ut.extend("--ft-typography-body1-font-weight","",Dt.fontWeight,"normal"),ho=ut.extend("--ft-typography-body1-letter-spacing","",Dt.letterSpacing,"0.496px"),yo=ut.extend("--ft-typography-body1-line-height","",Dt.lineHeight,"1.5"),go=ut.extend("--ft-typography-body1-text-transform","",Dt.textTransform,"inherit"),uo=ut.extend("--ft-typography-body2-font-family","",zt),bo=ut.extend("--ft-typography-body2-font-size","",Dt.fontSize,"14px"),mo=ut.extend("--ft-typography-body2-font-weight","",Dt.fontWeight,"normal"),Oo=ut.extend("--ft-typography-body2-letter-spacing","",Dt.letterSpacing,"0.252px"),No=ut.extend("--ft-typography-body2-line-height","",Dt.lineHeight,"1.4"),vo=ut.extend("--ft-typography-body2-text-transform","",Dt.textTransform,"inherit"),xo=ut.extend("--ft-typography-caption-font-family","",zt),So=ut.extend("--ft-typography-caption-font-size","",Dt.fontSize,"12px"),Co=ut.extend("--ft-typography-caption-font-weight","",Dt.fontWeight,"normal"),wo=ut.extend("--ft-typography-caption-letter-spacing","",Dt.letterSpacing,"0.396px"),Ro=ut.extend("--ft-typography-caption-line-height","",Dt.lineHeight,"1.33"),Uo=ut.extend("--ft-typography-caption-text-transform","",Dt.textTransform,"inherit"),Eo=ut.extend("--ft-typography-breadcrumb-font-family","",zt),Io=ut.extend("--ft-typography-breadcrumb-font-size","",Dt.fontSize,"10px"),Wo=ut.extend("--ft-typography-breadcrumb-font-weight","",Dt.fontWeight,"normal"),Lo=ut.extend("--ft-typography-breadcrumb-letter-spacing","",Dt.letterSpacing,"0.33px"),ko=ut.extend("--ft-typography-breadcrumb-line-height","",Dt.lineHeight,"1.6"),Ko=ut.extend("--ft-typography-breadcrumb-text-transform","",Dt.textTransform,"inherit"),$o=ut.extend("--ft-typography-overline-font-family","",zt),Zo=ut.extend("--ft-typography-overline-font-size","",Dt.fontSize,"10px"),Fo=ut.extend("--ft-typography-overline-font-weight","",Dt.fontWeight,"normal"),zo=ut.extend("--ft-typography-overline-letter-spacing","",Dt.letterSpacing,"1.5px"),Do=ut.extend("--ft-typography-overline-line-height","",Dt.lineHeight,"1.6"),Bo=ut.extend("--ft-typography-overline-text-transform","",Dt.textTransform,"uppercase"),Mo=ut.extend("--ft-typography-button-font-family","",zt),Ao=ut.extend("--ft-typography-button-font-size","",Dt.fontSize,"14px"),Ho=ut.extend("--ft-typography-button-font-weight","",Dt.fontWeight,"600"),Po=ut.extend("--ft-typography-button-letter-spacing","",Dt.letterSpacing,"1.246px"),jo=ut.extend("--ft-typography-button-line-height","",Dt.lineHeight,"1.15"),Go=ut.extend("--ft-typography-button-text-transform","",Dt.textTransform,"uppercase"),To=u`
|
|
105
105
|
.ft-typography--title {
|
|
106
|
-
font-family: ${
|
|
107
|
-
font-size: ${
|
|
108
|
-
font-weight: ${
|
|
109
|
-
letter-spacing: ${
|
|
110
|
-
line-height: ${
|
|
111
|
-
text-transform: ${
|
|
106
|
+
font-family: ${Bt};
|
|
107
|
+
font-size: ${Mt};
|
|
108
|
+
font-weight: ${At};
|
|
109
|
+
letter-spacing: ${Ht};
|
|
110
|
+
line-height: ${Pt};
|
|
111
|
+
text-transform: ${jt};
|
|
112
112
|
}
|
|
113
|
-
`,
|
|
113
|
+
`,_o=u`
|
|
114
114
|
.ft-typography--title-dense {
|
|
115
|
-
font-family: ${
|
|
116
|
-
font-size: ${
|
|
117
|
-
font-weight: ${
|
|
118
|
-
letter-spacing: ${
|
|
119
|
-
line-height: ${
|
|
120
|
-
text-transform: ${
|
|
115
|
+
font-family: ${Gt};
|
|
116
|
+
font-size: ${Tt};
|
|
117
|
+
font-weight: ${_t};
|
|
118
|
+
letter-spacing: ${Yt};
|
|
119
|
+
line-height: ${Vt};
|
|
120
|
+
text-transform: ${Jt};
|
|
121
121
|
}
|
|
122
|
-
`,
|
|
122
|
+
`,Yo=u`
|
|
123
123
|
.ft-typography--subtitle1 {
|
|
124
|
-
font-family: ${
|
|
125
|
-
font-size: ${
|
|
126
|
-
font-weight: ${
|
|
127
|
-
letter-spacing: ${
|
|
128
|
-
line-height: ${
|
|
129
|
-
text-transform: ${
|
|
124
|
+
font-family: ${Xt};
|
|
125
|
+
font-size: ${qt};
|
|
126
|
+
font-weight: ${Qt};
|
|
127
|
+
letter-spacing: ${to};
|
|
128
|
+
line-height: ${oo};
|
|
129
|
+
text-transform: ${eo};
|
|
130
130
|
}
|
|
131
|
-
`,
|
|
131
|
+
`,Vo=u`
|
|
132
132
|
.ft-typography--subtitle2 {
|
|
133
|
-
font-family: ${
|
|
134
|
-
font-size: ${
|
|
135
|
-
font-weight: ${
|
|
136
|
-
letter-spacing: ${
|
|
137
|
-
line-height: ${
|
|
138
|
-
text-transform: ${
|
|
133
|
+
font-family: ${ro};
|
|
134
|
+
font-size: ${ao};
|
|
135
|
+
font-weight: ${io};
|
|
136
|
+
letter-spacing: ${no};
|
|
137
|
+
line-height: ${lo};
|
|
138
|
+
text-transform: ${co};
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
`,
|
|
141
|
+
`,Jo=u`
|
|
142
142
|
.ft-typography--body1 {
|
|
143
|
-
font-family: ${
|
|
144
|
-
font-size: ${
|
|
145
|
-
font-weight: ${
|
|
146
|
-
letter-spacing: ${
|
|
147
|
-
line-height: ${
|
|
148
|
-
text-transform: ${
|
|
143
|
+
font-family: ${so};
|
|
144
|
+
font-size: ${po};
|
|
145
|
+
font-weight: ${fo};
|
|
146
|
+
letter-spacing: ${ho};
|
|
147
|
+
line-height: ${yo};
|
|
148
|
+
text-transform: ${go};
|
|
149
149
|
}
|
|
150
|
-
`,
|
|
150
|
+
`,Xo=u`
|
|
151
151
|
.ft-typography--body2 {
|
|
152
|
-
font-family: ${
|
|
153
|
-
font-size: ${
|
|
154
|
-
font-weight: ${
|
|
155
|
-
letter-spacing: ${
|
|
156
|
-
line-height: ${
|
|
157
|
-
text-transform: ${
|
|
152
|
+
font-family: ${uo};
|
|
153
|
+
font-size: ${bo};
|
|
154
|
+
font-weight: ${mo};
|
|
155
|
+
letter-spacing: ${Oo};
|
|
156
|
+
line-height: ${No};
|
|
157
|
+
text-transform: ${vo};
|
|
158
158
|
}
|
|
159
|
-
`,
|
|
159
|
+
`,qo=u`
|
|
160
160
|
.ft-typography--caption {
|
|
161
|
-
font-family: ${
|
|
162
|
-
font-size: ${
|
|
163
|
-
font-weight: ${
|
|
164
|
-
letter-spacing: ${
|
|
165
|
-
line-height: ${
|
|
166
|
-
text-transform: ${
|
|
161
|
+
font-family: ${xo};
|
|
162
|
+
font-size: ${So};
|
|
163
|
+
font-weight: ${Co};
|
|
164
|
+
letter-spacing: ${wo};
|
|
165
|
+
line-height: ${Ro};
|
|
166
|
+
text-transform: ${Uo};
|
|
167
167
|
}
|
|
168
|
-
`,
|
|
168
|
+
`,Qo=u`
|
|
169
169
|
.ft-typography--breadcrumb {
|
|
170
|
-
font-family: ${
|
|
171
|
-
font-size: ${
|
|
172
|
-
font-weight: ${
|
|
173
|
-
letter-spacing: ${
|
|
174
|
-
line-height: ${
|
|
175
|
-
text-transform: ${
|
|
170
|
+
font-family: ${Eo};
|
|
171
|
+
font-size: ${Io};
|
|
172
|
+
font-weight: ${Wo};
|
|
173
|
+
letter-spacing: ${Lo};
|
|
174
|
+
line-height: ${ko};
|
|
175
|
+
text-transform: ${Ko};
|
|
176
176
|
}
|
|
177
|
-
`,
|
|
177
|
+
`,te=u`
|
|
178
178
|
.ft-typography--overline {
|
|
179
|
-
font-family: ${
|
|
180
|
-
font-size: ${
|
|
181
|
-
font-weight: ${
|
|
182
|
-
letter-spacing: ${
|
|
183
|
-
line-height: ${
|
|
184
|
-
text-transform: ${
|
|
179
|
+
font-family: ${$o};
|
|
180
|
+
font-size: ${Zo};
|
|
181
|
+
font-weight: ${Fo};
|
|
182
|
+
letter-spacing: ${zo};
|
|
183
|
+
line-height: ${Do};
|
|
184
|
+
text-transform: ${Bo};
|
|
185
185
|
}
|
|
186
|
-
`,
|
|
186
|
+
`,oe=u`
|
|
187
187
|
.ft-typography--button {
|
|
188
|
-
font-family: ${
|
|
189
|
-
font-size: ${
|
|
190
|
-
font-weight: ${
|
|
191
|
-
letter-spacing: ${
|
|
192
|
-
line-height: ${
|
|
193
|
-
text-transform: ${
|
|
188
|
+
font-family: ${Mo};
|
|
189
|
+
font-size: ${Ao};
|
|
190
|
+
font-weight: ${Ho};
|
|
191
|
+
letter-spacing: ${Po};
|
|
192
|
+
line-height: ${jo};
|
|
193
|
+
text-transform: ${Go};
|
|
194
194
|
}
|
|
195
|
-
`,
|
|
195
|
+
`,ee=u`
|
|
196
196
|
.ft-typography {
|
|
197
197
|
vertical-align: inherit;
|
|
198
198
|
}
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
199
|
+
`,re=[Object.keys(mt).map((t=>function(t){const o=mt[t];return u`
|
|
200
|
+
font-family: ${o.fontFamily};
|
|
201
|
+
font-size: ${o.fontSize};
|
|
202
|
+
font-weight: ${o.fontWeight};
|
|
203
|
+
letter-spacing: ${o.letterSpacing};
|
|
204
|
+
line-height: ${o.lineHeight};
|
|
205
|
+
text-transform: ${o.textCase};
|
|
206
|
+
`}(t)))];var ae=function(t,o,e,r){for(var a,i=arguments.length,n=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(n=(i<3?a(n):i>3?a(o,e,n):a(o,e))||n);return i>3&&n&&Object.defineProperty(o,e,n),n};class ie extends Ut{constructor(){super(...arguments),this.variant=Zt.body1}render(){return this.element?$t`
|
|
207
|
+
<${kt(this.element)}
|
|
208
|
+
class="ft-typography ft-typography--${this.variant}">
|
|
202
209
|
<slot></slot>
|
|
203
|
-
</${
|
|
204
|
-
|
|
210
|
+
</${kt(this.element)}>
|
|
211
|
+
`:$t`
|
|
205
212
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
206
|
-
`}}
|
|
213
|
+
`}}ie.styles=[To,_o,Yo,Vo,Jo,Xo,qo,Qo,te,oe,ee,...re],ae([r()],ie.prototype,"element",void 0),ae([r()],ie.prototype,"variant",void 0),s("ft-typography")(ie);const ne={distance:ut.create("--ft-tooltip-distance","","SIZE","4px"),color:ut.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:ut.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:ut.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:ut.external(Nt.borderRadiusS,"Design system"),maxWidth:ut.create("--ft-tooltip-max-width","","SIZE","150px")},le=u`
|
|
207
214
|
.ft-tooltip--container {
|
|
208
215
|
display: block;
|
|
209
216
|
}
|
|
@@ -218,21 +225,21 @@ const Ct=Symbol.for(""),Et=t=>{if((null==t?void 0:t.r)===Ct)return null==t?void
|
|
|
218
225
|
box-sizing: border-box;
|
|
219
226
|
overflow: hidden;
|
|
220
227
|
width: max-content;
|
|
221
|
-
max-width: ${
|
|
228
|
+
max-width: ${ne.maxWidth};
|
|
222
229
|
text-align: center;
|
|
223
|
-
padding: ${
|
|
224
|
-
z-index: ${
|
|
230
|
+
padding: ${ne.distance};
|
|
231
|
+
z-index: ${ne.zIndex};
|
|
225
232
|
}
|
|
226
233
|
|
|
227
234
|
.ft-tooltip--content {
|
|
228
235
|
padding: 4px 8px;
|
|
229
|
-
border-radius: ${
|
|
230
|
-
background-color: ${
|
|
231
|
-
color: ${
|
|
236
|
+
border-radius: ${ne.borderRadiusS};
|
|
237
|
+
background-color: ${ne.backgroundColor};
|
|
238
|
+
color: ${ne.color};
|
|
232
239
|
position: relative;
|
|
233
240
|
word-break: break-word;
|
|
234
241
|
}
|
|
235
|
-
`;var
|
|
242
|
+
`;var ce=function(t,o,e,r){for(var a,i=arguments.length,n=i<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(a=t[l])&&(n=(i<3?a(n):i>3?a(o,e,n):a(o,e))||n);return i>3&&n&&Object.defineProperty(o,e,n),n};class se extends Ut{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new o,this.revealDebouncer=new o}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Y`
|
|
236
243
|
<div part="container"
|
|
237
244
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
238
245
|
@mouseenter=${this.onHover}
|
|
@@ -250,10 +257,10 @@ const Ct=Symbol.for(""),Et=t=>{if((null==t?void 0:t.r)===Ct)return null==t?void
|
|
|
250
257
|
</div>
|
|
251
258
|
</div>
|
|
252
259
|
</div>
|
|
253
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((
|
|
260
|
+
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const o=this.tooltip.offsetWidth,e=this.tooltip.offsetHeight,r=(t.offsetHeight-e)/2,a=(t.offsetWidth-o)/2;let i=0,n=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":n=t.offsetTop-e-this.tooltip.offsetTop,i=t.offsetLeft+a-this.tooltip.offsetLeft;break;case"bottom":n=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,i=t.offsetLeft+a-this.tooltip.offsetLeft;break;case"left":n=t.offsetTop+r-this.tooltip.offsetTop,i=t.offsetLeft-o-this.tooltip.offsetLeft;break;case"right":n=t.offsetTop+r-this.tooltip.offsetTop,i=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const l=this.tooltip.style;l.left=i+"px",l.top=n+"px";const c=this.tooltip.getBoundingClientRect();let s=-c.x,p=c.x+c.width-window.innerWidth;l.left=i+Math.round(this.correctOutOfWindowPixels(s,p))+"px";let f=-c.y,h=c.y+c.height-window.innerHeight;l.top=n+Math.round(this.correctOutOfWindowPixels(f,h))+"px",l.maxWidth=`max(${t.offsetWidth}px, ${ne.maxWidth})`}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}se.elementDefinitions={"ft-typography":ie},se.styles=le,ce([r()],se.prototype,"text",void 0),ce([r({type:Boolean})],se.prototype,"manual",void 0),ce([r({type:Boolean})],se.prototype,"inline",void 0),ce([r({type:Number})],se.prototype,"delay",void 0),ce([r()],se.prototype,"position",void 0),ce([
|
|
254
261
|
/**
|
|
255
262
|
* @license
|
|
256
263
|
* Copyright 2017 Google LLC
|
|
257
264
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
258
265
|
*/
|
|
259
|
-
function(t,
|
|
266
|
+
function(t,o,e){let r,i=t;return"object"==typeof t?(i=t.slot,r=t):r={flatten:o},e?function(t){const{slot:o,selector:e}=null!=t?t:{};return a({descriptor:r=>({get(){var r;const a="slot"+(o?`[name=${o}]`:":not([name])"),i=null===(r=this.renderRoot)||void 0===r?void 0:r.querySelector(a),n=null!=i?l(i,t):[];return e?n.filter((t=>t.matches(e))):n},enumerable:!0,configurable:!0})})}({slot:i,flatten:o,selector:e}):a({descriptor:t=>({get(){var t,o;const e="slot"+(i?`[name=${i}]`:":not([name])"),a=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(e);return null!==(o=null==a?void 0:a.assignedNodes(r))&&void 0!==o?o:[]},enumerable:!0,configurable:!0})})}("",!0)],se.prototype,"slotNodes",void 0),ce([i(".ft-tooltip--container")],se.prototype,"container",void 0),ce([i(".ft-tooltip")],se.prototype,"tooltip",void 0),ce([i(".ft-tooltip--content")],se.prototype,"tooltipContent",void 0),ce([function(t){return r({...t,state:!0})}()],se.prototype,"visible",void 0),s("ft-tooltip")(se),t.FtTooltip=se,t.FtTooltipCssVariables=ne,t.styles=le}({});
|