@fluid-topics/ft-pager 1.1.17 → 1.1.19
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-pager.d.ts +1 -1
- package/build/ft-pager.js +29 -17
- package/build/ft-pager.light.js +236 -373
- package/build/ft-pager.min.js +287 -431
- package/package.json +6 -6
package/build/ft-pager.min.js
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* subject to an additional IP rights grant found at
|
|
13
13
|
* http://polymer.github.io/PATENTS.txt
|
|
14
14
|
*/
|
|
15
|
-
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,i=window.customElements,r=new WeakMap,n=new WeakMap,a=new WeakMap,s=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,r){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(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);h(r,l,s);const c={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(r,c);let
|
|
15
|
+
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,i=window.customElements,r=new WeakMap,n=new WeakMap,a=new WeakMap,s=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,r){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(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);h(r,l,s);const c={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(r,c);let p=o.call(i,t);p||(p=f(t),e.call(i,t,p)),this===window.customElements&&(a.set(r,c),c.standInClass=p);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),u(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){g.push(this),i.upgrade.apply(i,arguments),g.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let o=this._whenDefinedPromises.get(t);return void 0===o&&(o={},o.promise=new Promise((t=>o.resolve=t)),this._whenDefinedPromises.set(t,o)),o.promise}_upgradeWhenDefined(t,e,o){let i=this._awaitingUpgrade.get(e);i||this._awaitingUpgrade.set(e,i=new Set),o?i.add(t):i.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const o=a.get(this.constructor);if(!o)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],o.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),r.set(e,o),e},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,p=t=>{let e=t.getRootNode();if(!c(e)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),c(e)||(e=s.get(e)?.getRootNode()||document)}return e.customElements},f=e=>class{static get formAssociated(){return!0}constructor(){const o=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(o,HTMLElement.prototype);const i=p(o)||window.customElements,r=i._getDefinition(e);return r?u(o,r):n.set(o,i),o}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=r.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},h=(t,e,o)=>{if(0===e.size||void 0===o)return;const i=t.prototype.setAttribute;i&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);i.call(this,n,r),o.call(this,n,t,r)}else i.call(this,n,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const i=t.toLowerCase();if(e.has(i)){const t=this.getAttribute(i);r.call(this,i),o.call(this,i,t,null)}else r.call(this,i)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,i){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);n.call(this,r,i);const e=this.getAttribute(r);o.call(this,r,t,e)}else n.call(this,r,i)})},d=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t?Object.setPrototypeOf(e,window.HTMLElement):d(o)},u=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),r.set(t,e),l=t;try{new e.elementClass}catch(t){d(e.elementClass),new e.elementClass}e.attributeChangedCallback&&e.observedAttributes.forEach((o=>{t.hasAttribute(o)&&e.attributeChangedCallback.call(t,o,null,t.getAttribute(o))})),o&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let g=[document];const b=(t,e,o=void 0)=>{const i=(o?Object.getPrototypeOf(o):t.prototype)[e];t.prototype[e]=function(){g.push(this);const t=i.apply(o||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,e)=>{const o=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...o,set(t){g.push(this),o.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,o=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...o){const i=e.call(this,...o);return t.set(i,this),i},o.forEach((e=>{const o=window.ElementInternals.prototype,i=o[e];o[e]=function(...e){const o=t.get(this);if(!0===r.get(o).formAssociated)return i?.call(this,...e);throw new DOMException(`Failed to execute ${i} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class i extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const e=new Map;t.forEach(((t,o)=>{const i=t.getAttribute("name"),r=e.get(i)||[];this[+o]=t,r.push(t),e.set(i,r)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new i(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),e=[];for(const o of t){const t=r.get(o);t&&!0!==t.formAssociated||e.push(o)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(Qr){const t=window.customElements.define;window.customElements.define=(e,o,i)=>{if(null!==o)try{t.bind(window.customElements)(e,o,i)}catch(t){console.info(e,o,i,t)}}}class e{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const o=[...this.callbacks];this.callbacks=[];const i=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,r=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of o)try{await t()}catch(t){return void i(t)}r(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
|
|
16
16
|
/**
|
|
17
17
|
* @license
|
|
18
18
|
* Copyright 2019 Google LLC
|
|
@@ -22,13 +22,13 @@ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.cust
|
|
|
22
22
|
* @license
|
|
23
23
|
* Copyright 2017 Google LLC
|
|
24
24
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
25
|
-
*/,{is:l,defineProperty:c,getOwnPropertyDescriptor:
|
|
25
|
+
*/,{is:l,defineProperty:c,getOwnPropertyDescriptor:p,getOwnPropertyNames:f,getOwnPropertySymbols:h,getPrototypeOf:d}=Object,u=globalThis,y=u.trustedTypes,g=y?y.emptyScript:"",b=u.reactiveElementPolyfillSupport,m=(t,e)=>t,x={toAttribute(t,e){switch(e){case Boolean:t=t?g:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=null!==t;break;case Number:o=null===t?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch(t){o=null}}return o}},v=(t,e)=>!l(t,e),O={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:v};Symbol.metadata??=Symbol("metadata"),u.litPropertyMetadata??=new WeakMap;let S=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=O){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),i=this.getPropertyDescriptor(t,o,e);void 0!==i&&c(this.prototype,t,i)}}static getPropertyDescriptor(t,e,o){const{get:i,set:r}=p(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return i?.call(this)},set(e){const n=i?.call(this);r.call(this,e),this.requestUpdate(t,n,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??O}static _$Ei(){if(this.hasOwnProperty(m("elementProperties")))return;const t=d(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(m("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(m("properties"))){const t=this.properties,e=[...f(t),...h(t)];for(const o of e)this.createProperty(o,t[o])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,o]of e)this.elementProperties.set(t,o)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const o=this._$Eu(t,e);void 0!==o&&this._$Eh.set(o,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const o=new Set(t.flat(1/0).reverse());for(const t of o)e.unshift(s(t))}else void 0!==t&&e.push(s(t));return e}static _$Eu(t,e){const o=e.attribute;return!1===o?void 0:"string"==typeof o?o:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,e=this.constructor.elementProperties;for(const o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{if(i)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const i of e){const e=document.createElement("style"),r=o.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=i.cssText,t.appendChild(e)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,o){this._$AK(t,o)}_$EO(t,e){const o=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,o);if(void 0!==i&&!0===o.reflect){const r=(void 0!==o.converter?.toAttribute?o.converter:x).toAttribute(e,o.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,e){const o=this.constructor,i=o._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=o.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:x;this._$Em=i,this[i]=r.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,i=!1,r){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??v)(i?r:this[t],e))return;this.C(t,e,o)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,e,o){this._$AL.has(t)||this._$AL.set(t,e),!0===o.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,o]of t)!0!==o.wrapped||this._$AL.has(e)||void 0===this[e]||this.C(e,this[e],o)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$ET()}catch(e){throw t=!1,this._$ET(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};S.elementStyles=[],S.shadowRootOptions={mode:"open"},S[m("elementProperties")]=new Map,S[m("finalized")]=new Map,b?.({ReactiveElement:S}),(u.reactiveElementVersions??=[]).push("2.0.2");
|
|
26
26
|
/**
|
|
27
27
|
* @license
|
|
28
28
|
* Copyright 2017 Google LLC
|
|
29
29
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
30
30
|
*/
|
|
31
|
-
const
|
|
31
|
+
const N={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:v},w=(t=N,e,o)=>{const{kind:i,metadata:r}=o;let n=globalThis.litPropertyMetadata.get(r);if(void 0===n&&globalThis.litPropertyMetadata.set(r,n=new Map),n.set(o.name,t),"accessor"===i){const{name:i}=o;return{set(o){const r=e.get.call(this);e.set.call(this,o),this.requestUpdate(i,r,t)},init(e){return void 0!==e&&this.C(i,void 0,t),e}}}if("setter"===i){const{name:i}=o;return function(o){const r=this[i];e.call(this,o),this.requestUpdate(i,r,t)}}throw Error("Unsupported decorator location: "+i)};function $(t){return(e,o)=>"object"==typeof o?w(t,e,o):((t,e,o)=>{const i=e.hasOwnProperty(o);return e.constructor.createProperty(o,i?{...t,wrapped:!0}:t),i?Object.getOwnPropertyDescriptor(e,o):void 0})(t,e,o)
|
|
32
32
|
/**
|
|
33
33
|
* @license
|
|
34
34
|
* Copyright 2017 Google LLC
|
|
@@ -38,34 +38,27 @@ const w={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:v},N=(t=w,e,
|
|
|
38
38
|
* @license
|
|
39
39
|
* Copyright 2017 Google LLC
|
|
40
40
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
41
|
-
*/function
|
|
41
|
+
*/function R(t){return(e,o)=>{const i="function"==typeof e?e:e[o];Object.assign(i,t)}}
|
|
42
42
|
/**
|
|
43
43
|
* @license
|
|
44
44
|
* Copyright 2017 Google LLC
|
|
45
45
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
46
|
-
*/const
|
|
46
|
+
*/const E=(t,e,o)=>(o.configurable=!0,o.enumerable=!0,o)
|
|
47
47
|
/**
|
|
48
48
|
* @license
|
|
49
49
|
* Copyright 2017 Google LLC
|
|
50
50
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
51
|
-
*/;function
|
|
52
|
-
/**
|
|
53
|
-
* @license
|
|
54
|
-
* Copyright 2021 Google LLC
|
|
55
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
56
|
-
*/
|
|
51
|
+
*/;function U(t,e){return(o,i,r)=>{const n=e=>e.renderRoot?.querySelector(t)??null;if(e){const{get:t,set:e}="object"==typeof i?o:r??(()=>{const t=Symbol();return{get(){return this[t]},set(e){this[t]=e}}})();return E(0,0,{get(){let o=t.call(this);return void 0===o&&(o=n(this),(null!==o||this.hasUpdated)&&e.call(this,o)),o}})}return E(0,0,{get(){return n(this)}})}}
|
|
57
52
|
/**
|
|
58
53
|
* @license
|
|
59
54
|
* Copyright 2017 Google LLC
|
|
60
55
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
61
|
-
*/
|
|
62
|
-
function U(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return R(0,0,{get(){const e=this.renderRoot?.querySelector(r);return e?.assignedNodes(t)??[]}})}}function I(t,e){try{return function(t,e){if(t===e)return!0;if(t&&e&&"object"==typeof t&&"object"==typeof e){if(t.constructor!==e.constructor)return!1;var o,i,r;if(Array.isArray(t)){if((o=t.length)!=e.length)return!1;for(i=o;0!=i--;)if(!I(t[i],e[i]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;for(i of t.entries())if(!I(i[1],e.get(i[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if((o=(r=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(i=o;0!=i--;)if(!Object.prototype.hasOwnProperty.call(e,r[i]))return!1;for(i=o;0!=i--;){var n=r[i];if(!I(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}const L=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};
|
|
56
|
+
*/function k(t,e){try{return function(t,e){if(t===e)return!0;if(t&&e&&"object"==typeof t&&"object"==typeof e){if(t.constructor!==e.constructor)return!1;var o,i,r;if(Array.isArray(t)){if((o=t.length)!=e.length)return!1;for(i=o;0!=i--;)if(!k(t[i],e[i]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;for(i of t.entries())if(!k(i[1],e.get(i[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if((o=(r=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(i=o;0!=i--;)if(!Object.prototype.hasOwnProperty.call(e,r[i]))return!1;for(i=o;0!=i--;){var n=r[i];if(!k(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}const I=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function L(t){return $({type:Object,converter:{fromAttribute:t=>{if(null!=t)return function(t){return!isNaN(parseFloat(t))}
|
|
63
57
|
/**
|
|
64
58
|
* @license
|
|
65
59
|
* Copyright 2017 Google LLC
|
|
66
60
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
67
|
-
*/
|
|
68
|
-
const W=globalThis,z=W.trustedTypes,K=z?z.createPolicy("lit-html",{createHTML:t=>t}):void 0,F="$lit$",Z=`lit$${(Math.random()+"").slice(9)}$`,B="?"+Z,D=`<${B}>`,M=document,A=()=>M.createComment(""),P=t=>null===t||"object"!=typeof t&&"function"!=typeof t,H=Array.isArray,j="[ \t\n\f\r]",T=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_=/-->/g,G=/>/g,V=RegExp(`>|${j}(?:([^\\s"'>=/]+)(${j}*=${j}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Y=/'/g,J=/"/g,q=/^(?:script|style|textarea|title)$/i,X=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),Q=Symbol.for("lit-noChange"),tt=Symbol.for("lit-nothing"),et=new WeakMap,ot=M.createTreeWalker(M,129);function it(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==K?K.createHTML(e):e}let rt=class t{constructor({strings:e,_$litType$:o},i){let r;this.parts=[];let n=0,a=0;const s=e.length-1,l=this.parts,[c,f]=((t,e)=>{const o=t.length-1,i=[];let r,n=2===e?"<svg>":"",a=T;for(let e=0;e<o;e++){const o=t[e];let s,l,c=-1,f=0;for(;f<o.length&&(a.lastIndex=f,l=a.exec(o),null!==l);)f=a.lastIndex,a===T?"!--"===l[1]?a=_:void 0!==l[1]?a=G:void 0!==l[2]?(q.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=V):void 0!==l[3]&&(a=V):a===V?">"===l[0]?(a=r??T,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?V:'"'===l[3]?J:Y):a===J||a===Y?a=V:a===_||a===G?a=T:(a=V,r=void 0);const p=a===V&&t[e+1].startsWith("/>")?" ":"";n+=a===T?o+D:c>=0?(i.push(s),o.slice(0,c)+F+o.slice(c)+Z+p):o+Z+(-2===c?e:p)}return[it(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),i]})(e,o);if(this.el=t.createElement(c,i),ot.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=ot.nextNode())&&l.length<s;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(F)){const e=f[a++],o=r.getAttribute(t).split(Z),i=/([.?@])?(.*)/.exec(e);l.push({type:1,index:n,name:i[2],strings:o,ctor:"."===i[1]?lt:"?"===i[1]?ct:"@"===i[1]?ft:st}),r.removeAttribute(t)}else t.startsWith(Z)&&(l.push({type:6,index:n}),r.removeAttribute(t));if(q.test(r.tagName)){const t=r.textContent.split(Z),e=t.length-1;if(e>0){r.textContent=z?z.emptyScript:"";for(let o=0;o<e;o++)r.append(t[o],A()),ot.nextNode(),l.push({type:2,index:++n});r.append(t[e],A())}}}else if(8===r.nodeType)if(r.data===B)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=r.data.indexOf(Z,t+1));)l.push({type:7,index:n}),t+=Z.length-1}n++}}static createElement(t,e){const o=M.createElement("template");return o.innerHTML=t,o}};function nt(t,e,o=t,i){if(e===Q)return e;let r=void 0!==i?o._$Co?.[i]:o._$Cl;const n=P(e)?void 0:e._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,o,i)),void 0!==i?(o._$Co??=[])[i]=r:o._$Cl=r),void 0!==r&&(e=nt(t,r._$AS(t,e.values),r,i)),e}let at=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,i){this.type=2,this._$AH=tt,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=nt(this,t,e),P(t)?t===tt||null==t||""===t?(this._$AH!==tt&&this._$AR(),this._$AH=tt):t!==this._$AH&&t!==Q&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>H(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==tt&&P(this._$AH)?this._$AA.nextSibling.data=t:this.$(M.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,i="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=rt.createElement(it(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,i=(t?.creationScope??M).importNode(e,!0);ot.currentNode=i;let r=ot.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new at(r,r.nextSibling,this,t):1===s.type?e=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(e=new pt(r,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(r=ot.nextNode(),n++)}return ot.currentNode=M,i}p(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}}(i,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=et.get(t.strings);return void 0===e&&et.set(t.strings,e=new rt(t)),e}T(e){H(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let i,r=0;for(const n of e)r===o.length?o.push(i=new t(this.k(A()),this.k(A()),this,this.options)):i=o[r],i._$AI(n),r++;r<o.length&&(this._$AR(i&&i._$AB.nextSibling,r),o.length=r)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},st=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,i,r){this.type=1,this._$AH=tt,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=tt}_$AI(t,e=this,o,i){const r=this.strings;let n=!1;if(void 0===r)t=nt(this,t,e,0),n=!P(t)||t!==this._$AH&&t!==Q,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=nt(this,i[o+a],e,a),s===Q&&(s=this._$AH[a]),n||=!P(s)||s!==this._$AH[a],s===tt?t=tt:t!==tt&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===tt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},lt=class extends st{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===tt?void 0:t}},ct=class extends st{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==tt)}},ft=class extends st{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){if((t=nt(this,t,e,0)??tt)===Q)return;const o=this._$AH,i=t===tt&&o!==tt||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==tt&&(o===tt||i);i&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},pt=class{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){nt(this,t)}};const ht=W.litHtmlPolyfillSupport;ht?.(rt,at),(W.litHtmlVersions??=[]).push("3.1.0");
|
|
61
|
+
*/(t)?+t:void 0},toAttribute:t=>""+t},...null!=t?t:{}})}const W=globalThis,z=W.trustedTypes,F=z?z.createPolicy("lit-html",{createHTML:t=>t}):void 0,K="$lit$",Z=`lit$${(Math.random()+"").slice(9)}$`,B="?"+Z,M=`<${B}>`,D=document,A=()=>D.createComment(""),P=t=>null===t||"object"!=typeof t&&"function"!=typeof t,H=Array.isArray,j="[ \t\n\f\r]",T=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_=/-->/g,G=/>/g,Y=RegExp(`>|${j}(?:([^\\s"'>=/]+)(${j}*=${j}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),V=/'/g,J=/"/g,q=/^(?:script|style|textarea|title)$/i,X=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),Q=Symbol.for("lit-noChange"),tt=Symbol.for("lit-nothing"),et=new WeakMap,ot=D.createTreeWalker(D,129);function it(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==F?F.createHTML(e):e}let rt=class t{constructor({strings:e,_$litType$:o},i){let r;this.parts=[];let n=0,a=0;const s=e.length-1,l=this.parts,[c,p]=((t,e)=>{const o=t.length-1,i=[];let r,n=2===e?"<svg>":"",a=T;for(let e=0;e<o;e++){const o=t[e];let s,l,c=-1,p=0;for(;p<o.length&&(a.lastIndex=p,l=a.exec(o),null!==l);)p=a.lastIndex,a===T?"!--"===l[1]?a=_:void 0!==l[1]?a=G:void 0!==l[2]?(q.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=Y):void 0!==l[3]&&(a=Y):a===Y?">"===l[0]?(a=r??T,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?Y:'"'===l[3]?J:V):a===J||a===V?a=Y:a===_||a===G?a=T:(a=Y,r=void 0);const f=a===Y&&t[e+1].startsWith("/>")?" ":"";n+=a===T?o+M:c>=0?(i.push(s),o.slice(0,c)+K+o.slice(c)+Z+f):o+Z+(-2===c?e:f)}return[it(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),i]})(e,o);if(this.el=t.createElement(c,i),ot.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=ot.nextNode())&&l.length<s;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(K)){const e=p[a++],o=r.getAttribute(t).split(Z),i=/([.?@])?(.*)/.exec(e);l.push({type:1,index:n,name:i[2],strings:o,ctor:"."===i[1]?lt:"?"===i[1]?ct:"@"===i[1]?pt:st}),r.removeAttribute(t)}else t.startsWith(Z)&&(l.push({type:6,index:n}),r.removeAttribute(t));if(q.test(r.tagName)){const t=r.textContent.split(Z),e=t.length-1;if(e>0){r.textContent=z?z.emptyScript:"";for(let o=0;o<e;o++)r.append(t[o],A()),ot.nextNode(),l.push({type:2,index:++n});r.append(t[e],A())}}}else if(8===r.nodeType)if(r.data===B)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=r.data.indexOf(Z,t+1));)l.push({type:7,index:n}),t+=Z.length-1}n++}}static createElement(t,e){const o=D.createElement("template");return o.innerHTML=t,o}};function nt(t,e,o=t,i){if(e===Q)return e;let r=void 0!==i?o._$Co?.[i]:o._$Cl;const n=P(e)?void 0:e._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,o,i)),void 0!==i?(o._$Co??=[])[i]=r:o._$Cl=r),void 0!==r&&(e=nt(t,r._$AS(t,e.values),r,i)),e}let at=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,i){this.type=2,this._$AH=tt,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=nt(this,t,e),P(t)?t===tt||null==t||""===t?(this._$AH!==tt&&this._$AR(),this._$AH=tt):t!==this._$AH&&t!==Q&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>H(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==tt&&P(this._$AH)?this._$AA.nextSibling.data=t:this.$(D.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,i="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=rt.createElement(it(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,i=(t?.creationScope??D).importNode(e,!0);ot.currentNode=i;let r=ot.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new at(r,r.nextSibling,this,t):1===s.type?e=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(e=new ft(r,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(r=ot.nextNode(),n++)}return ot.currentNode=D,i}p(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}}(i,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=et.get(t.strings);return void 0===e&&et.set(t.strings,e=new rt(t)),e}T(e){H(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let i,r=0;for(const n of e)r===o.length?o.push(i=new t(this.k(A()),this.k(A()),this,this.options)):i=o[r],i._$AI(n),r++;r<o.length&&(this._$AR(i&&i._$AB.nextSibling,r),o.length=r)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},st=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,i,r){this.type=1,this._$AH=tt,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=tt}_$AI(t,e=this,o,i){const r=this.strings;let n=!1;if(void 0===r)t=nt(this,t,e,0),n=!P(t)||t!==this._$AH&&t!==Q,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=nt(this,i[o+a],e,a),s===Q&&(s=this._$AH[a]),n||=!P(s)||s!==this._$AH[a],s===tt?t=tt:t!==tt&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===tt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},lt=class extends st{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===tt?void 0:t}},ct=class extends st{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==tt)}},pt=class extends st{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){if((t=nt(this,t,e,0)??tt)===Q)return;const o=this._$AH,i=t===tt&&o!==tt||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==tt&&(o===tt||i);i&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},ft=class{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){nt(this,t)}};const ht=W.litHtmlPolyfillSupport;ht?.(rt,at),(W.litHtmlVersions??=[]).push("3.1.0");
|
|
69
62
|
/**
|
|
70
63
|
* @license
|
|
71
64
|
* Copyright 2019 Google LLC
|
|
@@ -76,26 +69,26 @@ const dt=globalThis,ut=dt.ShadowRoot&&(void 0===dt.ShadyCSS||dt.ShadyCSS.nativeS
|
|
|
76
69
|
* @license
|
|
77
70
|
* Copyright 2017 Google LLC
|
|
78
71
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
79
|
-
*/,{is:Ot,defineProperty:St,getOwnPropertyDescriptor:
|
|
72
|
+
*/,{is:Ot,defineProperty:St,getOwnPropertyDescriptor:Nt,getOwnPropertyNames:wt,getOwnPropertySymbols:$t,getPrototypeOf:Ct}=Object,Rt=globalThis,Et=Rt.trustedTypes,Ut=Et?Et.emptyScript:"",kt=Rt.reactiveElementPolyfillSupport,It=(t,e)=>t,Lt={toAttribute(t,e){switch(e){case Boolean:t=t?Ut:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=null!==t;break;case Number:o=null===t?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch(t){o=null}}return o}},Wt=(t,e)=>!Ot(t,e),zt={attribute:!0,type:String,converter:Lt,reflect:!1,hasChanged:Wt};Symbol.metadata??=Symbol("metadata"),Rt.litPropertyMetadata??=new WeakMap;class Ft extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=zt){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),i=this.getPropertyDescriptor(t,o,e);void 0!==i&&St(this.prototype,t,i)}}static getPropertyDescriptor(t,e,o){const{get:i,set:r}=Nt(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return i?.call(this)},set(e){const n=i?.call(this);r.call(this,e),this.requestUpdate(t,n,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??zt}static _$Ei(){if(this.hasOwnProperty(It("elementProperties")))return;const t=Ct(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(It("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(It("properties"))){const t=this.properties,e=[...wt(t),...$t(t)];for(const o of e)this.createProperty(o,t[o])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,o]of e)this.elementProperties.set(t,o)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const o=this._$Eu(t,e);void 0!==o&&this._$Eh.set(o,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const o=new Set(t.flat(1/0).reverse());for(const t of o)e.unshift(vt(t))}else void 0!==t&&e.push(vt(t));return e}static _$Eu(t,e){const o=e.attribute;return!1===o?void 0:"string"==typeof o?o:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,e=this.constructor.elementProperties;for(const o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{if(ut)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of e){const e=document.createElement("style"),i=dt.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=o.cssText,t.appendChild(e)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,o){this._$AK(t,o)}_$EO(t,e){const o=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,o);if(void 0!==i&&!0===o.reflect){const r=(void 0!==o.converter?.toAttribute?o.converter:Lt).toAttribute(e,o.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,e){const o=this.constructor,i=o._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=o.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:Lt;this._$Em=i,this[i]=r.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,i=!1,r){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??Wt)(i?r:this[t],e))return;this.C(t,e,o)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,e,o){this._$AL.has(t)||this._$AL.set(t,e),!0===o.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,o]of t)!0!==o.wrapped||this._$AL.has(e)||void 0===this[e]||this.C(e,this[e],o)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$ET()}catch(e){throw t=!1,this._$ET(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}}Ft.elementStyles=[],Ft.shadowRootOptions={mode:"open"},Ft[It("elementProperties")]=new Map,Ft[It("finalized")]=new Map,kt?.({ReactiveElement:Ft}),(Rt.reactiveElementVersions??=[]).push("2.0.2");
|
|
80
73
|
/**
|
|
81
74
|
* @license
|
|
82
75
|
* Copyright 2017 Google LLC
|
|
83
76
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
84
77
|
*/
|
|
85
|
-
const
|
|
78
|
+
const Kt=globalThis,Zt=Kt.trustedTypes,Bt=Zt?Zt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Mt="$lit$",Dt=`lit$${(Math.random()+"").slice(9)}$`,At="?"+Dt,Pt=`<${At}>`,Ht=document,jt=()=>Ht.createComment(""),Tt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,_t=Array.isArray,Gt="[ \t\n\f\r]",Yt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Vt=/-->/g,Jt=/>/g,qt=RegExp(`>|${Gt}(?:([^\\s"'>=/]+)(${Gt}*=${Gt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Xt=/'/g,Qt=/"/g,te=/^(?:script|style|textarea|title)$/i,ee=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),oe=Symbol.for("lit-noChange"),ie=Symbol.for("lit-nothing"),re=new WeakMap,ne=Ht.createTreeWalker(Ht,129);function ae(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Bt?Bt.createHTML(e):e}const se=(t,e)=>{const o=t.length-1,i=[];let r,n=2===e?"<svg>":"",a=Yt;for(let e=0;e<o;e++){const o=t[e];let s,l,c=-1,p=0;for(;p<o.length&&(a.lastIndex=p,l=a.exec(o),null!==l);)p=a.lastIndex,a===Yt?"!--"===l[1]?a=Vt:void 0!==l[1]?a=Jt:void 0!==l[2]?(te.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=qt):void 0!==l[3]&&(a=qt):a===qt?">"===l[0]?(a=r??Yt,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?qt:'"'===l[3]?Qt:Xt):a===Qt||a===Xt?a=qt:a===Vt||a===Jt?a=Yt:(a=qt,r=void 0);const f=a===qt&&t[e+1].startsWith("/>")?" ":"";n+=a===Yt?o+Pt:c>=0?(i.push(s),o.slice(0,c)+Mt+o.slice(c)+Dt+f):o+Dt+(-2===c?e:f)}return[ae(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),i]};class le{constructor({strings:t,_$litType$:e},o){let i;this.parts=[];let r=0,n=0;const a=t.length-1,s=this.parts,[l,c]=se(t,e);if(this.el=le.createElement(l,o),ne.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=ne.nextNode())&&s.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(Mt)){const e=c[n++],o=i.getAttribute(t).split(Dt),a=/([.?@])?(.*)/.exec(e);s.push({type:1,index:r,name:a[2],strings:o,ctor:"."===a[1]?he:"?"===a[1]?de:"@"===a[1]?ue:fe}),i.removeAttribute(t)}else t.startsWith(Dt)&&(s.push({type:6,index:r}),i.removeAttribute(t));if(te.test(i.tagName)){const t=i.textContent.split(Dt),e=t.length-1;if(e>0){i.textContent=Zt?Zt.emptyScript:"";for(let o=0;o<e;o++)i.append(t[o],jt()),ne.nextNode(),s.push({type:2,index:++r});i.append(t[e],jt())}}}else if(8===i.nodeType)if(i.data===At)s.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(Dt,t+1));)s.push({type:7,index:r}),t+=Dt.length-1}r++}}static createElement(t,e){const o=Ht.createElement("template");return o.innerHTML=t,o}}function ce(t,e,o=t,i){if(e===oe)return e;let r=void 0!==i?o._$Co?.[i]:o._$Cl;const n=Tt(e)?void 0:e._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,o,i)),void 0!==i?(o._$Co??=[])[i]=r:o._$Cl=r),void 0!==r&&(e=ce(t,r._$AS(t,e.values),r,i)),e}class pe{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,i){this.type=2,this._$AH=ie,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=ce(this,t,e),Tt(t)?t===ie||null==t||""===t?(this._$AH!==ie&&this._$AR(),this._$AH=ie):t!==this._$AH&&t!==oe&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>_t(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==ie&&Tt(this._$AH)?this._$AA.nextSibling.data=t:this.$(Ht.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,i="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=le.createElement(ae(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,i=(t?.creationScope??Ht).importNode(e,!0);ne.currentNode=i;let r=ne.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new pe(r,r.nextSibling,this,t):1===s.type?e=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(e=new ye(r,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(r=ne.nextNode(),n++)}return ne.currentNode=Ht,i}p(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}}(i,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=re.get(t.strings);return void 0===e&&re.set(t.strings,e=new le(t)),e}T(t){_t(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let o,i=0;for(const r of t)i===e.length?e.push(o=new pe(this.k(jt()),this.k(jt()),this,this.options)):o=e[i],o._$AI(r),i++;i<e.length&&(this._$AR(o&&o._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class fe{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,i,r){this.type=1,this._$AH=ie,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=ie}_$AI(t,e=this,o,i){const r=this.strings;let n=!1;if(void 0===r)t=ce(this,t,e,0),n=!Tt(t)||t!==this._$AH&&t!==oe,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=ce(this,i[o+a],e,a),s===oe&&(s=this._$AH[a]),n||=!Tt(s)||s!==this._$AH[a],s===ie?t=ie:t!==ie&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===ie?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class he extends fe{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===ie?void 0:t}}class de extends fe{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==ie)}}class ue extends fe{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){if((t=ce(this,t,e,0)??ie)===oe)return;const o=this._$AH,i=t===ie&&o!==ie||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==ie&&(o===ie||i);i&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class ye{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){ce(this,t)}}const ge=Kt.litHtmlPolyfillSupport;ge?.(le,pe),(Kt.litHtmlVersions??=[]).push("3.1.0");
|
|
86
79
|
/**
|
|
87
80
|
* @license
|
|
88
81
|
* Copyright 2017 Google LLC
|
|
89
82
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
90
83
|
*/
|
|
91
|
-
class be extends Kt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,o)=>{const i=o?.renderBefore??e;let r=i._$litPart$;if(void 0===r){const t=o?.renderBefore??null;i._$litPart$=r=new fe(e.insertBefore(jt(),t),t,void 0,o??{})}return r._$AI(t),r})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return oe}}be._$litElement$=!0,be.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:be});const me=globalThis.litElementPolyfillSupport;me?.({LitElement:be}),(globalThis.litElementVersions??=[]).push("4.0.2");const xe=t=>"string"==typeof t?mt(t):t;class ve{static create(t,e,o,i){const r=t=>xe(null!=t?t:i),n=xt`var(${xe(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>xt`var(${xe(t)}, ${r(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,e,o,i){const r=t=>o.get(null!=t?t:i),n=xt`var(${xe(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o.category,n.fallbackVariable=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>xt`var(${xe(t)}, ${r(e)})`,n.breadcrumb=()=>[o.name,...o.breadcrumb()],n.lastResortDefaultValue=()=>null!=i?i:o.lastResortDefaultValue(),n}static external(t,e){const o=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):xe(null!=e?e:t.lastResortDefaultValue()),i=xt`var(${xe(t.name)}, ${o(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=e,i.defaultCssValue=o,i.get=e=>xt`var(${xe(t.name)}, ${o(e)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function Oe(t,e){return xe(`${t.name}: ${e}`)}const Se={colorWhite:ve.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:ve.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:ve.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:ve.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:ve.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:ve.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:ve.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:ve.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:ve.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:ve.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:ve.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:ve.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:ve.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:ve.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:ve.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:ve.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:ve.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:ve.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:ve.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:ve.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:ve.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:ve.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:ve.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:ve.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:ve.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:ve.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:ve.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:ve.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:ve.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:ve.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:ve.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:ve.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:ve.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:ve.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:ve.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:ve.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:ve.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:ve.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:ve.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:ve.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:ve.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:ve.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:ve.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:ve.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:ve.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:ve.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:ve.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:ve.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:ve.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:ve.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:ve.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:ve.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:ve.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:ve.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:ve.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:ve.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:ve.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:ve.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:ve.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:ve.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:ve.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:ve.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:ve.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:ve.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:ve.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:ve.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:ve.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:ve.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:ve.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:ve.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:ve.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:ve.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:ve.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:ve.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:ve.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:ve.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:ve.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:ve.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:ve.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:ve.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:ve.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:ve.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:ve.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:ve.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:ve.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:ve.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:ve.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:ve.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:ve.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:ve.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:ve.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:ve.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:ve.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:ve.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:ve.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:ve.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:ve.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:ve.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:ve.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:ve.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:ve.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:ve.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:ve.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:ve.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:ve.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:ve.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:ve.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:ve.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:ve.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:ve.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:ve.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:ve.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:ve.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:ve.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:ve.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:ve.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:ve.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:ve.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:ve.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:ve.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:ve.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:ve.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:ve.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:ve.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:ve.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:ve.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:ve.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:ve.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:ve.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:ve.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:ve.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:ve.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:ve.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:ve.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:ve.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:ve.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:ve.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:ve.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:ve.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:ve.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:ve.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:ve.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:ve.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:ve.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:ve.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:ve.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:ve.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:ve.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:ve.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:ve.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:ve.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:ve.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:ve.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:ve.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:ve.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:ve.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:ve.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:ve.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:ve.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:ve.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:ve.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:ve.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:ve.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:ve.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:ve.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:ve.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:ve.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:ve.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:ve.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:ve.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:ve.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:ve.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:ve.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:ve.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:ve.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:ve.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:ve.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:ve.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:ve.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:ve.create("--ft-icon-size-6","","SIZE","48px"),opacity0:ve.create("--ft-opacity-0","","NUMBER","0"),opacity8:ve.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:ve.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:ve.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:ve.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:ve.create("--ft-opacity-80","","NUMBER","0.8")},we={display:{fontFamily:ve.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:ve.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:ve.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:ve.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:ve.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:ve.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:ve.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:ve.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:ve.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:ve.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:ve.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:ve.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:ve.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:ve.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:ve.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:ve.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:ve.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:ve.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:ve.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:ve.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:ve.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:ve.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:ve.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:ve.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:ve.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:ve.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:ve.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:ve.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:ve.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:ve.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:ve.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:ve.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:ve.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:ve.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:ve.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:ve.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:ve.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:ve.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:ve.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:ve.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:ve.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:ve.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:ve.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:ve.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:ve.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:ve.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:ve.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:ve.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:ve.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ve.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:ve.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:ve.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:ve.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:ve.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ve.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:ve.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:ve.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:ve.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:ve.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:ve.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ve.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:ve.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:ve.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:ve.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:ve.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:ve.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ve.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:ve.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:ve.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:ve.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:ve.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ve.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:ve.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:ve.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:ve.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:ve.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:ve.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ve.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:ve.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:ve.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:ve.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:ve.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:ve.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:ve.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:ve.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:ve.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:ve.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:ve.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:ve.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:ve.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:ve.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:ve.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:ve.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:ve.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:ve.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:ve.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:ve.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:ve.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:ve.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:ve.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:ve.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:ve.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:ve.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:ve.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:ve.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:ve.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:ve.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:ve.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:ve.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:ve.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:ve.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:ve.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Ne={backgroundActionPrimary:ve.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Se.colorBrand0),backgroundErrorPrimary:ve.extend("--ft-background-error-primary","Used as background of error components.",Se.colorRed0),backgroundErrorSubtle:ve.extend("--ft-background-error-subtle","Used as background of subtle error components.",Se.colorRed10),backgroundInfoPrimary:ve.extend("--ft-background-info-primary","Used as background of information components.",Se.colorCyan200),backgroundInfoSubtle:ve.extend("--ft-background-info-subtle","Used as background of subtle information components.",Se.colorCyan10),backgroundWarningPrimary:ve.extend("--ft-background-warning-primary","Used as background of warning components.",Se.colorOrange300),backgroundWarningSubtle:ve.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Se.colorOrange10),backgroundSuccessPrimary:ve.extend("--ft-background-success-primary","Used as background of success components.",Se.colorGreen200),backgroundSuccessSubtle:ve.extend("--ft-background-success-subtle","Used as background of subtle success components.",Se.colorGreen10),backgroundGlobalSurface:ve.extend("--ft-background-global-surface","Used as app background.",Se.colorWhite),backgroundGlobalOnSurface:ve.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Se.colorGray10),backgroundGlobalOnSurfaceDark:ve.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Se.colorGray30),contentActionPrimary:ve.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Se.colorBrand0),contentWarningPrimary:ve.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Se.colorOrange300),contentWarningIconOnly:ve.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Se.colorOrange0),contentErrorPrimary:ve.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Se.colorRed0),contentErrorIconOnly:ve.extend("--ft-content-error-icon-only","Used on error status icons alone",Se.colorRed0),contentInfoPrimary:ve.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Se.colorCyan200),contentInfoIconOnly:ve.extend("--ft-content-info-icon-only","Used on info status icons alone",Se.colorCyan0),contentSuccessIconOnly:ve.extend("--ft-content-success-icon-only","Used on success status icons alone",Se.colorGreen0),contentSuccessPrimary:ve.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Se.colorGreen200),contentGlobalPrimary:ve.extend("--ft-content-global-primary","Used for main content on the page.",Se.colorGray500),contentGlobalSecondary:ve.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Se.colorGray200),contentGlobalSubtle:ve.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Se.colorGray0),contentGlobalOnColor:ve.extend("--ft-content-global-on-color","Used for content on a dominant color.",Se.colorWhite),borderActionPrimary:ve.extend("--ft-border-action-primary","Used as border for primary action components.",Se.colorBrand0),borderActionFocusRing:ve.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Se.colorCyan0),borderWarningPrimary:ve.extend("--ft-border-warning-primary","Used as border for warning components.",Se.colorOrange30),borderSuccessPrimary:ve.extend("--ft-border-success-primary","Used as border for success components.",Se.colorGreen30),borderErrorPrimary:ve.extend("--ft-border-error-primary","Used as border for error components.",Se.colorRed30),borderInfoPrimary:ve.extend("--ft-border-info-primary","Used as border for information components.",Se.colorCyan30),borderGlobalSubtle:ve.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Se.colorGray30),borderGlobalPrimary:ve.extend("--ft-border-global-primary","Used as border for element like input.",Se.colorGray50),borderInputPrimary:ve.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Se.colorGray80)},$e={largeHeight:ve.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:ve.extend("--ft-button-large-horizontal-padding","",Se.spacing4),largeGap:ve.extend("--ft-button-large-gap","",Se.spacing2),largeBorderRadius:ve.extend("--ft-button-large-border-radius","",Se.borderRadiusS),largeIconSize:ve.extend("--ft-button-large-icon-size","",Se.iconSize3),largeBorderWidth:ve.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:ve.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:ve.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:ve.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:ve.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:ve.extend("--ft-button-small-horizontal-padding","",Se.spacing3),smallGap:ve.extend("--ft-button-small-gap","",Se.spacing2),smallBorderRadius:ve.extend("--ft-button-small-border-radius","",Se.borderRadiusS),smallIconSize:ve.extend("--ft-button-small-icon-size","",Se.iconSize2),smallBorderWidth:ve.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:ve.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:ve.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:ve.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:ve.extend("--ft-button-primary-background-color","",Ne.backgroundActionPrimary),primaryColor:ve.extend("--ft-button-primary-color","",Ne.contentGlobalOnColor),primaryIconColor:ve.extend("--ft-button-primary-icon-color","",Ne.contentGlobalOnColor),primaryStateLayerColor:ve.extend("--ft-button-primary-state-layer-color","",Ne.contentGlobalOnColor),primaryStateLayerOpacityHover:ve.extend("--ft-button-primary-state-layer-opacity-hover","",Se.opacity16),primaryStateLayerOpacityFocus:ve.extend("--ft-button-primary-state-layer-opacity-focus","",Se.opacity16),primaryStateLayerOpacityActive:ve.extend("--ft-button-primary-state-layer-opacity-active","",Se.opacity24),primaryComponentOpacityDisabled:ve.extend("--ft-button-primary-component-opacity-disabled","",Se.opacity40),focusFocusRingColor:ve.extend("--ft-button-focus-focus-ring-color","",Ne.borderActionFocusRing),tertiaryBackgroundColor:ve.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:ve.extend("--ft-button-tertiary-color","",Ne.contentActionPrimary),tertiaryIconColor:ve.extend("--ft-button-tertiary-icon-color","",Ne.contentActionPrimary),tertiaryStateLayerColor:ve.extend("--ft-button-tertiary-state-layer-color","",Ne.contentActionPrimary),tertiaryStateLayerOpacityHover:ve.extend("--ft-button-tertiary-state-layer-opacity-hover","",Se.opacity8),tertiaryStateLayerOpacityFocus:ve.extend("--ft-button-tertiary-state-layer-opacity-focus","",Se.opacity8),tertiaryStateLayerOpacityActive:ve.extend("--ft-button-tertiary-state-layer-opacity-active","",Se.opacity16),tertiaryComponentOpacityDisabled:ve.extend("--ft-button-tertiary-component-opacity-disabled","",Se.opacity40),secondaryBackgroundColor:ve.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:ve.extend("--ft-button-secondary-color","",Ne.contentActionPrimary),secondaryIconColor:ve.extend("--ft-button-secondary-icon-color","",Ne.contentActionPrimary),secondaryStateLayerColor:ve.extend("--ft-button-secondary-state-layer-color","",Ne.contentActionPrimary),secondaryStateLayerOpacityHover:ve.extend("--ft-button-secondary-state-layer-opacity-hover","",Se.opacity8),secondaryStateLayerOpacityFocus:ve.extend("--ft-button-secondary-state-layer-opacity-focus","",Se.opacity8),secondaryStateLayerOpacityActive:ve.extend("--ft-button-secondary-state-layer-opacity-active","",Se.opacity16),secondaryComponentOpacityDisabled:ve.extend("--ft-button-secondary-component-opacity-disabled","",Se.opacity40),secondaryBorderColor:ve.extend("--ft-button-secondary-border-color","",Ne.borderActionPrimary),neutralBackgroundColor:ve.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:ve.extend("--ft-button-neutral-icon-color","",Ne.contentGlobalSecondary),neutralColor:ve.extend("--ft-button-neutral-color","",Ne.contentGlobalSecondary),neutralStateLayerColor:ve.extend("--ft-button-neutral-state-layer-color","",Ne.contentGlobalSecondary),neutralStateLayerOpacityHover:ve.extend("--ft-button-neutral-state-layer-opacity-hover","",Se.opacity8),neutralStateLayerOpacityFocus:ve.extend("--ft-button-neutral-state-layer-opacity-focus","",Se.opacity8),neutralStateLayerOpacityActive:ve.extend("--ft-button-neutral-state-layer-opacity-active","",Se.opacity16),neutralComponentOpacityDisabled:ve.extend("--ft-button-neutral-component-opacity-disabled","",Se.opacity40)};ve.extend("--ft-tabs-top-left-border-radius","",Se.borderRadiusS),ve.extend("--ft-tabs-top-right-border-radius","",Se.borderRadiusS),ve.extend("--ft-tabs-label-horizontal-padding","",Se.spacing4),ve.extend("--ft-tabs-label-vertical-padding","",Se.spacing3),ve.extend("--ft-tabs-label-gap","",Se.spacing1),ve.extend("--ft-switch-group-horizontal-padding","",Se.spacing1),ve.extend("--ft-switch-group-vertical-padding","",Se.spacing1),ve.extend("--ft-switch-group-gap","",Se.spacing1),ve.extend("--ft-switch-group-background-color","",Ne.backgroundGlobalSurface),ve.extend("--ft-switch-group-border-color","",Ne.borderGlobalSubtle),ve.create("--ft-switch-group-border-radius","","SIZE","6px"),ve.extend("--ft-switch-label-horizontal-padding","",Se.spacing2),ve.extend("--ft-switch-label-vertical-padding","",Se.spacing1),ve.extend("--ft-switch-icon-horizontal-padding","",Se.spacing1),ve.extend("--ft-switch-icon-vertical-padding","",Se.spacing1),ve.create("--ft-switch-focus-outline-width","","SIZE","2px"),ve.extend("--ft-switch-focus-focus-ring-color","",Ne.borderActionFocusRing),ve.extend("--ft-switch-option-border-radius","",Se.borderRadiusS),ve.extend("--ft-switch-off-state-layer-opacity-hover","",Se.opacity8),ve.extend("--ft-switch-off-state-layer-opacity-focus","",Se.opacity8),ve.extend("--ft-switch-off-state-layer-opacity-active","",Se.opacity16),ve.extend("--ft-switch-off-component-opacity-disabled","",Se.opacity40),ve.extend("--ft-switch-off-color","",Ne.contentGlobalSubtle),ve.extend("--ft-switch-off-state-layer-color","",Ne.contentGlobalSubtle),ve.extend("--ft-chart-1-light","for area color charts",Se.colorBrand40),ve.extend("--ft-chart-1-base","for line charts",Se.colorBrand0),ve.extend("--ft-chart-2-light","for area color charts",Se.colorYellow60),ve.extend("--ft-chart-2-base","for line charts",Se.colorYellow100),ve.extend("--ft-chart-3-light","",Se.colorUltramarine40),ve.extend("--ft-chart-3-base","",Se.colorUltramarine70),ve.extend("--ft-chart-4-light","",Se.colorCyan50),ve.extend("--ft-chart-4-base","",Se.colorCyan100),ve.extend("--ft-chart-5-light","",Se.colorRed40),ve.extend("--ft-chart-5-base","",Se.colorRed60),ve.extend("--ft-chart-6-light","",Se.colorGreen40),ve.extend("--ft-chart-6-base","",Se.colorGreen70),ve.extend("--ft-chart-7-light","",Se.colorOrange70),ve.extend("--ft-chart-7-base","",Se.colorOrange100),ve.extend("--ft-chart-8-light","",Se.colorAvocado70),ve.extend("--ft-chart-8-base","",Se.colorAvocado200),ve.extend("--ft-chart-9-light","",Se.colorBrown50),ve.extend("--ft-chart-9-base","",Se.colorBrown200),ve.extend("--ft-chart-10-light","",Se.colorGray50),ve.extend("--ft-chart-10-base","",Se.colorGray80),ve.extend("--ft-chart-monochrome-10","",Se.colorBrand10),ve.extend("--ft-chart-monochrome-20","",Se.colorBrand20),ve.extend("--ft-chart-monochrome-30","",Se.colorBrand40),ve.extend("--ft-chart-monochrome-40","",Se.colorBrand60),ve.extend("--ft-chart-monochrome-50","",Se.colorBrand0),ve.extend("--ft-chart-monochrome-60","",Se.colorBrand200),ve.extend("--ft-chip-large-horizontal-padding","",Se.spacing4),ve.extend("--ft-chip-large-vertical-padding","",Se.spacing2),ve.extend("--ft-chip-large-gap","",Se.spacing1),ve.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),ve.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),ve.extend("--ft-chip-large-border-radius","",Se.borderRadiusPill),ve.create("--ft-chip-large-border-width","","SIZE","1px"),ve.extend("--ft-chip-large-icon-size","",Se.iconSize3),ve.extend("--ft-chip-medium-horizontal-padding","",Se.spacing3),ve.extend("--ft-chip-medium-vertical-padding","",Se.spacing1),ve.extend("--ft-chip-medium-gap","",Se.spacing1),ve.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),ve.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),ve.extend("--ft-chip-medium-border-radius","",Se.borderRadiusPill),ve.create("--ft-chip-medium-border-width","","SIZE","1px"),ve.extend("--ft-chip-medium-icon-size","",Se.iconSize2),ve.extend("--ft-chip-small-horizontal-padding","",Se.spacing2),ve.extend("--ft-chip-small-vertical-padding","",Se.spacing05),ve.extend("--ft-chip-small-gap","",Se.spacing1),ve.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),ve.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),ve.extend("--ft-chip-small-border-radius","",Se.borderRadiusPill),ve.create("--ft-chip-small-border-width","","SIZE","1px"),ve.extend("--ft-chip-small-icon-size","",Se.iconSize1),ve.extend("--ft-chip-neutral-background-color","",Ne.backgroundGlobalOnSurface),ve.extend("--ft-chip-neutral-color","",Ne.contentGlobalPrimary),ve.extend("--ft-chip-neutral-border-color","",Ne.borderGlobalSubtle),ve.extend("--ft-chip-info-background-color","",Ne.backgroundInfoSubtle),ve.extend("--ft-chip-info-color","",Ne.contentInfoPrimary),ve.extend("--ft-chip-info-border-color","",Ne.borderInfoPrimary),ve.extend("--ft-chip-success-background-color","",Ne.backgroundSuccessSubtle),ve.extend("--ft-chip-success-color","",Ne.contentSuccessPrimary),ve.extend("--ft-chip-success-border-color","",Ne.borderSuccessPrimary),ve.extend("--ft-chip-warning-background-color","",Ne.backgroundWarningSubtle),ve.extend("--ft-chip-warning-color","",Ne.contentWarningPrimary),ve.extend("--ft-chip-warning-border-color","",Ne.borderWarningPrimary),ve.extend("--ft-chip-error-background-color","",Ne.backgroundErrorSubtle),ve.extend("--ft-chip-error-color","",Ne.contentErrorPrimary),ve.extend("--ft-chip-error-border-color","",Ne.borderErrorPrimary),ve.create("--ft-notice-border-width","","SIZE","1px"),ve.extend("--ft-notice-horizontal-padding","",Se.spacing2),ve.extend("--ft-notice-vertical-padding","",Se.spacing1),ve.extend("--ft-notice-border-radius","",Se.borderRadiusS),ve.extend("--ft-notice-gap","",Se.spacing2),ve.extend("--ft-notice-icon-size","",Se.iconSize3),ve.extend("--ft-notice-info-background-color","",Ne.backgroundInfoSubtle),ve.extend("--ft-notice-info-border-color","",Ne.borderInfoPrimary),ve.extend("--ft-notice-info-color","",Ne.contentInfoPrimary),ve.extend("--ft-notice-warning-background-color","",Ne.backgroundWarningSubtle),ve.extend("--ft-notice-warning-border-color","",Ne.borderWarningPrimary),ve.extend("--ft-notice-warning-color","",Ne.contentWarningPrimary),ve.extend("--ft-checkbox-label-color","",Ne.contentGlobalPrimary),ve.extend("--ft-checkbox-checked-background-color","",Ne.contentActionPrimary),ve.extend("--ft-checkbox-checked-state-layer-color","",Ne.contentActionPrimary),ve.extend("--ft-checkbox-checked-color","",Ne.contentGlobalOnColor),ve.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Se.opacity16),ve.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Se.opacity16),ve.extend("--ft-checkbox-checked-state-layer-opacity-active","",Se.opacity24),ve.extend("--ft-checkbox-checked-component-opacity-disabled","",Se.opacity40),ve.extend("--ft-checkbox-unchecked-border-color","",Se.colorGray80),ve.extend("--ft-checkbox-unchecked-state-layer-color","",Se.colorGray80),ve.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Se.opacity16),ve.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Se.opacity16),ve.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Se.opacity24),ve.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Se.opacity40),ve.extend("--ft-checkbox-focus-focus-ring-color","",Ne.borderActionFocusRing),ve.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),ve.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),ve.extend("--ft-checkbox-gap","",Se.spacing3),ve.extend("--ft-toggle-off-state-layer-opacity-hover","",Se.opacity16),ve.extend("--ft-toggle-off-state-layer-opacity-focus","",Se.opacity16),ve.extend("--ft-toggle-off-state-layer-opacity-active","",Se.opacity24),ve.extend("--ft-toggle-off-component-opacity-disabled","",Se.opacity40),ve.extend("--ft-toggle-off-background-color","",Ne.contentGlobalSubtle),ve.extend("--ft-toggle-off-icon-color","",Ne.contentGlobalSubtle),ve.extend("--ft-toggle-off-state-layer-color","",Ne.contentGlobalSubtle),ve.extend("--ft-toggle-on-state-layer-opacity-hover","",Se.opacity16),ve.extend("--ft-toggle-on-state-layer-opacity-focus","",Se.opacity16),ve.extend("--ft-toggle-on-state-layer-opacity-active","",Se.opacity24),ve.extend("--ft-toggle-on-component-opacity-disabled","",Se.opacity40),ve.extend("--ft-toggle-on-background-color","",Ne.contentActionPrimary),ve.extend("--ft-toggle-on-icon-color","",Ne.contentActionPrimary),ve.extend("--ft-toggle-on-state-layer-color","",Ne.contentActionPrimary),ve.extend("--ft-toggle-label-color","",Ne.contentGlobalPrimary),ve.extend("--ft-toggle-focus-focus-ring-color","",Ne.borderActionFocusRing),ve.extend("--ft-toggle-gap","",Se.spacing3),ve.extend("--ft-radio-label-color","",Ne.contentGlobalPrimary),ve.extend("--ft-radio-selected-color","",Ne.contentActionPrimary),ve.extend("--ft-radio-selected-state-layer-color","",Ne.contentActionPrimary),ve.extend("--ft-radio-selected-state-layer-opacity-hover","",Se.opacity16),ve.extend("--ft-radio-selected-state-layer-opacity-focus","",Se.opacity16),ve.extend("--ft-radio-selected-state-layer-opacity-active","",Se.opacity24),ve.extend("--ft-radio-selected-component-opacity-disabled","",Se.opacity40),ve.extend("--ft-radio-unselected-state-layer-color","",Se.colorGray80),ve.extend("--ft-radio-unselected-state-layer-opacity-hover","",Se.opacity16),ve.extend("--ft-radio-unselected-state-layer-opacity-focus","",Se.opacity16),ve.extend("--ft-radio-unselected-state-layer-opacity-active","",Se.opacity24),ve.extend("--ft-radio-unselected-component-opacity-disabled","",Se.opacity40),ve.extend("--ft-radio-focus-focus-ring-color","",Ne.borderActionFocusRing),ve.create("--ft-radio-focus-outline-offset","","SIZE","3px"),ve.create("--ft-radio-focus-outline-width","","SIZE","2px"),ve.extend("--ft-radio-gap","",Se.spacing3),ve.extend("--ft-notification-icon-size","",Se.iconSize4),ve.extend("--ft-notification-horizontal-padding","",Se.spacing4),ve.extend("--ft-notification-vertical-padding","",Se.spacing4),ve.extend("--ft-notification-info-background-color","",Ne.backgroundInfoSubtle),ve.extend("--ft-notification-info-color","",Ne.contentInfoPrimary),ve.extend("--ft-notification-info-border-color","",Ne.borderInfoPrimary),ve.extend("--ft-notification-success-background-color","",Ne.backgroundSuccessSubtle),ve.extend("--ft-notification-success-color","",Ne.contentSuccessPrimary),ve.extend("--ft-notification-success-border-color","",Ne.borderSuccessPrimary),ve.extend("--ft-notification-warning-background-color","",Ne.backgroundWarningSubtle),ve.extend("--ft-notification-warning-color","",Ne.contentWarningPrimary),ve.extend("--ft-notification-warning-border-color","",Ne.borderWarningPrimary),ve.extend("--ft-notification-error-background-color","",Ne.backgroundErrorSubtle),ve.extend("--ft-notification-error-color","",Ne.contentErrorPrimary),ve.extend("--ft-notification-error-border-color","",Ne.borderErrorPrimary),ve.extend("--ft-notification-border-radius","",Se.borderRadiusPill),ve.create("--ft-notification-border-width","","SIZE","1px"),ve.extend("--ft-notification-gap-leading","",Se.spacing2),ve.extend("--ft-notification-gap-trailing","",Se.spacing8);const Ce={colorPrimary:ve.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:ve.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:ve.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:ve.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:ve.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:ve.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:ve.create("--ft-color-error","","COLOR","#B00020"),colorOutline:ve.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:ve.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:ve.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:ve.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:ve.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:ve.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:ve.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:ve.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:ve.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:ve.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:ve.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:ve.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:ve.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:ve.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:ve.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:ve.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:ve.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:ve.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:ve.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:ve.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:ve.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:ve.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:ve.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:ve.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:ve.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:ve.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:ve.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:ve.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:ve.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:ve.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:ve.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:ve.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:ve.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:ve.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:ve.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:ve.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:ve.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:ve.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:ve.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:ve.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:ve.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:ve.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:ve.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:ve.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:ve.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:ve.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:ve.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:ve.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:ve.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:ve.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:ve.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:ve.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:ve.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:ve.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:ve.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Ee=window,Re=Ee.ShadowRoot&&(void 0===Ee.ShadyCSS||Ee.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;
|
|
84
|
+
class be extends Ft{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,o)=>{const i=o?.renderBefore??e;let r=i._$litPart$;if(void 0===r){const t=o?.renderBefore??null;i._$litPart$=r=new pe(e.insertBefore(jt(),t),t,void 0,o??{})}return r._$AI(t),r})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return oe}}be._$litElement$=!0,be.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:be});const me=globalThis.litElementPolyfillSupport;me?.({LitElement:be}),(globalThis.litElementVersions??=[]).push("4.0.2");const xe=t=>"string"==typeof t?mt(t):t;class ve{static create(t,e,o,i){const r=t=>xe(null!=t?t:i),n=xt`var(${xe(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>xt`var(${xe(t)}, ${r(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,e,o,i){const r=t=>o.get(null!=t?t:i),n=xt`var(${xe(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o.category,n.fallbackVariable=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>xt`var(${xe(t)}, ${r(e)})`,n.breadcrumb=()=>[o.name,...o.breadcrumb()],n.lastResortDefaultValue=()=>null!=i?i:o.lastResortDefaultValue(),n}static external(t,e){const o=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):xe(null!=e?e:t.lastResortDefaultValue()),i=xt`var(${xe(t.name)}, ${o(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=e,i.defaultCssValue=o,i.get=e=>xt`var(${xe(t.name)}, ${o(e)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function Oe(t,e){return xe(`${t.name}: ${e}`)}const Se={colorWhite:ve.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:ve.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:ve.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:ve.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:ve.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:ve.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:ve.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:ve.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:ve.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:ve.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:ve.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:ve.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:ve.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:ve.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:ve.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:ve.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:ve.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:ve.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:ve.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:ve.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:ve.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:ve.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:ve.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:ve.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:ve.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:ve.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:ve.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:ve.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:ve.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:ve.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:ve.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:ve.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:ve.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:ve.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:ve.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:ve.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:ve.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:ve.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:ve.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:ve.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:ve.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:ve.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:ve.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:ve.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:ve.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:ve.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:ve.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:ve.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:ve.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:ve.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:ve.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:ve.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:ve.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:ve.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:ve.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:ve.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:ve.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:ve.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:ve.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:ve.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:ve.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:ve.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:ve.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:ve.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:ve.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:ve.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:ve.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:ve.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:ve.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:ve.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:ve.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:ve.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:ve.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:ve.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:ve.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:ve.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:ve.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:ve.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:ve.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:ve.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:ve.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:ve.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:ve.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:ve.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:ve.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:ve.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:ve.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:ve.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:ve.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:ve.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:ve.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:ve.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:ve.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:ve.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:ve.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:ve.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:ve.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:ve.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:ve.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:ve.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:ve.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:ve.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:ve.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:ve.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:ve.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:ve.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:ve.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:ve.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:ve.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:ve.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:ve.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:ve.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:ve.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:ve.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:ve.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:ve.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:ve.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:ve.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:ve.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:ve.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:ve.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:ve.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:ve.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:ve.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:ve.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:ve.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:ve.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:ve.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:ve.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:ve.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:ve.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:ve.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:ve.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:ve.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:ve.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:ve.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:ve.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:ve.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:ve.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:ve.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:ve.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:ve.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:ve.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:ve.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:ve.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:ve.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:ve.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:ve.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:ve.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:ve.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:ve.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:ve.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:ve.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:ve.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:ve.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:ve.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:ve.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:ve.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:ve.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:ve.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:ve.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:ve.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:ve.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:ve.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:ve.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:ve.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:ve.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:ve.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:ve.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:ve.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:ve.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:ve.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:ve.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:ve.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:ve.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:ve.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:ve.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:ve.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:ve.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:ve.create("--ft-icon-size-6","","SIZE","48px"),opacity0:ve.create("--ft-opacity-0","","NUMBER","0"),opacity8:ve.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:ve.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:ve.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:ve.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:ve.create("--ft-opacity-80","","NUMBER","0.8")},Ne={display:{fontFamily:ve.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:ve.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:ve.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:ve.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:ve.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:ve.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:ve.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:ve.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:ve.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:ve.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:ve.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:ve.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:ve.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:ve.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:ve.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:ve.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:ve.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:ve.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:ve.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:ve.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:ve.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:ve.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:ve.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:ve.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:ve.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:ve.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:ve.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:ve.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:ve.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:ve.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:ve.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:ve.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:ve.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:ve.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:ve.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:ve.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:ve.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:ve.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:ve.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:ve.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:ve.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:ve.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:ve.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:ve.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:ve.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:ve.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:ve.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:ve.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:ve.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:ve.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ve.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:ve.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:ve.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:ve.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:ve.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ve.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:ve.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:ve.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:ve.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:ve.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:ve.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ve.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:ve.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:ve.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:ve.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:ve.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:ve.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ve.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:ve.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:ve.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:ve.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:ve.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ve.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:ve.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:ve.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:ve.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:ve.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:ve.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:ve.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:ve.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:ve.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:ve.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:ve.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:ve.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:ve.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:ve.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:ve.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:ve.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:ve.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:ve.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:ve.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:ve.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:ve.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:ve.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:ve.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:ve.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:ve.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:ve.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:ve.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:ve.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:ve.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:ve.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:ve.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:ve.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:ve.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:ve.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:ve.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:ve.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:ve.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:ve.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:ve.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:ve.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:ve.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:ve.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:ve.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:ve.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:ve.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},we={backgroundActionPrimary:ve.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Se.colorBrand0),backgroundErrorPrimary:ve.extend("--ft-background-error-primary","Used as background of error components.",Se.colorRed0),backgroundErrorSubtle:ve.extend("--ft-background-error-subtle","Used as background of subtle error components.",Se.colorRed10),backgroundInfoPrimary:ve.extend("--ft-background-info-primary","Used as background of information components.",Se.colorCyan200),backgroundInfoSubtle:ve.extend("--ft-background-info-subtle","Used as background of subtle information components.",Se.colorCyan10),backgroundWarningPrimary:ve.extend("--ft-background-warning-primary","Used as background of warning components.",Se.colorOrange300),backgroundWarningSubtle:ve.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Se.colorOrange10),backgroundSuccessPrimary:ve.extend("--ft-background-success-primary","Used as background of success components.",Se.colorGreen200),backgroundSuccessSubtle:ve.extend("--ft-background-success-subtle","Used as background of subtle success components.",Se.colorGreen10),backgroundGlobalSurface:ve.extend("--ft-background-global-surface","Used as app background.",Se.colorWhite),backgroundGlobalOnSurface:ve.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Se.colorGray10),backgroundGlobalOnSurfaceDark:ve.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Se.colorGray30),contentActionPrimary:ve.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Se.colorBrand0),contentWarningPrimary:ve.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Se.colorOrange300),contentWarningIconOnly:ve.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Se.colorOrange0),contentErrorPrimary:ve.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Se.colorRed0),contentErrorIconOnly:ve.extend("--ft-content-error-icon-only","Used on error status icons alone",Se.colorRed0),contentInfoPrimary:ve.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Se.colorCyan200),contentInfoIconOnly:ve.extend("--ft-content-info-icon-only","Used on info status icons alone",Se.colorCyan0),contentSuccessIconOnly:ve.extend("--ft-content-success-icon-only","Used on success status icons alone",Se.colorGreen0),contentSuccessPrimary:ve.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Se.colorGreen200),contentGlobalPrimary:ve.extend("--ft-content-global-primary","Used for main content on the page.",Se.colorGray500),contentGlobalSecondary:ve.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Se.colorGray200),contentGlobalSubtle:ve.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Se.colorGray0),contentGlobalOnColor:ve.extend("--ft-content-global-on-color","Used for content on a dominant color.",Se.colorWhite),borderActionPrimary:ve.extend("--ft-border-action-primary","Used as border for primary action components.",Se.colorBrand0),borderActionFocusRing:ve.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Se.colorCyan0),borderWarningPrimary:ve.extend("--ft-border-warning-primary","Used as border for warning components.",Se.colorOrange30),borderSuccessPrimary:ve.extend("--ft-border-success-primary","Used as border for success components.",Se.colorGreen30),borderErrorPrimary:ve.extend("--ft-border-error-primary","Used as border for error components.",Se.colorRed30),borderInfoPrimary:ve.extend("--ft-border-info-primary","Used as border for information components.",Se.colorCyan30),borderGlobalSubtle:ve.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Se.colorGray30),borderGlobalPrimary:ve.extend("--ft-border-global-primary","Used as border for element like input.",Se.colorGray50),borderInputPrimary:ve.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Se.colorGray80)},$e={largeHeight:ve.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:ve.extend("--ft-button-large-horizontal-padding","",Se.spacing4),largeGap:ve.extend("--ft-button-large-gap","",Se.spacing2),largeBorderRadius:ve.extend("--ft-button-large-border-radius","",Se.borderRadiusS),largeIconSize:ve.extend("--ft-button-large-icon-size","",Se.iconSize3),largeBorderWidth:ve.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:ve.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:ve.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:ve.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:ve.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:ve.extend("--ft-button-small-horizontal-padding","",Se.spacing3),smallGap:ve.extend("--ft-button-small-gap","",Se.spacing2),smallBorderRadius:ve.extend("--ft-button-small-border-radius","",Se.borderRadiusS),smallIconSize:ve.extend("--ft-button-small-icon-size","",Se.iconSize2),smallBorderWidth:ve.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:ve.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:ve.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:ve.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:ve.extend("--ft-button-primary-background-color","",we.backgroundActionPrimary),primaryColor:ve.extend("--ft-button-primary-color","",we.contentGlobalOnColor),primaryIconColor:ve.extend("--ft-button-primary-icon-color","",we.contentGlobalOnColor),primaryStateLayerColor:ve.extend("--ft-button-primary-state-layer-color","",we.contentGlobalOnColor),primaryStateLayerOpacityHover:ve.extend("--ft-button-primary-state-layer-opacity-hover","",Se.opacity16),primaryStateLayerOpacityFocus:ve.extend("--ft-button-primary-state-layer-opacity-focus","",Se.opacity16),primaryStateLayerOpacityActive:ve.extend("--ft-button-primary-state-layer-opacity-active","",Se.opacity24),primaryComponentOpacityDisabled:ve.extend("--ft-button-primary-component-opacity-disabled","",Se.opacity40),focusFocusRingColor:ve.extend("--ft-button-focus-focus-ring-color","",we.borderActionFocusRing),tertiaryBackgroundColor:ve.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:ve.extend("--ft-button-tertiary-color","",we.contentActionPrimary),tertiaryIconColor:ve.extend("--ft-button-tertiary-icon-color","",we.contentActionPrimary),tertiaryStateLayerColor:ve.extend("--ft-button-tertiary-state-layer-color","",we.contentActionPrimary),tertiaryStateLayerOpacityHover:ve.extend("--ft-button-tertiary-state-layer-opacity-hover","",Se.opacity8),tertiaryStateLayerOpacityFocus:ve.extend("--ft-button-tertiary-state-layer-opacity-focus","",Se.opacity8),tertiaryStateLayerOpacityActive:ve.extend("--ft-button-tertiary-state-layer-opacity-active","",Se.opacity16),tertiaryComponentOpacityDisabled:ve.extend("--ft-button-tertiary-component-opacity-disabled","",Se.opacity40),secondaryBackgroundColor:ve.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:ve.extend("--ft-button-secondary-color","",we.contentActionPrimary),secondaryIconColor:ve.extend("--ft-button-secondary-icon-color","",we.contentActionPrimary),secondaryStateLayerColor:ve.extend("--ft-button-secondary-state-layer-color","",we.contentActionPrimary),secondaryStateLayerOpacityHover:ve.extend("--ft-button-secondary-state-layer-opacity-hover","",Se.opacity8),secondaryStateLayerOpacityFocus:ve.extend("--ft-button-secondary-state-layer-opacity-focus","",Se.opacity8),secondaryStateLayerOpacityActive:ve.extend("--ft-button-secondary-state-layer-opacity-active","",Se.opacity16),secondaryComponentOpacityDisabled:ve.extend("--ft-button-secondary-component-opacity-disabled","",Se.opacity40),secondaryBorderColor:ve.extend("--ft-button-secondary-border-color","",we.borderActionPrimary),neutralBackgroundColor:ve.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:ve.extend("--ft-button-neutral-icon-color","",we.contentGlobalSecondary),neutralColor:ve.extend("--ft-button-neutral-color","",we.contentGlobalSecondary),neutralStateLayerColor:ve.extend("--ft-button-neutral-state-layer-color","",we.contentGlobalSecondary),neutralStateLayerOpacityHover:ve.extend("--ft-button-neutral-state-layer-opacity-hover","",Se.opacity8),neutralStateLayerOpacityFocus:ve.extend("--ft-button-neutral-state-layer-opacity-focus","",Se.opacity8),neutralStateLayerOpacityActive:ve.extend("--ft-button-neutral-state-layer-opacity-active","",Se.opacity16),neutralComponentOpacityDisabled:ve.extend("--ft-button-neutral-component-opacity-disabled","",Se.opacity40)};ve.extend("--ft-tabs-top-left-border-radius","",Se.borderRadiusS),ve.extend("--ft-tabs-top-right-border-radius","",Se.borderRadiusS),ve.extend("--ft-tabs-label-horizontal-padding","",Se.spacing4),ve.extend("--ft-tabs-label-vertical-padding","",Se.spacing3),ve.extend("--ft-tabs-label-gap","",Se.spacing1),ve.extend("--ft-switch-group-horizontal-padding","",Se.spacing1),ve.extend("--ft-switch-group-vertical-padding","",Se.spacing1),ve.extend("--ft-switch-group-gap","",Se.spacing1),ve.extend("--ft-switch-group-background-color","",we.backgroundGlobalSurface),ve.extend("--ft-switch-group-border-color","",we.borderGlobalSubtle),ve.create("--ft-switch-group-border-radius","","SIZE","6px"),ve.extend("--ft-switch-label-horizontal-padding","",Se.spacing2),ve.extend("--ft-switch-label-vertical-padding","",Se.spacing1),ve.extend("--ft-switch-icon-horizontal-padding","",Se.spacing1),ve.extend("--ft-switch-icon-vertical-padding","",Se.spacing1),ve.create("--ft-switch-focus-outline-width","","SIZE","2px"),ve.extend("--ft-switch-focus-focus-ring-color","",we.borderActionFocusRing),ve.extend("--ft-switch-option-border-radius","",Se.borderRadiusS),ve.extend("--ft-switch-off-state-layer-opacity-hover","",Se.opacity8),ve.extend("--ft-switch-off-state-layer-opacity-focus","",Se.opacity8),ve.extend("--ft-switch-off-state-layer-opacity-active","",Se.opacity16),ve.extend("--ft-switch-off-component-opacity-disabled","",Se.opacity40),ve.extend("--ft-switch-off-color","",we.contentGlobalSubtle),ve.extend("--ft-switch-off-state-layer-color","",we.contentGlobalSubtle),ve.extend("--ft-chart-1-light","for area color charts",Se.colorBrand40),ve.extend("--ft-chart-1-base","for line charts",Se.colorBrand0),ve.extend("--ft-chart-2-light","for area color charts",Se.colorYellow60),ve.extend("--ft-chart-2-base","for line charts",Se.colorYellow100),ve.extend("--ft-chart-3-light","",Se.colorUltramarine40),ve.extend("--ft-chart-3-base","",Se.colorUltramarine70),ve.extend("--ft-chart-4-light","",Se.colorCyan50),ve.extend("--ft-chart-4-base","",Se.colorCyan100),ve.extend("--ft-chart-5-light","",Se.colorRed40),ve.extend("--ft-chart-5-base","",Se.colorRed60),ve.extend("--ft-chart-6-light","",Se.colorGreen40),ve.extend("--ft-chart-6-base","",Se.colorGreen70),ve.extend("--ft-chart-7-light","",Se.colorOrange70),ve.extend("--ft-chart-7-base","",Se.colorOrange100),ve.extend("--ft-chart-8-light","",Se.colorAvocado70),ve.extend("--ft-chart-8-base","",Se.colorAvocado200),ve.extend("--ft-chart-9-light","",Se.colorBrown50),ve.extend("--ft-chart-9-base","",Se.colorBrown200),ve.extend("--ft-chart-10-light","",Se.colorGray50),ve.extend("--ft-chart-10-base","",Se.colorGray80),ve.extend("--ft-chart-monochrome-10","",Se.colorBrand10),ve.extend("--ft-chart-monochrome-20","",Se.colorBrand20),ve.extend("--ft-chart-monochrome-30","",Se.colorBrand40),ve.extend("--ft-chart-monochrome-40","",Se.colorBrand60),ve.extend("--ft-chart-monochrome-50","",Se.colorBrand0),ve.extend("--ft-chart-monochrome-60","",Se.colorBrand200),ve.extend("--ft-chip-large-horizontal-padding","",Se.spacing4),ve.extend("--ft-chip-large-vertical-padding","",Se.spacing2),ve.extend("--ft-chip-large-gap","",Se.spacing1),ve.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),ve.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),ve.extend("--ft-chip-large-border-radius","",Se.borderRadiusPill),ve.create("--ft-chip-large-border-width","","SIZE","1px"),ve.extend("--ft-chip-large-icon-size","",Se.iconSize3),ve.extend("--ft-chip-medium-horizontal-padding","",Se.spacing3),ve.extend("--ft-chip-medium-vertical-padding","",Se.spacing1),ve.extend("--ft-chip-medium-gap","",Se.spacing1),ve.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),ve.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),ve.extend("--ft-chip-medium-border-radius","",Se.borderRadiusPill),ve.create("--ft-chip-medium-border-width","","SIZE","1px"),ve.extend("--ft-chip-medium-icon-size","",Se.iconSize2),ve.extend("--ft-chip-small-horizontal-padding","",Se.spacing2),ve.extend("--ft-chip-small-vertical-padding","",Se.spacing05),ve.extend("--ft-chip-small-gap","",Se.spacing1),ve.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),ve.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),ve.extend("--ft-chip-small-border-radius","",Se.borderRadiusPill),ve.create("--ft-chip-small-border-width","","SIZE","1px"),ve.extend("--ft-chip-small-icon-size","",Se.iconSize1),ve.extend("--ft-chip-neutral-background-color","",we.backgroundGlobalOnSurface),ve.extend("--ft-chip-neutral-color","",we.contentGlobalPrimary),ve.extend("--ft-chip-neutral-border-color","",we.borderGlobalSubtle),ve.extend("--ft-chip-info-background-color","",we.backgroundInfoSubtle),ve.extend("--ft-chip-info-color","",we.contentInfoPrimary),ve.extend("--ft-chip-info-border-color","",we.borderInfoPrimary),ve.extend("--ft-chip-success-background-color","",we.backgroundSuccessSubtle),ve.extend("--ft-chip-success-color","",we.contentSuccessPrimary),ve.extend("--ft-chip-success-border-color","",we.borderSuccessPrimary),ve.extend("--ft-chip-warning-background-color","",we.backgroundWarningSubtle),ve.extend("--ft-chip-warning-color","",we.contentWarningPrimary),ve.extend("--ft-chip-warning-border-color","",we.borderWarningPrimary),ve.extend("--ft-chip-error-background-color","",we.backgroundErrorSubtle),ve.extend("--ft-chip-error-color","",we.contentErrorPrimary),ve.extend("--ft-chip-error-border-color","",we.borderErrorPrimary),ve.create("--ft-notice-border-width","","SIZE","1px"),ve.extend("--ft-notice-horizontal-padding","",Se.spacing2),ve.extend("--ft-notice-vertical-padding","",Se.spacing1),ve.extend("--ft-notice-border-radius","",Se.borderRadiusS),ve.extend("--ft-notice-gap","",Se.spacing2),ve.extend("--ft-notice-icon-size","",Se.iconSize3),ve.extend("--ft-notice-info-background-color","",we.backgroundInfoSubtle),ve.extend("--ft-notice-info-border-color","",we.borderInfoPrimary),ve.extend("--ft-notice-info-color","",we.contentInfoPrimary),ve.extend("--ft-notice-warning-background-color","",we.backgroundWarningSubtle),ve.extend("--ft-notice-warning-border-color","",we.borderWarningPrimary),ve.extend("--ft-notice-warning-color","",we.contentWarningPrimary),ve.extend("--ft-checkbox-label-color","",we.contentGlobalPrimary),ve.extend("--ft-checkbox-checked-background-color","",we.contentActionPrimary),ve.extend("--ft-checkbox-checked-state-layer-color","",we.contentActionPrimary),ve.extend("--ft-checkbox-checked-color","",we.contentGlobalOnColor),ve.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Se.opacity16),ve.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Se.opacity16),ve.extend("--ft-checkbox-checked-state-layer-opacity-active","",Se.opacity24),ve.extend("--ft-checkbox-checked-component-opacity-disabled","",Se.opacity40),ve.extend("--ft-checkbox-unchecked-border-color","",Se.colorGray80),ve.extend("--ft-checkbox-unchecked-state-layer-color","",Se.colorGray80),ve.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Se.opacity16),ve.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Se.opacity16),ve.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Se.opacity24),ve.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Se.opacity40),ve.extend("--ft-checkbox-focus-focus-ring-color","",we.borderActionFocusRing),ve.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),ve.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),ve.extend("--ft-checkbox-gap","",Se.spacing3),ve.extend("--ft-toggle-off-state-layer-opacity-hover","",Se.opacity16),ve.extend("--ft-toggle-off-state-layer-opacity-focus","",Se.opacity16),ve.extend("--ft-toggle-off-state-layer-opacity-active","",Se.opacity24),ve.extend("--ft-toggle-off-component-opacity-disabled","",Se.opacity40),ve.extend("--ft-toggle-off-background-color","",we.contentGlobalSubtle),ve.extend("--ft-toggle-off-icon-color","",we.contentGlobalSubtle),ve.extend("--ft-toggle-off-state-layer-color","",we.contentGlobalSubtle),ve.extend("--ft-toggle-on-state-layer-opacity-hover","",Se.opacity16),ve.extend("--ft-toggle-on-state-layer-opacity-focus","",Se.opacity16),ve.extend("--ft-toggle-on-state-layer-opacity-active","",Se.opacity24),ve.extend("--ft-toggle-on-component-opacity-disabled","",Se.opacity40),ve.extend("--ft-toggle-on-background-color","",we.contentActionPrimary),ve.extend("--ft-toggle-on-icon-color","",we.contentActionPrimary),ve.extend("--ft-toggle-on-state-layer-color","",we.contentActionPrimary),ve.extend("--ft-toggle-label-color","",we.contentGlobalPrimary),ve.extend("--ft-toggle-focus-focus-ring-color","",we.borderActionFocusRing),ve.extend("--ft-toggle-gap","",Se.spacing3),ve.extend("--ft-radio-label-color","",we.contentGlobalPrimary),ve.extend("--ft-radio-selected-color","",we.contentActionPrimary),ve.extend("--ft-radio-selected-state-layer-color","",we.contentActionPrimary),ve.extend("--ft-radio-selected-state-layer-opacity-hover","",Se.opacity16),ve.extend("--ft-radio-selected-state-layer-opacity-focus","",Se.opacity16),ve.extend("--ft-radio-selected-state-layer-opacity-active","",Se.opacity24),ve.extend("--ft-radio-selected-component-opacity-disabled","",Se.opacity40),ve.extend("--ft-radio-unselected-state-layer-color","",Se.colorGray80),ve.extend("--ft-radio-unselected-state-layer-opacity-hover","",Se.opacity16),ve.extend("--ft-radio-unselected-state-layer-opacity-focus","",Se.opacity16),ve.extend("--ft-radio-unselected-state-layer-opacity-active","",Se.opacity24),ve.extend("--ft-radio-unselected-component-opacity-disabled","",Se.opacity40),ve.extend("--ft-radio-focus-focus-ring-color","",we.borderActionFocusRing),ve.create("--ft-radio-focus-outline-offset","","SIZE","3px"),ve.create("--ft-radio-focus-outline-width","","SIZE","2px"),ve.extend("--ft-radio-gap","",Se.spacing3),ve.extend("--ft-notification-icon-size","",Se.iconSize4),ve.extend("--ft-notification-horizontal-padding","",Se.spacing4),ve.extend("--ft-notification-vertical-padding","",Se.spacing4),ve.extend("--ft-notification-info-background-color","",we.backgroundInfoSubtle),ve.extend("--ft-notification-info-color","",we.contentInfoPrimary),ve.extend("--ft-notification-info-border-color","",we.borderInfoPrimary),ve.extend("--ft-notification-success-background-color","",we.backgroundSuccessSubtle),ve.extend("--ft-notification-success-color","",we.contentSuccessPrimary),ve.extend("--ft-notification-success-border-color","",we.borderSuccessPrimary),ve.extend("--ft-notification-warning-background-color","",we.backgroundWarningSubtle),ve.extend("--ft-notification-warning-color","",we.contentWarningPrimary),ve.extend("--ft-notification-warning-border-color","",we.borderWarningPrimary),ve.extend("--ft-notification-error-background-color","",we.backgroundErrorSubtle),ve.extend("--ft-notification-error-color","",we.contentErrorPrimary),ve.extend("--ft-notification-error-border-color","",we.borderErrorPrimary),ve.extend("--ft-notification-border-radius","",Se.borderRadiusPill),ve.create("--ft-notification-border-width","","SIZE","1px"),ve.extend("--ft-notification-gap-leading","",Se.spacing2),ve.extend("--ft-notification-gap-trailing","",Se.spacing8);const Ce={colorPrimary:ve.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:ve.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:ve.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:ve.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:ve.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:ve.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:ve.create("--ft-color-error","","COLOR","#B00020"),colorOutline:ve.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:ve.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:ve.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:ve.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:ve.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:ve.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:ve.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:ve.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:ve.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:ve.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:ve.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:ve.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:ve.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:ve.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:ve.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:ve.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:ve.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:ve.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:ve.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:ve.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:ve.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:ve.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:ve.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:ve.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:ve.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:ve.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:ve.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:ve.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:ve.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:ve.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:ve.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:ve.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:ve.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:ve.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:ve.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:ve.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:ve.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:ve.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:ve.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:ve.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:ve.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:ve.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:ve.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:ve.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:ve.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:ve.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:ve.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:ve.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:ve.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:ve.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:ve.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:ve.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:ve.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:ve.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:ve.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Re=window,Ee=Re.ShadowRoot&&(void 0===Re.ShadyCSS||Re.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;
|
|
92
85
|
/**
|
|
93
86
|
* @license
|
|
94
87
|
* Copyright 2019 Google LLC
|
|
95
88
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
96
|
-
*/class
|
|
89
|
+
*/class Ue extends be{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,o])=>t.registry.define(e,o))));const e={...t.shadowRootOptions,customElements:t.registry},o=this.renderOptions.creationScope=this.attachShadow(e);return((t,e)=>{Ee?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),i=Re.litNonce;void 0!==i&&o.setAttribute("nonce",i),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var ke,Ie=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const Le=Symbol("constructorPrototype"),We=Symbol("constructorName"),ze=Symbol("exportpartsDebouncer");class Fe extends Ue{constructor(){super(),this[ke]=new e(5),this[We]=this.constructor.name,this[Le]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[We]&&Object.setPrototypeOf(this,this[Le])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,o;if((null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==o?o:[]).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[ze].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,o,i,r,n,a;const s=t=>null!=t&&t.trim().length>0,l=t.filter(s).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==o?o:[]){const e=null!==(r=null===(i=t.getAttribute("part"))||void 0===i?void 0:i.split(" "))&&void 0!==r?r:[],o=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...e,...o).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const p=[...c.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...p].join(", "))}}ke=ze,Ie([$()],Fe.prototype,"exportpartsPrefix",void 0),Ie([function(t,e){const o=()=>JSON.parse(JSON.stringify(t));return $({type:Object,converter:{fromAttribute:t=>{if(null==t)return o();try{return JSON.parse(t)}catch{return o()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,e)=>!k(t,e),...null!=e?e:{}})}([])],Fe.prototype,"exportpartsPrefixes",void 0),Ie([$()],Fe.prototype,"customStylesheet",void 0);const Ke=ve.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");xt`
|
|
97
90
|
.highlight-html-match {
|
|
98
|
-
background: ${
|
|
91
|
+
background: ${Ke};
|
|
99
92
|
}
|
|
100
93
|
`;const Ze=xt`
|
|
101
94
|
.ft-no-text-select {
|
|
@@ -129,7 +122,7 @@ class be extends Kt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
129
122
|
display: inline-block;
|
|
130
123
|
width: 0;
|
|
131
124
|
}
|
|
132
|
-
`;function
|
|
125
|
+
`;function Me(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var De,Ae,Pe;const He=Symbol("internalReduxEventsUnsubscribers"),je=Symbol("internalStoresUnsubscribers"),Te=Symbol("internalStores");class _e extends Fe{constructor(){super(...arguments),this[De]=new Map,this[Ae]=new Map,this[Pe]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((e=>t.has(e)))&&this.updateFromStores()}getUnnamedStore(){if(this[Te].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Te].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Te].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:Me(t)?t.name:void 0)&&void 0!==o?o:"default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[Te].delete(e)}setupStore(t,e){this[Te].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Te].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,e)=>{const o=this.constructor.getPropertyOptions(e);if(!(null==o?void 0:o.attribute)||!this.hasAttribute("string"==typeof(null==o?void 0:o.attribute)?o.attribute:e)){const o=this.getStore(t.store);o&&(t.store?this[je].has(t.store):this[je].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[je].set(t,e.subscribe((()=>this.updateFromStores()))),Me(e)&&e.eventBus&&(null===(o=this.reduxConstructor.reduxEventListeners)||void 0===o||o.forEach(((t,o)=>{if("function"==typeof this[o]&&(!t.store||e.name===t.store)){const i=t=>this[o](t);e.eventBus.addEventListener(t.eventName,i),this[He].push((()=>e.eventBus.removeEventListener(t.eventName,i)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[je].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[He].forEach((t=>t())),this[He]=[]}unsubscribeFromStore(t){this[je].has(t)&&this[je].get(t)(),this[je].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}De=je,Ae=Te,Pe=He,_e.reduxProperties=new Map,_e.reduxReactiveProperties=new Set,_e.reduxEventListeners=new Map,window.ftReduxStores||(window.ftReduxStores={});const Ge=Symbol("elementInternals");var Ye,Ve,Je;const qe=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Je=null===(Ve=null===(Ye=window.safari)||void 0===Ye?void 0:Ye.pushNotification)||void 0===Ve?void 0:Ve.toString())&&void 0!==Je?Je:""),Xe=xt`
|
|
133
126
|
|
|
134
127
|
[part="container"] {
|
|
135
128
|
display: flex;
|
|
@@ -138,7 +131,7 @@ class be extends Kt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
138
131
|
align-items: center;
|
|
139
132
|
justify-content: center;
|
|
140
133
|
}
|
|
141
|
-
`,
|
|
134
|
+
`,Qe=ve.extend("--ft-ripple-color","",Ce.colorContent),to={color:Qe,backgroundColor:ve.extend("--ft-ripple-background-color","",Qe),opacityContentOnSurfacePressed:ve.external(Ce.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:ve.external(Ce.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:ve.external(Ce.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:ve.external(Ce.opacityContentOnSurfaceSelected,"Design system"),borderRadius:ve.create("--ft-ripple-border-radius","","SIZE","0px")},eo=ve.extend("--ft-ripple-color","",Ce.colorPrimary),oo=eo,io=ve.extend("--ft-ripple-background-color","",eo),ro=ve.extend("--ft-ripple-color","",Ce.colorSecondary),no=ro,ao=ve.extend("--ft-ripple-background-color","",ro),so=xt`
|
|
142
135
|
:host {
|
|
143
136
|
display: contents;
|
|
144
137
|
}
|
|
@@ -151,7 +144,7 @@ class be extends Kt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
151
144
|
|
|
152
145
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
153
146
|
overflow: hidden;
|
|
154
|
-
border-radius: ${
|
|
147
|
+
border-radius: ${to.borderRadius};
|
|
155
148
|
}
|
|
156
149
|
|
|
157
150
|
.ft-ripple .ft-ripple--background,
|
|
@@ -185,27 +178,27 @@ class be extends Kt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
185
178
|
}
|
|
186
179
|
|
|
187
180
|
.ft-ripple .ft-ripple--background {
|
|
188
|
-
background-color: ${
|
|
181
|
+
background-color: ${to.backgroundColor};
|
|
189
182
|
}
|
|
190
183
|
|
|
191
184
|
.ft-ripple .ft-ripple--effect {
|
|
192
|
-
background-color: ${
|
|
185
|
+
background-color: ${to.color};
|
|
193
186
|
}
|
|
194
187
|
|
|
195
188
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
196
|
-
background-color: ${
|
|
189
|
+
background-color: ${ao};
|
|
197
190
|
}
|
|
198
191
|
|
|
199
192
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
200
|
-
background-color: ${
|
|
193
|
+
background-color: ${no};
|
|
201
194
|
}
|
|
202
195
|
|
|
203
196
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
204
|
-
background-color: ${
|
|
197
|
+
background-color: ${io};
|
|
205
198
|
}
|
|
206
199
|
|
|
207
200
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
208
|
-
background-color: ${
|
|
201
|
+
background-color: ${oo};
|
|
209
202
|
}
|
|
210
203
|
|
|
211
204
|
.ft-ripple .ft-ripple--background {
|
|
@@ -235,117 +228,117 @@ class be extends Kt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
235
228
|
}
|
|
236
229
|
|
|
237
230
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
238
|
-
opacity: ${
|
|
231
|
+
opacity: ${to.opacityContentOnSurfaceHover};
|
|
239
232
|
}
|
|
240
233
|
|
|
241
234
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
242
|
-
opacity: ${
|
|
235
|
+
opacity: ${to.opacityContentOnSurfaceSelected};
|
|
243
236
|
}
|
|
244
237
|
|
|
245
238
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
246
|
-
opacity: ${
|
|
239
|
+
opacity: ${to.opacityContentOnSurfaceFocused};
|
|
247
240
|
}
|
|
248
241
|
|
|
249
242
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
250
|
-
opacity: ${
|
|
243
|
+
opacity: ${to.opacityContentOnSurfacePressed};
|
|
251
244
|
transform: translate(-50%, -50%) scale(1);
|
|
252
245
|
}
|
|
253
|
-
`;const
|
|
246
|
+
`;const lo=ve.extend("--ft-typography-font-family","",Ce.titleFont),co=ve.extend("--ft-typography-font-family","",Ce.contentFont),po={fontFamily:co,fontSize:ve.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:ve.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:ve.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:ve.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:ve.create("--ft-typography-text-transform","","UNKNOWN","inherit")},fo=ve.extend("--ft-typography-title-font-family","",lo),ho=ve.extend("--ft-typography-title-font-size","",po.fontSize,"20px"),uo=ve.extend("--ft-typography-title-font-weight","",po.fontWeight,"normal"),yo=ve.extend("--ft-typography-title-letter-spacing","",po.letterSpacing,"0.15px"),go=ve.extend("--ft-typography-title-line-height","",po.lineHeight,"1.2"),bo=ve.extend("--ft-typography-title-text-transform","",po.textTransform,"inherit"),mo=ve.extend("--ft-typography-title-dense-font-family","",lo),xo=ve.extend("--ft-typography-title-dense-font-size","",po.fontSize,"14px"),vo=ve.extend("--ft-typography-title-dense-font-weight","",po.fontWeight,"normal"),Oo=ve.extend("--ft-typography-title-dense-letter-spacing","",po.letterSpacing,"0.105px"),So=ve.extend("--ft-typography-title-dense-line-height","",po.lineHeight,"1.7"),No=ve.extend("--ft-typography-title-dense-text-transform","",po.textTransform,"inherit"),wo=ve.extend("--ft-typography-subtitle1-font-family","",co),$o=ve.extend("--ft-typography-subtitle1-font-size","",po.fontSize,"16px"),Co=ve.extend("--ft-typography-subtitle1-font-weight","",po.fontWeight,"600"),Ro=ve.extend("--ft-typography-subtitle1-letter-spacing","",po.letterSpacing,"0.144px"),Eo=ve.extend("--ft-typography-subtitle1-line-height","",po.lineHeight,"1.5"),Uo=ve.extend("--ft-typography-subtitle1-text-transform","",po.textTransform,"inherit"),ko=ve.extend("--ft-typography-subtitle2-font-family","",co),Io=ve.extend("--ft-typography-subtitle2-font-size","",po.fontSize,"14px"),Lo=ve.extend("--ft-typography-subtitle2-font-weight","",po.fontWeight,"normal"),Wo=ve.extend("--ft-typography-subtitle2-letter-spacing","",po.letterSpacing,"0.098px"),zo=ve.extend("--ft-typography-subtitle2-line-height","",po.lineHeight,"1.7"),Fo=ve.extend("--ft-typography-subtitle2-text-transform","",po.textTransform,"inherit"),Ko={fontFamily:ve.extend("--ft-typography-body1-font-family","",co),fontSize:ve.extend("--ft-typography-body1-font-size","",po.fontSize,"16px"),fontWeight:ve.extend("--ft-typography-body1-font-weight","",po.fontWeight,"normal"),letterSpacing:ve.extend("--ft-typography-body1-letter-spacing","",po.letterSpacing,"0.496px"),lineHeight:ve.extend("--ft-typography-body1-line-height","",po.lineHeight,"1.5"),textTransform:ve.extend("--ft-typography-body1-text-transform","",po.textTransform,"inherit")},Zo=ve.extend("--ft-typography-body2-font-family","",co),Bo=ve.extend("--ft-typography-body2-font-size","",po.fontSize,"14px"),Mo=ve.extend("--ft-typography-body2-font-weight","",po.fontWeight,"normal"),Do=ve.extend("--ft-typography-body2-letter-spacing","",po.letterSpacing,"0.252px"),Ao=ve.extend("--ft-typography-body2-line-height","",po.lineHeight,"1.4"),Po=ve.extend("--ft-typography-body2-text-transform","",po.textTransform,"inherit"),Ho={fontFamily:ve.extend("--ft-typography-caption-font-family","",co),fontSize:ve.extend("--ft-typography-caption-font-size","",po.fontSize,"12px"),fontWeight:ve.extend("--ft-typography-caption-font-weight","",po.fontWeight,"normal"),letterSpacing:ve.extend("--ft-typography-caption-letter-spacing","",po.letterSpacing,"0.396px"),lineHeight:ve.extend("--ft-typography-caption-line-height","",po.lineHeight,"1.33"),textTransform:ve.extend("--ft-typography-caption-text-transform","",po.textTransform,"inherit")},jo=ve.extend("--ft-typography-breadcrumb-font-family","",co),To=ve.extend("--ft-typography-breadcrumb-font-size","",po.fontSize,"10px"),_o=ve.extend("--ft-typography-breadcrumb-font-weight","",po.fontWeight,"normal"),Go=ve.extend("--ft-typography-breadcrumb-letter-spacing","",po.letterSpacing,"0.33px"),Yo=ve.extend("--ft-typography-breadcrumb-line-height","",po.lineHeight,"1.6"),Vo=ve.extend("--ft-typography-breadcrumb-text-transform","",po.textTransform,"inherit"),Jo=ve.extend("--ft-typography-overline-font-family","",co),qo=ve.extend("--ft-typography-overline-font-size","",po.fontSize,"10px"),Xo=ve.extend("--ft-typography-overline-font-weight","",po.fontWeight,"normal"),Qo=ve.extend("--ft-typography-overline-letter-spacing","",po.letterSpacing,"1.5px"),ti=ve.extend("--ft-typography-overline-line-height","",po.lineHeight,"1.6"),ei=ve.extend("--ft-typography-overline-text-transform","",po.textTransform,"uppercase"),oi={fontFamily:ve.extend("--ft-typography-button-font-family","",co),fontSize:ve.extend("--ft-typography-button-font-size","",po.fontSize,"14px"),fontWeight:ve.extend("--ft-typography-button-font-weight","",po.fontWeight,"600"),letterSpacing:ve.extend("--ft-typography-button-letter-spacing","",po.letterSpacing,"1.246px"),lineHeight:ve.extend("--ft-typography-button-line-height","",po.lineHeight,"1.15"),textTransform:ve.extend("--ft-typography-button-text-transform","",po.textTransform,"uppercase")},ii=xt`
|
|
254
247
|
.ft-typography--title {
|
|
255
|
-
font-family: ${
|
|
256
|
-
font-size: ${
|
|
257
|
-
font-weight: ${
|
|
258
|
-
letter-spacing: ${
|
|
259
|
-
line-height: ${
|
|
260
|
-
text-transform: ${
|
|
261
|
-
}
|
|
262
|
-
`,
|
|
248
|
+
font-family: ${fo};
|
|
249
|
+
font-size: ${ho};
|
|
250
|
+
font-weight: ${uo};
|
|
251
|
+
letter-spacing: ${yo};
|
|
252
|
+
line-height: ${go};
|
|
253
|
+
text-transform: ${bo};
|
|
254
|
+
}
|
|
255
|
+
`,ri=xt`
|
|
263
256
|
.ft-typography--title-dense {
|
|
264
|
-
font-family: ${
|
|
265
|
-
font-size: ${
|
|
266
|
-
font-weight: ${
|
|
267
|
-
letter-spacing: ${
|
|
268
|
-
line-height: ${
|
|
257
|
+
font-family: ${mo};
|
|
258
|
+
font-size: ${xo};
|
|
259
|
+
font-weight: ${vo};
|
|
260
|
+
letter-spacing: ${Oo};
|
|
261
|
+
line-height: ${So};
|
|
269
262
|
text-transform: ${No};
|
|
270
263
|
}
|
|
271
|
-
`,
|
|
264
|
+
`,ni=xt`
|
|
272
265
|
.ft-typography--subtitle1 {
|
|
273
|
-
font-family: ${
|
|
274
|
-
font-size: ${
|
|
275
|
-
font-weight: ${
|
|
266
|
+
font-family: ${wo};
|
|
267
|
+
font-size: ${$o};
|
|
268
|
+
font-weight: ${Co};
|
|
276
269
|
letter-spacing: ${Ro};
|
|
277
|
-
line-height: ${
|
|
270
|
+
line-height: ${Eo};
|
|
278
271
|
text-transform: ${Uo};
|
|
279
272
|
}
|
|
280
|
-
`,
|
|
273
|
+
`,ai=xt`
|
|
281
274
|
.ft-typography--subtitle2 {
|
|
282
|
-
font-family: ${
|
|
283
|
-
font-size: ${
|
|
284
|
-
font-weight: ${
|
|
285
|
-
letter-spacing: ${
|
|
286
|
-
line-height: ${
|
|
275
|
+
font-family: ${ko};
|
|
276
|
+
font-size: ${Io};
|
|
277
|
+
font-weight: ${Lo};
|
|
278
|
+
letter-spacing: ${Wo};
|
|
279
|
+
line-height: ${zo};
|
|
287
280
|
text-transform: ${Fo};
|
|
288
281
|
}
|
|
289
282
|
|
|
290
|
-
`,
|
|
283
|
+
`,si=xt`
|
|
291
284
|
.ft-typography--body1 {
|
|
292
|
-
font-family: ${
|
|
293
|
-
font-size: ${
|
|
294
|
-
font-weight: ${
|
|
295
|
-
letter-spacing: ${
|
|
296
|
-
line-height: ${
|
|
297
|
-
text-transform: ${
|
|
285
|
+
font-family: ${Ko.fontFamily};
|
|
286
|
+
font-size: ${Ko.fontSize};
|
|
287
|
+
font-weight: ${Ko.fontWeight};
|
|
288
|
+
letter-spacing: ${Ko.letterSpacing};
|
|
289
|
+
line-height: ${Ko.lineHeight};
|
|
290
|
+
text-transform: ${Ko.textTransform};
|
|
298
291
|
}
|
|
299
|
-
`,
|
|
292
|
+
`,li=xt`
|
|
300
293
|
.ft-typography--body2 {
|
|
301
|
-
font-family: ${
|
|
302
|
-
font-size: ${
|
|
294
|
+
font-family: ${Zo};
|
|
295
|
+
font-size: ${Bo};
|
|
303
296
|
font-weight: ${Mo};
|
|
304
|
-
letter-spacing: ${
|
|
305
|
-
line-height: ${
|
|
306
|
-
text-transform: ${
|
|
297
|
+
letter-spacing: ${Do};
|
|
298
|
+
line-height: ${Ao};
|
|
299
|
+
text-transform: ${Po};
|
|
307
300
|
}
|
|
308
|
-
`,
|
|
301
|
+
`,ci=xt`
|
|
309
302
|
.ft-typography--caption {
|
|
310
|
-
font-family: ${
|
|
311
|
-
font-size: ${
|
|
312
|
-
font-weight: ${
|
|
313
|
-
letter-spacing: ${
|
|
314
|
-
line-height: ${
|
|
315
|
-
text-transform: ${
|
|
303
|
+
font-family: ${Ho.fontFamily};
|
|
304
|
+
font-size: ${Ho.fontSize};
|
|
305
|
+
font-weight: ${Ho.fontWeight};
|
|
306
|
+
letter-spacing: ${Ho.letterSpacing};
|
|
307
|
+
line-height: ${Ho.lineHeight};
|
|
308
|
+
text-transform: ${Ho.textTransform};
|
|
316
309
|
}
|
|
317
310
|
`,pi=xt`
|
|
318
311
|
.ft-typography--breadcrumb {
|
|
319
|
-
font-family: ${
|
|
320
|
-
font-size: ${
|
|
321
|
-
font-weight: ${
|
|
322
|
-
letter-spacing: ${
|
|
312
|
+
font-family: ${jo};
|
|
313
|
+
font-size: ${To};
|
|
314
|
+
font-weight: ${_o};
|
|
315
|
+
letter-spacing: ${Go};
|
|
323
316
|
line-height: ${Yo};
|
|
324
|
-
text-transform: ${
|
|
317
|
+
text-transform: ${Vo};
|
|
325
318
|
}
|
|
326
|
-
`,
|
|
319
|
+
`,fi=xt`
|
|
327
320
|
.ft-typography--overline {
|
|
328
|
-
font-family: ${
|
|
329
|
-
font-size: ${
|
|
330
|
-
font-weight: ${
|
|
331
|
-
letter-spacing: ${
|
|
332
|
-
line-height: ${
|
|
333
|
-
text-transform: ${
|
|
321
|
+
font-family: ${Jo};
|
|
322
|
+
font-size: ${qo};
|
|
323
|
+
font-weight: ${Xo};
|
|
324
|
+
letter-spacing: ${Qo};
|
|
325
|
+
line-height: ${ti};
|
|
326
|
+
text-transform: ${ei};
|
|
334
327
|
}
|
|
335
|
-
`,
|
|
328
|
+
`,hi=xt`
|
|
336
329
|
.ft-typography--button {
|
|
337
|
-
font-family: ${
|
|
338
|
-
font-size: ${
|
|
339
|
-
font-weight: ${
|
|
340
|
-
letter-spacing: ${
|
|
341
|
-
line-height: ${
|
|
342
|
-
text-transform: ${
|
|
343
|
-
}
|
|
344
|
-
`,
|
|
330
|
+
font-family: ${oi.fontFamily};
|
|
331
|
+
font-size: ${oi.fontSize};
|
|
332
|
+
font-weight: ${oi.fontWeight};
|
|
333
|
+
letter-spacing: ${oi.letterSpacing};
|
|
334
|
+
line-height: ${oi.lineHeight};
|
|
335
|
+
text-transform: ${oi.textTransform};
|
|
336
|
+
}
|
|
337
|
+
`,di=xt`
|
|
345
338
|
.ft-typography {
|
|
346
339
|
vertical-align: inherit;
|
|
347
340
|
}
|
|
348
|
-
`,
|
|
341
|
+
`,ui=[Object.keys(Ne).map((t=>function(t){const e=Ne[t];return xt`
|
|
349
342
|
.ft-typography--${mt(t)} {
|
|
350
343
|
font-family: ${e.fontFamily};
|
|
351
344
|
font-size: ${e.fontSize};
|
|
@@ -354,7 +347,7 @@ class be extends Kt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
354
347
|
line-height: ${e.lineHeight};
|
|
355
348
|
text-transform: ${e.textCase};
|
|
356
349
|
}
|
|
357
|
-
`}(t)))],
|
|
350
|
+
`}(t)))],yi={color:ve.extend("--ft-loader-color","",Ce.colorPrimary),size:ve.create("--ft-loader-size","","SIZE","80px")},gi=xt`
|
|
358
351
|
:host {
|
|
359
352
|
line-height: 0;
|
|
360
353
|
}
|
|
@@ -363,8 +356,8 @@ class be extends Kt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
363
356
|
display: inline-block;
|
|
364
357
|
position: relative;
|
|
365
358
|
|
|
366
|
-
width: ${
|
|
367
|
-
height: ${
|
|
359
|
+
width: ${yi.size};
|
|
360
|
+
height: ${yi.size};
|
|
368
361
|
}
|
|
369
362
|
|
|
370
363
|
.ft-loader div {
|
|
@@ -373,7 +366,7 @@ class be extends Kt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
373
366
|
width: 25%;
|
|
374
367
|
height: 25%;
|
|
375
368
|
border-radius: 50%;
|
|
376
|
-
background: ${
|
|
369
|
+
background: ${yi.color};
|
|
377
370
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
378
371
|
}
|
|
379
372
|
|
|
@@ -420,10 +413,10 @@ class be extends Kt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
420
413
|
transform: translate(0, 0);
|
|
421
414
|
}
|
|
422
415
|
100% {
|
|
423
|
-
transform: translate(calc(0.35 * ${
|
|
416
|
+
transform: translate(calc(0.35 * ${yi.size}), 0);
|
|
424
417
|
}
|
|
425
418
|
}
|
|
426
|
-
`,
|
|
419
|
+
`,bi={size:ve.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:ve.extend("--ft-icon-fluid-topics-font-family","",ve.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:ve.extend("--ft-icon-file-format-font-family","",ve.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:ve.extend("--ft-icon-material-font-family","",ve.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:ve.create("--ft-icon-vertical-align","","UNKNOWN","unset")},mi=xt`
|
|
427
420
|
:host, i.ft-icon {
|
|
428
421
|
display: inline-flex;
|
|
429
422
|
align-items: center;
|
|
@@ -432,14 +425,14 @@ class be extends Kt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
432
425
|
}
|
|
433
426
|
|
|
434
427
|
:host {
|
|
435
|
-
width: ${
|
|
436
|
-
height: ${
|
|
428
|
+
width: ${bi.size};
|
|
429
|
+
height: ${bi.size};
|
|
437
430
|
}
|
|
438
431
|
|
|
439
432
|
i.ft-icon {
|
|
440
433
|
width: 100%;
|
|
441
434
|
height: 100%;
|
|
442
|
-
font-size: ${
|
|
435
|
+
font-size: ${bi.size};
|
|
443
436
|
line-height: 1;
|
|
444
437
|
font-weight: normal;
|
|
445
438
|
text-transform: none;
|
|
@@ -450,28 +443,28 @@ class be extends Kt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
450
443
|
text-rendering: auto;
|
|
451
444
|
-webkit-font-smoothing: antialiased;
|
|
452
445
|
-moz-osx-font-smoothing: grayscale;
|
|
453
|
-
vertical-align: ${
|
|
446
|
+
vertical-align: ${bi.verticalAlign};
|
|
454
447
|
}
|
|
455
448
|
|
|
456
449
|
i.ft-icon.ft-icon--fluid-topics {
|
|
457
|
-
font-family: ${
|
|
450
|
+
font-family: ${bi.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
458
451
|
|
|
459
452
|
/* Ugly fix because font is broken */
|
|
460
|
-
font-size: calc(0.75 * ${
|
|
461
|
-
line-height: ${
|
|
453
|
+
font-size: calc(0.75 * ${bi.size});
|
|
454
|
+
line-height: ${bi.size};
|
|
462
455
|
position: relative;
|
|
463
456
|
top: -4%;
|
|
464
457
|
justify-content: center;
|
|
465
458
|
}
|
|
466
459
|
|
|
467
460
|
.ft-icon--file-format {
|
|
468
|
-
font-family: ${
|
|
461
|
+
font-family: ${bi.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
469
462
|
}
|
|
470
463
|
|
|
471
464
|
.ft-icon--material {
|
|
472
|
-
font-family: ${
|
|
465
|
+
font-family: ${bi.materialFontFamily}, "Material Icons", sans-serif;
|
|
473
466
|
}
|
|
474
|
-
`,
|
|
467
|
+
`,xi=ve.extend("--ft-button-color","",Ce.colorPrimary),vi={backgroundColor:ve.extend("--ft-button-background-color","",Ce.colorSurface),borderRadius:ve.extend("--ft-button-border-radius","",Ce.borderRadiusL),color:xi,fontSize:ve.extend("--ft-button-font-size","",oi.fontSize),iconSize:ve.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:ve.extend("--ft-button-ripple-color","",xi),verticalPadding:ve.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:ve.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:ve.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:ve.external(Ce.colorOpacityDisabled,"Design system")},Oi=ve.extend("--ft-button-primary-color","",ve.extend("--ft-button-color","",Ce.colorOnPrimary)),Si={backgroundColor:ve.extend("--ft-button-primary-background-color","",ve.extend("--ft-button-background-color","",Ce.colorPrimary)),color:Oi,rippleColor:ve.extend("--ft-button-primary-ripple-color","",Oi)},Ni=ve.extend("--ft-button-dense-border-radius","",ve.extend("--ft-button-border-radius","",Ce.borderRadiusM)),wi=ve.create("--ft-button-dense-vertical-padding","","SIZE","2px"),$i=ve.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Ci=ve.create("--ft-button-dense-icon-padding","","SIZE","4px"),Ri=[xt`
|
|
475
468
|
:host {
|
|
476
469
|
display: inline-block;
|
|
477
470
|
max-width: 100%;
|
|
@@ -482,7 +475,7 @@ class be extends Kt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
482
475
|
box-shadow: 0px 0px 0px transparent;
|
|
483
476
|
border: 0px solid transparent;
|
|
484
477
|
text-shadow: 0px 0px 0px transparent;
|
|
485
|
-
font-size: ${
|
|
478
|
+
font-size: ${vi.fontSize};
|
|
486
479
|
}
|
|
487
480
|
|
|
488
481
|
button:hover {
|
|
@@ -511,31 +504,31 @@ class be extends Kt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
511
504
|
border: none;
|
|
512
505
|
pointer-events: auto;
|
|
513
506
|
|
|
514
|
-
--ft-button-internal-line-height: max(calc(${
|
|
515
|
-
--ft-button-internal-color: ${
|
|
516
|
-
${Oe(
|
|
517
|
-
${Oe(
|
|
507
|
+
--ft-button-internal-line-height: max(calc(${vi.fontSize} + 2px), ${vi.iconSize});
|
|
508
|
+
--ft-button-internal-color: ${vi.color};
|
|
509
|
+
${Oe(bi.size,vi.iconSize)};
|
|
510
|
+
${Oe(to.color,vi.rippleColor)};
|
|
518
511
|
|
|
519
|
-
border-radius: ${
|
|
520
|
-
padding: ${
|
|
521
|
-
background-color: ${
|
|
512
|
+
border-radius: ${vi.borderRadius};
|
|
513
|
+
padding: ${vi.verticalPadding} ${vi.horizontalPadding};
|
|
514
|
+
background-color: ${vi.backgroundColor};
|
|
522
515
|
color: var(--ft-button-internal-color);
|
|
523
516
|
-webkit-mask-image: radial-gradient(white, black);
|
|
524
517
|
}
|
|
525
518
|
|
|
526
519
|
.ft-button.ft-button--outlined {
|
|
527
520
|
border: 1px solid var(--ft-button-internal-color);
|
|
528
|
-
padding: calc(${
|
|
521
|
+
padding: calc(${vi.verticalPadding} - 1px) calc(${vi.horizontalPadding} - 1px);
|
|
529
522
|
}
|
|
530
523
|
|
|
531
524
|
.ft-button.ft-button--dense {
|
|
532
|
-
padding: ${
|
|
525
|
+
padding: ${wi} ${$i};
|
|
533
526
|
border-radius: ${Ni};
|
|
534
|
-
gap: ${
|
|
527
|
+
gap: ${Ci};
|
|
535
528
|
}
|
|
536
529
|
|
|
537
530
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
538
|
-
padding: calc(${
|
|
531
|
+
padding: calc(${wi} - 1px) calc(${$i} - 1px);
|
|
539
532
|
}
|
|
540
533
|
|
|
541
534
|
.ft-button:not([disabled]):hover {
|
|
@@ -543,22 +536,22 @@ class be extends Kt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
543
536
|
}
|
|
544
537
|
|
|
545
538
|
.ft-button--round {
|
|
546
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
539
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${vi.verticalPadding});
|
|
547
540
|
}
|
|
548
541
|
|
|
549
542
|
.ft-button--round.ft-button--dense {
|
|
550
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
543
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${wi});
|
|
551
544
|
}
|
|
552
545
|
|
|
553
546
|
.ft-button[disabled] {
|
|
554
547
|
filter: grayscale(1);
|
|
555
|
-
opacity: ${
|
|
548
|
+
opacity: ${vi.opacityDisabled};
|
|
556
549
|
}
|
|
557
550
|
|
|
558
551
|
.ft-button.ft-button--primary {
|
|
559
|
-
background-color: ${
|
|
560
|
-
--ft-button-internal-color: ${
|
|
561
|
-
${Oe(
|
|
552
|
+
background-color: ${Si.backgroundColor};
|
|
553
|
+
--ft-button-internal-color: ${Si.color};
|
|
554
|
+
${Oe(to.color,Si.rippleColor)};
|
|
562
555
|
}
|
|
563
556
|
|
|
564
557
|
.ft-button:focus {
|
|
@@ -571,13 +564,13 @@ class be extends Kt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
571
564
|
white-space: nowrap;
|
|
572
565
|
text-overflow: ellipsis;
|
|
573
566
|
display: block;
|
|
574
|
-
margin: 0 ${
|
|
575
|
-
${Oe(
|
|
576
|
-
${Oe(
|
|
567
|
+
margin: 0 ${vi.iconPadding};
|
|
568
|
+
${Oe(oi.fontSize,"1em")};
|
|
569
|
+
${Oe(oi.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
577
570
|
}
|
|
578
571
|
|
|
579
572
|
.ft-button--dense .ft-button--label {
|
|
580
|
-
margin: 0 ${
|
|
573
|
+
margin: 0 ${Ci};
|
|
581
574
|
}
|
|
582
575
|
|
|
583
576
|
.ft-button--label[hidden] {
|
|
@@ -590,13 +583,13 @@ class be extends Kt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
590
583
|
}
|
|
591
584
|
|
|
592
585
|
.ft-button--label[hidden] + ft-icon {
|
|
593
|
-
margin: 0 calc(${
|
|
594
|
-
padding: 0 ${
|
|
586
|
+
margin: 0 calc(${vi.horizontalPadding} * -1);
|
|
587
|
+
padding: 0 ${vi.verticalPadding};
|
|
595
588
|
}
|
|
596
589
|
|
|
597
590
|
.ft-button--dense .ft-button--label[hidden] + ft-icon {
|
|
598
|
-
margin: 0 calc(${
|
|
599
|
-
padding: 0 ${
|
|
591
|
+
margin: 0 calc(${$i} * -1);
|
|
592
|
+
padding: 0 ${wi};
|
|
600
593
|
}
|
|
601
594
|
|
|
602
595
|
.ft-button:not(.ft-button--trailing-icon) ft-icon,
|
|
@@ -605,39 +598,39 @@ class be extends Kt{constructor(){super(...arguments),this.renderOptions={host:t
|
|
|
605
598
|
}
|
|
606
599
|
|
|
607
600
|
ft-loader {
|
|
608
|
-
${Oe(
|
|
609
|
-
${Oe(
|
|
601
|
+
${Oe(yi.size,vi.iconSize)};
|
|
602
|
+
${Oe(yi.color,"var(--ft-button-internal-color)")};
|
|
610
603
|
}
|
|
611
|
-
`,Ze],
|
|
604
|
+
`,Ze],Ei=1,Ui=2,ki=t=>(...e)=>({_$litDirective$:t,values:e});let Ii=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,o){this._$Ct=t,this._$AM=e,this._$Ci=o}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};
|
|
612
605
|
/**
|
|
613
606
|
* @license
|
|
614
607
|
* Copyright 2018 Google LLC
|
|
615
608
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
616
|
-
*/const
|
|
609
|
+
*/const Li=ki(class extends Ii{constructor(t){if(super(t),t.type!==Ei||"class"!==t.name||t.strings?.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((e=>t[e])).join(" ")+" "}update(t,[e]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(e)}const o=t.element.classList;for(const t of this.it)t in e||(o.remove(t),this.it.delete(t));for(const t in e){const i=!!e[t];i===this.it.has(t)||this.st?.has(t)||(i?(o.add(t),this.it.add(t)):(o.remove(t),this.it.delete(t)))}return Q}});var Wi=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class zi extends Fe{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 e(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 e(10),this.moveRipple=t=>{var e,o;let{x:i,y:r}=this.getCoordinates(t),n=null!==(o=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==o?o:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=i?i-n.x:n.width/2),this.originY=Math.round(null!=r?r-n.y:n.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 ee`
|
|
617
610
|
<style>
|
|
618
611
|
.ft-ripple .ft-ripple--effect {
|
|
619
612
|
left: ${this.originX}px;
|
|
620
613
|
top: ${this.originY}px;
|
|
621
614
|
}
|
|
622
615
|
</style>
|
|
623
|
-
<div class="${
|
|
616
|
+
<div class="${Li(t)}">
|
|
624
617
|
<div class="ft-ripple--background"></div>
|
|
625
618
|
<div class="ft-ripple--effect"></div>
|
|
626
619
|
</div>
|
|
627
|
-
`}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,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(o=this.target)||void 0===o||o.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,e;const o=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;o&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:o)}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 e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},o=e("mouseup","contextmenu"),i=e("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",o,n),t.addEventListener("touchstart",i,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",r,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",o,n),t.removeEventListener("touchstart",i,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",r,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,o=t;let i,r;return null!=e.x?({x:i,y:r}=e):null!=o.touches&&(i=o.touches[0].clientX,r=o.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}
|
|
620
|
+
`}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,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(o=this.target)||void 0===o||o.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,e;const o=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;o&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:o)}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 e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},o=e("mouseup","contextmenu"),i=e("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",o,n),t.addEventListener("touchstart",i,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",r,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",o,n),t.removeEventListener("touchstart",i,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",r,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,o=t;let i,r;return null!=e.x?({x:i,y:r}=e):null!=o.touches&&(i=o.touches[0].clientX,r=o.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}zi.elementDefinitions={},zi.styles=so,Wi([$({type:Boolean})],zi.prototype,"primary",void 0),Wi([$({type:Boolean})],zi.prototype,"secondary",void 0),Wi([$({type:Boolean})],zi.prototype,"unbounded",void 0),Wi([$({type:Boolean})],zi.prototype,"activated",void 0),Wi([$({type:Boolean})],zi.prototype,"selected",void 0),Wi([$({type:Boolean})],zi.prototype,"disabled",void 0),Wi([C()],zi.prototype,"hovered",void 0),Wi([C()],zi.prototype,"focused",void 0),Wi([C()],zi.prototype,"pressed",void 0),Wi([C()],zi.prototype,"rippling",void 0),Wi([C()],zi.prototype,"originX",void 0),Wi([C()],zi.prototype,"originY",void 0),Wi([U(".ft-ripple")],zi.prototype,"ripple",void 0),Wi([U(".ft-ripple--effect")],zi.prototype,"rippleEffect",void 0),I("ft-ripple")(zi);
|
|
628
621
|
/**
|
|
629
622
|
* @license
|
|
630
623
|
* Copyright 2020 Google LLC
|
|
631
624
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
632
625
|
*/
|
|
633
|
-
const Fi=Symbol.for(""),
|
|
634
|
-
<${
|
|
626
|
+
const Fi=Symbol.for(""),Ki=t=>{if(t?.r===Fi)return t?._$litStatic$},Zi=t=>({_$litStatic$:t,r:Fi}),Bi=new Map,Mi=(t=>(e,...o)=>{const i=o.length;let r,n;const a=[],s=[];let l,c=0,p=!1;for(;c<i;){for(l=e[c];c<i&&void 0!==(n=o[c],r=Ki(n));)l+=r+e[++c],p=!0;c!==i&&s.push(n),a.push(l),c++}if(c===i&&a.push(e[i]),p){const t=a.join("$$lit$$");void 0===(e=Bi.get(t))&&(a.raw=a,Bi.set(t,e=a)),o=s}return t(e,...o)})(X);var Di;!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"}(Di||(Di={}));var Ai=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Pi extends Fe{constructor(){super(...arguments),this.variant=Di.body1}render(){return this.element?Mi`
|
|
627
|
+
<${Zi(this.element)}
|
|
635
628
|
class="ft-typography ft-typography--${this.variant}">
|
|
636
629
|
<slot></slot>
|
|
637
|
-
</${
|
|
630
|
+
</${Zi(this.element)}>
|
|
638
631
|
`:Mi`
|
|
639
632
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
640
|
-
`}}
|
|
633
|
+
`}}Pi.styles=[ii,ri,ni,ai,si,li,ci,pi,fi,hi,di,...ui],Ai([$()],Pi.prototype,"element",void 0),Ai([$()],Pi.prototype,"variant",void 0),I("ft-typography")(Pi);const Hi=ve.create("--ft-tooltip-distance","","SIZE","4px"),ji=ve.create("--ft-tooltip-color","","COLOR","#FFFFFF"),Ti=ve.create("--ft-tooltip-background-color","","COLOR","#666666"),_i=ve.create("--ft-tooltip-z-index","","NUMBER","100"),Gi=ve.external(Ce.borderRadiusS,"Design system"),Yi=ve.create("--ft-tooltip-max-width","","SIZE","150px"),Vi=xt`
|
|
641
634
|
.ft-tooltip--container {
|
|
642
635
|
display: block;
|
|
643
636
|
}
|
|
@@ -654,19 +647,19 @@ const Fi=Symbol.for(""),Zi=t=>{if(t?.r===Fi)return t?._$litStatic$},Bi=t=>({_$li
|
|
|
654
647
|
width: max-content;
|
|
655
648
|
max-width: ${Yi};
|
|
656
649
|
text-align: center;
|
|
657
|
-
padding: ${
|
|
658
|
-
z-index: ${
|
|
650
|
+
padding: ${Hi};
|
|
651
|
+
z-index: ${_i};
|
|
659
652
|
}
|
|
660
653
|
|
|
661
654
|
.ft-tooltip--content {
|
|
662
655
|
padding: 4px 8px;
|
|
663
|
-
border-radius: ${
|
|
664
|
-
background-color: ${
|
|
665
|
-
color: ${
|
|
656
|
+
border-radius: ${Gi};
|
|
657
|
+
background-color: ${Ti};
|
|
658
|
+
color: ${ji};
|
|
666
659
|
position: relative;
|
|
667
660
|
word-break: break-word;
|
|
668
661
|
}
|
|
669
|
-
`,qi=["start","end"],Xi=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+qi[0],e+"-"+qi[1])),[]),Qi=Math.min,tr=Math.max,er=Math.round,or=t=>({x:t,y:t}),ir={left:"right",right:"left",bottom:"top",top:"bottom"},rr={start:"end",end:"start"};function nr(t,e,o){return tr(t,Qi(e,o))}function ar(t,e){return"function"==typeof t?t(e):t}function sr(t){return t.split("-")[0]}function lr(t){return t.split("-")[1]}function cr(t){return"x"===t?"y":"x"}function fr(t){return"y"===t?"height":"width"}function pr(t){return["top","bottom"].includes(sr(t))?"y":"x"}function hr(t){return cr(pr(t))}function dr(t){return t.replace(/left|right|bottom|top/g,(t=>ir[t]))}function ur(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function yr(t,e,o){let{reference:i,floating:r}=t;const n=pr(e),a=hr(e),s=fr(a),l=sr(e),c="y"===n,f=i.x+i.width/2-r.width/2,p=i.y+i.height/2-r.height/2,h=i[s]/2-r[s]/2;let d;switch(l){case"top":d={x:f,y:i.y-r.height};break;case"bottom":d={x:f,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:p};break;case"left":d={x:i.x-r.width,y:p};break;default:d={x:i.x,y:i.y}}switch(lr(e)){case"start":d[a]-=h*(o&&c?-1:1);break;case"end":d[a]+=h*(o&&c?-1:1)}return d}async function gr(t,e){var o;void 0===e&&(e={});const{x:i,y:r,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:h=!1,padding:d=0}=ar(e,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(d),y=s[h?"floating"===p?"reference":"floating":p],g=ur(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(y)))||o?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:f,strategy:l})),b="floating"===p?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},v=ur(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(g.top-v.top+u.top)/x.y,bottom:(v.bottom-g.bottom+u.bottom)/x.y,left:(g.left-v.left+u.left)/x.x,right:(v.right-g.right+u.right)/x.x}}function br(t,e,o){return(t?[...o.filter((e=>lr(e)===t)),...o.filter((e=>lr(e)!==t))]:o.filter((t=>sr(t)===t))).filter((o=>!t||(lr(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>rr[t]))}(o)!==o)))}const mr=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,i,r;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=e,{crossAxis:f=!1,alignment:p,allowedPlacements:h=Xi,autoAlignment:d=!0,...u}=ar(t,e),y=void 0!==p||h===Xi?br(p||null,d,h):h,g=await gr(e,u),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=y[b];if(null==m)return{};const x=function(t,e,o){void 0===o&&(o=!1);const i=lr(t),r=hr(t),n=fr(r);let a="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=dr(a)),[a,dr(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const v=[g[sr(m)],g[x[0]],g[x[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:v}],S=y[b+1];if(S)return{data:{index:b+1,overflows:O},reset:{placement:S}};const w=O.map((t=>{const e=lr(t.placement);return[t.placement,e&&f?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),N=w.filter((t=>t[2].slice(0,lr(t[0])?2:3).every((t=>t<=0)))),$=(null==(r=N[0])?void 0:r[0])||w[0][0];return $!==s?{data:{index:b+1,overflows:O},reset:{placement:$}}:{}}}};function xr(t){return Sr(t)?(t.nodeName||"").toLowerCase():"#document"}function vr(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function Or(t){var e;return null==(e=(Sr(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function Sr(t){return t instanceof Node||t instanceof vr(t).Node}function wr(t){return t instanceof Element||t instanceof vr(t).Element}function Nr(t){return t instanceof HTMLElement||t instanceof vr(t).HTMLElement}function $r(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof vr(t).ShadowRoot)}function Cr(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=Ir(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function Er(t){return["table","td","th"].includes(xr(t))}function Rr(t){const e=kr(),o=Ir(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function kr(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Ur(t){return["html","body","#document"].includes(xr(t))}function Ir(t){return vr(t).getComputedStyle(t)}function Lr(t){return wr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Wr(t){if("html"===xr(t))return t;const e=t.assignedSlot||t.parentNode||$r(t)&&t.host||Or(t);return $r(e)?e.host:e}function zr(t){const e=Wr(t);return Ur(e)?t.ownerDocument?t.ownerDocument.body:t.body:Nr(e)&&Cr(e)?e:zr(e)}function Kr(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=zr(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=vr(r);return n?e.concat(a,a.visualViewport||[],Cr(r)?r:[],a.frameElement&&o?Kr(a.frameElement):[]):e.concat(r,Kr(r,[],o))}function Fr(t){const e=Ir(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=Nr(t),n=r?t.offsetWidth:o,a=r?t.offsetHeight:i,s=er(o)!==n||er(i)!==a;return s&&(o=n,i=a),{width:o,height:i,$:s}}function Zr(t){return wr(t)?t:t.contextElement}function Br(t){const e=Zr(t);if(!Nr(e))return or(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=Fr(e);let a=(n?er(o.width):o.width)/i,s=(n?er(o.height):o.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const Dr=or(0);function Mr(t){const e=vr(t);return kr()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:Dr}function Ar(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=Zr(t);let a=or(1);e&&(i?wr(i)&&(a=Br(i)):a=Br(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==vr(t))&&e}(n,o,i)?Mr(n):or(0);let l=(r.left+s.x)/a.x,c=(r.top+s.y)/a.y,f=r.width/a.x,p=r.height/a.y;if(n){const t=vr(n),e=i&&wr(i)?vr(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=Br(o),e=o.getBoundingClientRect(),i=Ir(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,f*=t.x,p*=t.y,l+=r,c+=n,o=vr(o).frameElement}}return ur({width:f,height:p,x:l,y:c})}function Pr(t){return Ar(Or(t)).left+Lr(t).scrollLeft}function Hr(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=vr(t),i=Or(t),r=o.visualViewport;let n=i.clientWidth,a=i.clientHeight,s=0,l=0;if(r){n=r.width,a=r.height;const t=kr();(!t||t&&"fixed"===e)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,o);else if("document"===e)i=function(t){const e=Or(t),o=Lr(t),i=t.ownerDocument.body,r=tr(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=tr(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let a=-o.scrollLeft+Pr(t);const s=-o.scrollTop;return"rtl"===Ir(i).direction&&(a+=tr(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(Or(t));else if(wr(e))i=function(t,e){const o=Ar(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=Nr(t)?Br(t):or(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(e,o);else{const o=Mr(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return ur(i)}function jr(t,e){const o=Wr(t);return!(o===e||!wr(o)||Ur(o))&&("fixed"===Ir(o).position||jr(o,e))}function Tr(t,e,o){const i=Nr(e),r=Or(e),n="fixed"===o,a=Ar(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const l=or(0);if(i||!i&&!n)if(("body"!==xr(e)||Cr(r))&&(s=Lr(e)),i){const t=Ar(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=Pr(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function _r(t,e){return Nr(t)&&"fixed"!==Ir(t).position?e?e(t):t.offsetParent:null}function Gr(t,e){const o=vr(t);if(!Nr(t))return o;let i=_r(t,e);for(;i&&Er(i)&&"static"===Ir(i).position;)i=_r(i,e);return i&&("html"===xr(i)||"body"===xr(i)&&"static"===Ir(i).position&&!Rr(i))?o:i||function(t){let e=Wr(t);for(;Nr(e)&&!Ur(e);){if(Rr(e))return e;e=Wr(e)}return null}(t)||o}const Vr={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=Nr(o),n=Or(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=or(1);const l=or(0);if((r||!r&&"fixed"!==i)&&(("body"!==xr(o)||Cr(n))&&(a=Lr(o)),Nr(o))){const t=Ar(o);s=Br(o),l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-a.scrollLeft*s.x+l.x,y:e.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:Or,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let i=Kr(t,[],!1).filter((t=>wr(t)&&"body"!==xr(t))),r=null;const n="fixed"===Ir(t).position;let a=n?Wr(t):t;for(;wr(a)&&!Ur(a);){const e=Ir(a),o=Rr(a);o||"fixed"!==e.position||(r=null),(n?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||Cr(a)&&!o&&jr(t,a))?i=i.filter((t=>t!==a)):r=e,a=Wr(a)}return e.set(t,i),i}(e,this._c):[].concat(o),i],a=n[0],s=n.reduce(((t,o)=>{const i=Hr(e,o,r);return t.top=tr(i.top,t.top),t.right=Qi(i.right,t.right),t.bottom=Qi(i.bottom,t.bottom),t.left=tr(i.left,t.left),t}),Hr(e,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:Gr,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||Gr,n=this.getDimensions;return{reference:Tr(e,await r(o),i),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Fr(t)},getScale:Br,isElement:wr,isRTL:function(t){return"rtl"===Ir(t).direction}},Yr=(t,e,o)=>{const i=new Map,r={platform:Vr,...o},n={...r.platform,_c:i};return(async(t,e,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=o,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(e));let c=await a.getElementRects({reference:t,floating:e,strategy:r}),{x:f,y:p}=yr(c,i,l),h=i,d={},u=0;for(let o=0;o<s.length;o++){const{name:n,fn:y}=s[o],{x:g,y:b,data:m,reset:x}=await y({x:f,y:p,initialPlacement:i,placement:h,strategy:r,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:e}});f=null!=g?g:f,p=null!=b?b:p,d={...d,[n]:{...d[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(h=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:e,strategy:r}):x.rects),({x:f,y:p}=yr(c,h,l))),o=-1)}return{x:f,y:p,placement:h,strategy:r,middlewareData:d}})(t,e,{...r,platform:n})};function Jr(t){return function(t){for(let e=t;e;e=qr(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=qr(t);e;e=qr(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}(t)}function qr(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var Xr=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Qr extends Ke{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 e,this.revealDebouncer=new e}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return ee`
|
|
662
|
+
`,Ji=["start","end"],qi=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+Ji[0],e+"-"+Ji[1])),[]),Xi=Math.min,Qi=Math.max,tr=Math.round,er=t=>({x:t,y:t}),or={left:"right",right:"left",bottom:"top",top:"bottom"},ir={start:"end",end:"start"};function rr(t,e,o){return Qi(t,Xi(e,o))}function nr(t,e){return"function"==typeof t?t(e):t}function ar(t){return t.split("-")[0]}function sr(t){return t.split("-")[1]}function lr(t){return"x"===t?"y":"x"}function cr(t){return"y"===t?"height":"width"}function pr(t){return["top","bottom"].includes(ar(t))?"y":"x"}function fr(t){return lr(pr(t))}function hr(t){return t.replace(/left|right|bottom|top/g,(t=>or[t]))}function dr(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function ur(t,e,o){let{reference:i,floating:r}=t;const n=pr(e),a=fr(e),s=cr(a),l=ar(e),c="y"===n,p=i.x+i.width/2-r.width/2,f=i.y+i.height/2-r.height/2,h=i[s]/2-r[s]/2;let d;switch(l){case"top":d={x:p,y:i.y-r.height};break;case"bottom":d={x:p,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:f};break;case"left":d={x:i.x-r.width,y:f};break;default:d={x:i.x,y:i.y}}switch(sr(e)){case"start":d[a]-=h*(o&&c?-1:1);break;case"end":d[a]+=h*(o&&c?-1:1)}return d}async function yr(t,e){var o;void 0===e&&(e={});const{x:i,y:r,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=nr(e,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(d),y=s[h?"floating"===f?"reference":"floating":f],g=dr(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(y)))||o?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:p,strategy:l})),b="floating"===f?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},v=dr(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(g.top-v.top+u.top)/x.y,bottom:(v.bottom-g.bottom+u.bottom)/x.y,left:(g.left-v.left+u.left)/x.x,right:(v.right-g.right+u.right)/x.x}}function gr(t,e,o){return(t?[...o.filter((e=>sr(e)===t)),...o.filter((e=>sr(e)!==t))]:o.filter((t=>ar(t)===t))).filter((o=>!t||(sr(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>ir[t]))}(o)!==o)))}const br=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,i,r;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=e,{crossAxis:p=!1,alignment:f,allowedPlacements:h=qi,autoAlignment:d=!0,...u}=nr(t,e),y=void 0!==f||h===qi?gr(f||null,d,h):h,g=await yr(e,u),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=y[b];if(null==m)return{};const x=function(t,e,o){void 0===o&&(o=!1);const i=sr(t),r=fr(t),n=cr(r);let a="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=hr(a)),[a,hr(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const v=[g[ar(m)],g[x[0]],g[x[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:v}],S=y[b+1];if(S)return{data:{index:b+1,overflows:O},reset:{placement:S}};const N=O.map((t=>{const e=sr(t.placement);return[t.placement,e&&p?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),w=N.filter((t=>t[2].slice(0,sr(t[0])?2:3).every((t=>t<=0)))),$=(null==(r=w[0])?void 0:r[0])||N[0][0];return $!==s?{data:{index:b+1,overflows:O},reset:{placement:$}}:{}}}};function mr(t){return Or(t)?(t.nodeName||"").toLowerCase():"#document"}function xr(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function vr(t){var e;return null==(e=(Or(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function Or(t){return t instanceof Node||t instanceof xr(t).Node}function Sr(t){return t instanceof Element||t instanceof xr(t).Element}function Nr(t){return t instanceof HTMLElement||t instanceof xr(t).HTMLElement}function wr(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof xr(t).ShadowRoot)}function $r(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=kr(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function Cr(t){return["table","td","th"].includes(mr(t))}function Rr(t){const e=Er(),o=kr(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function Er(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Ur(t){return["html","body","#document"].includes(mr(t))}function kr(t){return xr(t).getComputedStyle(t)}function Ir(t){return Sr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Lr(t){if("html"===mr(t))return t;const e=t.assignedSlot||t.parentNode||wr(t)&&t.host||vr(t);return wr(e)?e.host:e}function Wr(t){const e=Lr(t);return Ur(e)?t.ownerDocument?t.ownerDocument.body:t.body:Nr(e)&&$r(e)?e:Wr(e)}function zr(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=Wr(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=xr(r);return n?e.concat(a,a.visualViewport||[],$r(r)?r:[],a.frameElement&&o?zr(a.frameElement):[]):e.concat(r,zr(r,[],o))}function Fr(t){const e=kr(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=Nr(t),n=r?t.offsetWidth:o,a=r?t.offsetHeight:i,s=tr(o)!==n||tr(i)!==a;return s&&(o=n,i=a),{width:o,height:i,$:s}}function Kr(t){return Sr(t)?t:t.contextElement}function Zr(t){const e=Kr(t);if(!Nr(e))return er(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=Fr(e);let a=(n?tr(o.width):o.width)/i,s=(n?tr(o.height):o.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const Br=er(0);function Mr(t){const e=xr(t);return Er()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:Br}function Dr(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=Kr(t);let a=er(1);e&&(i?Sr(i)&&(a=Zr(i)):a=Zr(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==xr(t))&&e}(n,o,i)?Mr(n):er(0);let l=(r.left+s.x)/a.x,c=(r.top+s.y)/a.y,p=r.width/a.x,f=r.height/a.y;if(n){const t=xr(n),e=i&&Sr(i)?xr(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=Zr(o),e=o.getBoundingClientRect(),i=kr(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,p*=t.x,f*=t.y,l+=r,c+=n,o=xr(o).frameElement}}return dr({width:p,height:f,x:l,y:c})}function Ar(t){return Dr(vr(t)).left+Ir(t).scrollLeft}function Pr(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=xr(t),i=vr(t),r=o.visualViewport;let n=i.clientWidth,a=i.clientHeight,s=0,l=0;if(r){n=r.width,a=r.height;const t=Er();(!t||t&&"fixed"===e)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,o);else if("document"===e)i=function(t){const e=vr(t),o=Ir(t),i=t.ownerDocument.body,r=Qi(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=Qi(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let a=-o.scrollLeft+Ar(t);const s=-o.scrollTop;return"rtl"===kr(i).direction&&(a+=Qi(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(vr(t));else if(Sr(e))i=function(t,e){const o=Dr(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=Nr(t)?Zr(t):er(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(e,o);else{const o=Mr(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return dr(i)}function Hr(t,e){const o=Lr(t);return!(o===e||!Sr(o)||Ur(o))&&("fixed"===kr(o).position||Hr(o,e))}function jr(t,e,o){const i=Nr(e),r=vr(e),n="fixed"===o,a=Dr(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const l=er(0);if(i||!i&&!n)if(("body"!==mr(e)||$r(r))&&(s=Ir(e)),i){const t=Dr(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=Ar(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Tr(t,e){return Nr(t)&&"fixed"!==kr(t).position?e?e(t):t.offsetParent:null}function _r(t,e){const o=xr(t);if(!Nr(t))return o;let i=Tr(t,e);for(;i&&Cr(i)&&"static"===kr(i).position;)i=Tr(i,e);return i&&("html"===mr(i)||"body"===mr(i)&&"static"===kr(i).position&&!Rr(i))?o:i||function(t){let e=Lr(t);for(;Nr(e)&&!Ur(e);){if(Rr(e))return e;e=Lr(e)}return null}(t)||o}const Gr={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=Nr(o),n=vr(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=er(1);const l=er(0);if((r||!r&&"fixed"!==i)&&(("body"!==mr(o)||$r(n))&&(a=Ir(o)),Nr(o))){const t=Dr(o);s=Zr(o),l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-a.scrollLeft*s.x+l.x,y:e.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:vr,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let i=zr(t,[],!1).filter((t=>Sr(t)&&"body"!==mr(t))),r=null;const n="fixed"===kr(t).position;let a=n?Lr(t):t;for(;Sr(a)&&!Ur(a);){const e=kr(a),o=Rr(a);o||"fixed"!==e.position||(r=null),(n?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||$r(a)&&!o&&Hr(t,a))?i=i.filter((t=>t!==a)):r=e,a=Lr(a)}return e.set(t,i),i}(e,this._c):[].concat(o),i],a=n[0],s=n.reduce(((t,o)=>{const i=Pr(e,o,r);return t.top=Qi(i.top,t.top),t.right=Xi(i.right,t.right),t.bottom=Xi(i.bottom,t.bottom),t.left=Qi(i.left,t.left),t}),Pr(e,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:_r,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||_r,n=this.getDimensions;return{reference:jr(e,await r(o),i),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Fr(t)},getScale:Zr,isElement:Sr,isRTL:function(t){return"rtl"===kr(t).direction}},Yr=(t,e,o)=>{const i=new Map,r={platform:Gr,...o},n={...r.platform,_c:i};return(async(t,e,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=o,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(e));let c=await a.getElementRects({reference:t,floating:e,strategy:r}),{x:p,y:f}=ur(c,i,l),h=i,d={},u=0;for(let o=0;o<s.length;o++){const{name:n,fn:y}=s[o],{x:g,y:b,data:m,reset:x}=await y({x:p,y:f,initialPlacement:i,placement:h,strategy:r,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:e}});p=null!=g?g:p,f=null!=b?b:f,d={...d,[n]:{...d[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(h=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:e,strategy:r}):x.rects),({x:p,y:f}=ur(c,h,l))),o=-1)}return{x:p,y:f,placement:h,strategy:r,middlewareData:d}})(t,e,{...r,platform:n})};function Vr(t){return function(t){for(let e=t;e;e=Jr(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=Jr(t);e;e=Jr(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}(t)}function Jr(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var qr=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Xr extends Fe{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 e,this.revealDebouncer=new e}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return ee`
|
|
670
663
|
<div part="container"
|
|
671
664
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
672
665
|
@mouseenter=${this.onHover}
|
|
@@ -684,34 +677,34 @@ const Fi=Symbol.for(""),Zi=t=>{if(t?.r===Fi)return t?._$litStatic$},Bi=t=>({_$li
|
|
|
684
677
|
</div>
|
|
685
678
|
</div>
|
|
686
679
|
</div>
|
|
687
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&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(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Yr(this.slottedElement,this.tooltip,{platform:{...
|
|
680
|
+
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,null!=t&&await 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(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Yr(this.slottedElement,this.tooltip,{platform:{...Gr,getOffsetParent:t=>Gr.getOffsetParent(t,Vr)},middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:i,placement:r}=e,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...l}=nr(t,e),c={x:o,y:i},p=await yr(e,l),f=pr(ar(r)),h=lr(f);let d=c[h],u=c[f];if(n){const t="y"===h?"bottom":"right";d=rr(d+p["y"===h?"top":"left"],d,d-p[t])}if(a){const t="y"===f?"bottom":"right";u=rr(u+p["y"===f?"top":"left"],u,u-p[t])}const y=s.fn({...e,[h]:d,[f]:u});return{...y,data:{x:y.x-o,y:y.y-i}}}}),br({allowedPlacements:[this.position]})]}).then((({x:t,y:e})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${e}px`)}))),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())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}Xr.elementDefinitions={"ft-typography":Pi},Xr.styles=Vi,qr([$()],Xr.prototype,"text",void 0),qr([$({type:Boolean})],Xr.prototype,"manual",void 0),qr([$({type:Boolean})],Xr.prototype,"inline",void 0),qr([$({type:Number})],Xr.prototype,"delay",void 0),qr([$()],Xr.prototype,"position",void 0),qr([function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return E(0,0,{get(){const e=this.renderRoot?.querySelector(r);return e?.assignedNodes(t)??[]}})}}()],Xr.prototype,"slotNodes",void 0),qr([U(".ft-tooltip--container")],Xr.prototype,"container",void 0),qr([U(".ft-tooltip")],Xr.prototype,"tooltip",void 0),qr([U(".ft-tooltip--content")],Xr.prototype,"tooltipContent",void 0),qr([C()],Xr.prototype,"visible",void 0),qr([R({passive:!0})],Xr.prototype,"onTouch",null),qr([R({passive:!0})],Xr.prototype,"onHover",null),qr([R({passive:!0})],Xr.prototype,"onOut",null),qr([R({passive:!0})],Xr.prototype,"onClick",null),I("ft-tooltip")(Xr);
|
|
688
681
|
/**
|
|
689
682
|
* @license
|
|
690
683
|
* Copyright 2017 Google LLC
|
|
691
684
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
692
685
|
*/
|
|
693
|
-
class
|
|
686
|
+
class Qr extends Ii{constructor(t){if(super(t),this.et=tt,t.type!==Ui)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===tt||null==t)return this.vt=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.vt;this.et=t;const e=[t];return e.raw=e,this.vt={_$litType$:this.constructor.resultType,strings:e,values:[]}}}Qr.directiveName="unsafeHTML",Qr.resultType=1;const tn=ki(Qr);var en,on,rn;!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="",t.CLONE=""}(en||(en={})),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=""}(on||(on={})),new Map([...["abw"].map((t=>[t,on.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,on.AUDIO])),...["avi"].map((t=>[t,on.AVI])),...["chm","xhs"].map((t=>[t,on.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,on.CODE])),...["csv"].map((t=>[t,on.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,on.DITA])),...["epub"].map((t=>[t,on.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,on.EXCEL])),...["flac"].map((t=>[t,on.FLAC])),...["gif"].map((t=>[t,on.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,on.GZIP])),...["html","htm","xhtml"].map((t=>[t,on.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,on.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,on.JPEG])),...["json"].map((t=>[t,on.JSON])),...["m4a","m4p"].map((t=>[t,on.M4A])),...["mov","qt"].map((t=>[t,on.MOV])),...["mp3"].map((t=>[t,on.MP3])),...["mp4","m4v"].map((t=>[t,on.MP4])),...["ogg","oga"].map((t=>[t,on.OGG])),...["pdf","ps"].map((t=>[t,on.PDF])),...["png"].map((t=>[t,on.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,on.POWERPOINT])),...["rar"].map((t=>[t,on.RAR])),...["stp"].map((t=>[t,on.STP])),...["txt","rtf","md","mdown"].map((t=>[t,on.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,on.VIDEO])),...["wav"].map((t=>[t,on.WAV])),...["wma"].map((t=>[t,on.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,on.WORD])),...["xml","xsl","rdf"].map((t=>[t,on.XML])),...["yaml","yml","x-yaml"].map((t=>[t,on.YAML])),...["zip"].map((t=>[t,on.ZIP]))]),on.ABW,on.AUDIO,on.AVI,on.CHM,on.CODE,on.CSV,on.DITA,on.EPUB,on.EXCEL,on.FLAC,on.GIF,on.GZIP,on.HTML,on.IMAGE,on.JPEG,on.JSON,on.M4A,on.MOV,on.MP3,on.MP4,on.OGG,on.PDF,on.PNG,on.POWERPOINT,on.RAR,on.STP,on.TEXT,on.UNKNOWN,on.VIDEO,on.WAV,on.WMA,on.WORD,on.XML,on.YAML,on.ZIP,function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(rn||(rn={}));var nn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class an extends Fe{constructor(){super(...arguments),this.resolvedIcon=ie}render(){const t=this.variant&&Object.values(rn).includes(this.variant)?this.variant:rn.fluid_topics,e=t!==rn.material||!!this.value;return ee`
|
|
694
687
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
695
|
-
${
|
|
688
|
+
${tn(this.resolvedIcon)}
|
|
696
689
|
<slot ?hidden=${e}></slot>
|
|
697
690
|
</i>
|
|
698
|
-
`}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let o=this.value||this.textContent;switch(this.variant){case
|
|
691
|
+
`}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let o=this.value||this.textContent;switch(this.variant){case rn.file_format:this.resolvedIcon=null!==(t=on[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case rn.material:this.resolvedIcon=this.value||ie;break;default:this.resolvedIcon=null!==(e=en[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}an.elementDefinitions={},an.styles=mi,nn([$()],an.prototype,"variant",void 0),nn([$()],an.prototype,"value",void 0),nn([C()],an.prototype,"resolvedIcon",void 0),nn([U("slot")],an.prototype,"slottedContent",void 0),I("ft-icon")(an);class sn extends Fe{render(){return ee`
|
|
699
692
|
<div class="ft-loader">
|
|
700
693
|
<div></div>
|
|
701
694
|
<div></div>
|
|
702
695
|
<div></div>
|
|
703
696
|
<div></div>
|
|
704
697
|
</div>
|
|
705
|
-
`}}
|
|
698
|
+
`}}sn.styles=gi,I("ft-loader")(sn);var ln=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class cn extends(function(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[Ge].form}constructor(...t){super(t),this[Ge]=this.attachInternals(),this[Ge].role=e}setFormValue(t){this[Ge].setFormValue(t)}}}(Fe,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var e;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(e=this.form)||void 0===e||e.requestSubmit())}}render(){return this.addTooltipIfNeeded(ee`
|
|
706
699
|
<button part="button"
|
|
707
|
-
class="${
|
|
700
|
+
class="${Li(this.buttonClasses)}"
|
|
708
701
|
aria-label="${this.getLabel()}"
|
|
709
702
|
?disabled=${this.isDisabled()}>
|
|
710
703
|
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
711
704
|
<ft-typography part="label"
|
|
712
705
|
variant=${this.typographyVariant}
|
|
713
706
|
element="span"
|
|
714
|
-
class="ft-button--label ${
|
|
707
|
+
class="ft-button--label ${qe?"ft-safari-ellipsis-fix":""}"
|
|
715
708
|
?hidden=${!this.hasTextContent()}>
|
|
716
709
|
<slot @slotchange=${this.onSlotchange}></slot>
|
|
717
710
|
</ft-typography>
|
|
@@ -725,7 +718,7 @@ class tn extends Li{constructor(t){if(super(t),this.et=tt,t.type!==Ui)throw Erro
|
|
|
725
718
|
</ft-tooltip>
|
|
726
719
|
`:t}resolveIcon(){return this.loading?ee`
|
|
727
720
|
<ft-loader part="loader icon"></ft-loader> `:this.icon?ee`
|
|
728
|
-
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:ie}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}
|
|
721
|
+
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:ie}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}cn.elementDefinitions={"ft-ripple":zi,"ft-tooltip":Xr,"ft-typography":Pi,"ft-icon":an,"ft-loader":sn},ln([$({type:String,reflect:!0})],cn.prototype,"role",void 0),ln([$()],cn.prototype,"type",void 0),ln([$({type:Boolean})],cn.prototype,"disabled",void 0),ln([$()],cn.prototype,"label",void 0),ln([$()],cn.prototype,"icon",void 0),ln([$()],cn.prototype,"iconVariant",void 0),ln([$({type:Boolean})],cn.prototype,"trailingIcon",void 0),ln([$({type:Boolean})],cn.prototype,"loading",void 0),ln([$()],cn.prototype,"tooltipPosition",void 0),ln([$({type:Boolean})],cn.prototype,"hideTooltip",void 0),ln([$({type:Boolean})],cn.prototype,"forceTooltip",void 0),ln([U(".ft-button")],cn.prototype,"button",void 0),ln([U(".ft-button--label slot")],cn.prototype,"slottedContent",void 0);var pn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class fn extends cn{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}fn.styles=[Be,Ri],pn([$({type:Boolean})],fn.prototype,"primary",void 0),pn([$({type:Boolean})],fn.prototype,"outlined",void 0),pn([$({type:Boolean})],fn.prototype,"dense",void 0),pn([$({type:Boolean})],fn.prototype,"round",void 0);const hn=[xt`
|
|
729
722
|
:host {
|
|
730
723
|
display: inline-block;
|
|
731
724
|
max-width: 100%;
|
|
@@ -804,13 +797,13 @@ class tn extends Li{constructor(t){if(super(t),this.et=tt,t.type!==Ui)throw Erro
|
|
|
804
797
|
/** Primary styles **/
|
|
805
798
|
|
|
806
799
|
.ft-button--primary {
|
|
807
|
-
${Oe(
|
|
800
|
+
${Oe(yi.color,$e.primaryIconColor)};
|
|
808
801
|
|
|
809
|
-
${Oe(
|
|
810
|
-
${Oe(
|
|
811
|
-
${Oe(
|
|
812
|
-
${Oe(
|
|
813
|
-
${Oe(
|
|
802
|
+
${Oe(to.color,$e.primaryStateLayerColor)};
|
|
803
|
+
${Oe(to.opacityContentOnSurfaceHover,$e.primaryStateLayerOpacityHover)};
|
|
804
|
+
${Oe(to.opacityContentOnSurfaceFocused,$e.primaryStateLayerOpacityFocus)};
|
|
805
|
+
${Oe(to.opacityContentOnSurfaceSelected,$e.primaryStateLayerOpacityActive)};
|
|
806
|
+
${Oe(to.opacityContentOnSurfacePressed,$e.primaryStateLayerOpacityActive)};
|
|
814
807
|
|
|
815
808
|
background-color: ${$e.primaryBackgroundColor};
|
|
816
809
|
color: ${$e.primaryColor};
|
|
@@ -828,13 +821,13 @@ class tn extends Li{constructor(t){if(super(t),this.et=tt,t.type!==Ui)throw Erro
|
|
|
828
821
|
/** Secondary styles **/
|
|
829
822
|
|
|
830
823
|
.ft-button--secondary {
|
|
831
|
-
${Oe(
|
|
824
|
+
${Oe(yi.color,$e.secondaryIconColor)};
|
|
832
825
|
|
|
833
|
-
${Oe(
|
|
834
|
-
${Oe(
|
|
835
|
-
${Oe(
|
|
836
|
-
${Oe(
|
|
837
|
-
${Oe(
|
|
826
|
+
${Oe(to.color,$e.secondaryStateLayerColor)};
|
|
827
|
+
${Oe(to.opacityContentOnSurfaceHover,$e.secondaryStateLayerOpacityHover)};
|
|
828
|
+
${Oe(to.opacityContentOnSurfaceFocused,$e.secondaryStateLayerOpacityFocus)};
|
|
829
|
+
${Oe(to.opacityContentOnSurfaceSelected,$e.secondaryStateLayerOpacityActive)};
|
|
830
|
+
${Oe(to.opacityContentOnSurfacePressed,$e.secondaryStateLayerOpacityActive)};
|
|
838
831
|
|
|
839
832
|
background-color: ${$e.secondaryBackgroundColor};
|
|
840
833
|
color: ${$e.secondaryColor};
|
|
@@ -853,13 +846,13 @@ class tn extends Li{constructor(t){if(super(t),this.et=tt,t.type!==Ui)throw Erro
|
|
|
853
846
|
/** Tertiary styles **/
|
|
854
847
|
|
|
855
848
|
.ft-button--tertiary {
|
|
856
|
-
${Oe(
|
|
849
|
+
${Oe(yi.color,$e.tertiaryIconColor)};
|
|
857
850
|
|
|
858
|
-
${Oe(
|
|
859
|
-
${Oe(
|
|
860
|
-
${Oe(
|
|
861
|
-
${Oe(
|
|
862
|
-
${Oe(
|
|
851
|
+
${Oe(to.color,$e.tertiaryStateLayerColor)};
|
|
852
|
+
${Oe(to.opacityContentOnSurfaceHover,$e.tertiaryStateLayerOpacityHover)};
|
|
853
|
+
${Oe(to.opacityContentOnSurfaceFocused,$e.tertiaryStateLayerOpacityFocus)};
|
|
854
|
+
${Oe(to.opacityContentOnSurfaceSelected,$e.tertiaryStateLayerOpacityActive)};
|
|
855
|
+
${Oe(to.opacityContentOnSurfacePressed,$e.tertiaryStateLayerOpacityActive)};
|
|
863
856
|
|
|
864
857
|
background-color: ${$e.tertiaryBackgroundColor};
|
|
865
858
|
color: ${$e.tertiaryColor};
|
|
@@ -877,13 +870,13 @@ class tn extends Li{constructor(t){if(super(t),this.et=tt,t.type!==Ui)throw Erro
|
|
|
877
870
|
/** Neutral styles **/
|
|
878
871
|
|
|
879
872
|
.ft-button--neutral {
|
|
880
|
-
${Oe(
|
|
873
|
+
${Oe(yi.color,$e.neutralIconColor)};
|
|
881
874
|
|
|
882
|
-
${Oe(
|
|
883
|
-
${Oe(
|
|
884
|
-
${Oe(
|
|
885
|
-
${Oe(
|
|
886
|
-
${Oe(
|
|
875
|
+
${Oe(to.backgroundColor,$e.neutralStateLayerColor)};
|
|
876
|
+
${Oe(to.opacityContentOnSurfaceHover,$e.neutralStateLayerOpacityHover)};
|
|
877
|
+
${Oe(to.opacityContentOnSurfaceFocused,$e.neutralStateLayerOpacityFocus)};
|
|
878
|
+
${Oe(to.opacityContentOnSurfaceSelected,$e.neutralStateLayerOpacityActive)};
|
|
879
|
+
${Oe(to.opacityContentOnSurfacePressed,$e.neutralStateLayerOpacityActive)};
|
|
887
880
|
|
|
888
881
|
background-color: ${$e.neutralBackgroundColor};
|
|
889
882
|
color: ${$e.neutralColor};
|
|
@@ -901,8 +894,8 @@ class tn extends Li{constructor(t){if(super(t),this.et=tt,t.type!==Ui)throw Erro
|
|
|
901
894
|
/** Large styles **/
|
|
902
895
|
|
|
903
896
|
.ft-button--large {
|
|
904
|
-
${Oe(
|
|
905
|
-
${Oe(
|
|
897
|
+
${Oe(bi.size,$e.largeIconSize)};
|
|
898
|
+
${Oe(yi.size,$e.largeIconSize)};
|
|
906
899
|
|
|
907
900
|
height: ${$e.largeHeight};
|
|
908
901
|
padding: 0 ${$e.largeHorizontalPadding};
|
|
@@ -924,8 +917,8 @@ class tn extends Li{constructor(t){if(super(t),this.et=tt,t.type!==Ui)throw Erro
|
|
|
924
917
|
/** Small styles **/
|
|
925
918
|
|
|
926
919
|
.ft-button--small {
|
|
927
|
-
${Oe(
|
|
928
|
-
${Oe(
|
|
920
|
+
${Oe(bi.size,$e.smallIconSize)};
|
|
921
|
+
${Oe(yi.size,$e.smallIconSize)};
|
|
929
922
|
|
|
930
923
|
height: ${$e.smallHeight};
|
|
931
924
|
padding: 0 ${$e.smallHorizontalPadding};
|
|
@@ -943,31 +936,25 @@ class tn extends Li{constructor(t){if(super(t),this.et=tt,t.type!==Ui)throw Erro
|
|
|
943
936
|
width: ${$e.smallIconOnlyWidth};
|
|
944
937
|
padding: unset;
|
|
945
938
|
}
|
|
946
|
-
`,Ze];var
|
|
947
|
-
/**
|
|
948
|
-
* @license
|
|
949
|
-
* Copyright 2018 Google LLC
|
|
950
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
951
|
-
*/
|
|
952
|
-
const gn={fontSize:ve.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:ve.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:ve.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:ve.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:ve.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:ve.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:ve.extend("--ft-input-label-border-color","",Ce.colorOutline),textColor:ve.extend("--ft-input-label-text-color","",Ce.colorOnSurfaceMedium),disabledTextColor:ve.extend("--ft-input-label-disabled-text-color","",Ce.colorOnSurfaceDisabled),colorSurface:ve.external(Ce.colorSurface,"Design system"),borderRadiusS:ve.external(Ce.borderRadiusS,"Design system"),colorError:ve.external(Ce.colorError,"Design system")},bn=xt`
|
|
939
|
+
`,Ze];var dn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class un extends cn{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?Di.caption1medium:Di.body2medium}}un.styles=[Be,hn],dn([$({type:Boolean})],un.prototype,"primary",void 0),dn([$({type:Boolean})],un.prototype,"secondary",void 0),dn([$({type:Boolean})],un.prototype,"tertiary",void 0),dn([$({type:Boolean})],un.prototype,"neutral",void 0),dn([$({type:Boolean})],un.prototype,"small",void 0),I("ft-button")(fn),I("ftds-button")(un);const yn={fontSize:ve.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:ve.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:ve.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:ve.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:ve.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:ve.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:ve.extend("--ft-input-label-border-color","",Ce.colorOutline),textColor:ve.extend("--ft-input-label-text-color","",Ce.colorOnSurfaceMedium),disabledTextColor:ve.extend("--ft-input-label-disabled-text-color","",Ce.colorOnSurfaceDisabled),colorSurface:ve.external(Ce.colorSurface,"Design system"),borderRadiusS:ve.external(Ce.borderRadiusS,"Design system"),colorError:ve.external(Ce.colorError,"Design system")},gn=xt`
|
|
953
940
|
.ft-input-label {
|
|
954
941
|
position: absolute;
|
|
955
942
|
inset: 0;
|
|
956
943
|
display: flex;
|
|
957
|
-
background-color: ${
|
|
958
|
-
border-radius: ${
|
|
944
|
+
background-color: ${yn.colorSurface};
|
|
945
|
+
border-radius: ${yn.borderRadiusS} ${yn.borderRadiusS} 0 0;
|
|
959
946
|
}
|
|
960
947
|
|
|
961
948
|
.ft-input-label--outlined {
|
|
962
|
-
border-radius: ${
|
|
949
|
+
border-radius: ${yn.borderRadiusS};
|
|
963
950
|
}
|
|
964
951
|
|
|
965
952
|
.ft-input-label {
|
|
966
|
-
border-color: ${
|
|
953
|
+
border-color: ${yn.borderColor};
|
|
967
954
|
}
|
|
968
955
|
|
|
969
956
|
.ft-input-label.ft-input-label--in-error {
|
|
970
|
-
border-color: ${
|
|
957
|
+
border-color: ${yn.colorError}
|
|
971
958
|
}
|
|
972
959
|
|
|
973
960
|
.ft-input-label:before,
|
|
@@ -980,7 +967,7 @@ const gn={fontSize:ve.create("--ft-input-label-font-size","","SIZE","14px"),rais
|
|
|
980
967
|
}
|
|
981
968
|
|
|
982
969
|
.ft-input-label:before {
|
|
983
|
-
width: calc(${
|
|
970
|
+
width: calc(${yn.horizontalSpacing} - 4px);
|
|
984
971
|
flex-shrink: 0;
|
|
985
972
|
}
|
|
986
973
|
|
|
@@ -996,20 +983,20 @@ const gn={fontSize:ve.create("--ft-input-label-font-size","","SIZE","14px"),rais
|
|
|
996
983
|
border-bottom-width: 1px;
|
|
997
984
|
border-bottom-style: solid;
|
|
998
985
|
border-color: inherit;
|
|
999
|
-
color: ${
|
|
986
|
+
color: ${yn.textColor};
|
|
1000
987
|
transition: font-size 250ms, line-height 250ms, color 250ms;
|
|
1001
|
-
max-width: calc(${
|
|
988
|
+
max-width: calc(${yn.labelMaxWidth} - 2 * (${yn.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
|
|
1002
989
|
text-overflow: ellipsis;
|
|
1003
|
-
${Oe(
|
|
1004
|
-
${Oe(
|
|
990
|
+
${Oe(Ho.fontSize,yn.fontSize)};
|
|
991
|
+
${Oe(Ho.lineHeight,yn.fontSize)};
|
|
1005
992
|
}
|
|
1006
993
|
|
|
1007
994
|
.ft-input-label--in-error .ft-input-label--text {
|
|
1008
|
-
color: ${
|
|
995
|
+
color: ${yn.colorError}
|
|
1009
996
|
}
|
|
1010
997
|
|
|
1011
998
|
.ft-input-label--disabled .ft-input-label--text {
|
|
1012
|
-
color: ${
|
|
999
|
+
color: ${yn.disabledTextColor};
|
|
1013
1000
|
}
|
|
1014
1001
|
|
|
1015
1002
|
.ft-input-label--hidden-text {
|
|
@@ -1026,19 +1013,19 @@ const gn={fontSize:ve.create("--ft-input-label-font-size","","SIZE","14px"),rais
|
|
|
1026
1013
|
overflow: hidden;
|
|
1027
1014
|
white-space: nowrap;
|
|
1028
1015
|
text-overflow: ellipsis;
|
|
1029
|
-
padding: ${
|
|
1030
|
-
margin: calc(${
|
|
1016
|
+
padding: ${yn.verticalSpacing} 4px;
|
|
1017
|
+
margin: calc(${yn.verticalSpacing} * -1) 0;
|
|
1031
1018
|
max-width: 100%;
|
|
1032
1019
|
box-sizing: border-box;
|
|
1033
1020
|
}
|
|
1034
1021
|
|
|
1035
1022
|
.ft-input-label--raised .ft-input-label--text {
|
|
1036
|
-
${Oe(
|
|
1037
|
-
${Oe(
|
|
1023
|
+
${Oe(Ho.fontSize,yn.raisedFontSize)};
|
|
1024
|
+
${Oe(Ho.lineHeight,yn.raisedFontSize)};
|
|
1038
1025
|
}
|
|
1039
1026
|
|
|
1040
1027
|
.ft-input-label--raised .ft-input-label--floating-text {
|
|
1041
|
-
top: ${
|
|
1028
|
+
top: ${yn.verticalSpacing};
|
|
1042
1029
|
}
|
|
1043
1030
|
|
|
1044
1031
|
.ft-input-label--outlined .ft-input-label--text,
|
|
@@ -1051,41 +1038,32 @@ const gn={fontSize:ve.create("--ft-input-label-font-size","","SIZE","14px"),rais
|
|
|
1051
1038
|
.ft-input-label--outlined:before {
|
|
1052
1039
|
border-left-width: 1px;
|
|
1053
1040
|
border-left-style: solid;
|
|
1054
|
-
border-radius: ${
|
|
1041
|
+
border-radius: ${yn.borderRadiusS} 0 0 ${yn.borderRadiusS};
|
|
1055
1042
|
}
|
|
1056
1043
|
|
|
1057
1044
|
.ft-input-label--outlined:after {
|
|
1058
1045
|
border-right-width: 1px;
|
|
1059
1046
|
border-right-style: solid;
|
|
1060
|
-
border-radius: 0 ${
|
|
1047
|
+
border-radius: 0 ${yn.borderRadiusS} ${yn.borderRadiusS} 0;
|
|
1061
1048
|
}
|
|
1062
1049
|
|
|
1063
1050
|
.ft-input-label--outlined.ft-input-label--raised .ft-input-label--floating-text {
|
|
1064
1051
|
padding: 2px 4px;
|
|
1065
|
-
z-index: ${
|
|
1066
|
-
background-color: ${
|
|
1067
|
-
border-radius: ${
|
|
1052
|
+
z-index: ${yn.raisedZIndex};
|
|
1053
|
+
background-color: ${yn.colorSurface};
|
|
1054
|
+
border-radius: ${yn.borderRadiusS};
|
|
1068
1055
|
top: calc((var(--ft-typography-caption-line-height) / -2) + 2px);
|
|
1069
1056
|
}
|
|
1070
1057
|
|
|
1071
1058
|
.ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
|
|
1072
1059
|
border-top: none;
|
|
1073
1060
|
}
|
|
1074
|
-
|
|
1075
|
-
<div class="${Wi(t)}">
|
|
1076
|
-
${this.text?ee`
|
|
1077
|
-
<div class="ft-input-label--text ft-typography--caption">
|
|
1078
|
-
<span class="ft-input-label--floating-text">${this.text}</span>
|
|
1079
|
-
<span class="ft-input-label--hidden-text" aria-hidden="true">${this.text}</span>
|
|
1080
|
-
</div>
|
|
1081
|
-
`:null}
|
|
1082
|
-
</div>
|
|
1083
|
-
`}}xn.elementDefinitions={},xn.styles=[fi,bn],mn([$({type:String})],xn.prototype,"text",void 0),mn([$({type:Boolean})],xn.prototype,"raised",void 0),mn([$({type:Boolean})],xn.prototype,"outlined",void 0),mn([$({type:Boolean})],xn.prototype,"disabled",void 0),mn([$({type:Boolean})],xn.prototype,"error",void 0),L("ft-input-label")(xn);const vn={fontSize:ve.create("--ft-text-field-font-size","","SIZE","14px"),labelSize:ve.create("--ft-text-field-label-size","","SIZE","11px"),verticalSpacing:ve.create("--ft-text-field-vertical-spacing","","SIZE","4px"),horizontalSpacing:ve.create("--ft-text-field-horizontal-spacing","","SIZE","16px"),helperColor:ve.extend("--ft-text-field-helper-color","",Ce.colorOnSurfaceMedium),colorPrimary:ve.external(Ce.colorPrimary,"Design system"),colorOnSurface:ve.external(Ce.colorOnSurface,"Design system"),colorOnSurfaceDisabled:ve.external(Ce.colorOnSurfaceDisabled,"Design system"),borderRadiusS:ve.external(Ce.borderRadiusS,"Design system"),colorError:ve.external(Ce.colorError,"Design system"),prefixColor:ve.extend("--ft-text-field-prefix-color","",Ce.colorOnSurfaceMedium),iconColor:ve.extend("--ft-text-field-icon-color","",Ce.colorOnSurfaceMedium),floatingZIndex:ve.create("--ft-text-field-floating-components-z-index","","NUMBER","3"),colorSurface:ve.external(Ce.colorSurface,"Design system"),colorOutline:ve.external(Ce.colorOutline,"Design system"),elevation02:ve.external(Ce.elevation02,"Design system"),suggestSize:ve.create("--ft-text-field-suggest-size","","SIZE","300px")},On=xt`
|
|
1061
|
+
`,bn={fontSize:ve.create("--ft-number-field-font-size","","SIZE","14px"),labelSize:ve.create("--ft-number-field-label-size","","SIZE","11px"),verticalSpacing:ve.create("--ft-number-field-vertical-spacing","","SIZE","4px"),horizontalSpacing:ve.create("--ft-number-field-horizontal-spacing","","SIZE","16px"),colorPrimary:ve.external(Ce.colorPrimary,"Design system"),colorOnSurface:ve.external(Ce.colorOnSurface,"Design system"),colorOnSurfaceDisabled:ve.external(Ce.colorOnSurfaceDisabled,"Design system"),borderRadiusS:ve.external(Ce.borderRadiusS,"Design system"),colorSurface:ve.external(Ce.colorSurface,"Design system"),colorOutline:ve.external(Ce.colorOutline,"Design system")},mn=xt`
|
|
1084
1062
|
*:focus {
|
|
1085
1063
|
outline: none;
|
|
1086
1064
|
}
|
|
1087
1065
|
|
|
1088
|
-
.ft-
|
|
1066
|
+
.ft-number-field {
|
|
1089
1067
|
display: flex;
|
|
1090
1068
|
flex-direction: column;
|
|
1091
1069
|
align-items: stretch;
|
|
@@ -1093,148 +1071,75 @@ const gn={fontSize:ve.create("--ft-input-label-font-size","","SIZE","14px"),rais
|
|
|
1093
1071
|
}
|
|
1094
1072
|
|
|
1095
1073
|
ft-input-label {
|
|
1096
|
-
${Oe(
|
|
1097
|
-
${Oe(
|
|
1098
|
-
${Oe(
|
|
1099
|
-
${Oe(
|
|
1074
|
+
${Oe(yn.fontSize,bn.fontSize)};
|
|
1075
|
+
${Oe(yn.raisedFontSize,bn.labelSize)};
|
|
1076
|
+
${Oe(yn.verticalSpacing,bn.verticalSpacing)};
|
|
1077
|
+
${Oe(yn.horizontalSpacing,bn.horizontalSpacing)};
|
|
1100
1078
|
}
|
|
1101
1079
|
|
|
1102
|
-
.ft-
|
|
1080
|
+
.ft-number-field--main-panel {
|
|
1103
1081
|
position: relative;
|
|
1104
1082
|
display: flex;
|
|
1105
|
-
height: calc(4 * ${
|
|
1083
|
+
height: calc(4 * ${bn.verticalSpacing} + ${bn.labelSize} + ${bn.fontSize});
|
|
1106
1084
|
}
|
|
1107
1085
|
|
|
1108
|
-
.ft-
|
|
1086
|
+
.ft-number-field--input-panel {
|
|
1109
1087
|
flex-grow: 1;
|
|
1110
1088
|
position: relative;
|
|
1111
1089
|
display: flex;
|
|
1112
1090
|
align-items: center;
|
|
1113
1091
|
overflow: hidden;
|
|
1114
|
-
padding: 0 ${
|
|
1092
|
+
padding: 0 ${bn.horizontalSpacing};
|
|
1115
1093
|
|
|
1116
|
-
${Oe(
|
|
1117
|
-
${Oe(
|
|
1094
|
+
${Oe(Ko.fontSize,bn.fontSize)};
|
|
1095
|
+
${Oe(Ko.lineHeight,bn.fontSize)};
|
|
1118
1096
|
}
|
|
1119
1097
|
|
|
1120
|
-
.ft-
|
|
1121
|
-
${Oe(
|
|
1122
|
-
${Oe(
|
|
1098
|
+
.ft-number-field--input-panel ft-ripple {
|
|
1099
|
+
${Oe(to.opacityContentOnSurfaceHover,"0.08")};
|
|
1100
|
+
${Oe(to.opacityContentOnSurfacePressed,"0.04")};
|
|
1123
1101
|
}
|
|
1124
1102
|
|
|
1125
|
-
.ft-
|
|
1103
|
+
.ft-number-field--filled.ft-number-field--with-label .ft-number-field--input-panel {
|
|
1126
1104
|
align-items: flex-end;
|
|
1127
|
-
padding: 0 ${
|
|
1105
|
+
padding: 0 ${bn.horizontalSpacing} ${bn.verticalSpacing} ${bn.horizontalSpacing};
|
|
1128
1106
|
}
|
|
1129
1107
|
|
|
1130
|
-
.ft-
|
|
1131
|
-
color: ${vn.prefixColor};
|
|
1132
|
-
margin-right: 2px;
|
|
1133
|
-
flex-shrink: 1;
|
|
1134
|
-
overflow: hidden;
|
|
1135
|
-
white-space: nowrap;
|
|
1136
|
-
text-overflow: ellipsis;
|
|
1137
|
-
}
|
|
1138
|
-
|
|
1139
|
-
.ft-text-field--with-label:not(.ft-text-field--raised-label) .ft-text-field--prefix {
|
|
1140
|
-
display: none;
|
|
1141
|
-
}
|
|
1142
|
-
|
|
1143
|
-
.ft-text-field--input {
|
|
1108
|
+
.ft-number-field--input {
|
|
1144
1109
|
display: block;
|
|
1145
1110
|
position: relative;
|
|
1146
1111
|
flex-grow: 1;
|
|
1147
1112
|
flex-shrink: 1;
|
|
1148
1113
|
min-width: 0; /* flex sets this to auto an prevents input from shrinking properly */
|
|
1149
1114
|
|
|
1150
|
-
color: ${
|
|
1151
|
-
padding: calc(2 * ${
|
|
1115
|
+
color: ${bn.colorOnSurface};
|
|
1116
|
+
padding: calc(2 * ${bn.verticalSpacing}) 0;
|
|
1152
1117
|
border: none;
|
|
1153
1118
|
background: none;
|
|
1154
|
-
}
|
|
1155
1119
|
|
|
1156
|
-
|
|
1157
|
-
padding-bottom: 0;
|
|
1158
|
-
padding-top: calc(${vn.labelSize} + 2 * ${vn.verticalSpacing});
|
|
1159
|
-
}
|
|
1160
|
-
|
|
1161
|
-
.ft-text-field--input::-webkit-calendar-picker-indicator,
|
|
1162
|
-
.ft-text-field--input::-webkit-list-button {
|
|
1163
|
-
display: none !important;
|
|
1164
|
-
}
|
|
1165
|
-
|
|
1166
|
-
.ft-text-field--disabled .ft-text-field--input {
|
|
1167
|
-
color: ${vn.colorOnSurfaceDisabled};
|
|
1168
|
-
}
|
|
1169
|
-
|
|
1170
|
-
.ft-text-field:not(.ft-text-field--disabled):focus-within ft-input-label {
|
|
1171
|
-
${Oe(gn.borderColor,vn.colorPrimary)};
|
|
1172
|
-
${Oe(gn.textColor,vn.colorPrimary)};
|
|
1173
|
-
}
|
|
1174
|
-
|
|
1175
|
-
.ft-text-field--filled .ft-text-field--input-panel {
|
|
1176
|
-
border-radius: ${vn.borderRadiusS} ${vn.borderRadiusS} 0 0;
|
|
1177
|
-
}
|
|
1178
|
-
|
|
1179
|
-
.ft-text-field--outlined .ft-text-field--input-panel {
|
|
1180
|
-
border-radius: ${vn.borderRadiusS};
|
|
1181
|
-
}
|
|
1182
|
-
|
|
1183
|
-
.ft-text-field--helper-text {
|
|
1184
|
-
padding: 0 12px 0 ${vn.horizontalSpacing};
|
|
1185
|
-
color: ${vn.helperColor};
|
|
1186
|
-
}
|
|
1187
|
-
|
|
1188
|
-
.ft-text-field--in-error .ft-text-field--input,
|
|
1189
|
-
.ft-text-field--in-error .ft-text-field--helper-text,
|
|
1190
|
-
.ft-text-field--in-error .ft-text-field--prefix {
|
|
1191
|
-
color: ${vn.colorError};
|
|
1192
|
-
}
|
|
1193
|
-
|
|
1194
|
-
.ft-text-field--icon {
|
|
1195
|
-
align-self: center;
|
|
1196
|
-
margin-left: 8px;
|
|
1197
|
-
color: ${vn.iconColor};
|
|
1198
|
-
}
|
|
1199
|
-
|
|
1200
|
-
.ft-text-field--container {
|
|
1201
|
-
position: relative;
|
|
1202
|
-
}
|
|
1203
|
-
|
|
1204
|
-
.ft-text-field--suggestions {
|
|
1205
|
-
display: none;
|
|
1206
|
-
flex-direction: column;
|
|
1207
|
-
position: absolute;
|
|
1208
|
-
left: 0;
|
|
1209
|
-
right: 0;
|
|
1210
|
-
z-index: ${vn.floatingZIndex};
|
|
1211
|
-
background: ${vn.colorSurface};
|
|
1212
|
-
border: 1px solid ${vn.colorOutline};
|
|
1213
|
-
border-radius: 0 0 ${vn.borderRadiusS} ${vn.borderRadiusS};
|
|
1214
|
-
box-shadow: ${vn.elevation02};
|
|
1215
|
-
outline: none;
|
|
1216
|
-
max-height: ${vn.suggestSize};
|
|
1217
|
-
overflow-y: auto;
|
|
1120
|
+
-moz-appearance: textfield;
|
|
1218
1121
|
}
|
|
1219
1122
|
|
|
1220
|
-
.ft-
|
|
1221
|
-
|
|
1123
|
+
.ft-number-field--filled.ft-number-field--with-label .ft-number-field--input {
|
|
1124
|
+
padding-bottom: 0;
|
|
1125
|
+
padding-top: calc(${bn.labelSize} + 2 * ${bn.verticalSpacing});
|
|
1222
1126
|
}
|
|
1223
1127
|
|
|
1224
|
-
.ft-
|
|
1225
|
-
|
|
1128
|
+
.ft-number-field--disabled .ft-number-field--input {
|
|
1129
|
+
color: ${bn.colorOnSurfaceDisabled};
|
|
1226
1130
|
}
|
|
1227
1131
|
|
|
1228
|
-
.ft-
|
|
1229
|
-
|
|
1132
|
+
.ft-number-field:not(.ft-number-field--disabled):focus-within ft-input-label {
|
|
1133
|
+
${Oe(yn.borderColor,bn.colorPrimary)};
|
|
1134
|
+
${Oe(yn.textColor,bn.colorPrimary)};
|
|
1230
1135
|
}
|
|
1231
1136
|
|
|
1232
|
-
.ft-
|
|
1233
|
-
|
|
1137
|
+
.ft-number-field--filled .ft-number-field--input-panel {
|
|
1138
|
+
border-radius: ${bn.borderRadiusS} ${bn.borderRadiusS} 0 0;
|
|
1234
1139
|
}
|
|
1235
1140
|
|
|
1236
|
-
.ft-
|
|
1237
|
-
|
|
1141
|
+
.ft-number-field--outlined .ft-number-field--input-panel {
|
|
1142
|
+
border-radius: ${bn.borderRadiusS};
|
|
1238
1143
|
}
|
|
1239
1144
|
|
|
1240
1145
|
input::-webkit-outer-spin-button,
|
|
@@ -1242,117 +1147,68 @@ const gn={fontSize:ve.create("--ft-input-label-font-size","","SIZE","14px"),rais
|
|
|
1242
1147
|
-webkit-appearance: none;
|
|
1243
1148
|
margin: 0;
|
|
1244
1149
|
}
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1150
|
+
`;var xn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class vn extends Fe{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){const t={"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error};return ee`
|
|
1151
|
+
<div class="${Li(t)}">
|
|
1152
|
+
${this.text?ee`
|
|
1153
|
+
<div class="ft-input-label--text ft-typography--caption">
|
|
1154
|
+
<span class="ft-input-label--floating-text">${this.text}</span>
|
|
1155
|
+
<span class="ft-input-label--hidden-text" aria-hidden="true">${this.text}</span>
|
|
1156
|
+
</div>
|
|
1157
|
+
`:null}
|
|
1158
|
+
</div>
|
|
1159
|
+
`}}vn.elementDefinitions={},vn.styles=[ci,gn],xn([$({type:String})],vn.prototype,"text",void 0),xn([$({type:Boolean})],vn.prototype,"raised",void 0),xn([$({type:Boolean})],vn.prototype,"outlined",void 0),xn([$({type:Boolean})],vn.prototype,"disabled",void 0),xn([$({type:Boolean})],vn.prototype,"error",void 0),I("ft-input-label")(vn);var On=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Sn extends Fe{constructor(){super(...arguments),this.outlined=!1,this.disabled=!1,this.focused=!1}render(){const t={"ft-number-field":!0,"ft-number-field--filled":!this.outlined,"ft-number-field--outlined":this.outlined,"ft-number-field--disabled":this.disabled,"ft-number-field--has-value":null!=this.value,"ft-number-field--with-label":!!this.label};return ee`
|
|
1160
|
+
<div class="${Li(t)}">
|
|
1161
|
+
<div class="ft-number-field--main-panel"
|
|
1253
1162
|
@focusout=${this.onMainPanelBlur}>
|
|
1254
1163
|
<ft-input-label text="${this.label}"
|
|
1255
1164
|
?disabled=${this.disabled}
|
|
1256
1165
|
?outlined=${this.outlined}
|
|
1257
|
-
?raised=${this.focused||
|
|
1258
|
-
|
|
1259
|
-
<div class="ft-
|
|
1166
|
+
?raised=${this.focused||null!=this.value}>
|
|
1167
|
+
</ft-input-label>
|
|
1168
|
+
<div class="ft-number-field--input-panel">
|
|
1260
1169
|
${this.outlined?ie:ee`
|
|
1261
1170
|
<ft-ripple ?disabled=${this.disabled} activated></ft-ripple>
|
|
1262
1171
|
`}
|
|
1263
|
-
|
|
1264
|
-
<ft-typography class="ft-text-field--prefix" variant="body1">
|
|
1265
|
-
${this.prefix}
|
|
1266
|
-
</ft-typography>
|
|
1267
|
-
`:ie}
|
|
1268
|
-
<input type=${this.password&&this.hidePassword?"password":this.type}
|
|
1269
|
-
maxlength=${(t=>t??tt)(this.maxLength||void 0)}
|
|
1172
|
+
<input type="number"
|
|
1270
1173
|
.min=${this.min}
|
|
1271
1174
|
.max=${this.max}
|
|
1272
1175
|
aria-label="${this.label}"
|
|
1273
|
-
class="ft-typography--body1 ft-
|
|
1176
|
+
class="ft-typography--body1 ft-number-field--input"
|
|
1274
1177
|
part="input"
|
|
1275
1178
|
?disabled=${this.disabled}
|
|
1276
1179
|
.value=${this.value}
|
|
1277
|
-
@
|
|
1278
|
-
@
|
|
1279
|
-
|
|
1280
|
-
${this.renderIcon()}
|
|
1281
|
-
</div>
|
|
1282
|
-
<div class="ft-text-field--suggestions ${this.suggestionsOnTop?"ft-text-field--suggestions-on-top":""}"
|
|
1283
|
-
@suggestion-selected=${this.onSuggestionSelected}>
|
|
1284
|
-
<slot @slotchange=${()=>this.filterSuggestionsIfNeeded()}></slot>
|
|
1180
|
+
@change=${this.onChange}
|
|
1181
|
+
@focus=${this.onFocus}
|
|
1182
|
+
/>
|
|
1285
1183
|
</div>
|
|
1286
1184
|
</div>
|
|
1287
|
-
${this.helper?ee`
|
|
1288
|
-
<ft-typography class="ft-text-field--helper-text" variant="caption">
|
|
1289
|
-
${this.helper}
|
|
1290
|
-
</ft-typography>
|
|
1291
|
-
`:ie}
|
|
1292
1185
|
</div>
|
|
1293
|
-
`}
|
|
1294
|
-
<
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
`}renderIcon(){return this.password?this.renderPasswordIcon():this.icon?ee`
|
|
1299
|
-
<ft-icon class="ft-text-field--icon"
|
|
1300
|
-
.variant=${this.iconVariant}
|
|
1301
|
-
.value=${this.icon}
|
|
1302
|
-
@click=${()=>{var t;return null===(t=this.input)||void 0===t?void 0:t.focus()}}></ft-icon>
|
|
1303
|
-
`:ie}update(t){super.update(t),(t.has("value")||t.has("filterSuggestions"))&&this.filterSuggestionsIfNeeded(),t.has("value")&&null!=t.get("value")&&(this.hideSuggestions=!1),t.has("dispatchedValue")&&null!=t.get("dispatchedValue")&&(this.hideSuggestions=!0)}filterSuggestionsIfNeeded(){this.filterSuggestions?(this.suggestions.forEach((t=>t.hidden=!t.getValue().toLowerCase().includes(this.value.toLowerCase()))),this.visibleSuggestions=this.suggestions.filter((t=>!t.hidden))):this.visibleSuggestions=this.suggestions}contentAvailableCallback(t){var e,o;if(super.contentAvailableCallback(t),t.has("focused")&&!this.hideSuggestions&&this.visibleSuggestions.length>0){const t=null===(e=this.input)||void 0===e?void 0:e.getBoundingClientRect(),i=null===(o=this.suggestionsContainer)||void 0===o?void 0:o.getBoundingClientRect();t&&i&&(this.suggestionsOnTop=t.bottom+i.height>window.innerHeight&&t.top-i.height>0)}}setValue(t,e=!1){this.value!==t&&(this.setInternalValue(t),this.dispatchEvent(new CustomEvent("live-change",{detail:t}))),e&&this.dispatchedValue!==t&&(this.dispatchedValue=t,this.dispatchEvent(new CustomEvent("change",{detail:t})))}handleInput(t){var e;const o=(null===(e=this.input)||void 0===e?void 0:e.value)||"";this.setValue(o,"Escape"==t.key||"Enter"==t.key)}handleClick(){this.hideSuggestions=!1}handleKeyboardNavigation(t){var e;if("ArrowDown"===t.key||"ArrowUp"===t.key){t.preventDefault(),t.stopPropagation(),this.hideSuggestions=!1;const o=this.visibleSuggestions.findIndex((t=>t.matches(":focus-within")));let i;i="ArrowDown"===t.key?o<this.visibleSuggestions.length-1?o+1:0:o>0?o-1:this.visibleSuggestions.length-1,null===(e=this.visibleSuggestions[i])||void 0===e||e.focus()}"Escape"!=t.key&&"Enter"!=t.key||(this.hideSuggestions=!0)}onSuggestionSelected(t){var e;this.setValue(t.detail,!0),null===(e=this.input)||void 0===e||e.focus(),setTimeout((()=>this.hideSuggestions=!0),0)}onFocus(){this.focused=!0,this.hideSuggestions=!1}onMainPanelBlur(){var t,e;(null===(t=this.mainPanel)||void 0===t?void 0:t.matches(":focus-within"))||(this.focused=!1,this.setValue((null===(e=this.input)||void 0===e?void 0:e.value)||"",!0))}togglePasswordVisibility(){this.hidePassword=!this.hidePassword}}wn.elementDefinitions={"ft-input-label":xn,"ft-ripple":Ki,"ft-typography":Hi,"ft-icon":sn},wn.styles=[li,On],Sn([$()],wn.prototype,"label",void 0),Sn([$({noAccessor:!0})],wn.prototype,"value",null),Sn([C()],wn.prototype,"dispatchedValue",void 0),Sn([$()],wn.prototype,"helper",void 0),Sn([$({type:Boolean})],wn.prototype,"outlined",void 0),Sn([$({type:Boolean})],wn.prototype,"disabled",void 0),Sn([$({type:Boolean})],wn.prototype,"error",void 0),Sn([$()],wn.prototype,"prefix",void 0),Sn([$()],wn.prototype,"icon",void 0),Sn([$()],wn.prototype,"passwordHiddenIcon",void 0),Sn([$()],wn.prototype,"passwordRevealedIcon",void 0),Sn([$()],wn.prototype,"iconVariant",void 0),Sn([$({type:Boolean})],wn.prototype,"filterSuggestions",void 0),Sn([$({type:Number})],wn.prototype,"maxLength",void 0),Sn([$({type:Boolean})],wn.prototype,"password",void 0),Sn([$()],wn.prototype,"type",void 0),Sn([$()],wn.prototype,"min",void 0),Sn([$()],wn.prototype,"max",void 0),Sn([C()],wn.prototype,"focused",void 0),Sn([C()],wn.prototype,"hidePassword",void 0),Sn([C()],wn.prototype,"suggestionsOnTop",void 0),Sn([C()],wn.prototype,"hideSuggestions",void 0),Sn([C()],wn.prototype,"visibleSuggestions",void 0),Sn([k(".ft-text-field--main-panel")],wn.prototype,"mainPanel",void 0),Sn([k(".ft-text-field--input")],wn.prototype,"input",void 0),Sn([k(".ft-text-field--suggestions")],wn.prototype,"suggestionsContainer",void 0),Sn([function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}]`:":not([name])");return R(0,0,{get(){const e=this.renderRoot?.querySelector(n),o=e?.assignedElements(t)??[];return void 0===r?o:o.filter((t=>t.matches(r)))}})}}({selector:"ft-text-field-suggestion"})],wn.prototype,"suggestions",void 0);const Nn=xt`
|
|
1304
|
-
.ft-text-field-suggestion {
|
|
1305
|
-
position: relative;
|
|
1306
|
-
padding: 8px 16px;
|
|
1307
|
-
cursor: pointer;
|
|
1308
|
-
min-height: 44px;
|
|
1309
|
-
box-sizing: border-box;
|
|
1310
|
-
outline: none;
|
|
1311
|
-
}
|
|
1312
|
-
|
|
1313
|
-
.ft-text-field-suggestion,
|
|
1314
|
-
.ft-text-field-suggestion--label {
|
|
1315
|
-
display: flex;
|
|
1316
|
-
align-items: center;
|
|
1317
|
-
gap: 8px;
|
|
1318
|
-
}
|
|
1186
|
+
`}update(t){super.update(t),(t.has("max")||t.has("min"))&&this.setValue(this.value)}lowerBound(t){return null!=this.min?Math.max(this.min,t):t}upperBound(t){return null!=this.max?Math.min(this.max,t):t}onChange(t){t.preventDefault(),t.stopPropagation(),this.setValue(+t.target.value)}setValue(t){let e=this.value;this.value=t;let o=null==this.value?void 0:this.lowerBound(this.upperBound(this.value));setTimeout((()=>{this.value=o,e!==o&&this.dispatchEvent(new CustomEvent("change",{detail:this.value}))}))}onFocus(){this.focused=!0}onMainPanelBlur(){var t;(null===(t=this.mainPanel)||void 0===t?void 0:t.matches(":focus-within"))||(this.focused=!1)}}Sn.elementDefinitions={"ft-input-label":vn,"ft-ripple":zi,"ft-typography":Pi},Sn.styles=mn,On([$()],Sn.prototype,"label",void 0),On([L()],Sn.prototype,"value",void 0),On([$({type:Boolean})],Sn.prototype,"outlined",void 0),On([$({type:Boolean})],Sn.prototype,"disabled",void 0),On([L()],Sn.prototype,"min",void 0),On([L()],Sn.prototype,"max",void 0),On([C()],Sn.prototype,"focused",void 0),On([U(".ft-number-field--input")],Sn.prototype,"input",void 0),On([U(".ft-number-field--main-panel")],Sn.prototype,"mainPanel",void 0),I("ft-number-field")(Sn);var Nn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class wn extends Fe{constructor(){super(...arguments),this.currentPage=1,this.nextLabel="Next",this.previousLabel="Previous"}get resolvedMaxPage(){return this.maxPage?Math.max(1,this.maxPage):this.totalItemsCount&&this.itemsPerPage?Math.ceil(Math.max(1,this.totalItemsCount)/Math.max(1,this.itemsPerPage)):1}render(){let t=this.resolvedMaxPage;return ee`
|
|
1187
|
+
<style>
|
|
1188
|
+
ft-number-field::part(input) {
|
|
1189
|
+
width: ${Math.max(2,(""+t).length)}ch;
|
|
1190
|
+
}
|
|
1319
1191
|
|
|
1320
|
-
|
|
1321
|
-
flex-grow: 1;
|
|
1322
|
-
flex-shrink: 1;
|
|
1323
|
-
}
|
|
1324
|
-
|
|
1325
|
-
slot {
|
|
1326
|
-
pointer-events: none;
|
|
1327
|
-
}
|
|
1328
|
-
`;var $n=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Cn extends CustomEvent{constructor(t){super("suggestion-selected",{detail:t,bubbles:!0,composed:!0})}}class En extends Ke{render(){return ee`
|
|
1329
|
-
<div class="ft-text-field-suggestion"
|
|
1330
|
-
tabindex="-1"
|
|
1331
|
-
@keydown=${this.onKeyDown}
|
|
1332
|
-
@click=${this.confirmSuggestion}>
|
|
1333
|
-
<ft-ripple></ft-ripple>
|
|
1334
|
-
<ft-typography part="label"
|
|
1335
|
-
variant="body1"
|
|
1336
|
-
class="ft-text-field-suggestion--label">
|
|
1337
|
-
<slot></slot>
|
|
1338
|
-
</ft-typography>
|
|
1339
|
-
</div>
|
|
1340
|
-
`}focus(t){var e;null===(e=this.container)||void 0===e||e.focus(t)}click(){var t;null===(t=this.container)||void 0===t||t.click()}confirmSuggestion(){this.dispatchEvent(new Cn(this.getValue()))}getValue(){return this.value||this.textContent}get textContent(){return this.assignedNodes.map((t=>t.textContent)).join("").trim()}onKeyDown(t){["Enter"," "].includes(t.key)&&(t.preventDefault(),t.stopPropagation(),this.confirmSuggestion())}}En.elementDefinitions={"ft-ripple":Ki,"ft-typography":Hi,"ft-icon":sn},En.styles=Nn,$n([$()],En.prototype,"value",void 0),$n([k(".ft-text-field-suggestion")],En.prototype,"container",void 0),$n([U()],En.prototype,"assignedNodes",void 0),L("ft-text-field")(wn),L("ft-text-field-suggestion")(En);var Rn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class kn extends Ke{constructor(){super(...arguments),this.currentPage=1,this.nextLabel="Next",this.previousLabel="Previous"}get resolvedMaxPage(){return this.maxPage?Math.max(1,this.maxPage):this.totalItemsCount&&this.itemsPerPage?Math.ceil(Math.max(1,this.totalItemsCount)/Math.max(1,this.itemsPerPage)):1}get resolvedCurrentPage(){return function(t,e,o){return Math.min(Math.max(t,e),o)}(1,this.currentPage,this.resolvedMaxPage)}render(){return ee`
|
|
1192
|
+
</style>
|
|
1341
1193
|
<div part="container">
|
|
1342
|
-
<ft-button icon=${
|
|
1343
|
-
?disabled="${1==this.
|
|
1344
|
-
@click="${()=>this.setPage(this.
|
|
1345
|
-
label="${this.previousLabel}"
|
|
1194
|
+
<ft-button icon=${en.THIN_ARROW_LEFT}
|
|
1195
|
+
?disabled="${1==this.currentPage}"
|
|
1196
|
+
@click="${()=>this.setPage(this.currentPage-1)}"
|
|
1197
|
+
label="${this.previousLabel}"
|
|
1198
|
+
tooltipPosition="top">
|
|
1346
1199
|
</ft-button>
|
|
1347
|
-
<ft-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1200
|
+
<ft-number-field outlined
|
|
1201
|
+
value="${this.currentPage}"
|
|
1202
|
+
min="1"
|
|
1203
|
+
max="${t}"
|
|
1204
|
+
@change="${this.onChange}">
|
|
1205
|
+
</ft-number-field>
|
|
1206
|
+
<ft-typography variant="body1"> / ${t}</ft-typography>
|
|
1207
|
+
<ft-button icon=${en.THIN_ARROW_RIGHT}
|
|
1208
|
+
?disabled="${this.currentPage==t}"
|
|
1209
|
+
@click="${()=>this.setPage(this.currentPage+1)}"
|
|
1210
|
+
label="${this.nextLabel}"
|
|
1211
|
+
tooltipPosition="top">
|
|
1356
1212
|
</ft-button>
|
|
1357
1213
|
</div>
|
|
1358
|
-
`}setPage(t){this.currentPage=t,this.dispatchEvent(new CustomEvent("change",{detail:t}))}}
|
|
1214
|
+
`}onChange(t){t.stopPropagation(),this.setPage(t.detail)}setPage(t){this.currentPage=t,this.dispatchEvent(new CustomEvent("change",{detail:t}))}}wn.elementDefinitions={"ft-button":fn,"ft-number-field":Sn,"ft-typography":Pi},wn.styles=Xe,Nn([$({type:Number,reflect:!0})],wn.prototype,"currentPage",void 0),Nn([$({type:Number})],wn.prototype,"maxPage",void 0),Nn([$({type:Number})],wn.prototype,"itemsPerPage",void 0),Nn([$({type:Number})],wn.prototype,"totalItemsCount",void 0),Nn([$()],wn.prototype,"nextLabel",void 0),Nn([$()],wn.prototype,"previousLabel",void 0),I("ft-pager")(wn),t.FtPager=wn,t.FtPagerCssVariables={},t.styles=Xe}({});
|