@fluid-topics/ft-tabs 1.0.59 → 1.0.61
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ft-tabs.light.js +141 -132
- package/build/ft-tabs.min.js +164 -155
- package/package.json +7 -7
package/build/ft-tabs.min.js
CHANGED
|
@@ -14,55 +14,55 @@
|
|
|
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,i=new WeakMap,a=new WeakMap,n=new WeakMap,l=new WeakMap;let s;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,i){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(i))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const l=i.prototype.attributeChangedCallback,s=new Set(i.observedAttributes||[]);h(i,s,l);const c={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:l,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:s};this._definitionsByTag.set(t,c),this._definitionsByClass.set(i,c);let p=e.call(r,t);p||(p=f(t),o.call(r,t,p)),this===window.customElements&&(n.set(i,c),c.standInClass=p);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)a.delete(t),y(t,c,!0)}const g=this._whenDefinedPromises.get(t);return void 0!==g&&(g.resolve(i),this._whenDefinedPromises.delete(t)),i}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=s;if(o)return s=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),i.set(o,e),o},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,p=t=>{let o=t.getRootNode();if(!c(o)){const t=u[u.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),c(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,i=r._getDefinition(o);return i?y(e,i):a.set(e,r),e}connectedCallback(){const t=i.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=i.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=i.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=i.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=i.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=i.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=i.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},h=(t,o,e)=>{if(0===o.size||void 0===e)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,i){const a=t.toLowerCase();if(o.has(a)){const t=this.getAttribute(a);r.call(this,a,i),e.call(this,a,t,i)}else r.call(this,a,i)});const i=t.prototype.removeAttribute;i&&(t.prototype.removeAttribute=function(t){const r=t.toLowerCase();if(o.has(r)){const t=this.getAttribute(r);i.call(this,r),e.call(this,r,t,null)}else i.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),i.set(t,o),s=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!==i.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 a{constructor(t){const o=new Map;t.forEach(((t,e)=>{const r=t.getAttribute("name"),i=o.get(r)||[];this[+e]=t,i.push(t),o.set(r,i)})),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=i.get(e);t&&!0!==t.formAssociated||o.push(e)}return new a(o)}})}}try{window.customElements.define("custom-element",null)}catch(He){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,i=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)}i(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
|
|
18
18
|
/**
|
|
19
19
|
* @license
|
|
20
20
|
* Copyright 2017 Google LLC
|
|
21
21
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
22
|
-
*/const
|
|
22
|
+
*/const 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
|
|
26
26
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
27
|
-
*/}function
|
|
27
|
+
*/}function i(t){return r({...t,state:!0})}
|
|
28
28
|
/**
|
|
29
29
|
* @license
|
|
30
30
|
* Copyright 2017 Google LLC
|
|
31
31
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
32
|
-
*/const
|
|
32
|
+
*/const a=({finisher:t,descriptor:o})=>(e,r)=>{var i;if(void 0===r){const r=null!==(i=e.originalKey)&&void 0!==i?i:e.key,a=null!=o?{kind:"method",placement:"prototype",key:r,descriptor:o(e.key)}:{...e,key:r};return null!=t&&(a.finisher=function(o){t(o,r)}),a}{const i=e.constructor;void 0!==o&&Object.defineProperty(e,r,o(r)),null==t||t(i,r)}}
|
|
33
33
|
/**
|
|
34
34
|
* @license
|
|
35
35
|
* Copyright 2017 Google LLC
|
|
36
36
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
37
|
-
*/;function n(t,
|
|
37
|
+
*/;function n(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}})}
|
|
38
38
|
/**
|
|
39
39
|
* @license
|
|
40
40
|
* Copyright 2021 Google LLC
|
|
41
41
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
42
|
-
*/var
|
|
42
|
+
*/var l;const s=null!=(null===(l=window.HTMLSlotElement)||void 0===l?void 0:l.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,i;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=(i=Object.keys(t)).length)!==Object.keys(o).length)return!1;for(r=e;0!=r--;)if(!Object.prototype.hasOwnProperty.call(o,i[r]))return!1;for(r=e;0!=r--;){var a=i[r];if(!c(t[a],o[a]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}const p=t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)};
|
|
43
43
|
/**
|
|
44
44
|
* @license
|
|
45
45
|
* Copyright 2019 Google LLC
|
|
46
46
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
47
47
|
*/
|
|
48
|
-
const
|
|
48
|
+
const f=window,h=f.ShadowRoot&&(void 0===f.ShadyCSS||f.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,d=Symbol(),y=new WeakMap;let g=class{constructor(t,o,e){if(this._$cssResult$=!0,e!==d)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(h&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=y.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&y.set(o,t))}return t}toString(){return this.cssText}};const u=t=>new g("string"==typeof t?t:t+"",void 0,d),b=(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 g(e,t,d)},m=(t,o)=>{h?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),r=f.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}))},x=h?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return u(o)})(t):t
|
|
49
49
|
/**
|
|
50
50
|
* @license
|
|
51
51
|
* Copyright 2017 Google LLC
|
|
52
52
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
53
|
-
*/;var
|
|
53
|
+
*/;var O;const v=window,N=v.trustedTypes,S=N?N.emptyScript:"",w=v.reactiveElementPolyfillSupport,C={toAttribute(t,o){switch(o){case Boolean:t=t?S: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}},R=(t,o)=>o!==t&&(o==o||t==t),U={attribute:!0,type:String,converter:C,reflect:!1,hasChanged:R};let E=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=U){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 i=this[t];this[o]=r,this.requestUpdate(t,i,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||U}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(x(t))}else void 0!==t&&o.push(x(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 m(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=U){var r;const i=this.constructor._$Ep(t,e);if(void 0!==i&&!0===e.reflect){const a=(void 0!==(null===(r=e.converter)||void 0===r?void 0:r.toAttribute)?e.converter:C).toAttribute(o,e.type);this._$El=t,null==a?this.removeAttribute(i):this.setAttribute(i,a),this._$El=null}}_$AK(t,o){var e;const r=this.constructor,i=r._$Ev.get(t);if(void 0!==i&&this._$El!==i){const t=r.getPropertyOptions(i),a="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=i,this[i]=a.fromAttribute(o,t.type),this._$El=null}}requestUpdate(t,o,e){let r=!0;void 0!==t&&(((e=e||this.constructor.getPropertyOptions(t)).hasChanged||R)(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){}};
|
|
54
54
|
/**
|
|
55
55
|
* @license
|
|
56
56
|
* Copyright 2017 Google LLC
|
|
57
57
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
58
58
|
*/
|
|
59
|
-
var
|
|
59
|
+
var I;E.finalized=!0,E.elementProperties=new Map,E.elementStyles=[],E.shadowRootOptions={mode:"open"},null==w||w({ReactiveElement:E}),(null!==(O=v.reactiveElementVersions)&&void 0!==O?O:v.reactiveElementVersions=[]).push("1.6.1");const $=window,k=$.trustedTypes,W=k?k.createPolicy("lit-html",{createHTML:t=>t}):void 0,L="$lit$",K=`lit$${(Math.random()+"").slice(9)}$`,Z="?"+K,z=`<${Z}>`,F=document,D=()=>F.createComment(""),M=t=>null===t||"object"!=typeof t&&"function"!=typeof t,B=Array.isArray,A=t=>B(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]),j="[ \t\n\f\r]",H=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,P=/-->/g,T=/>/g,G=RegExp(`>|${j}(?:([^\\s"'>=/]+)(${j}*=${j}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),_=/'/g,Y=/"/g,V=/^(?:script|style|textarea|title)$/i,J=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),q=Symbol.for("lit-noChange"),X=Symbol.for("lit-nothing"),Q=new WeakMap,tt=F.createTreeWalker(F,129,null,!1),ot=(t,o)=>{const e=t.length-1,r=[];let i,a=2===o?"<svg>":"",n=H;for(let o=0;o<e;o++){const e=t[o];let l,s,c=-1,p=0;for(;p<e.length&&(n.lastIndex=p,s=n.exec(e),null!==s);)p=n.lastIndex,n===H?"!--"===s[1]?n=P:void 0!==s[1]?n=T:void 0!==s[2]?(V.test(s[2])&&(i=RegExp("</"+s[2],"g")),n=G):void 0!==s[3]&&(n=G):n===G?">"===s[0]?(n=null!=i?i:H,c=-1):void 0===s[1]?c=-2:(c=n.lastIndex-s[2].length,l=s[1],n=void 0===s[3]?G:'"'===s[3]?Y:_):n===Y||n===_?n=G:n===P||n===T?n=H:(n=G,i=void 0);const f=n===G&&t[o+1].startsWith("/>")?" ":"";a+=n===H?e+z:c>=0?(r.push(l),e.slice(0,c)+L+e.slice(c)+K+f):e+K+(-2===c?(r.push(void 0),o):f)}const l=a+(t[e]||"<?>")+(2===o?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==W?W.createHTML(l):l,r]};class et{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let i=0,a=0;const n=t.length-1,l=this.parts,[s,c]=ot(t,o);if(this.el=et.createElement(s,e),tt.currentNode=this.el.content,2===o){const t=this.el.content,o=t.firstChild;o.remove(),t.append(...o.childNodes)}for(;null!==(r=tt.nextNode())&&l.length<n;){if(1===r.nodeType){if(r.hasAttributes()){const t=[];for(const o of r.getAttributeNames())if(o.endsWith(L)||o.startsWith(K)){const e=c[a++];if(t.push(o),void 0!==e){const t=r.getAttribute(e.toLowerCase()+L).split(K),o=/([.?@])?(.*)/.exec(e);l.push({type:1,index:i,name:o[2],strings:t,ctor:"."===o[1]?lt:"?"===o[1]?ct:"@"===o[1]?pt:nt})}else l.push({type:6,index:i})}for(const o of t)r.removeAttribute(o)}if(V.test(r.tagName)){const t=r.textContent.split(K),o=t.length-1;if(o>0){r.textContent=k?k.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],D()),tt.nextNode(),l.push({type:2,index:++i});r.append(t[o],D())}}}else if(8===r.nodeType)if(r.data===Z)l.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(K,t+1));)l.push({type:7,index:i}),t+=K.length-1}i++}}static createElement(t,o){const e=F.createElement("template");return e.innerHTML=t,e}}function rt(t,o,e=t,r){var i,a,n,l;if(o===q)return o;let s=void 0!==r?null===(i=e._$Co)||void 0===i?void 0:i[r]:e._$Cl;const c=M(o)?void 0:o._$litDirective$;return(null==s?void 0:s.constructor)!==c&&(null===(a=null==s?void 0:s._$AO)||void 0===a||a.call(s,!1),void 0===c?s=void 0:(s=new c(t),s._$AT(t,e,r)),void 0!==r?(null!==(n=(l=e)._$Co)&&void 0!==n?n:l._$Co=[])[r]=s:e._$Cl=s),void 0!==s&&(o=rt(t,s._$AS(t,o.values),s,r)),o}class it{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,i=(null!==(o=null==t?void 0:t.creationScope)&&void 0!==o?o:F).importNode(e,!0);tt.currentNode=i;let a=tt.nextNode(),n=0,l=0,s=r[0];for(;void 0!==s;){if(n===s.index){let o;2===s.type?o=new at(a,a.nextSibling,this,t):1===s.type?o=new s.ctor(a,s.name,s.strings,this,t):6===s.type&&(o=new ft(a,this,t)),this._$AV.push(o),s=r[++l]}n!==(null==s?void 0:s.index)&&(a=tt.nextNode(),n++)}return i}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 at{constructor(t,o,e,r){var i;this.type=2,this._$AH=X,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cp=null===(i=null==r?void 0:r.isConnected)||void 0===i||i}get _$AU(){var t,o;return null!==(o=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==o?o:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===(null==t?void 0:t.nodeType)&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=rt(this,t,o),M(t)?t===X||null==t||""===t?(this._$AH!==X&&this._$AR(),this._$AH=X):t!==this._$AH&&t!==q&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):A(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!==X&&M(this._$AH)?this._$AA.nextSibling.data=t:this.$(F.createTextNode(t)),this._$AH=t}g(t){var o;const{values:e,_$litType$:r}=t,i="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=et.createElement(r.h,this.options)),r);if((null===(o=this._$AH)||void 0===o?void 0:o._$AD)===i)this._$AH.v(e);else{const t=new it(i,this),o=t.u(this.options);t.v(e),this.$(o),this._$AH=t}}_$AC(t){let o=Q.get(t.strings);return void 0===o&&Q.set(t.strings,o=new et(t)),o}T(t){B(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,r=0;for(const i of t)r===o.length?o.push(e=new at(this.k(D()),this.k(D()),this,this.options)):e=o[r],e._$AI(i),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 nt{constructor(t,o,e,r,i){this.type=1,this._$AH=X,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=X}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,o=this,e,r){const i=this.strings;let a=!1;if(void 0===i)t=rt(this,t,o,0),a=!M(t)||t!==this._$AH&&t!==q,a&&(this._$AH=t);else{const r=t;let n,l;for(t=i[0],n=0;n<i.length-1;n++)l=rt(this,r[e+n],o,n),l===q&&(l=this._$AH[n]),a||(a=!M(l)||l!==this._$AH[n]),l===X?t=X:t!==X&&(t+=(null!=l?l:"")+i[n+1]),this._$AH[n]=l}a&&!r&&this.j(t)}j(t){t===X?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class lt extends nt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===X?void 0:t}}const st=k?k.emptyScript:"";class ct extends nt{constructor(){super(...arguments),this.type=4}j(t){t&&t!==X?this.element.setAttribute(this.name,st):this.element.removeAttribute(this.name)}}class pt extends nt{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){var e;if((t=null!==(e=rt(this,t,o,0))&&void 0!==e?e:X)===q)return;const r=this._$AH,i=t===X&&r!==X||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,a=t!==X&&(r===X||i);i&&this.element.removeEventListener(this.name,this,r),a&&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 ft{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){rt(this,t)}}const ht={O:L,P:K,A:Z,C:1,M:ot,L:it,D:A,R:rt,I:at,V:nt,H:ct,N:pt,U:lt,F:ft},dt=$.litHtmlPolyfillSupport;null==dt||dt(et,at),(null!==(I=$.litHtmlVersions)&&void 0!==I?I:$.litHtmlVersions=[]).push("2.7.3");
|
|
60
60
|
/**
|
|
61
61
|
* @license
|
|
62
62
|
* Copyright 2017 Google LLC
|
|
63
63
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
64
64
|
*/
|
|
65
|
-
var ut,vt;let xt=class extends E{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const i=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=i.firstChild),i}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,i)=>{var o,s;const r=null!==(o=null==i?void 0:i.renderBefore)&&void 0!==o?o:e;let n=r._$litPart$;if(void 0===n){const t=null!==(s=null==i?void 0:i.renderBefore)&&void 0!==s?s:null;r._$litPart$=n=new rt(e.insertBefore(T(),t),t,void 0,null!=i?i:{})}return n._$AI(t),n})(e,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 Y}};xt.finalized=!0,xt._$litElement$=!0,null===(ut=globalThis.litElementHydrateSupport)||void 0===ut||ut.call(globalThis,{LitElement:xt});const yt=globalThis.litElementPolyfillSupport;null==yt||yt({LitElement:xt}),(null!==(vt=globalThis.litElementVersions)&&void 0!==vt?vt:globalThis.litElementVersions=[]).push("3.3.2");class bt{static create(t,e,i){let o=t=>x(null!=t?t:i),s=y`var(${x(t)}, ${o(i)})`;return s.name=t,s.category=e,s.defaultValue=i,s.defaultCssValue=o,s.get=e=>y`var(${x(t)}, ${o(e)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(t,e,i){let o=t=>e.get(null!=t?t:i),s=y`var(${x(t)}, ${o(i)})`;return s.name=t,s.category=e.category,s.fallbackVariable=e,s.defaultValue=i,s.defaultCssValue=o,s.get=e=>y`var(${x(t)}, ${o(e)})`,s.breadcrumb=()=>[e.name,...e.breadcrumb()],s.lastResortDefaultValue=()=>i,s}static external(t,e){let i=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):x(null!=e?e:t.defaultValue),o=y`var(${x(t.name)}, ${i(t.defaultValue)})`;return o.name=t.name,o.category=t.category,o.fallbackVariable=t.fallbackVariable,o.defaultValue=t.defaultValue,o.context=e,o.defaultCssValue=i,o.get=e=>y`var(${x(t.name)}, ${i(e)})`,o.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],o.lastResortDefaultValue=()=>{var e,i;return null!==(e=t.defaultValue)&&void 0!==e?e:null===(i=t.fallbackVariable)||void 0===i?void 0:i.lastResortDefaultValue()},o}}const gt={colorPrimary:bt.create("--ft-color-primary","COLOR","#2196F3"),colorPrimaryVariant:bt.create("--ft-color-primary-variant","COLOR","#1976D2"),colorSecondary:bt.create("--ft-color-secondary","COLOR","#FFCC80"),colorSecondaryVariant:bt.create("--ft-color-secondary-variant","COLOR","#F57C00"),colorSurface:bt.create("--ft-color-surface","COLOR","#FFFFFF"),colorContent:bt.create("--ft-color-content","COLOR","rgba(0, 0, 0, 0.87)"),colorError:bt.create("--ft-color-error","COLOR","#B00020"),colorOutline:bt.create("--ft-color-outline","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:bt.create("--ft-color-opacity-high","NUMBER","1"),colorOpacityMedium:bt.create("--ft-color-opacity-medium","NUMBER","0.74"),colorOpacityDisabled:bt.create("--ft-color-opacity-disabled","NUMBER","0.38"),colorOnPrimary:bt.create("--ft-color-on-primary","COLOR","#FFFFFF"),colorOnPrimaryHigh:bt.create("--ft-color-on-primary-high","COLOR","#FFFFFF"),colorOnPrimaryMedium:bt.create("--ft-color-on-primary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:bt.create("--ft-color-on-primary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:bt.create("--ft-color-on-secondary","COLOR","#FFFFFF"),colorOnSecondaryHigh:bt.create("--ft-color-on-secondary-high","COLOR","#FFFFFF"),colorOnSecondaryMedium:bt.create("--ft-color-on-secondary-medium","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:bt.create("--ft-color-on-secondary-disabled","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:bt.create("--ft-color-on-surface","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:bt.create("--ft-color-on-surface-high","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:bt.create("--ft-color-on-surface-medium","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:bt.create("--ft-color-on-surface-disabled","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:bt.create("--ft-opacity-content-on-surface-disabled","NUMBER","0"),opacityContentOnSurfaceEnable:bt.create("--ft-opacity-content-on-surface-enable","NUMBER","0"),opacityContentOnSurfaceHover:bt.create("--ft-opacity-content-on-surface-hover","NUMBER","0.04"),opacityContentOnSurfaceFocused:bt.create("--ft-opacity-content-on-surface-focused","NUMBER","0.12"),opacityContentOnSurfacePressed:bt.create("--ft-opacity-content-on-surface-pressed","NUMBER","0.10"),opacityContentOnSurfaceSelected:bt.create("--ft-opacity-content-on-surface-selected","NUMBER","0.08"),opacityContentOnSurfaceDragged:bt.create("--ft-opacity-content-on-surface-dragged","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:bt.create("--ft-opacity-primary-on-surface-disabled","NUMBER","0"),opacityPrimaryOnSurfaceEnable:bt.create("--ft-opacity-primary-on-surface-enable","NUMBER","0"),opacityPrimaryOnSurfaceHover:bt.create("--ft-opacity-primary-on-surface-hover","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:bt.create("--ft-opacity-primary-on-surface-focused","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:bt.create("--ft-opacity-primary-on-surface-pressed","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:bt.create("--ft-opacity-primary-on-surface-selected","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:bt.create("--ft-opacity-primary-on-surface-dragged","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:bt.create("--ft-opacity-surface-on-primary-disabled","NUMBER","0"),opacitySurfaceOnPrimaryEnable:bt.create("--ft-opacity-surface-on-primary-enable","NUMBER","0"),opacitySurfaceOnPrimaryHover:bt.create("--ft-opacity-surface-on-primary-hover","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:bt.create("--ft-opacity-surface-on-primary-focused","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:bt.create("--ft-opacity-surface-on-primary-pressed","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:bt.create("--ft-opacity-surface-on-primary-selected","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:bt.create("--ft-opacity-surface-on-primary-dragged","NUMBER","0.08"),elevation00:bt.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:bt.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:bt.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:bt.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:bt.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:bt.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:bt.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:bt.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:bt.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:bt.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:bt.create("--ft-border-radius-S","SIZE","4px"),borderRadiusM:bt.create("--ft-border-radius-M","SIZE","8px"),borderRadiusL:bt.create("--ft-border-radius-L","SIZE","12px"),borderRadiusXL:bt.create("--ft-border-radius-XL","SIZE","16px"),titleFont:bt.create("--ft-title-font","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:bt.create("--ft-content-font","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:bt.create("--ft-transition-duration","UNKNOWN","250ms"),transitionTimingFunction:bt.create("--ft-transition-timing-function","UNKNOWN","ease-in-out")};class mt extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}}class wt extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}}class $t extends xt{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,i])=>t.registry.define(e,i))));const e={...t.shadowRootOptions,customElements:t.registry},i=this.renderOptions.creationScope=this.attachShadow(e);return b(i,t.elementStyles),i}}var Ot,St=function(t,e,i,o){for(var s,r=arguments.length,n=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o,a=t.length-1;a>=0;a--)(s=t[a])&&(n=(r<3?s(n):r>3?s(e,i,n):s(e,i))||n);return r>3&&n&&Object.defineProperty(e,i,n),n};const kt=Symbol("constructorPrototype"),Nt=Symbol("constructorName"),Ct=Symbol("exportpartsDebouncer");class Et extends $t{constructor(){super(),this[Ot]=new e(5),this[Nt]=this.constructor.name,this[kt]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Nt]&&Object.setPrototypeOf(this,this[kt])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,i;if((null!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==i?i:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[Ct].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,i,o,s,r,n;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!==(i=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==i?i:[]){const e=null!==(s=null===(o=t.getAttribute("part"))||void 0===o?void 0:o.split(" "))&&void 0!==s?s:[],i=null!==(n=null===(r=t.getAttribute("exportparts"))||void 0===r?void 0:r.split(",").map((t=>t.split(":")[1])))&&void 0!==n?n:[];new Array(...e,...i).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((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...c].join(", "))}}var Mt,Rt;Ot=Ct,St([o()],Et.prototype,"exportpartsPrefix",void 0),St([function(t,e){const i=()=>JSON.parse(JSON.stringify(t));return o({type:Object,converter:{fromAttribute:t=>{if(null==t)return i();try{return JSON.parse(t)}catch{return i()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,e)=>!h(t,e),...null!=e?e:{}})}([])],Et.prototype,"exportpartsPrefixes",void 0),St([o()],Et.prototype,"customStylesheet",void 0),y`
|
|
65
|
+
var yt,gt;let ut=class extends E{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,i;const a=null!==(r=null==e?void 0:e.renderBefore)&&void 0!==r?r:o;let n=a._$litPart$;if(void 0===n){const t=null!==(i=null==e?void 0:e.renderBefore)&&void 0!==i?i:null;a._$litPart$=n=new at(o.insertBefore(D(),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 q}};ut.finalized=!0,ut._$litElement$=!0,null===(yt=globalThis.litElementHydrateSupport)||void 0===yt||yt.call(globalThis,{LitElement:ut});const bt=globalThis.litElementPolyfillSupport;null==bt||bt({LitElement:ut}),(null!==(gt=globalThis.litElementVersions)&&void 0!==gt?gt:globalThis.litElementVersions=[]).push("3.3.2");const mt=t=>"string"==typeof t?u(t):t;class xt{static create(t,o,e,r){const i=t=>mt(null!=t?t:r),a=b`var(${mt(t)}, ${i(r)})`;return a.name=t,a.description=t,a.category=e,a.defaultValue=r,a.defaultCssValue=i,a.get=o=>b`var(${mt(t)}, ${i(o)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>r,a}static extend(t,o,e,r){const i=t=>e.get(null!=t?t:r),a=b`var(${mt(t)}, ${i(r)})`;return a.name=t,a.description=o,a.category=e.category,a.fallbackVariable=e,a.defaultValue=r,a.defaultCssValue=i,a.get=o=>b`var(${mt(t)}, ${i(o)})`,a.breadcrumb=()=>[e.name,...e.breadcrumb()],a.lastResortDefaultValue=()=>null!=r?r:e.lastResortDefaultValue(),a}static external(t,o){const e=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):mt(null!=o?o:t.lastResortDefaultValue()),r=b`var(${mt(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=>b`var(${mt(t.name)}, ${e(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const Ot={colorWhite:xt.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:xt.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:xt.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:xt.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:xt.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:xt.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:xt.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:xt.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:xt.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:xt.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:xt.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:xt.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:xt.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:xt.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:xt.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:xt.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:xt.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:xt.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:xt.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:xt.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:xt.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:xt.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:xt.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:xt.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:xt.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:xt.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:xt.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:xt.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:xt.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:xt.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:xt.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:xt.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:xt.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:xt.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:xt.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:xt.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:xt.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:xt.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:xt.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:xt.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:xt.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:xt.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:xt.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:xt.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:xt.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:xt.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:xt.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:xt.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:xt.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:xt.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:xt.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:xt.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:xt.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:xt.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:xt.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:xt.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:xt.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:xt.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:xt.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:xt.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:xt.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:xt.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:xt.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:xt.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:xt.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:xt.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:xt.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:xt.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:xt.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:xt.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:xt.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:xt.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:xt.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:xt.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:xt.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:xt.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:xt.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:xt.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:xt.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:xt.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:xt.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:xt.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:xt.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:xt.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:xt.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:xt.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:xt.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:xt.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:xt.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:xt.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:xt.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:xt.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:xt.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:xt.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:xt.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:xt.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:xt.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:xt.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:xt.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:xt.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:xt.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:xt.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:xt.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:xt.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:xt.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:xt.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:xt.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:xt.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:xt.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:xt.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:xt.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:xt.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:xt.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:xt.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:xt.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:xt.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:xt.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:xt.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:xt.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:xt.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:xt.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:xt.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:xt.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:xt.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:xt.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:xt.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:xt.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:xt.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:xt.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:xt.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:xt.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:xt.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:xt.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:xt.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:xt.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:xt.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:xt.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:xt.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:xt.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:xt.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:xt.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:xt.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:xt.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:xt.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:xt.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:xt.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:xt.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:xt.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:xt.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:xt.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:xt.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:xt.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:xt.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:xt.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:xt.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:xt.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:xt.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:xt.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:xt.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:xt.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:xt.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:xt.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:xt.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:xt.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:xt.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:xt.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:xt.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:xt.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:xt.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:xt.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:xt.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:xt.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:xt.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:xt.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:xt.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:xt.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:xt.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:xt.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:xt.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:xt.create("--ft-icon-size-6","","SIZE","48px"),opacity0:xt.create("--ft-opacity-0","","NUMBER","0"),opacity8:xt.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:xt.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:xt.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:xt.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:xt.create("--ft-opacity-80","","NUMBER","0.8")},vt={display:{fontFamily:xt.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:xt.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:xt.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:xt.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:xt.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:xt.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xt.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:xt.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:xt.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:xt.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:xt.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:xt.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:xt.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:xt.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:xt.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xt.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:xt.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:xt.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:xt.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:xt.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:xt.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:xt.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:xt.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:xt.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xt.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:xt.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:xt.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:xt.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:xt.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:xt.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:xt.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:xt.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:xt.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xt.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:xt.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:xt.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:xt.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:xt.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:xt.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:xt.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:xt.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:xt.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xt.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:xt.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:xt.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:xt.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xt.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:xt.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:xt.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:xt.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:xt.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xt.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xt.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:xt.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:xt.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xt.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xt.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:xt.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:xt.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:xt.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xt.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xt.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:xt.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:xt.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:xt.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:xt.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:xt.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:xt.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:xt.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xt.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:xt.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:xt.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:xt.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xt.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:xt.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:xt.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:xt.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:xt.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xt.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xt.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:xt.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:xt.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xt.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xt.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:xt.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:xt.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:xt.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xt.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xt.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:xt.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:xt.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xt.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:xt.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:xt.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:xt.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:xt.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xt.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xt.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xt.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:xt.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xt.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xt.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:xt.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:xt.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:xt.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xt.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xt.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xt.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:xt.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xt.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:xt.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:xt.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:xt.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:xt.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xt.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xt.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xt.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:xt.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xt.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:xt.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:xt.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:xt.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:xt.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xt.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xt.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xt.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:xt.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xt.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xt.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:xt.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:xt.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:xt.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xt.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xt.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xt.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:xt.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xt.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:xt.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:xt.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:xt.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:xt.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:xt.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xt.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xt.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:xt.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xt.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:xt.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:xt.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:xt.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:xt.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:xt.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xt.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xt.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:xt.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xt.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xt.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:xt.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:xt.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:xt.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:xt.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xt.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xt.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:xt.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xt.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:xt.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:xt.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:xt.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:xt.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:xt.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xt.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xt.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:xt.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:xt.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:xt.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:xt.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:xt.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:xt.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:xt.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xt.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:xt.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:xt.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:xt.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:xt.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:xt.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:xt.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:xt.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:xt.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xt.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:xt.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:xt.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:xt.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:xt.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:xt.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:xt.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:xt.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:xt.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:xt.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:xt.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Nt={backgroundActionPrimary:xt.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Ot.colorBrand0),backgroundErrorPrimary:xt.extend("--ft-background-error-primary","Used as background of error components.",Ot.colorRed0),backgroundErrorSubtle:xt.extend("--ft-background-error-subtle","Used as background of subtle error components.",Ot.colorRed10),backgroundInfoPrimary:xt.extend("--ft-background-info-primary","Used as background of information components.",Ot.colorCyan200),backgroundInfoSubtle:xt.extend("--ft-background-info-subtle","Used as background of subtle information components.",Ot.colorCyan10),backgroundWarningPrimary:xt.extend("--ft-background-warning-primary","Used as background of warning components.",Ot.colorOrange300),backgroundWarningSubtle:xt.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Ot.colorOrange10),backgroundSuccessPrimary:xt.extend("--ft-background-success-primary","Used as background of success components.",Ot.colorGreen200),backgroundSuccessSubtle:xt.extend("--ft-background-success-subtle","Used as background of subtle success components.",Ot.colorGreen10),backgroundGlobalSurface:xt.extend("--ft-background-global-surface","Used as app background.",Ot.colorWhite),backgroundGlobalOnSurface:xt.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Ot.colorGray10),backgroundGlobalOnSurfaceDark:xt.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Ot.colorGray30),contentActionPrimary:xt.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Ot.colorBrand0),contentWarningPrimary:xt.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Ot.colorOrange300),contentWarningIconOnly:xt.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Ot.colorOrange0),contentErrorPrimary:xt.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Ot.colorRed0),contentErrorIconOnly:xt.extend("--ft-content-error-icon-only","Used on error status icons alone",Ot.colorRed0),contentInfoPrimary:xt.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Ot.colorCyan200),contentInfoIconOnly:xt.extend("--ft-content-info-icon-only","Used on info status icons alone",Ot.colorCyan0),contentSuccessIconOnly:xt.extend("--ft-content-success-icon-only","Used on success status icons alone",Ot.colorGreen0),contentSuccessPrimary:xt.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Ot.colorGreen200),contentGlobalPrimary:xt.extend("--ft-content-global-primary","Used for main content on the page.",Ot.colorGray500),contentGlobalSecondary:xt.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Ot.colorGray200),contentGlobalSubtle:xt.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Ot.colorGray0),contentGlobalOnColor:xt.extend("--ft-content-global-on-color","Used for content on a dominant color.",Ot.colorWhite),borderActionPrimary:xt.extend("--ft-border-action-primary","Used as border for primary action components.",Ot.colorBrand0),borderActionFocusRing:xt.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Ot.colorCyan0),borderWarningPrimary:xt.extend("--ft-border-warning-primary","Used as border for warning components.",Ot.colorOrange30),borderSuccessPrimary:xt.extend("--ft-border-success-primary","Used as border for success components.",Ot.colorGreen30),borderErrorPrimary:xt.extend("--ft-border-error-primary","Used as border for error components.",Ot.colorRed30),borderInfoPrimary:xt.extend("--ft-border-info-primary","Used as border for information components.",Ot.colorCyan30),borderGlobalSubtle:xt.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Ot.colorGray30),borderGlobalPrimary:xt.extend("--ft-border-global-primary","Used as border for element like input.",Ot.colorGray50),borderInputPrimary:xt.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Ot.colorGray80)};xt.create("--ft-button-large-height","","SIZE","40px"),xt.extend("--ft-button-large-horizontal-padding","",Ot.spacing4),xt.extend("--ft-button-large-gap","",Ot.spacing2),xt.extend("--ft-button-large-border-radius","",Ot.borderRadiusS),xt.extend("--ft-button-large-icon-size","",Ot.iconSize3),xt.create("--ft-button-large-border-width","","SIZE","1px"),xt.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),xt.create("--ft-button-large-focus-outline-width","","SIZE","2px"),xt.create("--ft-button-large-icon-only-width","","SIZE","40px"),xt.create("--ft-button-small-height","","SIZE","30px"),xt.extend("--ft-button-small-horizontal-padding","",Ot.spacing3),xt.extend("--ft-button-small-gap","",Ot.spacing2),xt.extend("--ft-button-small-border-radius","",Ot.borderRadiusS),xt.extend("--ft-button-small-icon-size","",Ot.iconSize2),xt.create("--ft-button-small-border-width","","SIZE","1px"),xt.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),xt.create("--ft-button-small-focus-outline-width","","SIZE","2px"),xt.create("--ft-button-small-icon-only-width","","SIZE","30px"),xt.extend("--ft-button-primary-background-color","",Nt.backgroundActionPrimary),xt.extend("--ft-button-primary-color","",Nt.contentGlobalOnColor),xt.extend("--ft-button-primary-icon-color","",Nt.contentGlobalOnColor),xt.extend("--ft-button-primary-state-layer-color","",Nt.contentGlobalOnColor),xt.extend("--ft-button-primary-state-layer-opacity-hover","",Ot.opacity16),xt.extend("--ft-button-primary-state-layer-opacity-focus","",Ot.opacity16),xt.extend("--ft-button-primary-state-layer-opacity-active","",Ot.opacity24),xt.extend("--ft-button-primary-component-opacity-disabled","",Ot.opacity40),xt.extend("--ft-button-focus-focus-ring-color","",Nt.borderActionFocusRing),xt.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),xt.extend("--ft-button-tertiary-color","",Nt.contentActionPrimary),xt.extend("--ft-button-tertiary-icon-color","",Nt.contentActionPrimary),xt.extend("--ft-button-tertiary-state-layer-color","",Nt.contentActionPrimary),xt.extend("--ft-button-tertiary-state-layer-opacity-hover","",Ot.opacity8),xt.extend("--ft-button-tertiary-state-layer-opacity-focus","",Ot.opacity8),xt.extend("--ft-button-tertiary-state-layer-opacity-active","",Ot.opacity16),xt.extend("--ft-button-tertiary-component-opacity-disabled","",Ot.opacity40),xt.extend("--ft-button-secondary-background-color","",Ot.colorWhite),xt.extend("--ft-button-secondary-color","",Nt.contentActionPrimary),xt.extend("--ft-button-secondary-icon-color","",Nt.contentActionPrimary),xt.extend("--ft-button-secondary-state-layer-color","",Nt.contentActionPrimary),xt.extend("--ft-button-secondary-state-layer-opacity-hover","",Ot.opacity8),xt.extend("--ft-button-secondary-state-layer-opacity-focus","",Ot.opacity8),xt.extend("--ft-button-secondary-state-layer-opacity-active","",Ot.opacity16),xt.extend("--ft-button-secondary-component-opacity-disabled","",Ot.opacity40),xt.extend("--ft-button-secondary-border-color","",Nt.borderActionPrimary),xt.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),xt.extend("--ft-button-neutral-icon-color","",Nt.contentGlobalSecondary),xt.extend("--ft-button-neutral-color","",Nt.contentGlobalSecondary),xt.extend("--ft-button-neutral-state-layer-color","",Nt.contentGlobalSecondary),xt.extend("--ft-button-neutral-state-layer-opacity-hover","",Ot.opacity8),xt.extend("--ft-button-neutral-state-layer-opacity-focus","",Ot.opacity8),xt.extend("--ft-button-neutral-state-layer-opacity-active","",Ot.opacity16),xt.extend("--ft-button-neutral-component-opacity-disabled","",Ot.opacity40),xt.extend("--ft-tabs-top-left-border-radius","",Ot.borderRadiusS),xt.extend("--ft-tabs-top-right-border-radius","",Ot.borderRadiusS),xt.extend("--ft-tabs-label-horizontal-padding","",Ot.spacing4),xt.extend("--ft-tabs-label-vertical-padding","",Ot.spacing3),xt.extend("--ft-tabs-label-gap","",Ot.spacing1),xt.extend("--ft-switch-group-horizontal-padding","",Ot.spacing1),xt.extend("--ft-switch-group-vertical-padding","",Ot.spacing1),xt.extend("--ft-switch-group-gap","",Ot.spacing1),xt.extend("--ft-switch-group-background-color","",Nt.backgroundGlobalSurface),xt.extend("--ft-switch-group-border-color","",Nt.borderGlobalSubtle),xt.create("--ft-switch-group-border-radius","","SIZE","6px"),xt.extend("--ft-switch-label-horizontal-padding","",Ot.spacing2),xt.extend("--ft-switch-label-vertical-padding","",Ot.spacing1),xt.extend("--ft-switch-icon-horizontal-padding","",Ot.spacing1),xt.extend("--ft-switch-icon-vertical-padding","",Ot.spacing1),xt.create("--ft-switch-focus-outline-width","","SIZE","2px"),xt.extend("--ft-switch-focus-focus-ring-color","",Nt.borderActionFocusRing),xt.extend("--ft-switch-option-border-radius","",Ot.borderRadiusS),xt.extend("--ft-switch-off-state-layer-opacity-hover","",Ot.opacity8),xt.extend("--ft-switch-off-state-layer-opacity-focus","",Ot.opacity8),xt.extend("--ft-switch-off-state-layer-opacity-active","",Ot.opacity16),xt.extend("--ft-switch-off-component-opacity-disabled","",Ot.opacity40),xt.extend("--ft-switch-off-color","",Nt.contentGlobalSubtle),xt.extend("--ft-switch-off-state-layer-color","",Nt.contentGlobalSubtle),xt.extend("--ft-chart-1-light","for area color charts",Ot.colorBrand40),xt.extend("--ft-chart-1-base","for line charts",Ot.colorBrand0),xt.extend("--ft-chart-2-light","for area color charts",Ot.colorYellow60),xt.extend("--ft-chart-2-base","for line charts",Ot.colorYellow100),xt.extend("--ft-chart-3-light","",Ot.colorUltramarine40),xt.extend("--ft-chart-3-base","",Ot.colorUltramarine70),xt.extend("--ft-chart-4-light","",Ot.colorCyan50),xt.extend("--ft-chart-4-base","",Ot.colorCyan100),xt.extend("--ft-chart-5-light","",Ot.colorRed40),xt.extend("--ft-chart-5-base","",Ot.colorRed60),xt.extend("--ft-chart-6-light","",Ot.colorGreen40),xt.extend("--ft-chart-6-base","",Ot.colorGreen70),xt.extend("--ft-chart-7-light","",Ot.colorOrange70),xt.extend("--ft-chart-7-base","",Ot.colorOrange100),xt.extend("--ft-chart-8-light","",Ot.colorAvocado70),xt.extend("--ft-chart-8-base","",Ot.colorAvocado200),xt.extend("--ft-chart-9-light","",Ot.colorBrown50),xt.extend("--ft-chart-9-base","",Ot.colorBrown200),xt.extend("--ft-chart-10-light","",Ot.colorGray50),xt.extend("--ft-chart-10-base","",Ot.colorGray80),xt.extend("--ft-chart-monochrome-10","",Ot.colorBrand10),xt.extend("--ft-chart-monochrome-20","",Ot.colorBrand20),xt.extend("--ft-chart-monochrome-30","",Ot.colorBrand40),xt.extend("--ft-chart-monochrome-40","",Ot.colorBrand60),xt.extend("--ft-chart-monochrome-50","",Ot.colorBrand0),xt.extend("--ft-chart-monochrome-60","",Ot.colorBrand200),xt.extend("--ft-chip-large-horizontal-padding","",Ot.spacing4),xt.extend("--ft-chip-large-vertical-padding","",Ot.spacing2),xt.extend("--ft-chip-large-gap","",Ot.spacing1),xt.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),xt.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),xt.extend("--ft-chip-large-border-radius","",Ot.borderRadiusPill),xt.create("--ft-chip-large-border-width","","SIZE","1px"),xt.extend("--ft-chip-large-icon-size","",Ot.iconSize3),xt.extend("--ft-chip-medium-horizontal-padding","",Ot.spacing3),xt.extend("--ft-chip-medium-vertical-padding","",Ot.spacing1),xt.extend("--ft-chip-medium-gap","",Ot.spacing1),xt.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),xt.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),xt.extend("--ft-chip-medium-border-radius","",Ot.borderRadiusPill),xt.create("--ft-chip-medium-border-width","","SIZE","1px"),xt.extend("--ft-chip-medium-icon-size","",Ot.iconSize2),xt.extend("--ft-chip-small-horizontal-padding","",Ot.spacing2),xt.extend("--ft-chip-small-vertical-padding","",Ot.spacing05),xt.extend("--ft-chip-small-gap","",Ot.spacing1),xt.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),xt.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),xt.extend("--ft-chip-small-border-radius","",Ot.borderRadiusPill),xt.create("--ft-chip-small-border-width","","SIZE","1px"),xt.extend("--ft-chip-small-icon-size","",Ot.iconSize1),xt.extend("--ft-chip-neutral-background-color","",Nt.backgroundGlobalOnSurface),xt.extend("--ft-chip-neutral-color","",Nt.contentGlobalPrimary),xt.extend("--ft-chip-neutral-border-color","",Nt.borderGlobalSubtle),xt.extend("--ft-chip-info-background-color","",Nt.backgroundInfoSubtle),xt.extend("--ft-chip-info-color","",Nt.contentInfoPrimary),xt.extend("--ft-chip-info-border-color","",Nt.borderInfoPrimary),xt.extend("--ft-chip-success-background-color","",Nt.backgroundSuccessSubtle),xt.extend("--ft-chip-success-color","",Nt.contentSuccessPrimary),xt.extend("--ft-chip-success-border-color","",Nt.borderSuccessPrimary),xt.extend("--ft-chip-warning-background-color","",Nt.backgroundWarningSubtle),xt.extend("--ft-chip-warning-color","",Nt.contentWarningPrimary),xt.extend("--ft-chip-warning-border-color","",Nt.borderWarningPrimary),xt.extend("--ft-chip-error-background-color","",Nt.backgroundErrorSubtle),xt.extend("--ft-chip-error-color","",Nt.contentErrorPrimary),xt.extend("--ft-chip-error-border-color","",Nt.borderErrorPrimary),xt.create("--ft-notice-border-width","","SIZE","1px"),xt.extend("--ft-notice-horizontal-padding","",Ot.spacing2),xt.extend("--ft-notice-vertical-padding","",Ot.spacing1),xt.extend("--ft-notice-border-radius","",Ot.borderRadiusS),xt.extend("--ft-notice-gap","",Ot.spacing2),xt.extend("--ft-notice-icon-size","",Ot.iconSize3),xt.extend("--ft-notice-info-background-color","",Nt.backgroundInfoSubtle),xt.extend("--ft-notice-info-border-color","",Nt.borderInfoPrimary),xt.extend("--ft-notice-info-color","",Nt.contentInfoPrimary),xt.extend("--ft-notice-warning-background-color","",Nt.backgroundWarningSubtle),xt.extend("--ft-notice-warning-border-color","",Nt.borderWarningPrimary),xt.extend("--ft-notice-warning-color","",Nt.contentWarningPrimary),xt.extend("--ft-checkbox-label-color","",Nt.contentGlobalPrimary),xt.extend("--ft-checkbox-checked-background-color","",Nt.contentActionPrimary),xt.extend("--ft-checkbox-checked-state-layer-color","",Nt.contentActionPrimary),xt.extend("--ft-checkbox-checked-color","",Nt.contentGlobalOnColor),xt.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Ot.opacity16),xt.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Ot.opacity16),xt.extend("--ft-checkbox-checked-state-layer-opacity-active","",Ot.opacity24),xt.extend("--ft-checkbox-checked-component-opacity-disabled","",Ot.opacity40),xt.extend("--ft-checkbox-unchecked-border-color","",Ot.colorGray80),xt.extend("--ft-checkbox-unchecked-state-layer-color","",Ot.colorGray80),xt.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Ot.opacity16),xt.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Ot.opacity16),xt.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Ot.opacity24),xt.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Ot.opacity40),xt.extend("--ft-checkbox-focus-focus-ring-color","",Nt.borderActionFocusRing),xt.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),xt.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),xt.extend("--ft-checkbox-gap","",Ot.spacing3),xt.extend("--ft-toggle-off-state-layer-opacity-hover","",Ot.opacity16),xt.extend("--ft-toggle-off-state-layer-opacity-focus","",Ot.opacity16),xt.extend("--ft-toggle-off-state-layer-opacity-active","",Ot.opacity24),xt.extend("--ft-toggle-off-component-opacity-disabled","",Ot.opacity40),xt.extend("--ft-toggle-off-background-color","",Nt.contentGlobalSubtle),xt.extend("--ft-toggle-off-icon-color","",Nt.contentGlobalSubtle),xt.extend("--ft-toggle-off-state-layer-color","",Nt.contentGlobalSubtle),xt.extend("--ft-toggle-on-state-layer-opacity-hover","",Ot.opacity16),xt.extend("--ft-toggle-on-state-layer-opacity-focus","",Ot.opacity16),xt.extend("--ft-toggle-on-state-layer-opacity-active","",Ot.opacity24),xt.extend("--ft-toggle-on-component-opacity-disabled","",Ot.opacity40),xt.extend("--ft-toggle-on-background-color","",Nt.contentActionPrimary),xt.extend("--ft-toggle-on-icon-color","",Nt.contentActionPrimary),xt.extend("--ft-toggle-on-state-layer-color","",Nt.contentActionPrimary),xt.extend("--ft-toggle-label-color","",Nt.contentGlobalPrimary),xt.extend("--ft-toggle-focus-focus-ring-color","",Nt.borderActionFocusRing),xt.extend("--ft-toggle-gap","",Ot.spacing3),xt.extend("--ft-radio-label-color","",Nt.contentGlobalPrimary),xt.extend("--ft-radio-selected-color","",Nt.contentActionPrimary),xt.extend("--ft-radio-selected-state-layer-color","",Nt.contentActionPrimary),xt.extend("--ft-radio-selected-state-layer-opacity-hover","",Ot.opacity16),xt.extend("--ft-radio-selected-state-layer-opacity-focus","",Ot.opacity16),xt.extend("--ft-radio-selected-state-layer-opacity-active","",Ot.opacity24),xt.extend("--ft-radio-selected-component-opacity-disabled","",Ot.opacity40),xt.extend("--ft-radio-unselected-state-layer-color","",Ot.colorGray80),xt.extend("--ft-radio-unselected-state-layer-opacity-hover","",Ot.opacity16),xt.extend("--ft-radio-unselected-state-layer-opacity-focus","",Ot.opacity16),xt.extend("--ft-radio-unselected-state-layer-opacity-active","",Ot.opacity24),xt.extend("--ft-radio-unselected-component-opacity-disabled","",Ot.opacity40),xt.extend("--ft-radio-focus-focus-ring-color","",Nt.borderActionFocusRing),xt.create("--ft-radio-focus-outline-offset","","SIZE","3px"),xt.create("--ft-radio-focus-outline-width","","SIZE","2px"),xt.extend("--ft-radio-gap","",Ot.spacing3),xt.extend("--ft-notification-icon-size","",Ot.iconSize4),xt.extend("--ft-notification-horizontal-padding","",Ot.spacing4),xt.extend("--ft-notification-vertical-padding","",Ot.spacing4),xt.extend("--ft-notification-info-background-color","",Nt.backgroundInfoSubtle),xt.extend("--ft-notification-info-color","",Nt.contentInfoPrimary),xt.extend("--ft-notification-info-border-color","",Nt.borderInfoPrimary),xt.extend("--ft-notification-success-background-color","",Nt.backgroundSuccessSubtle),xt.extend("--ft-notification-success-color","",Nt.contentSuccessPrimary),xt.extend("--ft-notification-success-border-color","",Nt.borderSuccessPrimary),xt.extend("--ft-notification-warning-background-color","",Nt.backgroundWarningSubtle),xt.extend("--ft-notification-warning-color","",Nt.contentWarningPrimary),xt.extend("--ft-notification-warning-border-color","",Nt.borderWarningPrimary),xt.extend("--ft-notification-error-background-color","",Nt.backgroundErrorSubtle),xt.extend("--ft-notification-error-color","",Nt.contentErrorPrimary),xt.extend("--ft-notification-error-border-color","",Nt.borderErrorPrimary),xt.extend("--ft-notification-border-radius","",Ot.borderRadiusPill),xt.create("--ft-notification-border-width","","SIZE","1px"),xt.extend("--ft-notification-gap-leading","",Ot.spacing2),xt.extend("--ft-notification-gap-trailing","",Ot.spacing8);const St={colorPrimary:xt.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:xt.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:xt.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:xt.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:xt.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:xt.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:xt.create("--ft-color-error","","COLOR","#B00020"),colorOutline:xt.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:xt.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:xt.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:xt.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:xt.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:xt.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:xt.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:xt.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:xt.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:xt.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:xt.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:xt.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:xt.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:xt.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:xt.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:xt.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:xt.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:xt.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:xt.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:xt.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:xt.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:xt.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:xt.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:xt.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:xt.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:xt.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:xt.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:xt.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:xt.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:xt.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:xt.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:xt.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:xt.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:xt.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:xt.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:xt.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:xt.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:xt.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:xt.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:xt.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:xt.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:xt.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:xt.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:xt.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:xt.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:xt.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:xt.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:xt.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:xt.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:xt.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:xt.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:xt.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:xt.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:xt.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:xt.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};class wt extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}}class Ct extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}}class Rt extends ut{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 m(e,t.elementStyles),e}}var Ut,Et=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};const It=Symbol("constructorPrototype"),$t=Symbol("constructorName"),kt=Symbol("exportpartsDebouncer");class Wt extends Rt{constructor(){super(),this[Ut]=new o(5),this[$t]=this.constructor.name,this[It]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[$t]&&Object.setPrototypeOf(this,this[It])}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[kt].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,i,a,n;const l=t=>null!=t&&t.trim().length>0,s=t.filter(l).map((t=>t.trim()));if(0===s.length)return void this.removeAttribute("exportparts");const c=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!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],e=null!==(n=null===(a=t.getAttribute("exportparts"))||void 0===a?void 0:a.split(",").map((t=>t.split(":")[1])))&&void 0!==n?n:[];new Array(...o,...e).filter(l).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const p=[...c.values()].flatMap((t=>s.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...p].join(", "))}}var Lt,Kt;Ut=kt,Et([r()],Wt.prototype,"exportpartsPrefix",void 0),Et([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:{}})}([])],Wt.prototype,"exportpartsPrefixes",void 0),Et([r()],Wt.prototype,"customStylesheet",void 0),b`
|
|
66
66
|
.ft-no-text-select {
|
|
67
67
|
-webkit-touch-callout: none;
|
|
68
68
|
-webkit-user-select: none;
|
|
@@ -71,7 +71,7 @@ var ut,vt;let xt=class extends E{constructor(){super(...arguments),this.renderOp
|
|
|
71
71
|
-ms-user-select: none;
|
|
72
72
|
user-select: none;
|
|
73
73
|
}
|
|
74
|
-
`,
|
|
74
|
+
`,b`
|
|
75
75
|
.ft-word-wrap {
|
|
76
76
|
white-space: normal;
|
|
77
77
|
word-wrap: break-word;
|
|
@@ -83,7 +83,7 @@ var ut,vt;let xt=class extends E{constructor(){super(...arguments),this.renderOp
|
|
|
83
83
|
-webkit-hyphens: auto;
|
|
84
84
|
hyphens: auto
|
|
85
85
|
}
|
|
86
|
-
`,
|
|
86
|
+
`,b`
|
|
87
87
|
.ft-safari-ellipsis-fix {
|
|
88
88
|
margin-right: 0;
|
|
89
89
|
|
|
@@ -94,25 +94,25 @@ var ut,vt;let xt=class extends E{constructor(){super(...arguments),this.renderOp
|
|
|
94
94
|
display: inline-block;
|
|
95
95
|
width: 0;
|
|
96
96
|
}
|
|
97
|
-
`,window.ftReduxStores||(window.ftReduxStores={}),navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(
|
|
97
|
+
`,window.ftReduxStores||(window.ftReduxStores={}),navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(Kt=null===(Lt=window.safari)||void 0===Lt?void 0:Lt.pushNotification)||void 0===Kt||Kt.toString());var Zt=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class zt extends Wt{constructor(){super(...arguments),this.label="",this.icon="",this.active=!1,this.disabled=!1,this.uniqueId=(""+Math.floor(1e5*Math.random())).padStart(5,"0")}render(){return J`
|
|
98
98
|
<style>
|
|
99
99
|
:host {
|
|
100
|
-
display: ${
|
|
100
|
+
display: ${u(this.active?"block":"none")};
|
|
101
101
|
}
|
|
102
102
|
</style>
|
|
103
103
|
<slot></slot>
|
|
104
|
-
`}update(t){super.update(t),this.id||(this.id="tab-"+this.uniqueId),this.ariaLabelledBy=this.id+"-control"}updated(t){super.updated(t),this.dispatchEvent(new Event("updated"))}}
|
|
104
|
+
`}update(t){super.update(t),this.id||(this.id="tab-"+this.uniqueId),this.ariaLabelledBy=this.id+"-control"}updated(t){super.updated(t),this.dispatchEvent(new Event("updated"))}}zt.elementDefinitions={},Zt([r({type:String})],zt.prototype,"label",void 0),Zt([r({type:String})],zt.prototype,"icon",void 0),Zt([r()],zt.prototype,"iconVariant",void 0),Zt([r({type:Boolean,reflect:!0})],zt.prototype,"active",void 0),Zt([r({type:Boolean})],zt.prototype,"disabled",void 0),Zt([r({reflect:!0})],zt.prototype,"id",void 0),Zt([r()],zt.prototype,"color",void 0),Zt([r()],zt.prototype,"rippleColor",void 0),Zt([r({reflect:!0,attribute:"aria-labelledby"})],zt.prototype,"ariaLabelledBy",void 0);
|
|
105
105
|
/**
|
|
106
106
|
* @license
|
|
107
107
|
* Copyright 2017 Google LLC
|
|
108
108
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
109
109
|
*/
|
|
110
|
-
const Ft=1,
|
|
110
|
+
const Ft=1,Dt=2,Mt=t=>(...o)=>({_$litDirective$:t,values:o});class Bt{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,e){this._$Ct=t,this._$AM=o,this._$Ci=e}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}}
|
|
111
111
|
/**
|
|
112
112
|
* @license
|
|
113
113
|
* Copyright 2020 Google LLC
|
|
114
114
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
115
|
-
*/const{I:
|
|
115
|
+
*/const{I:At}=ht,jt=()=>document.createComment(""),Ht=(t,o,e)=>{var r;const i=t._$AA.parentNode,a=void 0===o?t._$AB:o._$AA;if(void 0===e){const o=i.insertBefore(jt(),a),r=i.insertBefore(jt(),a);e=new At(o,r,t,t.options)}else{const o=e._$AB.nextSibling,n=e._$AM,l=n!==t;if(l){let o;null===(r=e._$AQ)||void 0===r||r.call(e,t),e._$AM=t,void 0!==e._$AP&&(o=t._$AU)!==n._$AU&&e._$AP(o)}if(o!==a||l){let t=e._$AA;for(;t!==o;){const o=t.nextSibling;i.insertBefore(t,a),t=o}}}return e},Pt=(t,o,e=t)=>(t._$AI(o,e),t),Tt={},Gt=t=>{var o;null===(o=t._$AP)||void 0===o||o.call(t,!1,!0);let e=t._$AA;const r=t._$AB.nextSibling;for(;e!==r;){const t=e.nextSibling;e.remove(),e=t}},_t=(t,o,e)=>{const r=new Map;for(let i=o;i<=e;i++)r.set(t[i],i);return r},Yt=Mt(class extends Bt{constructor(t){if(super(t),t.type!==Dt)throw Error("repeat() can only be used in text expressions")}dt(t,o,e){let r;void 0===e?e=o:void 0!==o&&(r=o);const i=[],a=[];let n=0;for(const o of t)i[n]=r?r(o,n):n,a[n]=e(o,n),n++;return{values:a,keys:i}}render(t,o,e){return this.dt(t,o,e).values}update(t,[o,e,r]){var i;const a=(t=>t._$AH)(t),{values:n,keys:l}=this.dt(o,e,r);if(!Array.isArray(a))return this.ht=l,n;const s=null!==(i=this.ht)&&void 0!==i?i:this.ht=[],c=[];let p,f,h=0,d=a.length-1,y=0,g=n.length-1;for(;h<=d&&y<=g;)if(null===a[h])h++;else if(null===a[d])d--;else if(s[h]===l[y])c[y]=Pt(a[h],n[y]),h++,y++;else if(s[d]===l[g])c[g]=Pt(a[d],n[g]),d--,g--;else if(s[h]===l[g])c[g]=Pt(a[h],n[g]),Ht(t,c[g+1],a[h]),h++,g--;else if(s[d]===l[y])c[y]=Pt(a[d],n[y]),Ht(t,a[h],a[d]),d--,y++;else if(void 0===p&&(p=_t(l,y,g),f=_t(s,h,d)),p.has(s[h]))if(p.has(s[d])){const o=f.get(l[y]),e=void 0!==o?a[o]:null;if(null===e){const o=Ht(t,a[h]);Pt(o,n[y]),c[y]=o}else c[y]=Pt(e,n[y]),Ht(t,a[h],e),a[o]=null;y++}else Gt(a[d]),d--;else Gt(a[h]),h++;for(;y<=g;){const o=Ht(t,c[g+1]);Pt(o,n[y]),c[y++]=o}for(;h<=d;){const t=a[h++];null!==t&&Gt(t)}return this.ht=l,((t,o=Tt)=>{t._$AH=o})(t,c),q}}),Vt=Mt(class extends Bt{constructor(t){var o;if(super(t),t.type!==Ft||"class"!==t.name||(null===(o=t.strings)||void 0===o?void 0:o.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((o=>t[o])).join(" ")+" "}update(t,[o]){var e,r;if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in o)o[t]&&!(null===(e=this.nt)||void 0===e?void 0:e.has(t))&&this.it.add(t);return this.render(o)}const i=t.element.classList;this.it.forEach((t=>{t in o||(i.remove(t),this.it.delete(t))}));for(const t in o){const e=!!o[t];e===this.it.has(t)||(null===(r=this.nt)||void 0===r?void 0:r.has(t))||(e?(i.add(t),this.it.add(t)):(i.remove(t),this.it.delete(t)))}return q}}),Jt=xt.extend("--ft-ripple-color","",St.colorContent),qt=Jt,Xt=xt.extend("--ft-ripple-background-color","",Jt),Qt=xt.external(St.opacityContentOnSurfacePressed,"Design system"),to=xt.external(St.opacityContentOnSurfaceHover,"Design system"),oo=xt.external(St.opacityContentOnSurfaceFocused,"Design system"),eo=xt.external(St.opacityContentOnSurfaceSelected,"Design system"),ro=xt.create("--ft-ripple-border-radius","","SIZE","0px"),io=xt.extend("--ft-ripple-color","",St.colorPrimary),ao=io,no=xt.extend("--ft-ripple-background-color","",io),lo=xt.extend("--ft-ripple-color","",St.colorSecondary),so=lo,co=xt.extend("--ft-ripple-background-color","",lo),po=b`
|
|
116
116
|
:host {
|
|
117
117
|
display: contents;
|
|
118
118
|
}
|
|
@@ -125,7 +125,7 @@ const Ft=1,zt=2,At=t=>(...e)=>({_$litDirective$:t,values:e});class Bt{constructo
|
|
|
125
125
|
|
|
126
126
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
127
127
|
overflow: hidden;
|
|
128
|
-
border-radius: ${
|
|
128
|
+
border-radius: ${ro};
|
|
129
129
|
}
|
|
130
130
|
|
|
131
131
|
.ft-ripple .ft-ripple--background,
|
|
@@ -159,27 +159,27 @@ const Ft=1,zt=2,At=t=>(...e)=>({_$litDirective$:t,values:e});class Bt{constructo
|
|
|
159
159
|
}
|
|
160
160
|
|
|
161
161
|
.ft-ripple .ft-ripple--background {
|
|
162
|
-
background-color: ${
|
|
162
|
+
background-color: ${Xt};
|
|
163
163
|
}
|
|
164
164
|
|
|
165
165
|
.ft-ripple .ft-ripple--effect {
|
|
166
|
-
background-color: ${
|
|
166
|
+
background-color: ${qt};
|
|
167
167
|
}
|
|
168
168
|
|
|
169
169
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
170
|
-
background-color: ${
|
|
170
|
+
background-color: ${co};
|
|
171
171
|
}
|
|
172
172
|
|
|
173
173
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
174
|
-
background-color: ${
|
|
174
|
+
background-color: ${so};
|
|
175
175
|
}
|
|
176
176
|
|
|
177
177
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
178
|
-
background-color: ${
|
|
178
|
+
background-color: ${no};
|
|
179
179
|
}
|
|
180
180
|
|
|
181
181
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
182
|
-
background-color: ${
|
|
182
|
+
background-color: ${ao};
|
|
183
183
|
}
|
|
184
184
|
|
|
185
185
|
.ft-ripple .ft-ripple--background {
|
|
@@ -209,19 +209,19 @@ const Ft=1,zt=2,At=t=>(...e)=>({_$litDirective$:t,values:e});class Bt{constructo
|
|
|
209
209
|
}
|
|
210
210
|
|
|
211
211
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
212
|
-
opacity: ${
|
|
212
|
+
opacity: ${to};
|
|
213
213
|
}
|
|
214
214
|
|
|
215
215
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
216
|
-
opacity: ${
|
|
216
|
+
opacity: ${eo};
|
|
217
217
|
}
|
|
218
218
|
|
|
219
219
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
220
|
-
opacity: ${
|
|
220
|
+
opacity: ${oo};
|
|
221
221
|
}
|
|
222
222
|
|
|
223
223
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
224
|
-
opacity: ${
|
|
224
|
+
opacity: ${Qt};
|
|
225
225
|
transform: translate(-50%, -50%) scale(1);
|
|
226
226
|
}
|
|
227
227
|
`;
|
|
@@ -229,132 +229,141 @@ const Ft=1,zt=2,At=t=>(...e)=>({_$litDirective$:t,values:e});class Bt{constructo
|
|
|
229
229
|
* @license
|
|
230
230
|
* Copyright 2017 Google LLC
|
|
231
231
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
232
|
-
*/var
|
|
232
|
+
*/var fo=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class ho extends Wt{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new o(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new o(10),this.moveRipple=t=>{var o,e;let{x:r,y:i}=this.getCoordinates(t),a=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=r?r-a.x:a.width/2),this.originY=Math.round(null!=i?i-a.y:a.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return J`
|
|
233
233
|
<style>
|
|
234
234
|
.ft-ripple .ft-ripple--effect {
|
|
235
235
|
left: ${this.originX}px;
|
|
236
236
|
top: ${this.originY}px;
|
|
237
237
|
}
|
|
238
238
|
</style>
|
|
239
|
-
<div class="${
|
|
239
|
+
<div class="${Vt(t)}">
|
|
240
240
|
<div class="ft-ripple--background"></div>
|
|
241
241
|
<div class="ft-ripple--effect"></div>
|
|
242
242
|
</div>
|
|
243
|
-
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var e
|
|
243
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),r=o("touchend","touchcancel"),i=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",r),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",i),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",r),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",i),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let r,i;return null!=o.x?({x:r,y:i}=o):null!=e.touches&&(r=e.touches[0].clientX,i=e.touches[0].clientY),{x:r,y:i}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}ho.elementDefinitions={},ho.styles=po,fo([r({type:Boolean})],ho.prototype,"primary",void 0),fo([r({type:Boolean})],ho.prototype,"secondary",void 0),fo([r({type:Boolean})],ho.prototype,"unbounded",void 0),fo([r({type:Boolean})],ho.prototype,"activated",void 0),fo([r({type:Boolean})],ho.prototype,"selected",void 0),fo([r({type:Boolean})],ho.prototype,"disabled",void 0),fo([i()],ho.prototype,"hovered",void 0),fo([i()],ho.prototype,"focused",void 0),fo([i()],ho.prototype,"pressed",void 0),fo([i()],ho.prototype,"rippling",void 0),fo([i()],ho.prototype,"originX",void 0),fo([i()],ho.prototype,"originY",void 0),fo([n(".ft-ripple")],ho.prototype,"ripple",void 0),fo([n(".ft-ripple--effect")],ho.prototype,"rippleEffect",void 0),p("ft-ripple")(ho);
|
|
244
244
|
/**
|
|
245
245
|
* @license
|
|
246
246
|
* Copyright 2020 Google LLC
|
|
247
247
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
248
248
|
*/
|
|
249
|
-
const
|
|
249
|
+
const yo=Symbol.for(""),go=t=>{if((null==t?void 0:t.r)===yo)return null==t?void 0:t._$litStatic$},uo=t=>({_$litStatic$:t,r:yo}),bo=new Map,mo=(t=>(o,...e)=>{const r=e.length;let i,a;const n=[],l=[];let s,c=0,p=!1;for(;c<r;){for(s=o[c];c<r&&void 0!==(a=e[c],i=go(a));)s+=i+o[++c],p=!0;c!==r&&l.push(a),n.push(s),c++}if(c===r&&n.push(o[r]),p){const t=n.join("$$lit$$");void 0===(o=bo.get(t))&&(n.raw=n,bo.set(t,o=n)),e=l}return t(o,...e)})(J);var xo;!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"}(xo||(xo={}));const Oo=xt.extend("--ft-typography-font-family","",St.titleFont),vo=xt.extend("--ft-typography-font-family","",St.contentFont),No={fontFamily:vo,fontSize:xt.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:xt.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:xt.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:xt.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:xt.create("--ft-typography-text-transform","","UNKNOWN","inherit")},So=xt.extend("--ft-typography-title-font-family","",Oo),wo=xt.extend("--ft-typography-title-font-size","",No.fontSize,"20px"),Co=xt.extend("--ft-typography-title-font-weight","",No.fontWeight,"normal"),Ro=xt.extend("--ft-typography-title-letter-spacing","",No.letterSpacing,"0.15px"),Uo=xt.extend("--ft-typography-title-line-height","",No.lineHeight,"1.2"),Eo=xt.extend("--ft-typography-title-text-transform","",No.textTransform,"inherit"),Io=xt.extend("--ft-typography-title-dense-font-family","",Oo),$o=xt.extend("--ft-typography-title-dense-font-size","",No.fontSize,"14px"),ko=xt.extend("--ft-typography-title-dense-font-weight","",No.fontWeight,"normal"),Wo=xt.extend("--ft-typography-title-dense-letter-spacing","",No.letterSpacing,"0.105px"),Lo=xt.extend("--ft-typography-title-dense-line-height","",No.lineHeight,"1.7"),Ko=xt.extend("--ft-typography-title-dense-text-transform","",No.textTransform,"inherit"),Zo=xt.extend("--ft-typography-subtitle1-font-family","",vo),zo=xt.extend("--ft-typography-subtitle1-font-size","",No.fontSize,"16px"),Fo=xt.extend("--ft-typography-subtitle1-font-weight","",No.fontWeight,"600"),Do=xt.extend("--ft-typography-subtitle1-letter-spacing","",No.letterSpacing,"0.144px"),Mo=xt.extend("--ft-typography-subtitle1-line-height","",No.lineHeight,"1.5"),Bo=xt.extend("--ft-typography-subtitle1-text-transform","",No.textTransform,"inherit"),Ao=xt.extend("--ft-typography-subtitle2-font-family","",vo),jo=xt.extend("--ft-typography-subtitle2-font-size","",No.fontSize,"14px"),Ho=xt.extend("--ft-typography-subtitle2-font-weight","",No.fontWeight,"normal"),Po=xt.extend("--ft-typography-subtitle2-letter-spacing","",No.letterSpacing,"0.098px"),To=xt.extend("--ft-typography-subtitle2-line-height","",No.lineHeight,"1.7"),Go=xt.extend("--ft-typography-subtitle2-text-transform","",No.textTransform,"inherit"),_o=xt.extend("--ft-typography-body1-font-family","",vo),Yo=xt.extend("--ft-typography-body1-font-size","",No.fontSize,"16px"),Vo=xt.extend("--ft-typography-body1-font-weight","",No.fontWeight,"normal"),Jo=xt.extend("--ft-typography-body1-letter-spacing","",No.letterSpacing,"0.496px"),qo=xt.extend("--ft-typography-body1-line-height","",No.lineHeight,"1.5"),Xo=xt.extend("--ft-typography-body1-text-transform","",No.textTransform,"inherit"),Qo=xt.extend("--ft-typography-body2-font-family","",vo),te=xt.extend("--ft-typography-body2-font-size","",No.fontSize,"14px"),oe=xt.extend("--ft-typography-body2-font-weight","",No.fontWeight,"normal"),ee=xt.extend("--ft-typography-body2-letter-spacing","",No.letterSpacing,"0.252px"),re=xt.extend("--ft-typography-body2-line-height","",No.lineHeight,"1.4"),ie=xt.extend("--ft-typography-body2-text-transform","",No.textTransform,"inherit"),ae=xt.extend("--ft-typography-caption-font-family","",vo),ne=xt.extend("--ft-typography-caption-font-size","",No.fontSize,"12px"),le=xt.extend("--ft-typography-caption-font-weight","",No.fontWeight,"normal"),se=xt.extend("--ft-typography-caption-letter-spacing","",No.letterSpacing,"0.396px"),ce=xt.extend("--ft-typography-caption-line-height","",No.lineHeight,"1.33"),pe=xt.extend("--ft-typography-caption-text-transform","",No.textTransform,"inherit"),fe=xt.extend("--ft-typography-breadcrumb-font-family","",vo),he=xt.extend("--ft-typography-breadcrumb-font-size","",No.fontSize,"10px"),de=xt.extend("--ft-typography-breadcrumb-font-weight","",No.fontWeight,"normal"),ye=xt.extend("--ft-typography-breadcrumb-letter-spacing","",No.letterSpacing,"0.33px"),ge=xt.extend("--ft-typography-breadcrumb-line-height","",No.lineHeight,"1.6"),ue=xt.extend("--ft-typography-breadcrumb-text-transform","",No.textTransform,"inherit"),be=xt.extend("--ft-typography-overline-font-family","",vo),me=xt.extend("--ft-typography-overline-font-size","",No.fontSize,"10px"),xe=xt.extend("--ft-typography-overline-font-weight","",No.fontWeight,"normal"),Oe=xt.extend("--ft-typography-overline-letter-spacing","",No.letterSpacing,"1.5px"),ve=xt.extend("--ft-typography-overline-line-height","",No.lineHeight,"1.6"),Ne=xt.extend("--ft-typography-overline-text-transform","",No.textTransform,"uppercase"),Se=xt.extend("--ft-typography-button-font-family","",vo),we=xt.extend("--ft-typography-button-font-size","",No.fontSize,"14px"),Ce=xt.extend("--ft-typography-button-font-weight","",No.fontWeight,"600"),Re=xt.extend("--ft-typography-button-letter-spacing","",No.letterSpacing,"1.246px"),Ue=xt.extend("--ft-typography-button-line-height","",No.lineHeight,"1.15"),Ee=xt.extend("--ft-typography-button-text-transform","",No.textTransform,"uppercase"),Ie=b`
|
|
250
250
|
.ft-typography--title {
|
|
251
|
-
font-family: ${
|
|
252
|
-
font-size: ${
|
|
253
|
-
font-weight: ${
|
|
254
|
-
letter-spacing: ${
|
|
255
|
-
line-height: ${
|
|
256
|
-
text-transform: ${
|
|
257
|
-
}
|
|
258
|
-
|
|
251
|
+
font-family: ${So};
|
|
252
|
+
font-size: ${wo};
|
|
253
|
+
font-weight: ${Co};
|
|
254
|
+
letter-spacing: ${Ro};
|
|
255
|
+
line-height: ${Uo};
|
|
256
|
+
text-transform: ${Eo};
|
|
257
|
+
}
|
|
258
|
+
`,$e=b`
|
|
259
259
|
.ft-typography--title-dense {
|
|
260
|
-
font-family: ${
|
|
261
|
-
font-size: ${
|
|
262
|
-
font-weight: ${
|
|
263
|
-
letter-spacing: ${
|
|
264
|
-
line-height: ${
|
|
265
|
-
text-transform: ${
|
|
266
|
-
}
|
|
267
|
-
`,
|
|
260
|
+
font-family: ${Io};
|
|
261
|
+
font-size: ${$o};
|
|
262
|
+
font-weight: ${ko};
|
|
263
|
+
letter-spacing: ${Wo};
|
|
264
|
+
line-height: ${Lo};
|
|
265
|
+
text-transform: ${Ko};
|
|
266
|
+
}
|
|
267
|
+
`,ke=b`
|
|
268
268
|
.ft-typography--subtitle1 {
|
|
269
|
-
font-family: ${
|
|
270
|
-
font-size: ${
|
|
271
|
-
font-weight: ${
|
|
272
|
-
letter-spacing: ${
|
|
273
|
-
line-height: ${
|
|
274
|
-
text-transform: ${
|
|
275
|
-
}
|
|
276
|
-
`,
|
|
269
|
+
font-family: ${Zo};
|
|
270
|
+
font-size: ${zo};
|
|
271
|
+
font-weight: ${Fo};
|
|
272
|
+
letter-spacing: ${Do};
|
|
273
|
+
line-height: ${Mo};
|
|
274
|
+
text-transform: ${Bo};
|
|
275
|
+
}
|
|
276
|
+
`,We=b`
|
|
277
277
|
.ft-typography--subtitle2 {
|
|
278
|
-
font-family: ${
|
|
279
|
-
font-size: ${
|
|
280
|
-
font-weight: ${
|
|
281
|
-
letter-spacing: ${
|
|
282
|
-
line-height: ${
|
|
283
|
-
text-transform: ${
|
|
278
|
+
font-family: ${Ao};
|
|
279
|
+
font-size: ${jo};
|
|
280
|
+
font-weight: ${Ho};
|
|
281
|
+
letter-spacing: ${Po};
|
|
282
|
+
line-height: ${To};
|
|
283
|
+
text-transform: ${Go};
|
|
284
284
|
}
|
|
285
285
|
|
|
286
|
-
`,
|
|
286
|
+
`,Le=b`
|
|
287
287
|
.ft-typography--body1 {
|
|
288
|
-
font-family: ${
|
|
289
|
-
font-size: ${
|
|
290
|
-
font-weight: ${
|
|
291
|
-
letter-spacing: ${
|
|
292
|
-
line-height: ${
|
|
293
|
-
text-transform: ${
|
|
294
|
-
}
|
|
295
|
-
`,
|
|
288
|
+
font-family: ${_o};
|
|
289
|
+
font-size: ${Yo};
|
|
290
|
+
font-weight: ${Vo};
|
|
291
|
+
letter-spacing: ${Jo};
|
|
292
|
+
line-height: ${qo};
|
|
293
|
+
text-transform: ${Xo};
|
|
294
|
+
}
|
|
295
|
+
`,Ke=b`
|
|
296
296
|
.ft-typography--body2 {
|
|
297
|
-
font-family: ${
|
|
298
|
-
font-size: ${
|
|
299
|
-
font-weight: ${
|
|
300
|
-
letter-spacing: ${
|
|
301
|
-
line-height: ${
|
|
302
|
-
text-transform: ${
|
|
303
|
-
}
|
|
304
|
-
`,
|
|
297
|
+
font-family: ${Qo};
|
|
298
|
+
font-size: ${te};
|
|
299
|
+
font-weight: ${oe};
|
|
300
|
+
letter-spacing: ${ee};
|
|
301
|
+
line-height: ${re};
|
|
302
|
+
text-transform: ${ie};
|
|
303
|
+
}
|
|
304
|
+
`,Ze=b`
|
|
305
305
|
.ft-typography--caption {
|
|
306
|
-
font-family: ${
|
|
307
|
-
font-size: ${
|
|
308
|
-
font-weight: ${
|
|
309
|
-
letter-spacing: ${
|
|
310
|
-
line-height: ${
|
|
311
|
-
text-transform: ${
|
|
312
|
-
}
|
|
313
|
-
`,
|
|
306
|
+
font-family: ${ae};
|
|
307
|
+
font-size: ${ne};
|
|
308
|
+
font-weight: ${le};
|
|
309
|
+
letter-spacing: ${se};
|
|
310
|
+
line-height: ${ce};
|
|
311
|
+
text-transform: ${pe};
|
|
312
|
+
}
|
|
313
|
+
`,ze=b`
|
|
314
314
|
.ft-typography--breadcrumb {
|
|
315
|
-
font-family: ${
|
|
316
|
-
font-size: ${
|
|
317
|
-
font-weight: ${
|
|
318
|
-
letter-spacing: ${
|
|
319
|
-
line-height: ${
|
|
320
|
-
text-transform: ${
|
|
321
|
-
}
|
|
322
|
-
`,
|
|
315
|
+
font-family: ${fe};
|
|
316
|
+
font-size: ${he};
|
|
317
|
+
font-weight: ${de};
|
|
318
|
+
letter-spacing: ${ye};
|
|
319
|
+
line-height: ${ge};
|
|
320
|
+
text-transform: ${ue};
|
|
321
|
+
}
|
|
322
|
+
`,Fe=b`
|
|
323
323
|
.ft-typography--overline {
|
|
324
|
-
font-family: ${
|
|
325
|
-
font-size: ${
|
|
326
|
-
font-weight: ${
|
|
327
|
-
letter-spacing: ${
|
|
328
|
-
line-height: ${
|
|
329
|
-
text-transform: ${
|
|
330
|
-
}
|
|
331
|
-
`,
|
|
324
|
+
font-family: ${be};
|
|
325
|
+
font-size: ${me};
|
|
326
|
+
font-weight: ${xe};
|
|
327
|
+
letter-spacing: ${Oe};
|
|
328
|
+
line-height: ${ve};
|
|
329
|
+
text-transform: ${Ne};
|
|
330
|
+
}
|
|
331
|
+
`,De=b`
|
|
332
332
|
.ft-typography--button {
|
|
333
|
-
font-family: ${
|
|
334
|
-
font-size: ${
|
|
335
|
-
font-weight: ${
|
|
336
|
-
letter-spacing: ${
|
|
337
|
-
line-height: ${
|
|
338
|
-
text-transform: ${
|
|
339
|
-
}
|
|
340
|
-
`,
|
|
333
|
+
font-family: ${Se};
|
|
334
|
+
font-size: ${we};
|
|
335
|
+
font-weight: ${Ce};
|
|
336
|
+
letter-spacing: ${Re};
|
|
337
|
+
line-height: ${Ue};
|
|
338
|
+
text-transform: ${Ee};
|
|
339
|
+
}
|
|
340
|
+
`,Me=b`
|
|
341
341
|
.ft-typography {
|
|
342
342
|
vertical-align: inherit;
|
|
343
343
|
}
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
344
|
+
`,Be=[Object.keys(vt).map((t=>function(t){const o=vt[t];return b`
|
|
345
|
+
.ft-typography--${u(t)} {
|
|
346
|
+
font-family: ${o.fontFamily};
|
|
347
|
+
font-size: ${o.fontSize};
|
|
348
|
+
font-weight: ${o.fontWeight};
|
|
349
|
+
letter-spacing: ${o.letterSpacing};
|
|
350
|
+
line-height: ${o.lineHeight};
|
|
351
|
+
text-transform: ${o.textCase};
|
|
352
|
+
}
|
|
353
|
+
`}(t)))];var Ae=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class je extends Wt{constructor(){super(...arguments),this.variant=xo.body1}render(){return this.element?mo`
|
|
354
|
+
<${uo(this.element)}
|
|
355
|
+
class="ft-typography ft-typography--${this.variant}">
|
|
347
356
|
<slot></slot>
|
|
348
|
-
</${
|
|
349
|
-
`:
|
|
357
|
+
</${uo(this.element)}>
|
|
358
|
+
`:mo`
|
|
350
359
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
351
|
-
`}}
|
|
360
|
+
`}}je.styles=[Ie,$e,ke,We,Le,Ke,Ze,ze,Fe,De,Me,...Be],Ae([r()],je.prototype,"element",void 0),Ae([r()],je.prototype,"variant",void 0),p("ft-typography")(je);
|
|
352
361
|
/**
|
|
353
362
|
* @license
|
|
354
363
|
* Copyright 2017 Google LLC
|
|
355
364
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
356
365
|
*/
|
|
357
|
-
class
|
|
366
|
+
class He extends Bt{constructor(t){if(super(t),this.et=X,t.type!==Dt)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===X||null==t)return this.ft=void 0,this.et=t;if(t===q)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.ft;this.et=t;const o=[t];return o.raw=o,this.ft={_$litType$:this.constructor.resultType,strings:o,values:[]}}}He.directiveName="unsafeHTML",He.resultType=1;const Pe=Mt(He);var Te,Ge;!function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK=""}(Te||(Te={})),function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""}(Ge||(Ge={})),new Map([...["abw"].map((t=>[t,Ge.ABW])),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map((t=>[t,Ge.AUDIO])),...["avi"].map((t=>[t,Ge.AVI])),...["chm","xhs"].map((t=>[t,Ge.CHM])),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map((t=>[t,Ge.CODE])),...["csv"].map((t=>[t,Ge.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Ge.DITA])),...["epub"].map((t=>[t,Ge.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Ge.EXCEL])),...["flac"].map((t=>[t,Ge.FLAC])),...["gif"].map((t=>[t,Ge.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Ge.GZIP])),...["html","htm","xhtml"].map((t=>[t,Ge.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,Ge.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Ge.JPEG])),...["json"].map((t=>[t,Ge.JSON])),...["m4a","m4p"].map((t=>[t,Ge.M4A])),...["mov","qt"].map((t=>[t,Ge.MOV])),...["mp3"].map((t=>[t,Ge.MP3])),...["mp4","m4v"].map((t=>[t,Ge.MP4])),...["ogg","oga"].map((t=>[t,Ge.OGG])),...["pdf","ps"].map((t=>[t,Ge.PDF])),...["png"].map((t=>[t,Ge.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Ge.POWERPOINT])),...["rar"].map((t=>[t,Ge.RAR])),...["stp"].map((t=>[t,Ge.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Ge.TEXT])),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map((t=>[t,Ge.VIDEO])),...["wav"].map((t=>[t,Ge.WAV])),...["wma"].map((t=>[t,Ge.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Ge.WORD])),...["xml","xsl","rdf"].map((t=>[t,Ge.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Ge.YAML])),...["zip"].map((t=>[t,Ge.ZIP]))]);const _e=xt.create("--ft-icon-font-size","","SIZE","24px"),Ye=xt.extend("--ft-icon-fluid-topics-font-family","",xt.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),Ve=xt.extend("--ft-icon-file-format-font-family","",xt.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),Je=xt.extend("--ft-icon-material-font-family","",xt.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),qe=xt.create("--ft-icon-vertical-align","","UNKNOWN","unset"),Xe=b`
|
|
358
367
|
:host, i.ft-icon {
|
|
359
368
|
display: inline-flex;
|
|
360
369
|
align-items: center;
|
|
@@ -363,14 +372,14 @@ class Li extends Bt{constructor(t){if(super(t),this.et=G,t.type!==zt)throw Error
|
|
|
363
372
|
}
|
|
364
373
|
|
|
365
374
|
:host {
|
|
366
|
-
width: ${
|
|
367
|
-
height: ${
|
|
375
|
+
width: ${_e};
|
|
376
|
+
height: ${_e};
|
|
368
377
|
}
|
|
369
378
|
|
|
370
379
|
i.ft-icon {
|
|
371
380
|
width: 100%;
|
|
372
381
|
height: 100%;
|
|
373
|
-
font-size: ${
|
|
382
|
+
font-size: ${_e};
|
|
374
383
|
line-height: 1;
|
|
375
384
|
font-weight: normal;
|
|
376
385
|
text-transform: none;
|
|
@@ -381,37 +390,37 @@ class Li extends Bt{constructor(t){if(super(t),this.et=G,t.type!==zt)throw Error
|
|
|
381
390
|
text-rendering: auto;
|
|
382
391
|
-webkit-font-smoothing: antialiased;
|
|
383
392
|
-moz-osx-font-smoothing: grayscale;
|
|
384
|
-
vertical-align: ${
|
|
393
|
+
vertical-align: ${qe};
|
|
385
394
|
}
|
|
386
395
|
|
|
387
396
|
i.ft-icon.ft-icon--fluid-topics {
|
|
388
|
-
font-family: ${
|
|
397
|
+
font-family: ${Ye}, ft-icons, fticons, sans-serif;
|
|
389
398
|
|
|
390
399
|
/* Ugly fix because font is broken */
|
|
391
|
-
font-size: calc(0.75 * ${
|
|
392
|
-
line-height: ${
|
|
400
|
+
font-size: calc(0.75 * ${_e});
|
|
401
|
+
line-height: ${_e};
|
|
393
402
|
position: relative;
|
|
394
403
|
top: -4%;
|
|
395
404
|
justify-content: center;
|
|
396
405
|
}
|
|
397
406
|
|
|
398
407
|
.ft-icon--file-format {
|
|
399
|
-
font-family: ${
|
|
408
|
+
font-family: ${Ve}, ft-mime, sans-serif;
|
|
400
409
|
}
|
|
401
410
|
|
|
402
411
|
.ft-icon--material {
|
|
403
|
-
font-family: ${
|
|
412
|
+
font-family: ${Je}, "Material Icons", sans-serif;
|
|
404
413
|
}
|
|
405
|
-
`;var
|
|
414
|
+
`;var Qe;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Qe||(Qe={}));var tr,or=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class er extends Wt{constructor(){super(...arguments),this.resolvedIcon=X}render(){const t=this.variant&&Object.values(Qe).includes(this.variant)?this.variant:Qe.fluid_topics,o=t!==Qe.material||!!this.value;return J`
|
|
406
415
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
407
|
-
${
|
|
408
|
-
<slot ?hidden=${
|
|
416
|
+
${Pe(this.resolvedIcon)}
|
|
417
|
+
<slot ?hidden=${o}></slot>
|
|
409
418
|
</i>
|
|
410
|
-
`}get textContent(){var t,
|
|
419
|
+
`}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let e=this.value||this.textContent;switch(this.variant){case Qe.file_format:this.resolvedIcon=null!==(t=Ge[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case Qe.material:this.resolvedIcon=this.value||X;break;default:this.resolvedIcon=null!==(o=Te[e.replace("-","_").toUpperCase()])&&void 0!==o?o:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}er.elementDefinitions={},er.styles=Xe,or([r()],er.prototype,"variant",void 0),or([r()],er.prototype,"value",void 0),or([i()],er.prototype,"resolvedIcon",void 0),or([n("slot")],er.prototype,"slottedContent",void 0),p("ft-icon")(er),t.FtTabsAlignment=void 0,(tr=t.FtTabsAlignment||(t.FtTabsAlignment={})).left="left",tr.right="right",tr.justify="justify";const rr={colorSurface:xt.external(St.colorSurface,"Design system"),colorPrimary:xt.external(St.colorPrimary,"Design system"),colorOnSurfaceMedium:xt.external(St.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:xt.external(St.colorOnSurfaceDisabled,"Design system")},ir=b`
|
|
411
420
|
.ft-tabs {
|
|
412
421
|
display: flex;
|
|
413
422
|
flex-direction: column;
|
|
414
|
-
background-color: ${
|
|
423
|
+
background-color: ${rr.colorSurface};
|
|
415
424
|
height: 100%;
|
|
416
425
|
}
|
|
417
426
|
|
|
@@ -451,15 +460,15 @@ class Li extends Bt{constructor(t){if(super(t),this.et=G,t.type!==zt)throw Error
|
|
|
451
460
|
outline: none;
|
|
452
461
|
font-size: 16px;
|
|
453
462
|
line-height: 1;
|
|
454
|
-
color: ${
|
|
463
|
+
color: ${rr.colorOnSurfaceMedium};
|
|
455
464
|
}
|
|
456
465
|
|
|
457
466
|
[role='tab'][aria-selected='true'] {
|
|
458
|
-
color: ${
|
|
467
|
+
color: ${rr.colorPrimary};
|
|
459
468
|
}
|
|
460
469
|
|
|
461
470
|
[role='tab'][disabled] {
|
|
462
|
-
color: ${
|
|
471
|
+
color: ${rr.colorOnSurfaceDisabled};
|
|
463
472
|
}
|
|
464
473
|
|
|
465
474
|
.ft-tabs--align-justify [role='tab'],
|
|
@@ -491,7 +500,7 @@ class Li extends Bt{constructor(t){if(super(t),this.et=G,t.type!==zt)throw Error
|
|
|
491
500
|
position: absolute;
|
|
492
501
|
height: 3px;
|
|
493
502
|
border-radius: 2px;
|
|
494
|
-
background-color: ${
|
|
503
|
+
background-color: ${rr.colorPrimary};
|
|
495
504
|
transition: width 200ms ease, left 200ms ease, top 200ms ease;
|
|
496
505
|
}
|
|
497
506
|
|
|
@@ -500,7 +509,7 @@ class Li extends Bt{constructor(t){if(super(t),this.et=G,t.type!==zt)throw Error
|
|
|
500
509
|
flex-grow: 1;
|
|
501
510
|
overflow: auto;
|
|
502
511
|
}
|
|
503
|
-
`,
|
|
512
|
+
`,ar=xt.create("--ft-tooltip-distance","","SIZE","4px"),nr=xt.create("--ft-tooltip-color","","COLOR","#FFFFFF"),lr=xt.create("--ft-tooltip-background-color","","COLOR","#666666"),sr=xt.create("--ft-tooltip-z-index","","NUMBER","100"),cr=xt.external(St.borderRadiusS,"Design system"),pr=xt.create("--ft-tooltip-max-width","","SIZE","150px"),fr=b`
|
|
504
513
|
.ft-tooltip--container {
|
|
505
514
|
display: block;
|
|
506
515
|
}
|
|
@@ -515,21 +524,21 @@ class Li extends Bt{constructor(t){if(super(t),this.et=G,t.type!==zt)throw Error
|
|
|
515
524
|
box-sizing: border-box;
|
|
516
525
|
overflow: hidden;
|
|
517
526
|
width: max-content;
|
|
518
|
-
max-width: ${
|
|
527
|
+
max-width: ${pr};
|
|
519
528
|
text-align: center;
|
|
520
|
-
padding: ${
|
|
521
|
-
z-index: ${
|
|
529
|
+
padding: ${ar};
|
|
530
|
+
z-index: ${sr};
|
|
522
531
|
}
|
|
523
532
|
|
|
524
533
|
.ft-tooltip--content {
|
|
525
534
|
padding: 4px 8px;
|
|
526
|
-
border-radius: ${
|
|
527
|
-
background-color: ${
|
|
528
|
-
color: ${
|
|
535
|
+
border-radius: ${cr};
|
|
536
|
+
background-color: ${lr};
|
|
537
|
+
color: ${nr};
|
|
529
538
|
position: relative;
|
|
530
539
|
word-break: break-word;
|
|
531
540
|
}
|
|
532
|
-
`;var
|
|
541
|
+
`;var hr=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class dr extends Wt{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 J`
|
|
533
542
|
<div part="container"
|
|
534
543
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
535
544
|
@mouseenter=${this.onHover}
|
|
@@ -547,19 +556,19 @@ class Li extends Bt{constructor(t){if(super(t),this.et=G,t.type!==zt)throw Error
|
|
|
547
556
|
</div>
|
|
548
557
|
</div>
|
|
549
558
|
</div>
|
|
550
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((
|
|
559
|
+
`}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,i=(t.offsetWidth-o)/2;let a=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,a=t.offsetLeft+i-this.tooltip.offsetLeft;break;case"bottom":n=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,a=t.offsetLeft+i-this.tooltip.offsetLeft;break;case"left":n=t.offsetTop+r-this.tooltip.offsetTop,a=t.offsetLeft-o-this.tooltip.offsetLeft;break;case"right":n=t.offsetTop+r-this.tooltip.offsetTop,a=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const l=this.tooltip.style;l.left=a+"px",l.top=n+"px";const s=this.tooltip.getBoundingClientRect();let c=-s.x,p=s.x+s.width-window.innerWidth;l.left=a+Math.round(this.correctOutOfWindowPixels(c,p))+"px";let f=-s.y,h=s.y+s.height-window.innerHeight;l.top=n+Math.round(this.correctOutOfWindowPixels(f,h))+"px",l.maxWidth=`max(${t.offsetWidth}px, ${pr})`}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))}}dr.elementDefinitions={"ft-typography":je},dr.styles=fr,hr([r()],dr.prototype,"text",void 0),hr([r({type:Boolean})],dr.prototype,"manual",void 0),hr([r({type:Boolean})],dr.prototype,"inline",void 0),hr([r({type:Number})],dr.prototype,"delay",void 0),hr([r()],dr.prototype,"position",void 0),hr([
|
|
551
560
|
/**
|
|
552
561
|
* @license
|
|
553
562
|
* Copyright 2017 Google LLC
|
|
554
563
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
555
564
|
*/
|
|
556
|
-
function(t,e
|
|
557
|
-
<div class="${
|
|
565
|
+
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 i="slot"+(o?`[name=${o}]`:":not([name])"),a=null===(r=this.renderRoot)||void 0===r?void 0:r.querySelector(i),n=null!=a?s(a,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)],dr.prototype,"slotNodes",void 0),hr([n(".ft-tooltip--container")],dr.prototype,"container",void 0),hr([n(".ft-tooltip")],dr.prototype,"tooltip",void 0),hr([n(".ft-tooltip--content")],dr.prototype,"tooltipContent",void 0),hr([i()],dr.prototype,"visible",void 0),p("ft-tooltip")(dr);var yr=function(t,o,e,r){for(var i,a=arguments.length,n=a<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(n=(a<3?i(n):a>3?i(o,e,n):i(o,e))||n);return a>3&&n&&Object.defineProperty(o,e,n),n};class gr extends CustomEvent{constructor(t){super("index-change",{detail:t})}}class ur extends Wt{constructor(){super(...arguments),this.dense=!1,this.contentBefore=!1,this.alignTabs=t.FtTabsAlignment.justify,this.ftTabs=[],this.activeIndex=0,this.updateDebouncer=new o(2),this.onTabUpdated=()=>this.updateDebouncer.run((()=>{this.requestUpdate(),this.dispatchEvent(new Ct)})),this.resizeObserver=new ResizeObserver((()=>this.placeIndicator()))}render(){var t;const o={"ft-tabs":!0,"ft-tabs--reverse":this.contentBefore,"ft-tabs--dense":this.dense},e=null===(t=this.ftTabs[this.activeIndex])||void 0===t?void 0:t.color;return J`
|
|
566
|
+
<div class="${Vt(o)}" part="container">
|
|
558
567
|
<div class="ft-tabs--align-${this.alignTabs}" role="tablist" part="tablist">
|
|
559
|
-
${
|
|
560
|
-
<button class="${
|
|
568
|
+
${Yt(this.ftTabs,((t,o)=>this.addTooltipIfNecessary(t,J`
|
|
569
|
+
<button class="${Vt({"ft-tabs--tab-with-icon":!!t.icon,"ft-tabs--tab-with-label":!!t.label})}"
|
|
561
570
|
?disabled=${t.disabled}
|
|
562
|
-
@click=${()=>this.activeIndex=
|
|
571
|
+
@click=${()=>this.activeIndex=o}
|
|
563
572
|
role="tab"
|
|
564
573
|
part="tab tab-${t.id}${t.active?" active-tab":""}"
|
|
565
574
|
id="${t.ariaLabelledBy}"
|
|
@@ -579,25 +588,25 @@ function(t,e,i){let o,s=t;return"object"==typeof t?(s=t.slot,o=t):o={flatten:e},
|
|
|
579
588
|
</ft-icon>
|
|
580
589
|
<ft-typography class="ft-tabs--tab-label"
|
|
581
590
|
part="tab-label${t.active?" active-tab-label":""}"
|
|
582
|
-
variant="${
|
|
591
|
+
variant="${xo.body2}">
|
|
583
592
|
${t.label}
|
|
584
593
|
</ft-typography>
|
|
585
594
|
</button>
|
|
586
595
|
`)))}
|
|
587
596
|
<div class="ft-tabs--active-tab-indicator"
|
|
588
597
|
part="active-tab-indicator"
|
|
589
|
-
style="${
|
|
598
|
+
style="${e?`background-color: ${e} !important;`:""}">
|
|
590
599
|
</div>
|
|
591
600
|
</div>
|
|
592
601
|
<div class="ft-tabs--content" part="content">
|
|
593
602
|
<slot @slotchange=${this.onContentChange}></slot>
|
|
594
603
|
</div>
|
|
595
604
|
</div>
|
|
596
|
-
`}onContentChange(t){const
|
|
605
|
+
`}onContentChange(t){const o=t.composedPath()[0];this.ftTabs=o.assignedElements().map((t=>t)),this.ftTabs.forEach((t=>{t.removeEventListener("updated",this.onTabUpdated),t.addEventListener("updated",this.onTabUpdated)})),this.updateTabs()}update(t){super.update(t),t.has("activeIndex")&&this.dispatchEvent(new wt),(t.has("ftTabs")||t.has("activeIndex"))&&this.updateTabs(),t.has("activeIndex")&&this.dispatchEvent(new gr(this.activeIndex))}contentAvailableCallback(t){super.contentAvailableCallback(t),this.tabsContainer&&this.resizeObserver.observe(this.tabsContainer),this.placeIndicator()}placeIndicator(){var t,o,e,r,i,a,n;if(this.activeTabIndicator){const l=null!==(o=null===(t=this.activeTab)||void 0===t?void 0:t.closest(".ft-tabs--tab-tooltip"))&&void 0!==o?o:this.activeTab;this.activeTabIndicator.style.width=(null!==(e=null==l?void 0:l.clientWidth)&&void 0!==e?e:0)+"px",this.activeTabIndicator.style.left=(null!==(r=null==l?void 0:l.offsetLeft)&&void 0!==r?r:0)+"px",this.contentBefore?this.activeTabIndicator.style.top=(null!==(i=null==l?void 0:l.offsetTop)&&void 0!==i?i:0)+"px":this.activeTabIndicator.style.top=(null!==(a=null==l?void 0:l.offsetTop)&&void 0!==a?a:0)+(null!==(n=null==l?void 0:l.clientHeight)&&void 0!==n?n:0)-this.activeTabIndicator.clientHeight+"px"}}updateTabs(){this.ftTabs.forEach(((t,o)=>{t.active=o==this.activeIndex}))}addTooltipIfNecessary(t,o){return this.dense&&t.label&&t.icon?J`
|
|
597
606
|
<ft-tooltip class="ft-tabs--tab-tooltip"
|
|
598
607
|
part="tab-tooltip"
|
|
599
608
|
text="${t.label}"
|
|
600
609
|
position="${this.contentBefore?"top":"bottom"}">
|
|
601
|
-
${
|
|
610
|
+
${o}
|
|
602
611
|
</ft-tooltip>
|
|
603
|
-
`:
|
|
612
|
+
`:o}}ur.elementDefinitions={"ft-tab":zt,"ft-ripple":ho,"ft-tooltip":dr,"ft-typography":je,"ft-icon":er},ur.styles=ir,yr([r({type:Boolean})],ur.prototype,"dense",void 0),yr([r({type:Boolean})],ur.prototype,"contentBefore",void 0),yr([r()],ur.prototype,"alignTabs",void 0),yr([i()],ur.prototype,"ftTabs",void 0),yr([n("[role='tablist']")],ur.prototype,"tabsContainer",void 0),yr([n("[aria-selected='true']")],ur.prototype,"activeTab",void 0),yr([n(".ft-tabs--active-tab-indicator")],ur.prototype,"activeTabIndicator",void 0),yr([r({type:Number,reflect:!0})],ur.prototype,"activeIndex",void 0);p("ft-tab")(zt),p("ft-tabs")(ur),t.FtTab=zt,t.FtTabCssVariables={},t.FtTabs=ur,t.FtTabsCssVariables=rr,t.IndexChangeEvent=gr,t.styles=ir}({});
|