@fluid-topics/ft-filter 1.1.4 → 1.1.5
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-filter.light.js +15 -15
- package/build/ft-filter.min.js +323 -318
- package/package.json +10 -10
package/build/ft-filter.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 f=o.call(i,t);f||(f=p(t),e.call(i,t,f)),this===window.customElements&&(a.set(r,c),c.standInClass=f);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,f=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},p=e=>class{static get formAssociated(){return!0}constructor(){const o=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(o,HTMLElement.prototype);const i=f(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(
|
|
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 f=o.call(i,t);f||(f=p(t),e.call(i,t,f)),this===window.customElements&&(a.set(r,c),c.standInClass=f);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,f=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},p=e=>class{static get formAssociated(){return!0}constructor(){const o=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(o,HTMLElement.prototype);const i=f(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(ln){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)}}}
|
|
16
16
|
/**
|
|
17
17
|
* @license
|
|
18
18
|
* Copyright 2019 Google LLC
|
|
@@ -38,54 +38,59 @@ const w={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:x},S=(t=w,e,
|
|
|
38
38
|
* @license
|
|
39
39
|
* Copyright 2017 Google LLC
|
|
40
40
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
41
|
-
*/
|
|
41
|
+
*/function C(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
|
-
|
|
46
|
+
*/const k=(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
|
-
|
|
51
|
+
*/;function R(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 k(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 k(0,0,{get(){return n(this)}})}}
|
|
52
52
|
/**
|
|
53
53
|
* @license
|
|
54
54
|
* Copyright 2017 Google LLC
|
|
55
55
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
56
|
-
*/
|
|
56
|
+
*/let E;class U{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}}function I(t,e){return t.flatMap((t=>[t,...I(e(t),e)]))}function L(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(!L(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(!L(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(!L(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}const W=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function z(t,e){const o=()=>JSON.parse(JSON.stringify(t));return N({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)=>!L(t,e),...null!=e?e:{}})}
|
|
57
|
+
/**
|
|
58
|
+
* @license
|
|
59
|
+
* Copyright 2017 Google LLC
|
|
60
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
61
|
+
*/const F=globalThis,K=F.trustedTypes,B=K?K.createPolicy("lit-html",{createHTML:t=>t}):void 0,Z="$lit$",D=`lit$${(Math.random()+"").slice(9)}$`,A="?"+D,M=`<${A}>`,P=document,H=()=>P.createComment(""),j=t=>null===t||"object"!=typeof t&&"function"!=typeof t,T=Array.isArray,_=t=>T(t)||"function"==typeof t?.[Symbol.iterator],G="[ \t\n\f\r]",V=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Y=/-->/g,J=/>/g,q=RegExp(`>|${G}(?:([^\\s"'>=/]+)(${G}*=${G}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),X=/'/g,Q=/"/g,tt=/^(?:script|style|textarea|title)$/i,et=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),ot=Symbol.for("lit-noChange"),it=Symbol.for("lit-nothing"),rt=new WeakMap,nt=P.createTreeWalker(P,129);function at(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==B?B.createHTML(e):e}const st=(t,e)=>{const o=t.length-1,i=[];let r,n=2===e?"<svg>":"",a=V;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===V?"!--"===l[1]?a=Y:void 0!==l[1]?a=J:void 0!==l[2]?(tt.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=q):void 0!==l[3]&&(a=q):a===q?">"===l[0]?(a=r??V,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?q:'"'===l[3]?Q:X):a===Q||a===X?a=q:a===Y||a===J?a=V:(a=q,r=void 0);const p=a===q&&t[e+1].startsWith("/>")?" ":"";n+=a===V?o+M:c>=0?(i.push(s),o.slice(0,c)+Z+o.slice(c)+D+p):o+D+(-2===c?e:p)}return[at(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),i]};let lt=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]=st(e,o);if(this.el=t.createElement(c,i),nt.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=nt.nextNode())&&l.length<s;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(Z)){const e=f[a++],o=r.getAttribute(t).split(D),i=/([.?@])?(.*)/.exec(e);l.push({type:1,index:n,name:i[2],strings:o,ctor:"."===i[1]?dt:"?"===i[1]?ut:"@"===i[1]?yt:ht}),r.removeAttribute(t)}else t.startsWith(D)&&(l.push({type:6,index:n}),r.removeAttribute(t));if(tt.test(r.tagName)){const t=r.textContent.split(D),e=t.length-1;if(e>0){r.textContent=K?K.emptyScript:"";for(let o=0;o<e;o++)r.append(t[o],H()),nt.nextNode(),l.push({type:2,index:++n});r.append(t[e],H())}}}else if(8===r.nodeType)if(r.data===A)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=r.data.indexOf(D,t+1));)l.push({type:7,index:n}),t+=D.length-1}n++}}static createElement(t,e){const o=P.createElement("template");return o.innerHTML=t,o}};function ct(t,e,o=t,i){if(e===ot)return e;let r=void 0!==i?o._$Co?.[i]:o._$Cl;const n=j(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=ct(t,r._$AS(t,e.values),r,i)),e}let ft=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??P).importNode(e,!0);nt.currentNode=i;let r=nt.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new pt(r,r.nextSibling,this,t):1===s.type?e=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(e=new gt(r,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(r=nt.nextNode(),n++)}return nt.currentNode=P,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++}},pt=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,i){this.type=2,this._$AH=it,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=ct(this,t,e),j(t)?t===it||null==t||""===t?(this._$AH!==it&&this._$AR(),this._$AH=it):t!==this._$AH&&t!==ot&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):_(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!==it&&j(this._$AH)?this._$AA.nextSibling.data=t:this.$(P.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=lt.createElement(at(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new ft(i,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=rt.get(t.strings);return void 0===e&&rt.set(t.strings,e=new lt(t)),e}T(e){T(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(H()),this.k(H()),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))}},ht=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,i,r){this.type=1,this._$AH=it,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=it}_$AI(t,e=this,o,i){const r=this.strings;let n=!1;if(void 0===r)t=ct(this,t,e,0),n=!j(t)||t!==this._$AH&&t!==ot,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=ct(this,i[o+a],e,a),s===ot&&(s=this._$AH[a]),n||=!j(s)||s!==this._$AH[a],s===it?t=it:t!==it&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===it?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},dt=class extends ht{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===it?void 0:t}},ut=class extends ht{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==it)}},yt=class extends ht{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){if((t=ct(this,t,e,0)??it)===ot)return;const o=this._$AH,i=t===it&&o!==it||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==it&&(o===it||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)}},gt=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){ct(this,t)}};const bt={j:Z,P:D,A,C:1,M:st,L:ft,R:_,V:ct,D:pt,I:ht,H:ut,N:yt,U:dt,B:gt},mt=F.litHtmlPolyfillSupport;mt?.(lt,pt),(F.litHtmlVersions??=[]).push("3.1.0");
|
|
57
62
|
/**
|
|
58
63
|
* @license
|
|
59
64
|
* Copyright 2019 Google LLC
|
|
60
65
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
61
66
|
*/
|
|
62
|
-
const
|
|
67
|
+
const xt=globalThis,vt=xt.ShadowRoot&&(void 0===xt.ShadyCSS||xt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ot=Symbol(),wt=new WeakMap;let St=class{constructor(t,e,o){if(this._$cssResult$=!0,o!==Ot)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(vt&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=wt.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&wt.set(e,t))}return t}toString(){return this.cssText}};const Nt=t=>new St("string"==typeof t?t:t+"",void 0,Ot),$t=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,o,i)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(o)+t[i+1]),t[0]);return new St(o,t,Ot)},Ct=vt?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return Nt(e)})(t):t
|
|
63
68
|
/**
|
|
64
69
|
* @license
|
|
65
70
|
* Copyright 2017 Google LLC
|
|
66
71
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
67
|
-
*/,{is:
|
|
72
|
+
*/,{is:kt,defineProperty:Rt,getOwnPropertyDescriptor:Et,getOwnPropertyNames:Ut,getOwnPropertySymbols:It,getPrototypeOf:Lt}=Object,Wt=globalThis,zt=Wt.trustedTypes,Ft=zt?zt.emptyScript:"",Kt=Wt.reactiveElementPolyfillSupport,Bt=(t,e)=>t,Zt={toAttribute(t,e){switch(e){case Boolean:t=t?Ft: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}},Dt=(t,e)=>!kt(t,e),At={attribute:!0,type:String,converter:Zt,reflect:!1,hasChanged:Dt};Symbol.metadata??=Symbol("metadata"),Wt.litPropertyMetadata??=new WeakMap;class Mt 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=At){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&&Rt(this.prototype,t,i)}}static getPropertyDescriptor(t,e,o){const{get:i,set:r}=Et(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)??At}static _$Ei(){if(this.hasOwnProperty(Bt("elementProperties")))return;const t=Lt(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Bt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Bt("properties"))){const t=this.properties,e=[...Ut(t),...It(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(Ct(t))}else void 0!==t&&e.push(Ct(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(vt)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of e){const e=document.createElement("style"),i=xt.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:Zt).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:Zt;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??Dt)(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){}}Mt.elementStyles=[],Mt.shadowRootOptions={mode:"open"},Mt[Bt("elementProperties")]=new Map,Mt[Bt("finalized")]=new Map,Kt?.({ReactiveElement:Mt}),(Wt.reactiveElementVersions??=[]).push("2.0.2");
|
|
68
73
|
/**
|
|
69
74
|
* @license
|
|
70
75
|
* Copyright 2017 Google LLC
|
|
71
76
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
72
77
|
*/
|
|
73
|
-
const
|
|
78
|
+
const Pt=globalThis,Ht=Pt.trustedTypes,jt=Ht?Ht.createPolicy("lit-html",{createHTML:t=>t}):void 0,Tt="$lit$",_t=`lit$${(Math.random()+"").slice(9)}$`,Gt="?"+_t,Vt=`<${Gt}>`,Yt=document,Jt=()=>Yt.createComment(""),qt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Xt=Array.isArray,Qt="[ \t\n\f\r]",te=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ee=/-->/g,oe=/>/g,ie=RegExp(`>|${Qt}(?:([^\\s"'>=/]+)(${Qt}*=${Qt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),re=/'/g,ne=/"/g,ae=/^(?:script|style|textarea|title)$/i,se=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),le=Symbol.for("lit-noChange"),ce=Symbol.for("lit-nothing"),fe=new WeakMap,pe=Yt.createTreeWalker(Yt,129);function he(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==jt?jt.createHTML(e):e}const de=(t,e)=>{const o=t.length-1,i=[];let r,n=2===e?"<svg>":"",a=te;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===te?"!--"===l[1]?a=ee:void 0!==l[1]?a=oe:void 0!==l[2]?(ae.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=ie):void 0!==l[3]&&(a=ie):a===ie?">"===l[0]?(a=r??te,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?ie:'"'===l[3]?ne:re):a===ne||a===re?a=ie:a===ee||a===oe?a=te:(a=ie,r=void 0);const p=a===ie&&t[e+1].startsWith("/>")?" ":"";n+=a===te?o+Vt:c>=0?(i.push(s),o.slice(0,c)+Tt+o.slice(c)+_t+p):o+_t+(-2===c?e:p)}return[he(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),i]};class ue{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]=de(t,e);if(this.el=ue.createElement(l,o),pe.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=pe.nextNode())&&s.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(Tt)){const e=c[n++],o=i.getAttribute(t).split(_t),a=/([.?@])?(.*)/.exec(e);s.push({type:1,index:r,name:a[2],strings:o,ctor:"."===a[1]?me:"?"===a[1]?xe:"@"===a[1]?ve:be}),i.removeAttribute(t)}else t.startsWith(_t)&&(s.push({type:6,index:r}),i.removeAttribute(t));if(ae.test(i.tagName)){const t=i.textContent.split(_t),e=t.length-1;if(e>0){i.textContent=Ht?Ht.emptyScript:"";for(let o=0;o<e;o++)i.append(t[o],Jt()),pe.nextNode(),s.push({type:2,index:++r});i.append(t[e],Jt())}}}else if(8===i.nodeType)if(i.data===Gt)s.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(_t,t+1));)s.push({type:7,index:r}),t+=_t.length-1}r++}}static createElement(t,e){const o=Yt.createElement("template");return o.innerHTML=t,o}}function ye(t,e,o=t,i){if(e===le)return e;let r=void 0!==i?o._$Co?.[i]:o._$Cl;const n=qt(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=ye(t,r._$AS(t,e.values),r,i)),e}class ge{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,i){this.type=2,this._$AH=ce,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=ye(this,t,e),qt(t)?t===ce||null==t||""===t?(this._$AH!==ce&&this._$AR(),this._$AH=ce):t!==this._$AH&&t!==le&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>Xt(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!==ce&&qt(this._$AH)?this._$AA.nextSibling.data=t:this.$(Yt.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=ue.createElement(he(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??Yt).importNode(e,!0);pe.currentNode=i;let r=pe.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new ge(r,r.nextSibling,this,t):1===s.type?e=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(e=new Oe(r,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(r=pe.nextNode(),n++)}return pe.currentNode=Yt,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=fe.get(t.strings);return void 0===e&&fe.set(t.strings,e=new ue(t)),e}T(t){Xt(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 ge(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 be{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,i,r){this.type=1,this._$AH=ce,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=ce}_$AI(t,e=this,o,i){const r=this.strings;let n=!1;if(void 0===r)t=ye(this,t,e,0),n=!qt(t)||t!==this._$AH&&t!==le,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=ye(this,i[o+a],e,a),s===le&&(s=this._$AH[a]),n||=!qt(s)||s!==this._$AH[a],s===ce?t=ce:t!==ce&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===ce?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class me extends be{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===ce?void 0:t}}class xe extends be{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==ce)}}class ve extends be{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){if((t=ye(this,t,e,0)??ce)===le)return;const o=this._$AH,i=t===ce&&o!==ce||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==ce&&(o===ce||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 Oe{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){ye(this,t)}}const we=Pt.litHtmlPolyfillSupport;we?.(ue,ge),(Pt.litHtmlVersions??=[]).push("3.1.0");
|
|
74
79
|
/**
|
|
75
80
|
* @license
|
|
76
81
|
* Copyright 2017 Google LLC
|
|
77
82
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
78
83
|
*/
|
|
79
|
-
let we=class extends At{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 ye(e.insertBefore(Yt(),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 se}};we._$litElement$=!0,we.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:we});const Se=globalThis.litElementPolyfillSupport;Se?.({LitElement:we}),(globalThis.litElementVersions??=[]).push("4.0.2");const Ne=t=>"string"==typeof t?St(t):t;class $e{static create(t,e,o,i){const r=t=>Ne(null!=t?t:i),n=Nt`var(${Ne(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>Nt`var(${Ne(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=Nt`var(${Ne(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=>Nt`var(${Ne(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):Ne(null!=e?e:t.lastResortDefaultValue()),i=Nt`var(${Ne(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=>Nt`var(${Ne(t.name)}, ${o(e)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function Ce(t,e){return Ne(`${t.name}: ${e}`)}const ke={colorWhite:$e.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:$e.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:$e.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:$e.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:$e.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:$e.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:$e.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:$e.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:$e.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:$e.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:$e.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:$e.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:$e.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:$e.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:$e.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:$e.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:$e.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:$e.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:$e.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:$e.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:$e.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:$e.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:$e.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:$e.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:$e.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:$e.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:$e.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:$e.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:$e.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:$e.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:$e.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:$e.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:$e.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:$e.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:$e.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:$e.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:$e.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:$e.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:$e.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:$e.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:$e.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:$e.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:$e.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:$e.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:$e.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:$e.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:$e.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:$e.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:$e.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:$e.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:$e.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:$e.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:$e.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:$e.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:$e.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:$e.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:$e.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:$e.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:$e.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:$e.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:$e.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:$e.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:$e.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:$e.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:$e.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:$e.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:$e.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:$e.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:$e.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:$e.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:$e.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:$e.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:$e.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:$e.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:$e.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:$e.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:$e.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:$e.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:$e.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:$e.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:$e.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:$e.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:$e.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:$e.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:$e.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:$e.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:$e.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:$e.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:$e.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:$e.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:$e.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:$e.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:$e.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:$e.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:$e.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:$e.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:$e.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:$e.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:$e.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:$e.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:$e.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:$e.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:$e.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:$e.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:$e.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:$e.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:$e.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:$e.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:$e.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:$e.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:$e.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:$e.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:$e.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:$e.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:$e.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:$e.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:$e.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:$e.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:$e.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:$e.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:$e.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:$e.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:$e.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:$e.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:$e.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:$e.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:$e.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:$e.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:$e.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:$e.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:$e.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:$e.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:$e.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:$e.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:$e.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:$e.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:$e.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:$e.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:$e.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:$e.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:$e.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:$e.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:$e.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:$e.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:$e.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:$e.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:$e.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:$e.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:$e.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:$e.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:$e.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:$e.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:$e.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:$e.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:$e.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:$e.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:$e.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:$e.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:$e.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:$e.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:$e.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:$e.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:$e.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:$e.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:$e.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:$e.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:$e.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:$e.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:$e.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:$e.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:$e.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:$e.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:$e.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:$e.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:$e.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:$e.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:$e.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:$e.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:$e.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:$e.create("--ft-icon-size-6","","SIZE","48px"),opacity0:$e.create("--ft-opacity-0","","NUMBER","0"),opacity8:$e.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:$e.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:$e.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:$e.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:$e.create("--ft-opacity-80","","NUMBER","0.8")},Re={display:{fontFamily:$e.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:$e.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:$e.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:$e.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:$e.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:$e.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:$e.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:$e.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:$e.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:$e.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:$e.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:$e.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:$e.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:$e.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:$e.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:$e.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:$e.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:$e.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:$e.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:$e.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:$e.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:$e.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:$e.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:$e.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:$e.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:$e.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:$e.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:$e.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:$e.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:$e.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:$e.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:$e.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:$e.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:$e.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:$e.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:$e.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:$e.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:$e.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:$e.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:$e.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:$e.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:$e.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:$e.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:$e.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:$e.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:$e.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:$e.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:$e.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:$e.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:$e.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:$e.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:$e.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:$e.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:$e.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:$e.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:$e.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:$e.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:$e.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:$e.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:$e.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:$e.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:$e.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:$e.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:$e.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:$e.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:$e.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:$e.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:$e.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:$e.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:$e.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:$e.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:$e.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:$e.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:$e.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:$e.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:$e.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:$e.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:$e.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:$e.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:$e.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:$e.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:$e.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:$e.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:$e.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:$e.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:$e.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:$e.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:$e.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:$e.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:$e.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:$e.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:$e.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:$e.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:$e.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:$e.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:$e.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:$e.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:$e.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:$e.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:$e.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:$e.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:$e.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:$e.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:$e.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:$e.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:$e.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:$e.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:$e.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:$e.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:$e.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:$e.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:$e.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:$e.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:$e.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:$e.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:$e.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:$e.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:$e.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:$e.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:$e.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:$e.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:$e.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:$e.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:$e.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:$e.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:$e.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:$e.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:$e.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:$e.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:$e.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:$e.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:$e.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:$e.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:$e.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:$e.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Ee={backgroundActionPrimary:$e.extend("--ft-background-action-primary","Used as backgorund of primary action components.",ke.colorBrand0),backgroundErrorPrimary:$e.extend("--ft-background-error-primary","Used as background of error components.",ke.colorRed0),backgroundErrorSubtle:$e.extend("--ft-background-error-subtle","Used as background of subtle error components.",ke.colorRed10),backgroundInfoPrimary:$e.extend("--ft-background-info-primary","Used as background of information components.",ke.colorCyan200),backgroundInfoSubtle:$e.extend("--ft-background-info-subtle","Used as background of subtle information components.",ke.colorCyan10),backgroundWarningPrimary:$e.extend("--ft-background-warning-primary","Used as background of warning components.",ke.colorOrange300),backgroundWarningSubtle:$e.extend("--ft-background-warning-subtle","Used as background of subtle information components.",ke.colorOrange10),backgroundSuccessPrimary:$e.extend("--ft-background-success-primary","Used as background of success components.",ke.colorGreen200),backgroundSuccessSubtle:$e.extend("--ft-background-success-subtle","Used as background of subtle success components.",ke.colorGreen10),backgroundGlobalSurface:$e.extend("--ft-background-global-surface","Used as app background.",ke.colorWhite),backgroundGlobalOnSurface:$e.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",ke.colorGray10),backgroundGlobalOnSurfaceDark:$e.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",ke.colorGray30),contentActionPrimary:$e.extend("--ft-content-action-primary","Used on label of primary action on light surface.",ke.colorBrand0),contentWarningPrimary:$e.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",ke.colorOrange300),contentWarningIconOnly:$e.extend("--ft-content-warning-icon-only","Used on warning status icons alone",ke.colorOrange0),contentErrorPrimary:$e.extend("--ft-content-error-primary","Used on label of error messages on light surface.",ke.colorRed0),contentErrorIconOnly:$e.extend("--ft-content-error-icon-only","Used on error status icons alone",ke.colorRed0),contentInfoPrimary:$e.extend("--ft-content-info-primary","Used on label of information messages on light surface.",ke.colorCyan200),contentInfoIconOnly:$e.extend("--ft-content-info-icon-only","Used on info status icons alone",ke.colorCyan0),contentSuccessIconOnly:$e.extend("--ft-content-success-icon-only","Used on success status icons alone",ke.colorGreen0),contentSuccessPrimary:$e.extend("--ft-content-success-primary","Used on label of success messages on light surface.",ke.colorGreen200),contentGlobalPrimary:$e.extend("--ft-content-global-primary","Used for main content on the page.",ke.colorGray500),contentGlobalSecondary:$e.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",ke.colorGray200),contentGlobalSubtle:$e.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",ke.colorGray0),contentGlobalOnColor:$e.extend("--ft-content-global-on-color","Used for content on a dominant color.",ke.colorWhite),borderActionPrimary:$e.extend("--ft-border-action-primary","Used as border for primary action components.",ke.colorBrand0),borderActionFocusRing:$e.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",ke.colorCyan0),borderWarningPrimary:$e.extend("--ft-border-warning-primary","Used as border for warning components.",ke.colorOrange30),borderSuccessPrimary:$e.extend("--ft-border-success-primary","Used as border for success components.",ke.colorGreen30),borderErrorPrimary:$e.extend("--ft-border-error-primary","Used as border for error components.",ke.colorRed30),borderInfoPrimary:$e.extend("--ft-border-info-primary","Used as border for information components.",ke.colorCyan30),borderGlobalSubtle:$e.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",ke.colorGray30),borderGlobalPrimary:$e.extend("--ft-border-global-primary","Used as border for element like input.",ke.colorGray50),borderInputPrimary:$e.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",ke.colorGray80)},Ue={largeHeight:$e.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:$e.extend("--ft-button-large-horizontal-padding","",ke.spacing4),largeGap:$e.extend("--ft-button-large-gap","",ke.spacing2),largeBorderRadius:$e.extend("--ft-button-large-border-radius","",ke.borderRadiusS),largeIconSize:$e.extend("--ft-button-large-icon-size","",ke.iconSize3),largeBorderWidth:$e.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:$e.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:$e.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:$e.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:$e.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:$e.extend("--ft-button-small-horizontal-padding","",ke.spacing3),smallGap:$e.extend("--ft-button-small-gap","",ke.spacing2),smallBorderRadius:$e.extend("--ft-button-small-border-radius","",ke.borderRadiusS),smallIconSize:$e.extend("--ft-button-small-icon-size","",ke.iconSize2),smallBorderWidth:$e.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:$e.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:$e.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:$e.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:$e.extend("--ft-button-primary-background-color","",Ee.backgroundActionPrimary),primaryColor:$e.extend("--ft-button-primary-color","",Ee.contentGlobalOnColor),primaryIconColor:$e.extend("--ft-button-primary-icon-color","",Ee.contentGlobalOnColor),primaryStateLayerColor:$e.extend("--ft-button-primary-state-layer-color","",Ee.contentGlobalOnColor),primaryStateLayerOpacityHover:$e.extend("--ft-button-primary-state-layer-opacity-hover","",ke.opacity16),primaryStateLayerOpacityFocus:$e.extend("--ft-button-primary-state-layer-opacity-focus","",ke.opacity16),primaryStateLayerOpacityActive:$e.extend("--ft-button-primary-state-layer-opacity-active","",ke.opacity24),primaryComponentOpacityDisabled:$e.extend("--ft-button-primary-component-opacity-disabled","",ke.opacity40),focusFocusRingColor:$e.extend("--ft-button-focus-focus-ring-color","",Ee.borderActionFocusRing),tertiaryBackgroundColor:$e.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:$e.extend("--ft-button-tertiary-color","",Ee.contentActionPrimary),tertiaryIconColor:$e.extend("--ft-button-tertiary-icon-color","",Ee.contentActionPrimary),tertiaryStateLayerColor:$e.extend("--ft-button-tertiary-state-layer-color","",Ee.contentActionPrimary),tertiaryStateLayerOpacityHover:$e.extend("--ft-button-tertiary-state-layer-opacity-hover","",ke.opacity8),tertiaryStateLayerOpacityFocus:$e.extend("--ft-button-tertiary-state-layer-opacity-focus","",ke.opacity8),tertiaryStateLayerOpacityActive:$e.extend("--ft-button-tertiary-state-layer-opacity-active","",ke.opacity16),tertiaryComponentOpacityDisabled:$e.extend("--ft-button-tertiary-component-opacity-disabled","",ke.opacity40),secondaryBackgroundColor:$e.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:$e.extend("--ft-button-secondary-color","",Ee.contentActionPrimary),secondaryIconColor:$e.extend("--ft-button-secondary-icon-color","",Ee.contentActionPrimary),secondaryStateLayerColor:$e.extend("--ft-button-secondary-state-layer-color","",Ee.contentActionPrimary),secondaryStateLayerOpacityHover:$e.extend("--ft-button-secondary-state-layer-opacity-hover","",ke.opacity8),secondaryStateLayerOpacityFocus:$e.extend("--ft-button-secondary-state-layer-opacity-focus","",ke.opacity8),secondaryStateLayerOpacityActive:$e.extend("--ft-button-secondary-state-layer-opacity-active","",ke.opacity16),secondaryComponentOpacityDisabled:$e.extend("--ft-button-secondary-component-opacity-disabled","",ke.opacity40),secondaryBorderColor:$e.extend("--ft-button-secondary-border-color","",Ee.borderActionPrimary),neutralBackgroundColor:$e.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:$e.extend("--ft-button-neutral-icon-color","",Ee.contentGlobalSecondary),neutralColor:$e.extend("--ft-button-neutral-color","",Ee.contentGlobalSecondary),neutralStateLayerColor:$e.extend("--ft-button-neutral-state-layer-color","",Ee.contentGlobalSecondary),neutralStateLayerOpacityHover:$e.extend("--ft-button-neutral-state-layer-opacity-hover","",ke.opacity8),neutralStateLayerOpacityFocus:$e.extend("--ft-button-neutral-state-layer-opacity-focus","",ke.opacity8),neutralStateLayerOpacityActive:$e.extend("--ft-button-neutral-state-layer-opacity-active","",ke.opacity16),neutralComponentOpacityDisabled:$e.extend("--ft-button-neutral-component-opacity-disabled","",ke.opacity40)};$e.extend("--ft-tabs-top-left-border-radius","",ke.borderRadiusS),$e.extend("--ft-tabs-top-right-border-radius","",ke.borderRadiusS),$e.extend("--ft-tabs-label-horizontal-padding","",ke.spacing4),$e.extend("--ft-tabs-label-vertical-padding","",ke.spacing3),$e.extend("--ft-tabs-label-gap","",ke.spacing1),$e.extend("--ft-switch-group-horizontal-padding","",ke.spacing1),$e.extend("--ft-switch-group-vertical-padding","",ke.spacing1),$e.extend("--ft-switch-group-gap","",ke.spacing1),$e.extend("--ft-switch-group-background-color","",Ee.backgroundGlobalSurface),$e.extend("--ft-switch-group-border-color","",Ee.borderGlobalSubtle),$e.create("--ft-switch-group-border-radius","","SIZE","6px"),$e.extend("--ft-switch-label-horizontal-padding","",ke.spacing2),$e.extend("--ft-switch-label-vertical-padding","",ke.spacing1),$e.extend("--ft-switch-icon-horizontal-padding","",ke.spacing1),$e.extend("--ft-switch-icon-vertical-padding","",ke.spacing1),$e.create("--ft-switch-focus-outline-width","","SIZE","2px"),$e.extend("--ft-switch-focus-focus-ring-color","",Ee.borderActionFocusRing),$e.extend("--ft-switch-option-border-radius","",ke.borderRadiusS),$e.extend("--ft-switch-off-state-layer-opacity-hover","",ke.opacity8),$e.extend("--ft-switch-off-state-layer-opacity-focus","",ke.opacity8),$e.extend("--ft-switch-off-state-layer-opacity-active","",ke.opacity16),$e.extend("--ft-switch-off-component-opacity-disabled","",ke.opacity40),$e.extend("--ft-switch-off-color","",Ee.contentGlobalSubtle),$e.extend("--ft-switch-off-state-layer-color","",Ee.contentGlobalSubtle),$e.extend("--ft-chart-1-light","for area color charts",ke.colorBrand40),$e.extend("--ft-chart-1-base","for line charts",ke.colorBrand0),$e.extend("--ft-chart-2-light","for area color charts",ke.colorYellow60),$e.extend("--ft-chart-2-base","for line charts",ke.colorYellow100),$e.extend("--ft-chart-3-light","",ke.colorUltramarine40),$e.extend("--ft-chart-3-base","",ke.colorUltramarine70),$e.extend("--ft-chart-4-light","",ke.colorCyan50),$e.extend("--ft-chart-4-base","",ke.colorCyan100),$e.extend("--ft-chart-5-light","",ke.colorRed40),$e.extend("--ft-chart-5-base","",ke.colorRed60),$e.extend("--ft-chart-6-light","",ke.colorGreen40),$e.extend("--ft-chart-6-base","",ke.colorGreen70),$e.extend("--ft-chart-7-light","",ke.colorOrange70),$e.extend("--ft-chart-7-base","",ke.colorOrange100),$e.extend("--ft-chart-8-light","",ke.colorAvocado70),$e.extend("--ft-chart-8-base","",ke.colorAvocado200),$e.extend("--ft-chart-9-light","",ke.colorBrown50),$e.extend("--ft-chart-9-base","",ke.colorBrown200),$e.extend("--ft-chart-10-light","",ke.colorGray50),$e.extend("--ft-chart-10-base","",ke.colorGray80),$e.extend("--ft-chart-monochrome-10","",ke.colorBrand10),$e.extend("--ft-chart-monochrome-20","",ke.colorBrand20),$e.extend("--ft-chart-monochrome-30","",ke.colorBrand40),$e.extend("--ft-chart-monochrome-40","",ke.colorBrand60),$e.extend("--ft-chart-monochrome-50","",ke.colorBrand0),$e.extend("--ft-chart-monochrome-60","",ke.colorBrand200),$e.extend("--ft-chip-large-horizontal-padding","",ke.spacing4),$e.extend("--ft-chip-large-vertical-padding","",ke.spacing2),$e.extend("--ft-chip-large-gap","",ke.spacing1),$e.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),$e.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),$e.extend("--ft-chip-large-border-radius","",ke.borderRadiusPill),$e.create("--ft-chip-large-border-width","","SIZE","1px"),$e.extend("--ft-chip-large-icon-size","",ke.iconSize3),$e.extend("--ft-chip-medium-horizontal-padding","",ke.spacing3),$e.extend("--ft-chip-medium-vertical-padding","",ke.spacing1),$e.extend("--ft-chip-medium-gap","",ke.spacing1),$e.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),$e.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),$e.extend("--ft-chip-medium-border-radius","",ke.borderRadiusPill),$e.create("--ft-chip-medium-border-width","","SIZE","1px"),$e.extend("--ft-chip-medium-icon-size","",ke.iconSize2),$e.extend("--ft-chip-small-horizontal-padding","",ke.spacing2),$e.extend("--ft-chip-small-vertical-padding","",ke.spacing05),$e.extend("--ft-chip-small-gap","",ke.spacing1),$e.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),$e.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),$e.extend("--ft-chip-small-border-radius","",ke.borderRadiusPill),$e.create("--ft-chip-small-border-width","","SIZE","1px"),$e.extend("--ft-chip-small-icon-size","",ke.iconSize1),$e.extend("--ft-chip-neutral-background-color","",Ee.backgroundGlobalOnSurface),$e.extend("--ft-chip-neutral-color","",Ee.contentGlobalPrimary),$e.extend("--ft-chip-neutral-border-color","",Ee.borderGlobalSubtle),$e.extend("--ft-chip-info-background-color","",Ee.backgroundInfoSubtle),$e.extend("--ft-chip-info-color","",Ee.contentInfoPrimary),$e.extend("--ft-chip-info-border-color","",Ee.borderInfoPrimary),$e.extend("--ft-chip-success-background-color","",Ee.backgroundSuccessSubtle),$e.extend("--ft-chip-success-color","",Ee.contentSuccessPrimary),$e.extend("--ft-chip-success-border-color","",Ee.borderSuccessPrimary),$e.extend("--ft-chip-warning-background-color","",Ee.backgroundWarningSubtle),$e.extend("--ft-chip-warning-color","",Ee.contentWarningPrimary),$e.extend("--ft-chip-warning-border-color","",Ee.borderWarningPrimary),$e.extend("--ft-chip-error-background-color","",Ee.backgroundErrorSubtle),$e.extend("--ft-chip-error-color","",Ee.contentErrorPrimary),$e.extend("--ft-chip-error-border-color","",Ee.borderErrorPrimary),$e.create("--ft-notice-border-width","","SIZE","1px"),$e.extend("--ft-notice-horizontal-padding","",ke.spacing2),$e.extend("--ft-notice-vertical-padding","",ke.spacing1),$e.extend("--ft-notice-border-radius","",ke.borderRadiusS),$e.extend("--ft-notice-gap","",ke.spacing2),$e.extend("--ft-notice-icon-size","",ke.iconSize3),$e.extend("--ft-notice-info-background-color","",Ee.backgroundInfoSubtle),$e.extend("--ft-notice-info-border-color","",Ee.borderInfoPrimary),$e.extend("--ft-notice-info-color","",Ee.contentInfoPrimary),$e.extend("--ft-notice-warning-background-color","",Ee.backgroundWarningSubtle),$e.extend("--ft-notice-warning-border-color","",Ee.borderWarningPrimary),$e.extend("--ft-notice-warning-color","",Ee.contentWarningPrimary),$e.extend("--ft-checkbox-label-color","",Ee.contentGlobalPrimary),$e.extend("--ft-checkbox-checked-background-color","",Ee.contentActionPrimary),$e.extend("--ft-checkbox-checked-state-layer-color","",Ee.contentActionPrimary),$e.extend("--ft-checkbox-checked-color","",Ee.contentGlobalOnColor),$e.extend("--ft-checkbox-checked-state-layer-opacity-hover","",ke.opacity16),$e.extend("--ft-checkbox-checked-state-layer-opacity-focus","",ke.opacity16),$e.extend("--ft-checkbox-checked-state-layer-opacity-active","",ke.opacity24),$e.extend("--ft-checkbox-checked-component-opacity-disabled","",ke.opacity40),$e.extend("--ft-checkbox-unchecked-border-color","",ke.colorGray80),$e.extend("--ft-checkbox-unchecked-state-layer-color","",ke.colorGray80),$e.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",ke.opacity16),$e.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",ke.opacity16),$e.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",ke.opacity24),$e.extend("--ft-checkbox-unchecked-component-opacity-disabled","",ke.opacity40),$e.extend("--ft-checkbox-focus-focus-ring-color","",Ee.borderActionFocusRing),$e.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),$e.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),$e.extend("--ft-checkbox-gap","",ke.spacing3),$e.extend("--ft-toggle-off-state-layer-opacity-hover","",ke.opacity16),$e.extend("--ft-toggle-off-state-layer-opacity-focus","",ke.opacity16),$e.extend("--ft-toggle-off-state-layer-opacity-active","",ke.opacity24),$e.extend("--ft-toggle-off-component-opacity-disabled","",ke.opacity40),$e.extend("--ft-toggle-off-background-color","",Ee.contentGlobalSubtle),$e.extend("--ft-toggle-off-icon-color","",Ee.contentGlobalSubtle),$e.extend("--ft-toggle-off-state-layer-color","",Ee.contentGlobalSubtle),$e.extend("--ft-toggle-on-state-layer-opacity-hover","",ke.opacity16),$e.extend("--ft-toggle-on-state-layer-opacity-focus","",ke.opacity16),$e.extend("--ft-toggle-on-state-layer-opacity-active","",ke.opacity24),$e.extend("--ft-toggle-on-component-opacity-disabled","",ke.opacity40),$e.extend("--ft-toggle-on-background-color","",Ee.contentActionPrimary),$e.extend("--ft-toggle-on-icon-color","",Ee.contentActionPrimary),$e.extend("--ft-toggle-on-state-layer-color","",Ee.contentActionPrimary),$e.extend("--ft-toggle-label-color","",Ee.contentGlobalPrimary),$e.extend("--ft-toggle-focus-focus-ring-color","",Ee.borderActionFocusRing),$e.extend("--ft-toggle-gap","",ke.spacing3),$e.extend("--ft-radio-label-color","",Ee.contentGlobalPrimary),$e.extend("--ft-radio-selected-color","",Ee.contentActionPrimary),$e.extend("--ft-radio-selected-state-layer-color","",Ee.contentActionPrimary),$e.extend("--ft-radio-selected-state-layer-opacity-hover","",ke.opacity16),$e.extend("--ft-radio-selected-state-layer-opacity-focus","",ke.opacity16),$e.extend("--ft-radio-selected-state-layer-opacity-active","",ke.opacity24),$e.extend("--ft-radio-selected-component-opacity-disabled","",ke.opacity40),$e.extend("--ft-radio-unselected-state-layer-color","",ke.colorGray80),$e.extend("--ft-radio-unselected-state-layer-opacity-hover","",ke.opacity16),$e.extend("--ft-radio-unselected-state-layer-opacity-focus","",ke.opacity16),$e.extend("--ft-radio-unselected-state-layer-opacity-active","",ke.opacity24),$e.extend("--ft-radio-unselected-component-opacity-disabled","",ke.opacity40),$e.extend("--ft-radio-focus-focus-ring-color","",Ee.borderActionFocusRing),$e.create("--ft-radio-focus-outline-offset","","SIZE","3px"),$e.create("--ft-radio-focus-outline-width","","SIZE","2px"),$e.extend("--ft-radio-gap","",ke.spacing3),$e.extend("--ft-notification-icon-size","",ke.iconSize4),$e.extend("--ft-notification-horizontal-padding","",ke.spacing4),$e.extend("--ft-notification-vertical-padding","",ke.spacing4),$e.extend("--ft-notification-info-background-color","",Ee.backgroundInfoSubtle),$e.extend("--ft-notification-info-color","",Ee.contentInfoPrimary),$e.extend("--ft-notification-info-border-color","",Ee.borderInfoPrimary),$e.extend("--ft-notification-success-background-color","",Ee.backgroundSuccessSubtle),$e.extend("--ft-notification-success-color","",Ee.contentSuccessPrimary),$e.extend("--ft-notification-success-border-color","",Ee.borderSuccessPrimary),$e.extend("--ft-notification-warning-background-color","",Ee.backgroundWarningSubtle),$e.extend("--ft-notification-warning-color","",Ee.contentWarningPrimary),$e.extend("--ft-notification-warning-border-color","",Ee.borderWarningPrimary),$e.extend("--ft-notification-error-background-color","",Ee.backgroundErrorSubtle),$e.extend("--ft-notification-error-color","",Ee.contentErrorPrimary),$e.extend("--ft-notification-error-border-color","",Ee.borderErrorPrimary),$e.extend("--ft-notification-border-radius","",ke.borderRadiusPill),$e.create("--ft-notification-border-width","","SIZE","1px"),$e.extend("--ft-notification-gap-leading","",ke.spacing2),$e.extend("--ft-notification-gap-trailing","",ke.spacing8);const Ie={colorPrimary:$e.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:$e.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:$e.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:$e.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:$e.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:$e.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:$e.create("--ft-color-error","","COLOR","#B00020"),colorOutline:$e.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:$e.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:$e.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:$e.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:$e.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:$e.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:$e.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:$e.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:$e.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:$e.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:$e.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:$e.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:$e.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:$e.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:$e.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:$e.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:$e.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:$e.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:$e.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:$e.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:$e.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:$e.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:$e.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:$e.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:$e.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:$e.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:$e.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:$e.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:$e.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:$e.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:$e.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:$e.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:$e.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:$e.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:$e.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:$e.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:$e.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:$e.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:$e.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:$e.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:$e.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:$e.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:$e.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:$e.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:$e.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:$e.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:$e.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:$e.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:$e.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:$e.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:$e.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:$e.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:$e.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:$e.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:$e.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Le=window,We=Le.ShadowRoot&&(void 0===Le.ShadyCSS||Le.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;
|
|
84
|
+
let Se=class extends Mt{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 ge(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 le}};Se._$litElement$=!0,Se.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:Se});const Ne=globalThis.litElementPolyfillSupport;Ne?.({LitElement:Se}),(globalThis.litElementVersions??=[]).push("4.0.2");const $e=t=>"string"==typeof t?Nt(t):t;class Ce{static create(t,e,o,i){const r=t=>$e(null!=t?t:i),n=$t`var(${$e(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>$t`var(${$e(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=$t`var(${$e(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=>$t`var(${$e(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):$e(null!=e?e:t.lastResortDefaultValue()),i=$t`var(${$e(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=>$t`var(${$e(t.name)}, ${o(e)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function ke(t,e){return $e(`${t.name}: ${e}`)}const Re={colorWhite:Ce.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Ce.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Ce.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Ce.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Ce.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Ce.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Ce.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Ce.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Ce.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Ce.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Ce.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Ce.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Ce.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Ce.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Ce.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Ce.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Ce.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Ce.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Ce.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Ce.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Ce.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Ce.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Ce.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Ce.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Ce.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Ce.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Ce.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Ce.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Ce.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Ce.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Ce.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Ce.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Ce.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Ce.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Ce.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Ce.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Ce.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Ce.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Ce.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Ce.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Ce.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Ce.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Ce.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Ce.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Ce.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Ce.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Ce.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Ce.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Ce.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Ce.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Ce.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Ce.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Ce.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Ce.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Ce.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Ce.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Ce.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Ce.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Ce.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Ce.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Ce.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Ce.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Ce.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Ce.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Ce.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Ce.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Ce.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Ce.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Ce.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Ce.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Ce.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Ce.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Ce.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Ce.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Ce.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Ce.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Ce.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Ce.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Ce.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Ce.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Ce.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Ce.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Ce.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Ce.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Ce.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Ce.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Ce.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Ce.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Ce.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Ce.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Ce.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Ce.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Ce.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Ce.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Ce.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Ce.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Ce.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Ce.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Ce.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Ce.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Ce.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Ce.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Ce.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Ce.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Ce.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Ce.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Ce.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Ce.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Ce.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Ce.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Ce.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Ce.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Ce.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Ce.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Ce.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Ce.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Ce.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Ce.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Ce.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Ce.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Ce.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Ce.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Ce.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Ce.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Ce.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Ce.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Ce.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Ce.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Ce.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Ce.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Ce.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Ce.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Ce.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Ce.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Ce.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Ce.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Ce.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Ce.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Ce.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Ce.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Ce.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Ce.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Ce.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Ce.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Ce.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Ce.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Ce.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Ce.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Ce.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Ce.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Ce.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Ce.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Ce.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Ce.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Ce.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Ce.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Ce.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Ce.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Ce.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Ce.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Ce.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Ce.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Ce.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Ce.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Ce.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Ce.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Ce.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Ce.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Ce.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Ce.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Ce.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Ce.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Ce.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Ce.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Ce.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Ce.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Ce.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Ce.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Ce.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Ce.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Ce.create("--ft-opacity-0","","NUMBER","0"),opacity8:Ce.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Ce.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Ce.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Ce.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Ce.create("--ft-opacity-80","","NUMBER","0.8")},Ee={display:{fontFamily:Ce.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Ce.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Ce.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Ce.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ce.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Ce.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Ce.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Ce.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Ce.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:Ce.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ce.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Ce.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Ce.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:Ce.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Ce.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:Ce.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ce.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Ce.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Ce.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:Ce.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Ce.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:Ce.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Ce.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Ce.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Ce.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Ce.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Ce.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Ce.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Ce.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Ce.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Ce.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ce.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Ce.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Ce.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Ce.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Ce.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Ce.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ce.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Ce.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Ce.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Ce.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Ce.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Ce.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Ce.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Ce.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Ce.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Ce.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Ce.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Ce.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ce.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Ce.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Ce.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Ce.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Ce.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Ce.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ce.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Ce.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Ce.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Ce.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Ce.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Ce.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ce.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Ce.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Ce.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Ce.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ce.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Ce.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ce.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Ce.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Ce.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Ce.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ce.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Ce.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ce.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Ce.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Ce.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Ce.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ce.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Ce.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ce.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Ce.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Ce.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Ce.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ce.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Ce.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ce.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Ce.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Ce.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Ce.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ce.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Ce.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ce.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Ce.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Ce.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Ce.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ce.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Ce.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ce.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Ce.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Ce.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Ce.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Ce.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Ce.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ce.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Ce.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Ce.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Ce.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Ce.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Ce.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ce.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Ce.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Ce.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Ce.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Ce.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Ce.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ce.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Ce.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Ce.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Ce.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Ce.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Ce.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ce.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Ce.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Ce.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Ce.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Ce.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Ce.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ce.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ce.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Ce.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Ce.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Ce.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Ce.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ce.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ce.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Ue={backgroundActionPrimary:Ce.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Re.colorBrand0),backgroundErrorPrimary:Ce.extend("--ft-background-error-primary","Used as background of error components.",Re.colorRed0),backgroundErrorSubtle:Ce.extend("--ft-background-error-subtle","Used as background of subtle error components.",Re.colorRed10),backgroundInfoPrimary:Ce.extend("--ft-background-info-primary","Used as background of information components.",Re.colorCyan200),backgroundInfoSubtle:Ce.extend("--ft-background-info-subtle","Used as background of subtle information components.",Re.colorCyan10),backgroundWarningPrimary:Ce.extend("--ft-background-warning-primary","Used as background of warning components.",Re.colorOrange300),backgroundWarningSubtle:Ce.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Re.colorOrange10),backgroundSuccessPrimary:Ce.extend("--ft-background-success-primary","Used as background of success components.",Re.colorGreen200),backgroundSuccessSubtle:Ce.extend("--ft-background-success-subtle","Used as background of subtle success components.",Re.colorGreen10),backgroundGlobalSurface:Ce.extend("--ft-background-global-surface","Used as app background.",Re.colorWhite),backgroundGlobalOnSurface:Ce.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Re.colorGray10),backgroundGlobalOnSurfaceDark:Ce.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Re.colorGray30),contentActionPrimary:Ce.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Re.colorBrand0),contentWarningPrimary:Ce.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Re.colorOrange300),contentWarningIconOnly:Ce.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Re.colorOrange0),contentErrorPrimary:Ce.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Re.colorRed0),contentErrorIconOnly:Ce.extend("--ft-content-error-icon-only","Used on error status icons alone",Re.colorRed0),contentInfoPrimary:Ce.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Re.colorCyan200),contentInfoIconOnly:Ce.extend("--ft-content-info-icon-only","Used on info status icons alone",Re.colorCyan0),contentSuccessIconOnly:Ce.extend("--ft-content-success-icon-only","Used on success status icons alone",Re.colorGreen0),contentSuccessPrimary:Ce.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Re.colorGreen200),contentGlobalPrimary:Ce.extend("--ft-content-global-primary","Used for main content on the page.",Re.colorGray500),contentGlobalSecondary:Ce.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Re.colorGray200),contentGlobalSubtle:Ce.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Re.colorGray0),contentGlobalOnColor:Ce.extend("--ft-content-global-on-color","Used for content on a dominant color.",Re.colorWhite),borderActionPrimary:Ce.extend("--ft-border-action-primary","Used as border for primary action components.",Re.colorBrand0),borderActionFocusRing:Ce.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Re.colorCyan0),borderWarningPrimary:Ce.extend("--ft-border-warning-primary","Used as border for warning components.",Re.colorOrange30),borderSuccessPrimary:Ce.extend("--ft-border-success-primary","Used as border for success components.",Re.colorGreen30),borderErrorPrimary:Ce.extend("--ft-border-error-primary","Used as border for error components.",Re.colorRed30),borderInfoPrimary:Ce.extend("--ft-border-info-primary","Used as border for information components.",Re.colorCyan30),borderGlobalSubtle:Ce.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Re.colorGray30),borderGlobalPrimary:Ce.extend("--ft-border-global-primary","Used as border for element like input.",Re.colorGray50),borderInputPrimary:Ce.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Re.colorGray80)},Ie={largeHeight:Ce.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:Ce.extend("--ft-button-large-horizontal-padding","",Re.spacing4),largeGap:Ce.extend("--ft-button-large-gap","",Re.spacing2),largeBorderRadius:Ce.extend("--ft-button-large-border-radius","",Re.borderRadiusS),largeIconSize:Ce.extend("--ft-button-large-icon-size","",Re.iconSize3),largeBorderWidth:Ce.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:Ce.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:Ce.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:Ce.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:Ce.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:Ce.extend("--ft-button-small-horizontal-padding","",Re.spacing3),smallGap:Ce.extend("--ft-button-small-gap","",Re.spacing2),smallBorderRadius:Ce.extend("--ft-button-small-border-radius","",Re.borderRadiusS),smallIconSize:Ce.extend("--ft-button-small-icon-size","",Re.iconSize2),smallBorderWidth:Ce.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:Ce.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:Ce.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:Ce.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:Ce.extend("--ft-button-primary-background-color","",Ue.backgroundActionPrimary),primaryColor:Ce.extend("--ft-button-primary-color","",Ue.contentGlobalOnColor),primaryIconColor:Ce.extend("--ft-button-primary-icon-color","",Ue.contentGlobalOnColor),primaryStateLayerColor:Ce.extend("--ft-button-primary-state-layer-color","",Ue.contentGlobalOnColor),primaryStateLayerOpacityHover:Ce.extend("--ft-button-primary-state-layer-opacity-hover","",Re.opacity16),primaryStateLayerOpacityFocus:Ce.extend("--ft-button-primary-state-layer-opacity-focus","",Re.opacity16),primaryStateLayerOpacityActive:Ce.extend("--ft-button-primary-state-layer-opacity-active","",Re.opacity24),primaryComponentOpacityDisabled:Ce.extend("--ft-button-primary-component-opacity-disabled","",Re.opacity40),focusFocusRingColor:Ce.extend("--ft-button-focus-focus-ring-color","",Ue.borderActionFocusRing),tertiaryBackgroundColor:Ce.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:Ce.extend("--ft-button-tertiary-color","",Ue.contentActionPrimary),tertiaryIconColor:Ce.extend("--ft-button-tertiary-icon-color","",Ue.contentActionPrimary),tertiaryStateLayerColor:Ce.extend("--ft-button-tertiary-state-layer-color","",Ue.contentActionPrimary),tertiaryStateLayerOpacityHover:Ce.extend("--ft-button-tertiary-state-layer-opacity-hover","",Re.opacity8),tertiaryStateLayerOpacityFocus:Ce.extend("--ft-button-tertiary-state-layer-opacity-focus","",Re.opacity8),tertiaryStateLayerOpacityActive:Ce.extend("--ft-button-tertiary-state-layer-opacity-active","",Re.opacity16),tertiaryComponentOpacityDisabled:Ce.extend("--ft-button-tertiary-component-opacity-disabled","",Re.opacity40),secondaryBackgroundColor:Ce.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:Ce.extend("--ft-button-secondary-color","",Ue.contentActionPrimary),secondaryIconColor:Ce.extend("--ft-button-secondary-icon-color","",Ue.contentActionPrimary),secondaryStateLayerColor:Ce.extend("--ft-button-secondary-state-layer-color","",Ue.contentActionPrimary),secondaryStateLayerOpacityHover:Ce.extend("--ft-button-secondary-state-layer-opacity-hover","",Re.opacity8),secondaryStateLayerOpacityFocus:Ce.extend("--ft-button-secondary-state-layer-opacity-focus","",Re.opacity8),secondaryStateLayerOpacityActive:Ce.extend("--ft-button-secondary-state-layer-opacity-active","",Re.opacity16),secondaryComponentOpacityDisabled:Ce.extend("--ft-button-secondary-component-opacity-disabled","",Re.opacity40),secondaryBorderColor:Ce.extend("--ft-button-secondary-border-color","",Ue.borderActionPrimary),neutralBackgroundColor:Ce.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:Ce.extend("--ft-button-neutral-icon-color","",Ue.contentGlobalSecondary),neutralColor:Ce.extend("--ft-button-neutral-color","",Ue.contentGlobalSecondary),neutralStateLayerColor:Ce.extend("--ft-button-neutral-state-layer-color","",Ue.contentGlobalSecondary),neutralStateLayerOpacityHover:Ce.extend("--ft-button-neutral-state-layer-opacity-hover","",Re.opacity8),neutralStateLayerOpacityFocus:Ce.extend("--ft-button-neutral-state-layer-opacity-focus","",Re.opacity8),neutralStateLayerOpacityActive:Ce.extend("--ft-button-neutral-state-layer-opacity-active","",Re.opacity16),neutralComponentOpacityDisabled:Ce.extend("--ft-button-neutral-component-opacity-disabled","",Re.opacity40)};Ce.extend("--ft-tabs-top-left-border-radius","",Re.borderRadiusS),Ce.extend("--ft-tabs-top-right-border-radius","",Re.borderRadiusS),Ce.extend("--ft-tabs-label-horizontal-padding","",Re.spacing4),Ce.extend("--ft-tabs-label-vertical-padding","",Re.spacing3),Ce.extend("--ft-tabs-label-gap","",Re.spacing1),Ce.extend("--ft-switch-group-horizontal-padding","",Re.spacing1),Ce.extend("--ft-switch-group-vertical-padding","",Re.spacing1),Ce.extend("--ft-switch-group-gap","",Re.spacing1),Ce.extend("--ft-switch-group-background-color","",Ue.backgroundGlobalSurface),Ce.extend("--ft-switch-group-border-color","",Ue.borderGlobalSubtle),Ce.create("--ft-switch-group-border-radius","","SIZE","6px"),Ce.extend("--ft-switch-label-horizontal-padding","",Re.spacing2),Ce.extend("--ft-switch-label-vertical-padding","",Re.spacing1),Ce.extend("--ft-switch-icon-horizontal-padding","",Re.spacing1),Ce.extend("--ft-switch-icon-vertical-padding","",Re.spacing1),Ce.create("--ft-switch-focus-outline-width","","SIZE","2px"),Ce.extend("--ft-switch-focus-focus-ring-color","",Ue.borderActionFocusRing),Ce.extend("--ft-switch-option-border-radius","",Re.borderRadiusS),Ce.extend("--ft-switch-off-state-layer-opacity-hover","",Re.opacity8),Ce.extend("--ft-switch-off-state-layer-opacity-focus","",Re.opacity8),Ce.extend("--ft-switch-off-state-layer-opacity-active","",Re.opacity16),Ce.extend("--ft-switch-off-component-opacity-disabled","",Re.opacity40),Ce.extend("--ft-switch-off-color","",Ue.contentGlobalSubtle),Ce.extend("--ft-switch-off-state-layer-color","",Ue.contentGlobalSubtle),Ce.extend("--ft-chart-1-light","for area color charts",Re.colorBrand40),Ce.extend("--ft-chart-1-base","for line charts",Re.colorBrand0),Ce.extend("--ft-chart-2-light","for area color charts",Re.colorYellow60),Ce.extend("--ft-chart-2-base","for line charts",Re.colorYellow100),Ce.extend("--ft-chart-3-light","",Re.colorUltramarine40),Ce.extend("--ft-chart-3-base","",Re.colorUltramarine70),Ce.extend("--ft-chart-4-light","",Re.colorCyan50),Ce.extend("--ft-chart-4-base","",Re.colorCyan100),Ce.extend("--ft-chart-5-light","",Re.colorRed40),Ce.extend("--ft-chart-5-base","",Re.colorRed60),Ce.extend("--ft-chart-6-light","",Re.colorGreen40),Ce.extend("--ft-chart-6-base","",Re.colorGreen70),Ce.extend("--ft-chart-7-light","",Re.colorOrange70),Ce.extend("--ft-chart-7-base","",Re.colorOrange100),Ce.extend("--ft-chart-8-light","",Re.colorAvocado70),Ce.extend("--ft-chart-8-base","",Re.colorAvocado200),Ce.extend("--ft-chart-9-light","",Re.colorBrown50),Ce.extend("--ft-chart-9-base","",Re.colorBrown200),Ce.extend("--ft-chart-10-light","",Re.colorGray50),Ce.extend("--ft-chart-10-base","",Re.colorGray80),Ce.extend("--ft-chart-monochrome-10","",Re.colorBrand10),Ce.extend("--ft-chart-monochrome-20","",Re.colorBrand20),Ce.extend("--ft-chart-monochrome-30","",Re.colorBrand40),Ce.extend("--ft-chart-monochrome-40","",Re.colorBrand60),Ce.extend("--ft-chart-monochrome-50","",Re.colorBrand0),Ce.extend("--ft-chart-monochrome-60","",Re.colorBrand200),Ce.extend("--ft-chip-large-horizontal-padding","",Re.spacing4),Ce.extend("--ft-chip-large-vertical-padding","",Re.spacing2),Ce.extend("--ft-chip-large-gap","",Re.spacing1),Ce.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Ce.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Ce.extend("--ft-chip-large-border-radius","",Re.borderRadiusPill),Ce.create("--ft-chip-large-border-width","","SIZE","1px"),Ce.extend("--ft-chip-large-icon-size","",Re.iconSize3),Ce.extend("--ft-chip-medium-horizontal-padding","",Re.spacing3),Ce.extend("--ft-chip-medium-vertical-padding","",Re.spacing1),Ce.extend("--ft-chip-medium-gap","",Re.spacing1),Ce.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Ce.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Ce.extend("--ft-chip-medium-border-radius","",Re.borderRadiusPill),Ce.create("--ft-chip-medium-border-width","","SIZE","1px"),Ce.extend("--ft-chip-medium-icon-size","",Re.iconSize2),Ce.extend("--ft-chip-small-horizontal-padding","",Re.spacing2),Ce.extend("--ft-chip-small-vertical-padding","",Re.spacing05),Ce.extend("--ft-chip-small-gap","",Re.spacing1),Ce.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Ce.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Ce.extend("--ft-chip-small-border-radius","",Re.borderRadiusPill),Ce.create("--ft-chip-small-border-width","","SIZE","1px"),Ce.extend("--ft-chip-small-icon-size","",Re.iconSize1),Ce.extend("--ft-chip-neutral-background-color","",Ue.backgroundGlobalOnSurface),Ce.extend("--ft-chip-neutral-color","",Ue.contentGlobalPrimary),Ce.extend("--ft-chip-neutral-border-color","",Ue.borderGlobalSubtle),Ce.extend("--ft-chip-info-background-color","",Ue.backgroundInfoSubtle),Ce.extend("--ft-chip-info-color","",Ue.contentInfoPrimary),Ce.extend("--ft-chip-info-border-color","",Ue.borderInfoPrimary),Ce.extend("--ft-chip-success-background-color","",Ue.backgroundSuccessSubtle),Ce.extend("--ft-chip-success-color","",Ue.contentSuccessPrimary),Ce.extend("--ft-chip-success-border-color","",Ue.borderSuccessPrimary),Ce.extend("--ft-chip-warning-background-color","",Ue.backgroundWarningSubtle),Ce.extend("--ft-chip-warning-color","",Ue.contentWarningPrimary),Ce.extend("--ft-chip-warning-border-color","",Ue.borderWarningPrimary),Ce.extend("--ft-chip-error-background-color","",Ue.backgroundErrorSubtle),Ce.extend("--ft-chip-error-color","",Ue.contentErrorPrimary),Ce.extend("--ft-chip-error-border-color","",Ue.borderErrorPrimary),Ce.create("--ft-notice-border-width","","SIZE","1px"),Ce.extend("--ft-notice-horizontal-padding","",Re.spacing2),Ce.extend("--ft-notice-vertical-padding","",Re.spacing1),Ce.extend("--ft-notice-border-radius","",Re.borderRadiusS),Ce.extend("--ft-notice-gap","",Re.spacing2),Ce.extend("--ft-notice-icon-size","",Re.iconSize3),Ce.extend("--ft-notice-info-background-color","",Ue.backgroundInfoSubtle),Ce.extend("--ft-notice-info-border-color","",Ue.borderInfoPrimary),Ce.extend("--ft-notice-info-color","",Ue.contentInfoPrimary),Ce.extend("--ft-notice-warning-background-color","",Ue.backgroundWarningSubtle),Ce.extend("--ft-notice-warning-border-color","",Ue.borderWarningPrimary),Ce.extend("--ft-notice-warning-color","",Ue.contentWarningPrimary),Ce.extend("--ft-checkbox-label-color","",Ue.contentGlobalPrimary),Ce.extend("--ft-checkbox-checked-background-color","",Ue.contentActionPrimary),Ce.extend("--ft-checkbox-checked-state-layer-color","",Ue.contentActionPrimary),Ce.extend("--ft-checkbox-checked-color","",Ue.contentGlobalOnColor),Ce.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Re.opacity16),Ce.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Re.opacity16),Ce.extend("--ft-checkbox-checked-state-layer-opacity-active","",Re.opacity24),Ce.extend("--ft-checkbox-checked-component-opacity-disabled","",Re.opacity40),Ce.extend("--ft-checkbox-unchecked-border-color","",Re.colorGray80),Ce.extend("--ft-checkbox-unchecked-state-layer-color","",Re.colorGray80),Ce.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Re.opacity16),Ce.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Re.opacity16),Ce.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Re.opacity24),Ce.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Re.opacity40),Ce.extend("--ft-checkbox-focus-focus-ring-color","",Ue.borderActionFocusRing),Ce.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Ce.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Ce.extend("--ft-checkbox-gap","",Re.spacing3),Ce.extend("--ft-toggle-off-state-layer-opacity-hover","",Re.opacity16),Ce.extend("--ft-toggle-off-state-layer-opacity-focus","",Re.opacity16),Ce.extend("--ft-toggle-off-state-layer-opacity-active","",Re.opacity24),Ce.extend("--ft-toggle-off-component-opacity-disabled","",Re.opacity40),Ce.extend("--ft-toggle-off-background-color","",Ue.contentGlobalSubtle),Ce.extend("--ft-toggle-off-icon-color","",Ue.contentGlobalSubtle),Ce.extend("--ft-toggle-off-state-layer-color","",Ue.contentGlobalSubtle),Ce.extend("--ft-toggle-on-state-layer-opacity-hover","",Re.opacity16),Ce.extend("--ft-toggle-on-state-layer-opacity-focus","",Re.opacity16),Ce.extend("--ft-toggle-on-state-layer-opacity-active","",Re.opacity24),Ce.extend("--ft-toggle-on-component-opacity-disabled","",Re.opacity40),Ce.extend("--ft-toggle-on-background-color","",Ue.contentActionPrimary),Ce.extend("--ft-toggle-on-icon-color","",Ue.contentActionPrimary),Ce.extend("--ft-toggle-on-state-layer-color","",Ue.contentActionPrimary),Ce.extend("--ft-toggle-label-color","",Ue.contentGlobalPrimary),Ce.extend("--ft-toggle-focus-focus-ring-color","",Ue.borderActionFocusRing),Ce.extend("--ft-toggle-gap","",Re.spacing3),Ce.extend("--ft-radio-label-color","",Ue.contentGlobalPrimary),Ce.extend("--ft-radio-selected-color","",Ue.contentActionPrimary),Ce.extend("--ft-radio-selected-state-layer-color","",Ue.contentActionPrimary),Ce.extend("--ft-radio-selected-state-layer-opacity-hover","",Re.opacity16),Ce.extend("--ft-radio-selected-state-layer-opacity-focus","",Re.opacity16),Ce.extend("--ft-radio-selected-state-layer-opacity-active","",Re.opacity24),Ce.extend("--ft-radio-selected-component-opacity-disabled","",Re.opacity40),Ce.extend("--ft-radio-unselected-state-layer-color","",Re.colorGray80),Ce.extend("--ft-radio-unselected-state-layer-opacity-hover","",Re.opacity16),Ce.extend("--ft-radio-unselected-state-layer-opacity-focus","",Re.opacity16),Ce.extend("--ft-radio-unselected-state-layer-opacity-active","",Re.opacity24),Ce.extend("--ft-radio-unselected-component-opacity-disabled","",Re.opacity40),Ce.extend("--ft-radio-focus-focus-ring-color","",Ue.borderActionFocusRing),Ce.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Ce.create("--ft-radio-focus-outline-width","","SIZE","2px"),Ce.extend("--ft-radio-gap","",Re.spacing3),Ce.extend("--ft-notification-icon-size","",Re.iconSize4),Ce.extend("--ft-notification-horizontal-padding","",Re.spacing4),Ce.extend("--ft-notification-vertical-padding","",Re.spacing4),Ce.extend("--ft-notification-info-background-color","",Ue.backgroundInfoSubtle),Ce.extend("--ft-notification-info-color","",Ue.contentInfoPrimary),Ce.extend("--ft-notification-info-border-color","",Ue.borderInfoPrimary),Ce.extend("--ft-notification-success-background-color","",Ue.backgroundSuccessSubtle),Ce.extend("--ft-notification-success-color","",Ue.contentSuccessPrimary),Ce.extend("--ft-notification-success-border-color","",Ue.borderSuccessPrimary),Ce.extend("--ft-notification-warning-background-color","",Ue.backgroundWarningSubtle),Ce.extend("--ft-notification-warning-color","",Ue.contentWarningPrimary),Ce.extend("--ft-notification-warning-border-color","",Ue.borderWarningPrimary),Ce.extend("--ft-notification-error-background-color","",Ue.backgroundErrorSubtle),Ce.extend("--ft-notification-error-color","",Ue.contentErrorPrimary),Ce.extend("--ft-notification-error-border-color","",Ue.borderErrorPrimary),Ce.extend("--ft-notification-border-radius","",Re.borderRadiusPill),Ce.create("--ft-notification-border-width","","SIZE","1px"),Ce.extend("--ft-notification-gap-leading","",Re.spacing2),Ce.extend("--ft-notification-gap-trailing","",Re.spacing8);const Le={colorPrimary:Ce.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:Ce.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:Ce.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:Ce.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:Ce.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:Ce.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:Ce.create("--ft-color-error","","COLOR","#B00020"),colorOutline:Ce.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:Ce.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:Ce.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:Ce.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:Ce.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:Ce.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:Ce.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:Ce.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:Ce.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:Ce.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:Ce.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:Ce.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:Ce.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:Ce.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:Ce.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:Ce.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:Ce.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:Ce.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:Ce.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:Ce.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:Ce.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:Ce.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:Ce.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:Ce.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:Ce.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:Ce.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:Ce.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:Ce.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:Ce.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:Ce.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:Ce.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:Ce.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:Ce.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:Ce.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:Ce.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:Ce.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:Ce.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:Ce.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:Ce.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:Ce.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:Ce.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:Ce.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:Ce.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:Ce.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:Ce.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:Ce.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:Ce.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:Ce.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:Ce.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:Ce.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:Ce.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:Ce.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:Ce.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:Ce.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:Ce.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},We=window,ze=We.ShadowRoot&&(void 0===We.ShadyCSS||We.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;
|
|
80
85
|
/**
|
|
81
86
|
* @license
|
|
82
87
|
* Copyright 2019 Google LLC
|
|
83
88
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
84
|
-
*/class
|
|
89
|
+
*/class Fe extends Se{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)=>{ze?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),i=We.litNonce;void 0!==i&&o.setAttribute("nonce",i),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var Ke,Be=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 Ze=Symbol("constructorPrototype"),De=Symbol("constructorName"),Ae=Symbol("exportpartsDebouncer");class Me extends Fe{constructor(){super(),this[Ke]=new U(5),this[De]=this.constructor.name,this[Ze]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[De]&&Object.setPrototypeOf(this,this[Ze])}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[Ae].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 f=[...c.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}Ke=Ae,Be([N()],Me.prototype,"exportpartsPrefix",void 0),Be([z([])],Me.prototype,"exportpartsPrefixes",void 0),Be([N()],Me.prototype,"customStylesheet",void 0);const Pe=Ce.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");$t`
|
|
85
90
|
.highlight-html-match {
|
|
86
|
-
background: ${
|
|
91
|
+
background: ${Pe};
|
|
87
92
|
}
|
|
88
|
-
`;const
|
|
93
|
+
`;const He=$t`
|
|
89
94
|
.ft-no-text-select {
|
|
90
95
|
-webkit-touch-callout: none;
|
|
91
96
|
-webkit-user-select: none;
|
|
@@ -94,7 +99,7 @@ let we=class extends At{constructor(){super(...arguments),this.renderOptions={ho
|
|
|
94
99
|
-ms-user-select: none;
|
|
95
100
|
user-select: none;
|
|
96
101
|
}
|
|
97
|
-
|
|
102
|
+
`;$t`
|
|
98
103
|
.ft-word-wrap {
|
|
99
104
|
white-space: normal;
|
|
100
105
|
word-wrap: break-word;
|
|
@@ -106,7 +111,7 @@ let we=class extends At{constructor(){super(...arguments),this.renderOptions={ho
|
|
|
106
111
|
-webkit-hyphens: auto;
|
|
107
112
|
hyphens: auto
|
|
108
113
|
}
|
|
109
|
-
`;const
|
|
114
|
+
`;const je=$t`
|
|
110
115
|
.ft-safari-ellipsis-fix {
|
|
111
116
|
margin-right: 0;
|
|
112
117
|
|
|
@@ -117,108 +122,108 @@ let we=class extends At{constructor(){super(...arguments),this.renderOptions={ho
|
|
|
117
122
|
display: inline-block;
|
|
118
123
|
width: 0;
|
|
119
124
|
}
|
|
120
|
-
`;window.ftReduxStores||(window.ftReduxStores={});const
|
|
125
|
+
`;window.ftReduxStores||(window.ftReduxStores={});const Te=Symbol("elementInternals");var _e,Ge,Ve;const Ye=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Ve=null===(Ge=null===(_e=window.safari)||void 0===_e?void 0:_e.pushNotification)||void 0===Ge?void 0:Ge.toString())&&void 0!==Ve?Ve:""),Je=Symbol.for(""),qe=t=>{if(t?.r===Je)return t?._$litStatic$},Xe=t=>({_$litStatic$:t,r:Je}),Qe=new Map,to=(t=>(e,...o)=>{const i=o.length;let r,n;const a=[],s=[];let l,c=0,f=!1;for(;c<i;){for(l=e[c];c<i&&void 0!==(n=o[c],r=qe(n));)l+=r+e[++c],f=!0;c!==i&&s.push(n),a.push(l),c++}if(c===i&&a.push(e[i]),f){const t=a.join("$$lit$$");void 0===(e=Qe.get(t))&&(a.raw=a,Qe.set(t,e=a)),o=s}return t(e,...o)})(et);
|
|
121
126
|
/**
|
|
122
127
|
* @license
|
|
123
128
|
* Copyright 2020 Google LLC
|
|
124
129
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
125
|
-
*/var
|
|
130
|
+
*/var eo;!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"}(eo||(eo={}));const oo=Ce.extend("--ft-typography-font-family","",Le.titleFont),io=Ce.extend("--ft-typography-font-family","",Le.contentFont),ro={fontFamily:io,fontSize:Ce.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:Ce.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:Ce.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:Ce.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:Ce.create("--ft-typography-text-transform","","UNKNOWN","inherit")},no=Ce.extend("--ft-typography-title-font-family","",oo),ao=Ce.extend("--ft-typography-title-font-size","",ro.fontSize,"20px"),so=Ce.extend("--ft-typography-title-font-weight","",ro.fontWeight,"normal"),lo=Ce.extend("--ft-typography-title-letter-spacing","",ro.letterSpacing,"0.15px"),co=Ce.extend("--ft-typography-title-line-height","",ro.lineHeight,"1.2"),fo=Ce.extend("--ft-typography-title-text-transform","",ro.textTransform,"inherit"),po=Ce.extend("--ft-typography-title-dense-font-family","",oo),ho=Ce.extend("--ft-typography-title-dense-font-size","",ro.fontSize,"14px"),uo=Ce.extend("--ft-typography-title-dense-font-weight","",ro.fontWeight,"normal"),yo=Ce.extend("--ft-typography-title-dense-letter-spacing","",ro.letterSpacing,"0.105px"),go=Ce.extend("--ft-typography-title-dense-line-height","",ro.lineHeight,"1.7"),bo=Ce.extend("--ft-typography-title-dense-text-transform","",ro.textTransform,"inherit"),mo=Ce.extend("--ft-typography-subtitle1-font-family","",io),xo=Ce.extend("--ft-typography-subtitle1-font-size","",ro.fontSize,"16px"),vo=Ce.extend("--ft-typography-subtitle1-font-weight","",ro.fontWeight,"600"),Oo=Ce.extend("--ft-typography-subtitle1-letter-spacing","",ro.letterSpacing,"0.144px"),wo=Ce.extend("--ft-typography-subtitle1-line-height","",ro.lineHeight,"1.5"),So=Ce.extend("--ft-typography-subtitle1-text-transform","",ro.textTransform,"inherit"),No=Ce.extend("--ft-typography-subtitle2-font-family","",io),$o=Ce.extend("--ft-typography-subtitle2-font-size","",ro.fontSize,"14px"),Co=Ce.extend("--ft-typography-subtitle2-font-weight","",ro.fontWeight,"normal"),ko=Ce.extend("--ft-typography-subtitle2-letter-spacing","",ro.letterSpacing,"0.098px"),Ro=Ce.extend("--ft-typography-subtitle2-line-height","",ro.lineHeight,"1.7"),Eo=Ce.extend("--ft-typography-subtitle2-text-transform","",ro.textTransform,"inherit"),Uo=Ce.extend("--ft-typography-body1-font-family","",io),Io=Ce.extend("--ft-typography-body1-font-size","",ro.fontSize,"16px"),Lo=Ce.extend("--ft-typography-body1-font-weight","",ro.fontWeight,"normal"),Wo=Ce.extend("--ft-typography-body1-letter-spacing","",ro.letterSpacing,"0.496px"),zo=Ce.extend("--ft-typography-body1-line-height","",ro.lineHeight,"1.5"),Fo=Ce.extend("--ft-typography-body1-text-transform","",ro.textTransform,"inherit"),Ko={fontFamily:Ce.extend("--ft-typography-body2-font-family","",io),fontSize:Ce.extend("--ft-typography-body2-font-size","",ro.fontSize,"14px"),fontWeight:Ce.extend("--ft-typography-body2-font-weight","",ro.fontWeight,"normal"),letterSpacing:Ce.extend("--ft-typography-body2-letter-spacing","",ro.letterSpacing,"0.252px"),lineHeight:Ce.extend("--ft-typography-body2-line-height","",ro.lineHeight,"1.4"),textTransform:Ce.extend("--ft-typography-body2-text-transform","",ro.textTransform,"inherit")},Bo=Ce.extend("--ft-typography-caption-font-family","",io),Zo=Ce.extend("--ft-typography-caption-font-size","",ro.fontSize,"12px"),Do=Ce.extend("--ft-typography-caption-font-weight","",ro.fontWeight,"normal"),Ao=Ce.extend("--ft-typography-caption-letter-spacing","",ro.letterSpacing,"0.396px"),Mo=Ce.extend("--ft-typography-caption-line-height","",ro.lineHeight,"1.33"),Po=Ce.extend("--ft-typography-caption-text-transform","",ro.textTransform,"inherit"),Ho=Ce.extend("--ft-typography-breadcrumb-font-family","",io),jo=Ce.extend("--ft-typography-breadcrumb-font-size","",ro.fontSize,"10px"),To=Ce.extend("--ft-typography-breadcrumb-font-weight","",ro.fontWeight,"normal"),_o=Ce.extend("--ft-typography-breadcrumb-letter-spacing","",ro.letterSpacing,"0.33px"),Go=Ce.extend("--ft-typography-breadcrumb-line-height","",ro.lineHeight,"1.6"),Vo=Ce.extend("--ft-typography-breadcrumb-text-transform","",ro.textTransform,"inherit"),Yo=Ce.extend("--ft-typography-overline-font-family","",io),Jo=Ce.extend("--ft-typography-overline-font-size","",ro.fontSize,"10px"),qo=Ce.extend("--ft-typography-overline-font-weight","",ro.fontWeight,"normal"),Xo=Ce.extend("--ft-typography-overline-letter-spacing","",ro.letterSpacing,"1.5px"),Qo=Ce.extend("--ft-typography-overline-line-height","",ro.lineHeight,"1.6"),ti=Ce.extend("--ft-typography-overline-text-transform","",ro.textTransform,"uppercase"),ei={fontFamily:Ce.extend("--ft-typography-button-font-family","",io),fontSize:Ce.extend("--ft-typography-button-font-size","",ro.fontSize,"14px"),fontWeight:Ce.extend("--ft-typography-button-font-weight","",ro.fontWeight,"600"),letterSpacing:Ce.extend("--ft-typography-button-letter-spacing","",ro.letterSpacing,"1.246px"),lineHeight:Ce.extend("--ft-typography-button-line-height","",ro.lineHeight,"1.15"),textTransform:Ce.extend("--ft-typography-button-text-transform","",ro.textTransform,"uppercase")},oi=$t`
|
|
126
131
|
.ft-typography--title {
|
|
127
|
-
font-family: ${
|
|
128
|
-
font-size: ${
|
|
129
|
-
font-weight: ${
|
|
130
|
-
letter-spacing: ${
|
|
131
|
-
line-height: ${
|
|
132
|
-
text-transform: ${
|
|
133
|
-
}
|
|
134
|
-
`,
|
|
132
|
+
font-family: ${no};
|
|
133
|
+
font-size: ${ao};
|
|
134
|
+
font-weight: ${so};
|
|
135
|
+
letter-spacing: ${lo};
|
|
136
|
+
line-height: ${co};
|
|
137
|
+
text-transform: ${fo};
|
|
138
|
+
}
|
|
139
|
+
`,ii=$t`
|
|
135
140
|
.ft-typography--title-dense {
|
|
136
|
-
font-family: ${
|
|
137
|
-
font-size: ${
|
|
138
|
-
font-weight: ${
|
|
139
|
-
letter-spacing: ${
|
|
140
|
-
line-height: ${
|
|
141
|
-
text-transform: ${
|
|
142
|
-
}
|
|
143
|
-
`,
|
|
141
|
+
font-family: ${po};
|
|
142
|
+
font-size: ${ho};
|
|
143
|
+
font-weight: ${uo};
|
|
144
|
+
letter-spacing: ${yo};
|
|
145
|
+
line-height: ${go};
|
|
146
|
+
text-transform: ${bo};
|
|
147
|
+
}
|
|
148
|
+
`,ri=$t`
|
|
144
149
|
.ft-typography--subtitle1 {
|
|
145
|
-
font-family: ${
|
|
146
|
-
font-size: ${
|
|
147
|
-
font-weight: ${
|
|
148
|
-
letter-spacing: ${
|
|
149
|
-
line-height: ${
|
|
150
|
-
text-transform: ${
|
|
151
|
-
}
|
|
152
|
-
`,
|
|
150
|
+
font-family: ${mo};
|
|
151
|
+
font-size: ${xo};
|
|
152
|
+
font-weight: ${vo};
|
|
153
|
+
letter-spacing: ${Oo};
|
|
154
|
+
line-height: ${wo};
|
|
155
|
+
text-transform: ${So};
|
|
156
|
+
}
|
|
157
|
+
`,ni=$t`
|
|
153
158
|
.ft-typography--subtitle2 {
|
|
154
|
-
font-family: ${
|
|
155
|
-
font-size: ${
|
|
156
|
-
font-weight: ${
|
|
157
|
-
letter-spacing: ${
|
|
158
|
-
line-height: ${
|
|
159
|
-
text-transform: ${
|
|
159
|
+
font-family: ${No};
|
|
160
|
+
font-size: ${$o};
|
|
161
|
+
font-weight: ${Co};
|
|
162
|
+
letter-spacing: ${ko};
|
|
163
|
+
line-height: ${Ro};
|
|
164
|
+
text-transform: ${Eo};
|
|
160
165
|
}
|
|
161
166
|
|
|
162
|
-
`,
|
|
167
|
+
`,ai=$t`
|
|
163
168
|
.ft-typography--body1 {
|
|
164
|
-
font-family: ${
|
|
165
|
-
font-size: ${
|
|
166
|
-
font-weight: ${
|
|
167
|
-
letter-spacing: ${
|
|
168
|
-
line-height: ${
|
|
169
|
-
text-transform: ${
|
|
170
|
-
}
|
|
171
|
-
`,
|
|
169
|
+
font-family: ${Uo};
|
|
170
|
+
font-size: ${Io};
|
|
171
|
+
font-weight: ${Lo};
|
|
172
|
+
letter-spacing: ${Wo};
|
|
173
|
+
line-height: ${zo};
|
|
174
|
+
text-transform: ${Fo};
|
|
175
|
+
}
|
|
176
|
+
`,si=$t`
|
|
172
177
|
.ft-typography--body2 {
|
|
173
|
-
font-family: ${
|
|
174
|
-
font-size: ${
|
|
175
|
-
font-weight: ${
|
|
176
|
-
letter-spacing: ${
|
|
177
|
-
line-height: ${
|
|
178
|
-
text-transform: ${
|
|
179
|
-
}
|
|
180
|
-
`,
|
|
178
|
+
font-family: ${Ko.fontFamily};
|
|
179
|
+
font-size: ${Ko.fontSize};
|
|
180
|
+
font-weight: ${Ko.fontWeight};
|
|
181
|
+
letter-spacing: ${Ko.letterSpacing};
|
|
182
|
+
line-height: ${Ko.lineHeight};
|
|
183
|
+
text-transform: ${Ko.textTransform};
|
|
184
|
+
}
|
|
185
|
+
`,li=$t`
|
|
181
186
|
.ft-typography--caption {
|
|
182
|
-
font-family: ${
|
|
183
|
-
font-size: ${
|
|
184
|
-
font-weight: ${
|
|
185
|
-
letter-spacing: ${
|
|
186
|
-
line-height: ${
|
|
187
|
-
text-transform: ${
|
|
188
|
-
}
|
|
189
|
-
`,
|
|
187
|
+
font-family: ${Bo};
|
|
188
|
+
font-size: ${Zo};
|
|
189
|
+
font-weight: ${Do};
|
|
190
|
+
letter-spacing: ${Ao};
|
|
191
|
+
line-height: ${Mo};
|
|
192
|
+
text-transform: ${Po};
|
|
193
|
+
}
|
|
194
|
+
`,ci=$t`
|
|
190
195
|
.ft-typography--breadcrumb {
|
|
191
|
-
font-family: ${
|
|
192
|
-
font-size: ${
|
|
193
|
-
font-weight: ${
|
|
194
|
-
letter-spacing: ${
|
|
195
|
-
line-height: ${
|
|
196
|
-
text-transform: ${
|
|
197
|
-
}
|
|
198
|
-
`,
|
|
196
|
+
font-family: ${Ho};
|
|
197
|
+
font-size: ${jo};
|
|
198
|
+
font-weight: ${To};
|
|
199
|
+
letter-spacing: ${_o};
|
|
200
|
+
line-height: ${Go};
|
|
201
|
+
text-transform: ${Vo};
|
|
202
|
+
}
|
|
203
|
+
`,fi=$t`
|
|
199
204
|
.ft-typography--overline {
|
|
200
|
-
font-family: ${
|
|
201
|
-
font-size: ${
|
|
202
|
-
font-weight: ${
|
|
203
|
-
letter-spacing: ${
|
|
204
|
-
line-height: ${
|
|
205
|
-
text-transform: ${
|
|
206
|
-
}
|
|
207
|
-
`,
|
|
205
|
+
font-family: ${Yo};
|
|
206
|
+
font-size: ${Jo};
|
|
207
|
+
font-weight: ${qo};
|
|
208
|
+
letter-spacing: ${Xo};
|
|
209
|
+
line-height: ${Qo};
|
|
210
|
+
text-transform: ${ti};
|
|
211
|
+
}
|
|
212
|
+
`,pi=$t`
|
|
208
213
|
.ft-typography--button {
|
|
209
|
-
font-family: ${
|
|
210
|
-
font-size: ${
|
|
211
|
-
font-weight: ${
|
|
212
|
-
letter-spacing: ${
|
|
213
|
-
line-height: ${
|
|
214
|
-
text-transform: ${
|
|
215
|
-
}
|
|
216
|
-
`,
|
|
214
|
+
font-family: ${ei.fontFamily};
|
|
215
|
+
font-size: ${ei.fontSize};
|
|
216
|
+
font-weight: ${ei.fontWeight};
|
|
217
|
+
letter-spacing: ${ei.letterSpacing};
|
|
218
|
+
line-height: ${ei.lineHeight};
|
|
219
|
+
text-transform: ${ei.textTransform};
|
|
220
|
+
}
|
|
221
|
+
`,hi=$t`
|
|
217
222
|
.ft-typography {
|
|
218
223
|
vertical-align: inherit;
|
|
219
224
|
}
|
|
220
|
-
`,
|
|
221
|
-
.ft-typography--${
|
|
225
|
+
`,di=[Object.keys(Ee).map((t=>function(t){const e=Ee[t];return $t`
|
|
226
|
+
.ft-typography--${Nt(t)} {
|
|
222
227
|
font-family: ${e.fontFamily};
|
|
223
228
|
font-size: ${e.fontSize};
|
|
224
229
|
font-weight: ${e.fontWeight};
|
|
@@ -226,25 +231,25 @@ let we=class extends At{constructor(){super(...arguments),this.renderOptions={ho
|
|
|
226
231
|
line-height: ${e.lineHeight};
|
|
227
232
|
text-transform: ${e.textCase};
|
|
228
233
|
}
|
|
229
|
-
`}(t)))];var
|
|
230
|
-
<${
|
|
234
|
+
`}(t)))];var ui=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 yi extends Me{constructor(){super(...arguments),this.variant=eo.body1}render(){return this.element?to`
|
|
235
|
+
<${Xe(this.element)}
|
|
231
236
|
class="ft-typography ft-typography--${this.variant}">
|
|
232
237
|
<slot></slot>
|
|
233
|
-
</${
|
|
234
|
-
`:
|
|
238
|
+
</${Xe(this.element)}>
|
|
239
|
+
`:to`
|
|
235
240
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
236
|
-
`}}
|
|
241
|
+
`}}yi.styles=[oi,ii,ri,ni,ai,si,li,ci,fi,pi,hi,...di],ui([N()],yi.prototype,"element",void 0),ui([N()],yi.prototype,"variant",void 0),W("ft-typography")(yi);
|
|
237
242
|
/**
|
|
238
243
|
* @license
|
|
239
244
|
* Copyright 2017 Google LLC
|
|
240
245
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
241
246
|
*/
|
|
242
|
-
const
|
|
247
|
+
const gi=1,bi=2,mi=t=>(...e)=>({_$litDirective$:t,values:e});class xi{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)}}
|
|
243
248
|
/**
|
|
244
249
|
* @license
|
|
245
250
|
* Copyright 2020 Google LLC
|
|
246
251
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
247
|
-
*/const{D:
|
|
252
|
+
*/const{D:vi}=bt,Oi=()=>document.createComment(""),wi=(t,e,o)=>{const i=t._$AA.parentNode,r=void 0===e?t._$AB:e._$AA;if(void 0===o){const e=i.insertBefore(Oi(),r),n=i.insertBefore(Oi(),r);o=new vi(e,n,t,t.options)}else{const e=o._$AB.nextSibling,n=o._$AM,a=n!==t;if(a){let e;o._$AQ?.(t),o._$AM=t,void 0!==o._$AP&&(e=t._$AU)!==n._$AU&&o._$AP(e)}if(e!==r||a){let t=o._$AA;for(;t!==e;){const e=t.nextSibling;i.insertBefore(t,r),t=e}}}return o},Si=(t,e,o=t)=>(t._$AI(e,o),t),Ni={},$i=t=>{t._$AP?.(!1,!0);let e=t._$AA;const o=t._$AB.nextSibling;for(;e!==o;){const t=e.nextSibling;e.remove(),e=t}},Ci=(t,e,o)=>{const i=new Map;for(let r=e;r<=o;r++)i.set(t[r],r);return i},ki=mi(class extends xi{constructor(t){if(super(t),t.type!==bi)throw Error("repeat() can only be used in text expressions")}ht(t,e,o){let i;void 0===o?o=e:void 0!==e&&(i=e);const r=[],n=[];let a=0;for(const e of t)r[a]=i?i(e,a):a,n[a]=o(e,a),a++;return{values:n,keys:r}}render(t,e,o){return this.ht(t,e,o).values}update(t,[e,o,i]){const r=(t=>t._$AH)(t),{values:n,keys:a}=this.ht(e,o,i);if(!Array.isArray(r))return this.dt=a,n;const s=this.dt??=[],l=[];let c,f,p=0,h=r.length-1,d=0,u=n.length-1;for(;p<=h&&d<=u;)if(null===r[p])p++;else if(null===r[h])h--;else if(s[p]===a[d])l[d]=Si(r[p],n[d]),p++,d++;else if(s[h]===a[u])l[u]=Si(r[h],n[u]),h--,u--;else if(s[p]===a[u])l[u]=Si(r[p],n[u]),wi(t,l[u+1],r[p]),p++,u--;else if(s[h]===a[d])l[d]=Si(r[h],n[d]),wi(t,r[p],r[h]),h--,d++;else if(void 0===c&&(c=Ci(a,d,u),f=Ci(s,p,h)),c.has(s[p]))if(c.has(s[h])){const e=f.get(a[d]),o=void 0!==e?r[e]:null;if(null===o){const e=wi(t,r[p]);Si(e,n[d]),l[d]=e}else l[d]=Si(o,n[d]),wi(t,r[p],o),r[e]=null;d++}else $i(r[h]),h--;else $i(r[p]),p++;for(;d<=u;){const e=wi(t,l[u+1]);Si(e,n[d]),l[d++]=e}for(;p<=h;){const t=r[p++];null!==t&&$i(t)}return this.dt=a,((t,e=Ni)=>{t._$AH=e})(t,l),ot}}),Ri=Ce.extend("--ft-ripple-color","",Le.colorContent),Ei={color:Ri,backgroundColor:Ce.extend("--ft-ripple-background-color","",Ri),opacityContentOnSurfacePressed:Ce.external(Le.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:Ce.external(Le.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:Ce.external(Le.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:Ce.external(Le.opacityContentOnSurfaceSelected,"Design system"),borderRadius:Ce.create("--ft-ripple-border-radius","","SIZE","0px")},Ui=Ce.extend("--ft-ripple-color","",Le.colorPrimary),Ii=Ui,Li=Ce.extend("--ft-ripple-background-color","",Ui),Wi=Ce.extend("--ft-ripple-color","",Le.colorSecondary),zi=Wi,Fi=Ce.extend("--ft-ripple-background-color","",Wi),Ki=$t`
|
|
248
253
|
:host {
|
|
249
254
|
display: contents;
|
|
250
255
|
}
|
|
@@ -257,7 +262,7 @@ const yi=1,gi=2,bi=t=>(...e)=>({_$litDirective$:t,values:e});class mi{constructo
|
|
|
257
262
|
|
|
258
263
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
259
264
|
overflow: hidden;
|
|
260
|
-
border-radius: ${
|
|
265
|
+
border-radius: ${Ei.borderRadius};
|
|
261
266
|
}
|
|
262
267
|
|
|
263
268
|
.ft-ripple .ft-ripple--background,
|
|
@@ -291,27 +296,27 @@ const yi=1,gi=2,bi=t=>(...e)=>({_$litDirective$:t,values:e});class mi{constructo
|
|
|
291
296
|
}
|
|
292
297
|
|
|
293
298
|
.ft-ripple .ft-ripple--background {
|
|
294
|
-
background-color: ${
|
|
299
|
+
background-color: ${Ei.backgroundColor};
|
|
295
300
|
}
|
|
296
301
|
|
|
297
302
|
.ft-ripple .ft-ripple--effect {
|
|
298
|
-
background-color: ${
|
|
303
|
+
background-color: ${Ei.color};
|
|
299
304
|
}
|
|
300
305
|
|
|
301
306
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
302
|
-
background-color: ${
|
|
307
|
+
background-color: ${Fi};
|
|
303
308
|
}
|
|
304
309
|
|
|
305
310
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
306
|
-
background-color: ${
|
|
311
|
+
background-color: ${zi};
|
|
307
312
|
}
|
|
308
313
|
|
|
309
314
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
310
|
-
background-color: ${
|
|
315
|
+
background-color: ${Li};
|
|
311
316
|
}
|
|
312
317
|
|
|
313
318
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
314
|
-
background-color: ${
|
|
319
|
+
background-color: ${Ii};
|
|
315
320
|
}
|
|
316
321
|
|
|
317
322
|
.ft-ripple .ft-ripple--background {
|
|
@@ -341,22 +346,22 @@ const yi=1,gi=2,bi=t=>(...e)=>({_$litDirective$:t,values:e});class mi{constructo
|
|
|
341
346
|
}
|
|
342
347
|
|
|
343
348
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
344
|
-
opacity: ${
|
|
349
|
+
opacity: ${Ei.opacityContentOnSurfaceHover};
|
|
345
350
|
}
|
|
346
351
|
|
|
347
352
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
348
|
-
opacity: ${
|
|
353
|
+
opacity: ${Ei.opacityContentOnSurfaceSelected};
|
|
349
354
|
}
|
|
350
355
|
|
|
351
356
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
352
|
-
opacity: ${
|
|
357
|
+
opacity: ${Ei.opacityContentOnSurfaceFocused};
|
|
353
358
|
}
|
|
354
359
|
|
|
355
360
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
356
|
-
opacity: ${
|
|
361
|
+
opacity: ${Ei.opacityContentOnSurfacePressed};
|
|
357
362
|
transform: translate(-50%, -50%) scale(1);
|
|
358
363
|
}
|
|
359
|
-
`,
|
|
364
|
+
`,Bi={color:Ce.extend("--ft-loader-color","",Le.colorPrimary),size:Ce.create("--ft-loader-size","","SIZE","80px")},Zi=$t`
|
|
360
365
|
:host {
|
|
361
366
|
line-height: 0;
|
|
362
367
|
}
|
|
@@ -365,8 +370,8 @@ const yi=1,gi=2,bi=t=>(...e)=>({_$litDirective$:t,values:e});class mi{constructo
|
|
|
365
370
|
display: inline-block;
|
|
366
371
|
position: relative;
|
|
367
372
|
|
|
368
|
-
width: ${
|
|
369
|
-
height: ${
|
|
373
|
+
width: ${Bi.size};
|
|
374
|
+
height: ${Bi.size};
|
|
370
375
|
}
|
|
371
376
|
|
|
372
377
|
.ft-loader div {
|
|
@@ -375,7 +380,7 @@ const yi=1,gi=2,bi=t=>(...e)=>({_$litDirective$:t,values:e});class mi{constructo
|
|
|
375
380
|
width: 25%;
|
|
376
381
|
height: 25%;
|
|
377
382
|
border-radius: 50%;
|
|
378
|
-
background: ${
|
|
383
|
+
background: ${Bi.color};
|
|
379
384
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
380
385
|
}
|
|
381
386
|
|
|
@@ -422,10 +427,10 @@ const yi=1,gi=2,bi=t=>(...e)=>({_$litDirective$:t,values:e});class mi{constructo
|
|
|
422
427
|
transform: translate(0, 0);
|
|
423
428
|
}
|
|
424
429
|
100% {
|
|
425
|
-
transform: translate(calc(0.35 * ${
|
|
430
|
+
transform: translate(calc(0.35 * ${Bi.size}), 0);
|
|
426
431
|
}
|
|
427
432
|
}
|
|
428
|
-
`,
|
|
433
|
+
`,Di={size:Ce.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Ce.extend("--ft-icon-fluid-topics-font-family","",Ce.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Ce.extend("--ft-icon-file-format-font-family","",Ce.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Ce.extend("--ft-icon-material-font-family","",Ce.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Ce.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Ai=$t`
|
|
429
434
|
:host, i.ft-icon {
|
|
430
435
|
display: inline-flex;
|
|
431
436
|
align-items: center;
|
|
@@ -434,14 +439,14 @@ const yi=1,gi=2,bi=t=>(...e)=>({_$litDirective$:t,values:e});class mi{constructo
|
|
|
434
439
|
}
|
|
435
440
|
|
|
436
441
|
:host {
|
|
437
|
-
width: ${
|
|
438
|
-
height: ${
|
|
442
|
+
width: ${Di.size};
|
|
443
|
+
height: ${Di.size};
|
|
439
444
|
}
|
|
440
445
|
|
|
441
446
|
i.ft-icon {
|
|
442
447
|
width: 100%;
|
|
443
448
|
height: 100%;
|
|
444
|
-
font-size: ${
|
|
449
|
+
font-size: ${Di.size};
|
|
445
450
|
line-height: 1;
|
|
446
451
|
font-weight: normal;
|
|
447
452
|
text-transform: none;
|
|
@@ -452,28 +457,28 @@ const yi=1,gi=2,bi=t=>(...e)=>({_$litDirective$:t,values:e});class mi{constructo
|
|
|
452
457
|
text-rendering: auto;
|
|
453
458
|
-webkit-font-smoothing: antialiased;
|
|
454
459
|
-moz-osx-font-smoothing: grayscale;
|
|
455
|
-
vertical-align: ${
|
|
460
|
+
vertical-align: ${Di.verticalAlign};
|
|
456
461
|
}
|
|
457
462
|
|
|
458
463
|
i.ft-icon.ft-icon--fluid-topics {
|
|
459
|
-
font-family: ${
|
|
464
|
+
font-family: ${Di.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
460
465
|
|
|
461
466
|
/* Ugly fix because font is broken */
|
|
462
|
-
font-size: calc(0.75 * ${
|
|
463
|
-
line-height: ${
|
|
467
|
+
font-size: calc(0.75 * ${Di.size});
|
|
468
|
+
line-height: ${Di.size};
|
|
464
469
|
position: relative;
|
|
465
470
|
top: -4%;
|
|
466
471
|
justify-content: center;
|
|
467
472
|
}
|
|
468
473
|
|
|
469
474
|
.ft-icon--file-format {
|
|
470
|
-
font-family: ${
|
|
475
|
+
font-family: ${Di.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
471
476
|
}
|
|
472
477
|
|
|
473
478
|
.ft-icon--material {
|
|
474
|
-
font-family: ${
|
|
479
|
+
font-family: ${Di.materialFontFamily}, "Material Icons", sans-serif;
|
|
475
480
|
}
|
|
476
|
-
`,
|
|
481
|
+
`,Mi=Ce.extend("--ft-button-color","",Le.colorPrimary),Pi={backgroundColor:Ce.extend("--ft-button-background-color","",Le.colorSurface),borderRadius:Ce.extend("--ft-button-border-radius","",Le.borderRadiusL),color:Mi,fontSize:Ce.extend("--ft-button-font-size","",ei.fontSize),iconSize:Ce.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:Ce.extend("--ft-button-ripple-color","",Mi),verticalPadding:Ce.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:Ce.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:Ce.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:Ce.external(Le.colorOpacityDisabled,"Design system")},Hi=Ce.extend("--ft-button-primary-color","",Ce.extend("--ft-button-color","",Le.colorOnPrimary)),ji={backgroundColor:Ce.extend("--ft-button-primary-background-color","",Ce.extend("--ft-button-background-color","",Le.colorPrimary)),color:Hi,rippleColor:Ce.extend("--ft-button-primary-ripple-color","",Hi)},Ti=Ce.extend("--ft-button-dense-border-radius","",Ce.extend("--ft-button-border-radius","",Le.borderRadiusM)),_i=Ce.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Gi=Ce.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Vi=Ce.create("--ft-button-dense-icon-padding","","SIZE","4px"),Yi=[$t`
|
|
477
482
|
:host {
|
|
478
483
|
display: inline-block;
|
|
479
484
|
max-width: 100%;
|
|
@@ -484,7 +489,7 @@ const yi=1,gi=2,bi=t=>(...e)=>({_$litDirective$:t,values:e});class mi{constructo
|
|
|
484
489
|
box-shadow: 0px 0px 0px transparent;
|
|
485
490
|
border: 0px solid transparent;
|
|
486
491
|
text-shadow: 0px 0px 0px transparent;
|
|
487
|
-
font-size: ${
|
|
492
|
+
font-size: ${Pi.fontSize};
|
|
488
493
|
}
|
|
489
494
|
|
|
490
495
|
button:hover {
|
|
@@ -513,31 +518,31 @@ const yi=1,gi=2,bi=t=>(...e)=>({_$litDirective$:t,values:e});class mi{constructo
|
|
|
513
518
|
border: none;
|
|
514
519
|
pointer-events: auto;
|
|
515
520
|
|
|
516
|
-
--ft-button-internal-line-height: max(calc(${
|
|
517
|
-
--ft-button-internal-color: ${
|
|
518
|
-
${
|
|
519
|
-
${
|
|
521
|
+
--ft-button-internal-line-height: max(calc(${Pi.fontSize} + 2px), ${Pi.iconSize});
|
|
522
|
+
--ft-button-internal-color: ${Pi.color};
|
|
523
|
+
${ke(Di.size,Pi.iconSize)};
|
|
524
|
+
${ke(Ei.color,Pi.rippleColor)};
|
|
520
525
|
|
|
521
|
-
border-radius: ${
|
|
522
|
-
padding: ${
|
|
523
|
-
background-color: ${
|
|
526
|
+
border-radius: ${Pi.borderRadius};
|
|
527
|
+
padding: ${Pi.verticalPadding} ${Pi.horizontalPadding};
|
|
528
|
+
background-color: ${Pi.backgroundColor};
|
|
524
529
|
color: var(--ft-button-internal-color);
|
|
525
530
|
-webkit-mask-image: radial-gradient(white, black);
|
|
526
531
|
}
|
|
527
532
|
|
|
528
533
|
.ft-button.ft-button--outlined {
|
|
529
534
|
border: 1px solid var(--ft-button-internal-color);
|
|
530
|
-
padding: calc(${
|
|
535
|
+
padding: calc(${Pi.verticalPadding} - 1px) calc(${Pi.horizontalPadding} - 1px);
|
|
531
536
|
}
|
|
532
537
|
|
|
533
538
|
.ft-button.ft-button--dense {
|
|
534
|
-
padding: ${
|
|
535
|
-
border-radius: ${
|
|
536
|
-
gap: ${
|
|
539
|
+
padding: ${_i} ${Gi};
|
|
540
|
+
border-radius: ${Ti};
|
|
541
|
+
gap: ${Vi};
|
|
537
542
|
}
|
|
538
543
|
|
|
539
544
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
540
|
-
padding: calc(${
|
|
545
|
+
padding: calc(${_i} - 1px) calc(${Gi} - 1px);
|
|
541
546
|
}
|
|
542
547
|
|
|
543
548
|
.ft-button:not([disabled]):hover {
|
|
@@ -545,22 +550,22 @@ const yi=1,gi=2,bi=t=>(...e)=>({_$litDirective$:t,values:e});class mi{constructo
|
|
|
545
550
|
}
|
|
546
551
|
|
|
547
552
|
.ft-button--round {
|
|
548
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
553
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Pi.verticalPadding});
|
|
549
554
|
}
|
|
550
555
|
|
|
551
556
|
.ft-button--round.ft-button--dense {
|
|
552
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
557
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${_i});
|
|
553
558
|
}
|
|
554
559
|
|
|
555
560
|
.ft-button[disabled] {
|
|
556
561
|
filter: grayscale(1);
|
|
557
|
-
opacity: ${
|
|
562
|
+
opacity: ${Pi.opacityDisabled};
|
|
558
563
|
}
|
|
559
564
|
|
|
560
565
|
.ft-button.ft-button--primary {
|
|
561
|
-
background-color: ${
|
|
562
|
-
--ft-button-internal-color: ${
|
|
563
|
-
${
|
|
566
|
+
background-color: ${ji.backgroundColor};
|
|
567
|
+
--ft-button-internal-color: ${ji.color};
|
|
568
|
+
${ke(Ei.color,ji.rippleColor)};
|
|
564
569
|
}
|
|
565
570
|
|
|
566
571
|
.ft-button:focus {
|
|
@@ -573,13 +578,13 @@ const yi=1,gi=2,bi=t=>(...e)=>({_$litDirective$:t,values:e});class mi{constructo
|
|
|
573
578
|
white-space: nowrap;
|
|
574
579
|
text-overflow: ellipsis;
|
|
575
580
|
display: block;
|
|
576
|
-
margin: 0 ${
|
|
577
|
-
${
|
|
578
|
-
${
|
|
581
|
+
margin: 0 ${Pi.iconPadding};
|
|
582
|
+
${ke(ei.fontSize,"1em")};
|
|
583
|
+
${ke(ei.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
579
584
|
}
|
|
580
585
|
|
|
581
586
|
.ft-button--dense .ft-button--label {
|
|
582
|
-
margin: 0 ${
|
|
587
|
+
margin: 0 ${Vi};
|
|
583
588
|
}
|
|
584
589
|
|
|
585
590
|
.ft-button--label[hidden] {
|
|
@@ -592,13 +597,13 @@ const yi=1,gi=2,bi=t=>(...e)=>({_$litDirective$:t,values:e});class mi{constructo
|
|
|
592
597
|
}
|
|
593
598
|
|
|
594
599
|
.ft-button--label[hidden] + ft-icon {
|
|
595
|
-
margin: 0 calc(${
|
|
596
|
-
padding: 0 ${
|
|
600
|
+
margin: 0 calc(${Pi.horizontalPadding} * -1);
|
|
601
|
+
padding: 0 ${Pi.verticalPadding};
|
|
597
602
|
}
|
|
598
603
|
|
|
599
604
|
.ft-button--dense .ft-button--label[hidden] + ft-icon {
|
|
600
|
-
margin: 0 calc(${
|
|
601
|
-
padding: 0 ${
|
|
605
|
+
margin: 0 calc(${Gi} * -1);
|
|
606
|
+
padding: 0 ${_i};
|
|
602
607
|
}
|
|
603
608
|
|
|
604
609
|
.ft-button:not(.ft-button--trailing-icon) ft-icon,
|
|
@@ -607,26 +612,26 @@ const yi=1,gi=2,bi=t=>(...e)=>({_$litDirective$:t,values:e});class mi{constructo
|
|
|
607
612
|
}
|
|
608
613
|
|
|
609
614
|
ft-loader {
|
|
610
|
-
${
|
|
611
|
-
${
|
|
615
|
+
${ke(Bi.size,Pi.iconSize)};
|
|
616
|
+
${ke(Bi.color,"var(--ft-button-internal-color)")};
|
|
612
617
|
}
|
|
613
|
-
`,
|
|
618
|
+
`,He],Ji=mi(class extends xi{constructor(t){if(super(t),t.type!==gi||"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 ot}});
|
|
614
619
|
/**
|
|
615
620
|
* @license
|
|
616
621
|
* Copyright 2017 Google LLC
|
|
617
622
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
618
|
-
*/var
|
|
623
|
+
*/var qi=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 Xi extends Me{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 U(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 U(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 se`
|
|
619
624
|
<style>
|
|
620
625
|
.ft-ripple .ft-ripple--effect {
|
|
621
626
|
left: ${this.originX}px;
|
|
622
627
|
top: ${this.originY}px;
|
|
623
628
|
}
|
|
624
629
|
</style>
|
|
625
|
-
<div class="${
|
|
630
|
+
<div class="${Ji(t)}">
|
|
626
631
|
<div class="ft-ripple--background"></div>
|
|
627
632
|
<div class="ft-ripple--effect"></div>
|
|
628
633
|
</div>
|
|
629
|
-
`}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)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",o),t.addEventListener("touchstart",i),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",r),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",o),t.removeEventListener("touchstart",i),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",r),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const 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()}}
|
|
634
|
+
`}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()}}Xi.elementDefinitions={},Xi.styles=Ki,qi([N({type:Boolean})],Xi.prototype,"primary",void 0),qi([N({type:Boolean})],Xi.prototype,"secondary",void 0),qi([N({type:Boolean})],Xi.prototype,"unbounded",void 0),qi([N({type:Boolean})],Xi.prototype,"activated",void 0),qi([N({type:Boolean})],Xi.prototype,"selected",void 0),qi([N({type:Boolean})],Xi.prototype,"disabled",void 0),qi([$()],Xi.prototype,"hovered",void 0),qi([$()],Xi.prototype,"focused",void 0),qi([$()],Xi.prototype,"pressed",void 0),qi([$()],Xi.prototype,"rippling",void 0),qi([$()],Xi.prototype,"originX",void 0),qi([$()],Xi.prototype,"originY",void 0),qi([R(".ft-ripple")],Xi.prototype,"ripple",void 0),qi([R(".ft-ripple--effect")],Xi.prototype,"rippleEffect",void 0),W("ft-ripple")(Xi);const Qi=Ce.create("--ft-tooltip-distance","","SIZE","4px"),tr=Ce.create("--ft-tooltip-color","","COLOR","#FFFFFF"),er=Ce.create("--ft-tooltip-background-color","","COLOR","#666666"),or=Ce.create("--ft-tooltip-z-index","","NUMBER","100"),ir=Ce.external(Le.borderRadiusS,"Design system"),rr=Ce.create("--ft-tooltip-max-width","","SIZE","150px"),nr=$t`
|
|
630
635
|
.ft-tooltip--container {
|
|
631
636
|
display: block;
|
|
632
637
|
}
|
|
@@ -641,21 +646,21 @@ const yi=1,gi=2,bi=t=>(...e)=>({_$litDirective$:t,values:e});class mi{constructo
|
|
|
641
646
|
box-sizing: border-box;
|
|
642
647
|
overflow: hidden;
|
|
643
648
|
width: max-content;
|
|
644
|
-
max-width: ${
|
|
649
|
+
max-width: ${rr};
|
|
645
650
|
text-align: center;
|
|
646
|
-
padding: ${
|
|
647
|
-
z-index: ${
|
|
651
|
+
padding: ${Qi};
|
|
652
|
+
z-index: ${or};
|
|
648
653
|
}
|
|
649
654
|
|
|
650
655
|
.ft-tooltip--content {
|
|
651
656
|
padding: 4px 8px;
|
|
652
|
-
border-radius: ${
|
|
653
|
-
background-color: ${
|
|
654
|
-
color: ${
|
|
657
|
+
border-radius: ${ir};
|
|
658
|
+
background-color: ${er};
|
|
659
|
+
color: ${tr};
|
|
655
660
|
position: relative;
|
|
656
661
|
word-break: break-word;
|
|
657
662
|
}
|
|
658
|
-
`,nr=["start","end"],ar=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+nr[0],e+"-"+nr[1])),[]),sr=Math.min,lr=Math.max,cr=Math.round,fr=t=>({x:t,y:t}),pr={left:"right",right:"left",bottom:"top",top:"bottom"},hr={start:"end",end:"start"};function dr(t,e,o){return lr(t,sr(e,o))}function ur(t,e){return"function"==typeof t?t(e):t}function yr(t){return t.split("-")[0]}function gr(t){return t.split("-")[1]}function br(t){return"x"===t?"y":"x"}function mr(t){return"y"===t?"height":"width"}function xr(t){return["top","bottom"].includes(yr(t))?"y":"x"}function vr(t){return br(xr(t))}function Or(t){return t.replace(/left|right|bottom|top/g,(t=>pr[t]))}function wr(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Sr(t,e,o){let{reference:i,floating:r}=t;const n=xr(e),a=vr(e),s=mr(a),l=yr(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(gr(e)){case"start":d[a]-=h*(o&&c?-1:1);break;case"end":d[a]+=h*(o&&c?-1:1)}return d}async function Nr(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}=ur(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=wr(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=wr(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 $r(t,e,o){return(t?[...o.filter((e=>gr(e)===t)),...o.filter((e=>gr(e)!==t))]:o.filter((t=>yr(t)===t))).filter((o=>!t||(gr(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>hr[t]))}(o)!==o)))}const Cr=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=ar,autoAlignment:d=!0,...u}=ur(t,e),y=void 0!==p||h===ar?$r(p||null,d,h):h,g=await Nr(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=gr(t),r=vr(t),n=mr(r);let a="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=Or(a)),[a,Or(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const v=[g[yr(m)],g[x[0]],g[x[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:v}],w=y[b+1];if(w)return{data:{index:b+1,overflows:O},reset:{placement:w}};const S=O.map((t=>{const e=gr(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=S.filter((t=>t[2].slice(0,gr(t[0])?2:3).every((t=>t<=0)))),$=(null==(r=N[0])?void 0:r[0])||S[0][0];return $!==s?{data:{index:b+1,overflows:O},reset:{placement:$}}:{}}}};function kr(t){return Ur(t)?(t.nodeName||"").toLowerCase():"#document"}function Rr(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function Er(t){var e;return null==(e=(Ur(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function Ur(t){return t instanceof Node||t instanceof Rr(t).Node}function Ir(t){return t instanceof Element||t instanceof Rr(t).Element}function Lr(t){return t instanceof HTMLElement||t instanceof Rr(t).HTMLElement}function Wr(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Rr(t).ShadowRoot)}function zr(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=Dr(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function Fr(t){return["table","td","th"].includes(kr(t))}function Kr(t){const e=Br(),o=Dr(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 Br(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Zr(t){return["html","body","#document"].includes(kr(t))}function Dr(t){return Rr(t).getComputedStyle(t)}function Ar(t){return Ir(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Mr(t){if("html"===kr(t))return t;const e=t.assignedSlot||t.parentNode||Wr(t)&&t.host||Er(t);return Wr(e)?e.host:e}function Pr(t){const e=Mr(t);return Zr(e)?t.ownerDocument?t.ownerDocument.body:t.body:Lr(e)&&zr(e)?e:Pr(e)}function Hr(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=Pr(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=Rr(r);return n?e.concat(a,a.visualViewport||[],zr(r)?r:[],a.frameElement&&o?Hr(a.frameElement):[]):e.concat(r,Hr(r,[],o))}function jr(t){const e=Dr(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=Lr(t),n=r?t.offsetWidth:o,a=r?t.offsetHeight:i,s=cr(o)!==n||cr(i)!==a;return s&&(o=n,i=a),{width:o,height:i,$:s}}function Tr(t){return Ir(t)?t:t.contextElement}function _r(t){const e=Tr(t);if(!Lr(e))return fr(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=jr(e);let a=(n?cr(o.width):o.width)/i,s=(n?cr(o.height):o.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const Gr=fr(0);function Vr(t){const e=Rr(t);return Br()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:Gr}function Yr(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=Tr(t);let a=fr(1);e&&(i?Ir(i)&&(a=_r(i)):a=_r(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==Rr(t))&&e}(n,o,i)?Vr(n):fr(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=Rr(n),e=i&&Ir(i)?Rr(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=_r(o),e=o.getBoundingClientRect(),i=Dr(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=Rr(o).frameElement}}return wr({width:f,height:p,x:l,y:c})}function Jr(t){return Yr(Er(t)).left+Ar(t).scrollLeft}function qr(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=Rr(t),i=Er(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=Br();(!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=Er(t),o=Ar(t),i=t.ownerDocument.body,r=lr(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=lr(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let a=-o.scrollLeft+Jr(t);const s=-o.scrollTop;return"rtl"===Dr(i).direction&&(a+=lr(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(Er(t));else if(Ir(e))i=function(t,e){const o=Yr(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=Lr(t)?_r(t):fr(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=Vr(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return wr(i)}function Xr(t,e){const o=Mr(t);return!(o===e||!Ir(o)||Zr(o))&&("fixed"===Dr(o).position||Xr(o,e))}function Qr(t,e,o){const i=Lr(e),r=Er(e),n="fixed"===o,a=Yr(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const l=fr(0);if(i||!i&&!n)if(("body"!==kr(e)||zr(r))&&(s=Ar(e)),i){const t=Yr(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=Jr(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function tn(t,e){return Lr(t)&&"fixed"!==Dr(t).position?e?e(t):t.offsetParent:null}function en(t,e){const o=Rr(t);if(!Lr(t))return o;let i=tn(t,e);for(;i&&Fr(i)&&"static"===Dr(i).position;)i=tn(i,e);return i&&("html"===kr(i)||"body"===kr(i)&&"static"===Dr(i).position&&!Kr(i))?o:i||function(t){let e=Mr(t);for(;Lr(e)&&!Zr(e);){if(Kr(e))return e;e=Mr(e)}return null}(t)||o}const on={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=Lr(o),n=Er(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=fr(1);const l=fr(0);if((r||!r&&"fixed"!==i)&&(("body"!==kr(o)||zr(n))&&(a=Ar(o)),Lr(o))){const t=Yr(o);s=_r(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:Er,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=Hr(t,[],!1).filter((t=>Ir(t)&&"body"!==kr(t))),r=null;const n="fixed"===Dr(t).position;let a=n?Mr(t):t;for(;Ir(a)&&!Zr(a);){const e=Dr(a),o=Kr(a);o||"fixed"!==e.position||(r=null),(n?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||zr(a)&&!o&&Xr(t,a))?i=i.filter((t=>t!==a)):r=e,a=Mr(a)}return e.set(t,i),i}(e,this._c):[].concat(o),i],a=n[0],s=n.reduce(((t,o)=>{const i=qr(e,o,r);return t.top=lr(i.top,t.top),t.right=sr(i.right,t.right),t.bottom=sr(i.bottom,t.bottom),t.left=lr(i.left,t.left),t}),qr(e,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:en,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||en,n=this.getDimensions;return{reference:Qr(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 jr(t)},getScale:_r,isElement:Ir,isRTL:function(t){return"rtl"===Dr(t).direction}},rn=(t,e,o)=>{const i=new Map,r={platform:on,...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}=Sr(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}=Sr(c,h,l))),o=-1)}return{x:f,y:p,placement:h,strategy:r,middlewareData:d}})(t,e,{...r,platform:n})};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 Ae{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 ae`
|
|
663
|
+
`,ar=["start","end"],sr=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+ar[0],e+"-"+ar[1])),[]),lr=Math.min,cr=Math.max,fr=Math.round,pr=t=>({x:t,y:t}),hr={left:"right",right:"left",bottom:"top",top:"bottom"},dr={start:"end",end:"start"};function ur(t,e,o){return cr(t,lr(e,o))}function yr(t,e){return"function"==typeof t?t(e):t}function gr(t){return t.split("-")[0]}function br(t){return t.split("-")[1]}function mr(t){return"x"===t?"y":"x"}function xr(t){return"y"===t?"height":"width"}function vr(t){return["top","bottom"].includes(gr(t))?"y":"x"}function Or(t){return mr(vr(t))}function wr(t){return t.replace(/left|right|bottom|top/g,(t=>hr[t]))}function Sr(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Nr(t,e,o){let{reference:i,floating:r}=t;const n=vr(e),a=Or(e),s=xr(a),l=gr(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(br(e)){case"start":d[a]-=h*(o&&c?-1:1);break;case"end":d[a]+=h*(o&&c?-1:1)}return d}async function $r(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}=yr(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=Sr(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=Sr(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 Cr(t,e,o){return(t?[...o.filter((e=>br(e)===t)),...o.filter((e=>br(e)!==t))]:o.filter((t=>gr(t)===t))).filter((o=>!t||(br(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>dr[t]))}(o)!==o)))}const kr=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=sr,autoAlignment:d=!0,...u}=yr(t,e),y=void 0!==p||h===sr?Cr(p||null,d,h):h,g=await $r(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=br(t),r=Or(t),n=xr(r);let a="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=wr(a)),[a,wr(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const v=[g[gr(m)],g[x[0]],g[x[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:v}],w=y[b+1];if(w)return{data:{index:b+1,overflows:O},reset:{placement:w}};const S=O.map((t=>{const e=br(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=S.filter((t=>t[2].slice(0,br(t[0])?2:3).every((t=>t<=0)))),$=(null==(r=N[0])?void 0:r[0])||S[0][0];return $!==s?{data:{index:b+1,overflows:O},reset:{placement:$}}:{}}}};function Rr(t){return Ir(t)?(t.nodeName||"").toLowerCase():"#document"}function Er(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function Ur(t){var e;return null==(e=(Ir(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function Ir(t){return t instanceof Node||t instanceof Er(t).Node}function Lr(t){return t instanceof Element||t instanceof Er(t).Element}function Wr(t){return t instanceof HTMLElement||t instanceof Er(t).HTMLElement}function zr(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Er(t).ShadowRoot)}function Fr(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=Ar(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function Kr(t){return["table","td","th"].includes(Rr(t))}function Br(t){const e=Zr(),o=Ar(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 Zr(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Dr(t){return["html","body","#document"].includes(Rr(t))}function Ar(t){return Er(t).getComputedStyle(t)}function Mr(t){return Lr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Pr(t){if("html"===Rr(t))return t;const e=t.assignedSlot||t.parentNode||zr(t)&&t.host||Ur(t);return zr(e)?e.host:e}function Hr(t){const e=Pr(t);return Dr(e)?t.ownerDocument?t.ownerDocument.body:t.body:Wr(e)&&Fr(e)?e:Hr(e)}function jr(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=Hr(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=Er(r);return n?e.concat(a,a.visualViewport||[],Fr(r)?r:[],a.frameElement&&o?jr(a.frameElement):[]):e.concat(r,jr(r,[],o))}function Tr(t){const e=Ar(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=Wr(t),n=r?t.offsetWidth:o,a=r?t.offsetHeight:i,s=fr(o)!==n||fr(i)!==a;return s&&(o=n,i=a),{width:o,height:i,$:s}}function _r(t){return Lr(t)?t:t.contextElement}function Gr(t){const e=_r(t);if(!Wr(e))return pr(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=Tr(e);let a=(n?fr(o.width):o.width)/i,s=(n?fr(o.height):o.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const Vr=pr(0);function Yr(t){const e=Er(t);return Zr()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:Vr}function Jr(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=_r(t);let a=pr(1);e&&(i?Lr(i)&&(a=Gr(i)):a=Gr(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==Er(t))&&e}(n,o,i)?Yr(n):pr(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=Er(n),e=i&&Lr(i)?Er(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=Gr(o),e=o.getBoundingClientRect(),i=Ar(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=Er(o).frameElement}}return Sr({width:f,height:p,x:l,y:c})}function qr(t){return Jr(Ur(t)).left+Mr(t).scrollLeft}function Xr(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=Er(t),i=Ur(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=Zr();(!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=Ur(t),o=Mr(t),i=t.ownerDocument.body,r=cr(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=cr(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let a=-o.scrollLeft+qr(t);const s=-o.scrollTop;return"rtl"===Ar(i).direction&&(a+=cr(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(Ur(t));else if(Lr(e))i=function(t,e){const o=Jr(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=Wr(t)?Gr(t):pr(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=Yr(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return Sr(i)}function Qr(t,e){const o=Pr(t);return!(o===e||!Lr(o)||Dr(o))&&("fixed"===Ar(o).position||Qr(o,e))}function tn(t,e,o){const i=Wr(e),r=Ur(e),n="fixed"===o,a=Jr(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const l=pr(0);if(i||!i&&!n)if(("body"!==Rr(e)||Fr(r))&&(s=Mr(e)),i){const t=Jr(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=qr(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function en(t,e){return Wr(t)&&"fixed"!==Ar(t).position?e?e(t):t.offsetParent:null}function on(t,e){const o=Er(t);if(!Wr(t))return o;let i=en(t,e);for(;i&&Kr(i)&&"static"===Ar(i).position;)i=en(i,e);return i&&("html"===Rr(i)||"body"===Rr(i)&&"static"===Ar(i).position&&!Br(i))?o:i||function(t){let e=Pr(t);for(;Wr(e)&&!Dr(e);){if(Br(e))return e;e=Pr(e)}return null}(t)||o}const rn={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=Wr(o),n=Ur(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=pr(1);const l=pr(0);if((r||!r&&"fixed"!==i)&&(("body"!==Rr(o)||Fr(n))&&(a=Mr(o)),Wr(o))){const t=Jr(o);s=Gr(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:Ur,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=jr(t,[],!1).filter((t=>Lr(t)&&"body"!==Rr(t))),r=null;const n="fixed"===Ar(t).position;let a=n?Pr(t):t;for(;Lr(a)&&!Dr(a);){const e=Ar(a),o=Br(a);o||"fixed"!==e.position||(r=null),(n?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||Fr(a)&&!o&&Qr(t,a))?i=i.filter((t=>t!==a)):r=e,a=Pr(a)}return e.set(t,i),i}(e,this._c):[].concat(o),i],a=n[0],s=n.reduce(((t,o)=>{const i=Xr(e,o,r);return t.top=cr(i.top,t.top),t.right=lr(i.right,t.right),t.bottom=lr(i.bottom,t.bottom),t.left=cr(i.left,t.left),t}),Xr(e,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:on,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||on,n=this.getDimensions;return{reference:tn(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 Tr(t)},getScale:Gr,isElement:Lr,isRTL:function(t){return"rtl"===Ar(t).direction}},nn=(t,e,o)=>{const i=new Map,r={platform:rn,...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}=Nr(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}=Nr(c,h,l))),o=-1)}return{x:f,y:p,placement:h,strategy:r,middlewareData:d}})(t,e,{...r,platform:n})};var an=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 Me{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 U,this.revealDebouncer=new U}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return se`
|
|
659
664
|
<div part="container"
|
|
660
665
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
661
666
|
@mouseenter=${this.onHover}
|
|
@@ -673,54 +678,54 @@ const yi=1,gi=2,bi=t=>(...e)=>({_$litDirective$:t,values:e});class mi{constructo
|
|
|
673
678
|
</div>
|
|
674
679
|
</div>
|
|
675
680
|
</div>
|
|
676
|
-
`}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="",
|
|
681
|
+
`}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="",nn(this.slottedElement,this.tooltip,{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}=yr(t,e),c={x:o,y:i},f=await $r(e,l),p=vr(gr(r)),h=mr(p);let d=c[h],u=c[p];if(n){const t="y"===h?"bottom":"right";d=ur(d+f["y"===h?"top":"left"],d,d-f[t])}if(a){const t="y"===p?"bottom":"right";u=ur(u+f["y"===p?"top":"left"],u,u-f[t])}const y=s.fn({...e,[h]:d,[p]:u});return{...y,data:{x:y.x-o,y:y.y-i}}}}),kr({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())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}sn.elementDefinitions={"ft-typography":yi},sn.styles=nr,an([N()],sn.prototype,"text",void 0),an([N({type:Boolean})],sn.prototype,"manual",void 0),an([N({type:Boolean})],sn.prototype,"inline",void 0),an([N({type:Number})],sn.prototype,"delay",void 0),an([N()],sn.prototype,"position",void 0),an([
|
|
677
682
|
/**
|
|
678
683
|
* @license
|
|
679
684
|
* Copyright 2017 Google LLC
|
|
680
685
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
681
686
|
*/
|
|
682
|
-
function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return
|
|
687
|
+
function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return k(0,0,{get(){const e=this.renderRoot?.querySelector(r);return e?.assignedNodes(t)??[]}})}}()],sn.prototype,"slotNodes",void 0),an([R(".ft-tooltip--container")],sn.prototype,"container",void 0),an([R(".ft-tooltip")],sn.prototype,"tooltip",void 0),an([R(".ft-tooltip--content")],sn.prototype,"tooltipContent",void 0),an([$()],sn.prototype,"visible",void 0),an([C({passive:!0})],sn.prototype,"onTouch",null),an([C({passive:!0})],sn.prototype,"onHover",null),an([C({passive:!0})],sn.prototype,"onOut",null),W("ft-tooltip")(sn);
|
|
683
688
|
/**
|
|
684
689
|
* @license
|
|
685
690
|
* Copyright 2017 Google LLC
|
|
686
691
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
687
692
|
*/
|
|
688
|
-
class
|
|
693
|
+
class ln extends xi{constructor(t){if(super(t),this.et=it,t.type!==bi)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===it||null==t)return this.vt=void 0,this.et=t;if(t===ot)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:[]}}}ln.directiveName="unsafeHTML",ln.resultType=1;const cn=mi(ln);var fn,pn,hn;!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=""}(fn||(fn={})),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=""}(pn||(pn={})),new Map([...["abw"].map((t=>[t,pn.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,pn.AUDIO])),...["avi"].map((t=>[t,pn.AVI])),...["chm","xhs"].map((t=>[t,pn.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,pn.CODE])),...["csv"].map((t=>[t,pn.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,pn.DITA])),...["epub"].map((t=>[t,pn.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,pn.EXCEL])),...["flac"].map((t=>[t,pn.FLAC])),...["gif"].map((t=>[t,pn.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,pn.GZIP])),...["html","htm","xhtml"].map((t=>[t,pn.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,pn.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,pn.JPEG])),...["json"].map((t=>[t,pn.JSON])),...["m4a","m4p"].map((t=>[t,pn.M4A])),...["mov","qt"].map((t=>[t,pn.MOV])),...["mp3"].map((t=>[t,pn.MP3])),...["mp4","m4v"].map((t=>[t,pn.MP4])),...["ogg","oga"].map((t=>[t,pn.OGG])),...["pdf","ps"].map((t=>[t,pn.PDF])),...["png"].map((t=>[t,pn.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,pn.POWERPOINT])),...["rar"].map((t=>[t,pn.RAR])),...["stp"].map((t=>[t,pn.STP])),...["txt","rtf","md","mdown"].map((t=>[t,pn.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,pn.VIDEO])),...["wav"].map((t=>[t,pn.WAV])),...["wma"].map((t=>[t,pn.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,pn.WORD])),...["xml","xsl","rdf"].map((t=>[t,pn.XML])),...["yaml","yml","x-yaml"].map((t=>[t,pn.YAML])),...["zip"].map((t=>[t,pn.ZIP]))]),function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(hn||(hn={}));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 Me{constructor(){super(...arguments),this.resolvedIcon=ce}render(){const t=this.variant&&Object.values(hn).includes(this.variant)?this.variant:hn.fluid_topics,e=t!==hn.material||!!this.value;return se`
|
|
689
694
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
690
|
-
${
|
|
695
|
+
${cn(this.resolvedIcon)}
|
|
691
696
|
<slot ?hidden=${e}></slot>
|
|
692
697
|
</i>
|
|
693
|
-
`}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
|
|
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 hn.file_format:this.resolvedIcon=null!==(t=pn[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case hn.material:this.resolvedIcon=this.value||ce;break;default:this.resolvedIcon=null!==(e=fn[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}un.elementDefinitions={},un.styles=Ai,dn([N()],un.prototype,"variant",void 0),dn([N()],un.prototype,"value",void 0),dn([$()],un.prototype,"resolvedIcon",void 0),dn([R("slot")],un.prototype,"slottedContent",void 0),W("ft-icon")(un);class yn extends Me{render(){return se`
|
|
694
699
|
<div class="ft-loader">
|
|
695
700
|
<div></div>
|
|
696
701
|
<div></div>
|
|
697
702
|
<div></div>
|
|
698
703
|
<div></div>
|
|
699
704
|
</div>
|
|
700
|
-
`}}
|
|
705
|
+
`}}yn.styles=Zi,W("ft-loader")(yn);var gn=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 bn extends(function(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[Te].form}constructor(...t){super(t),this[Te]=this.attachInternals(),this[Te].role=e}setFormValue(t){this[Te].setFormValue(t)}}}(Me,"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(se`
|
|
701
706
|
<button part="button"
|
|
702
|
-
class="${
|
|
707
|
+
class="${Ji(this.buttonClasses)}"
|
|
703
708
|
aria-label="${this.getLabel()}"
|
|
704
709
|
?disabled=${this.isDisabled()}>
|
|
705
710
|
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
706
711
|
<ft-typography part="label"
|
|
707
712
|
variant=${this.typographyVariant}
|
|
708
713
|
element="span"
|
|
709
|
-
class="ft-button--label ${
|
|
714
|
+
class="ft-button--label ${Ye?"ft-safari-ellipsis-fix":""}"
|
|
710
715
|
?hidden=${!this.hasTextContent()}>
|
|
711
716
|
<slot @slotchange=${this.onSlotchange}></slot>
|
|
712
717
|
</ft-typography>
|
|
713
718
|
${this.resolveIcon()}
|
|
714
719
|
</button>
|
|
715
|
-
`)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?
|
|
720
|
+
`)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?se`
|
|
716
721
|
<ft-tooltip part="tooltip"
|
|
717
722
|
text="${this.getLabel()}"
|
|
718
723
|
position="${this.tooltipPosition}">
|
|
719
724
|
${t}
|
|
720
725
|
</ft-tooltip>
|
|
721
|
-
`:t}resolveIcon(){return this.loading?
|
|
722
|
-
<ft-loader part="loader icon"></ft-loader> `:this.icon?
|
|
723
|
-
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:
|
|
726
|
+
`:t}resolveIcon(){return this.loading?se`
|
|
727
|
+
<ft-loader part="loader icon"></ft-loader> `:this.icon?se`
|
|
728
|
+
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:ce}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}}bn.elementDefinitions={"ft-ripple":Xi,"ft-tooltip":sn,"ft-typography":yi,"ft-icon":un,"ft-loader":yn},gn([N({type:String,reflect:!0})],bn.prototype,"role",void 0),gn([N()],bn.prototype,"type",void 0),gn([N({type:Boolean})],bn.prototype,"disabled",void 0),gn([N()],bn.prototype,"label",void 0),gn([N()],bn.prototype,"icon",void 0),gn([N()],bn.prototype,"iconVariant",void 0),gn([N({type:Boolean})],bn.prototype,"trailingIcon",void 0),gn([N({type:Boolean})],bn.prototype,"loading",void 0),gn([N()],bn.prototype,"tooltipPosition",void 0),gn([N({type:Boolean})],bn.prototype,"hideTooltip",void 0),gn([N({type:Boolean})],bn.prototype,"forceTooltip",void 0),gn([R(".ft-button")],bn.prototype,"button",void 0),gn([R(".ft-button--label slot")],bn.prototype,"slottedContent",void 0);var mn=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 xn extends bn{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"}}xn.styles=[je,Yi],mn([N({type:Boolean})],xn.prototype,"primary",void 0),mn([N({type:Boolean})],xn.prototype,"outlined",void 0),mn([N({type:Boolean})],xn.prototype,"dense",void 0),mn([N({type:Boolean})],xn.prototype,"round",void 0);const vn=[$t`
|
|
724
729
|
:host {
|
|
725
730
|
display: inline-block;
|
|
726
731
|
max-width: 100%;
|
|
@@ -770,7 +775,7 @@ class sn extends mi{constructor(t){if(super(t),this.et=ot,t.type!==gi)throw Erro
|
|
|
770
775
|
}
|
|
771
776
|
|
|
772
777
|
.ft-button:focus-visible {
|
|
773
|
-
outline-color: ${
|
|
778
|
+
outline-color: ${Ie.focusFocusRingColor};
|
|
774
779
|
outline-style: solid;
|
|
775
780
|
}
|
|
776
781
|
|
|
@@ -799,153 +804,153 @@ class sn extends mi{constructor(t){if(super(t),this.et=ot,t.type!==gi)throw Erro
|
|
|
799
804
|
/** Primary styles **/
|
|
800
805
|
|
|
801
806
|
.ft-button--primary {
|
|
802
|
-
${
|
|
807
|
+
${ke(Bi.color,Ie.primaryIconColor)};
|
|
803
808
|
|
|
804
|
-
${
|
|
805
|
-
${
|
|
806
|
-
${
|
|
807
|
-
${
|
|
808
|
-
${
|
|
809
|
+
${ke(Ei.color,Ie.primaryStateLayerColor)};
|
|
810
|
+
${ke(Ei.opacityContentOnSurfaceHover,Ie.primaryStateLayerOpacityHover)};
|
|
811
|
+
${ke(Ei.opacityContentOnSurfaceFocused,Ie.primaryStateLayerOpacityFocus)};
|
|
812
|
+
${ke(Ei.opacityContentOnSurfaceSelected,Ie.primaryStateLayerOpacityActive)};
|
|
813
|
+
${ke(Ei.opacityContentOnSurfacePressed,Ie.primaryStateLayerOpacityActive)};
|
|
809
814
|
|
|
810
|
-
background-color: ${
|
|
811
|
-
color: ${
|
|
815
|
+
background-color: ${Ie.primaryBackgroundColor};
|
|
816
|
+
color: ${Ie.primaryColor};
|
|
812
817
|
border-style: none;
|
|
813
818
|
}
|
|
814
819
|
|
|
815
820
|
.ft-button--primary[disabled] {
|
|
816
|
-
opacity: ${
|
|
821
|
+
opacity: ${Ie.primaryComponentOpacityDisabled};
|
|
817
822
|
}
|
|
818
823
|
|
|
819
824
|
.ft-button--primary ft-icon {
|
|
820
|
-
color: ${
|
|
825
|
+
color: ${Ie.primaryIconColor};
|
|
821
826
|
}
|
|
822
827
|
|
|
823
828
|
/** Secondary styles **/
|
|
824
829
|
|
|
825
830
|
.ft-button--secondary {
|
|
826
|
-
${
|
|
831
|
+
${ke(Bi.color,Ie.secondaryIconColor)};
|
|
827
832
|
|
|
828
|
-
${
|
|
829
|
-
${
|
|
830
|
-
${
|
|
831
|
-
${
|
|
832
|
-
${
|
|
833
|
+
${ke(Ei.color,Ie.secondaryStateLayerColor)};
|
|
834
|
+
${ke(Ei.opacityContentOnSurfaceHover,Ie.secondaryStateLayerOpacityHover)};
|
|
835
|
+
${ke(Ei.opacityContentOnSurfaceFocused,Ie.secondaryStateLayerOpacityFocus)};
|
|
836
|
+
${ke(Ei.opacityContentOnSurfaceSelected,Ie.secondaryStateLayerOpacityActive)};
|
|
837
|
+
${ke(Ei.opacityContentOnSurfacePressed,Ie.secondaryStateLayerOpacityActive)};
|
|
833
838
|
|
|
834
|
-
background-color: ${
|
|
835
|
-
color: ${
|
|
836
|
-
border-color: ${
|
|
839
|
+
background-color: ${Ie.secondaryBackgroundColor};
|
|
840
|
+
color: ${Ie.secondaryColor};
|
|
841
|
+
border-color: ${Ie.secondaryBorderColor};
|
|
837
842
|
border-style: solid;
|
|
838
843
|
}
|
|
839
844
|
|
|
840
845
|
.ft-button--secondary[disabled] {
|
|
841
|
-
opacity: ${
|
|
846
|
+
opacity: ${Ie.secondaryComponentOpacityDisabled};
|
|
842
847
|
}
|
|
843
848
|
|
|
844
849
|
.ft-button--secondary ft-icon {
|
|
845
|
-
color: ${
|
|
850
|
+
color: ${Ie.secondaryIconColor};
|
|
846
851
|
}
|
|
847
852
|
|
|
848
853
|
/** Tertiary styles **/
|
|
849
854
|
|
|
850
855
|
.ft-button--tertiary {
|
|
851
|
-
${
|
|
856
|
+
${ke(Bi.color,Ie.tertiaryIconColor)};
|
|
852
857
|
|
|
853
|
-
${
|
|
854
|
-
${
|
|
855
|
-
${
|
|
856
|
-
${
|
|
857
|
-
${
|
|
858
|
+
${ke(Ei.color,Ie.tertiaryStateLayerColor)};
|
|
859
|
+
${ke(Ei.opacityContentOnSurfaceHover,Ie.tertiaryStateLayerOpacityHover)};
|
|
860
|
+
${ke(Ei.opacityContentOnSurfaceFocused,Ie.tertiaryStateLayerOpacityFocus)};
|
|
861
|
+
${ke(Ei.opacityContentOnSurfaceSelected,Ie.tertiaryStateLayerOpacityActive)};
|
|
862
|
+
${ke(Ei.opacityContentOnSurfacePressed,Ie.tertiaryStateLayerOpacityActive)};
|
|
858
863
|
|
|
859
|
-
background-color: ${
|
|
860
|
-
color: ${
|
|
864
|
+
background-color: ${Ie.tertiaryBackgroundColor};
|
|
865
|
+
color: ${Ie.tertiaryColor};
|
|
861
866
|
border-style: none;
|
|
862
867
|
}
|
|
863
868
|
|
|
864
869
|
.ft-button--tertiary[disabled] {
|
|
865
|
-
opacity: ${
|
|
870
|
+
opacity: ${Ie.tertiaryComponentOpacityDisabled};
|
|
866
871
|
}
|
|
867
872
|
|
|
868
873
|
.ft-button--tertiary ft-icon {
|
|
869
|
-
color: ${
|
|
874
|
+
color: ${Ie.tertiaryIconColor};
|
|
870
875
|
}
|
|
871
876
|
|
|
872
877
|
/** Neutral styles **/
|
|
873
878
|
|
|
874
879
|
.ft-button--neutral {
|
|
875
|
-
${
|
|
880
|
+
${ke(Bi.color,Ie.neutralIconColor)};
|
|
876
881
|
|
|
877
|
-
${
|
|
878
|
-
${
|
|
879
|
-
${
|
|
880
|
-
${
|
|
881
|
-
${
|
|
882
|
+
${ke(Ei.backgroundColor,Ie.neutralStateLayerColor)};
|
|
883
|
+
${ke(Ei.opacityContentOnSurfaceHover,Ie.neutralStateLayerOpacityHover)};
|
|
884
|
+
${ke(Ei.opacityContentOnSurfaceFocused,Ie.neutralStateLayerOpacityFocus)};
|
|
885
|
+
${ke(Ei.opacityContentOnSurfaceSelected,Ie.neutralStateLayerOpacityActive)};
|
|
886
|
+
${ke(Ei.opacityContentOnSurfacePressed,Ie.neutralStateLayerOpacityActive)};
|
|
882
887
|
|
|
883
|
-
background-color: ${
|
|
884
|
-
color: ${
|
|
888
|
+
background-color: ${Ie.neutralBackgroundColor};
|
|
889
|
+
color: ${Ie.neutralColor};
|
|
885
890
|
border-style: none;
|
|
886
891
|
}
|
|
887
892
|
|
|
888
893
|
.ft-button--neutral[disabled] {
|
|
889
|
-
opacity: ${
|
|
894
|
+
opacity: ${Ie.neutralComponentOpacityDisabled};
|
|
890
895
|
}
|
|
891
896
|
|
|
892
897
|
.ft-button--neutral ft-icon {
|
|
893
|
-
color: ${
|
|
898
|
+
color: ${Ie.neutralIconColor};
|
|
894
899
|
}
|
|
895
900
|
|
|
896
901
|
/** Large styles **/
|
|
897
902
|
|
|
898
903
|
.ft-button--large {
|
|
899
|
-
${
|
|
900
|
-
${
|
|
904
|
+
${ke(Di.size,Ie.largeIconSize)};
|
|
905
|
+
${ke(Bi.size,Ie.largeIconSize)};
|
|
901
906
|
|
|
902
|
-
height: ${
|
|
903
|
-
padding: 0 ${
|
|
904
|
-
gap: ${
|
|
905
|
-
border-radius: ${
|
|
906
|
-
border-width: ${
|
|
907
|
+
height: ${Ie.largeHeight};
|
|
908
|
+
padding: 0 ${Ie.largeHorizontalPadding};
|
|
909
|
+
gap: ${Ie.largeGap};
|
|
910
|
+
border-radius: ${Ie.largeBorderRadius};
|
|
911
|
+
border-width: ${Ie.largeBorderWidth};
|
|
907
912
|
}
|
|
908
913
|
|
|
909
914
|
.ft-button--large:focus-visible {
|
|
910
|
-
outline-width: ${
|
|
911
|
-
outline-offset: ${
|
|
915
|
+
outline-width: ${Ie.largeFocusOutlineWidth};
|
|
916
|
+
outline-offset: ${Ie.largeFocusOutlineOffset};
|
|
912
917
|
}
|
|
913
918
|
|
|
914
919
|
.ft-button--large.ft-button--icon-only {
|
|
915
|
-
width: ${
|
|
920
|
+
width: ${Ie.largeIconOnlyWidth};
|
|
916
921
|
padding: unset;
|
|
917
922
|
}
|
|
918
923
|
|
|
919
924
|
/** Small styles **/
|
|
920
925
|
|
|
921
926
|
.ft-button--small {
|
|
922
|
-
${
|
|
923
|
-
${
|
|
927
|
+
${ke(Di.size,Ie.smallIconSize)};
|
|
928
|
+
${ke(Bi.size,Ie.smallIconSize)};
|
|
924
929
|
|
|
925
|
-
height: ${
|
|
926
|
-
padding: 0 ${
|
|
927
|
-
gap: ${
|
|
928
|
-
border-radius: ${
|
|
929
|
-
border-width: ${
|
|
930
|
+
height: ${Ie.smallHeight};
|
|
931
|
+
padding: 0 ${Ie.smallHorizontalPadding};
|
|
932
|
+
gap: ${Ie.smallGap};
|
|
933
|
+
border-radius: ${Ie.smallBorderRadius};
|
|
934
|
+
border-width: ${Ie.smallBorderWidth};
|
|
930
935
|
}
|
|
931
936
|
|
|
932
937
|
.ft-button--small:focus-visible {
|
|
933
|
-
outline-width: ${
|
|
934
|
-
outline-offset: ${
|
|
938
|
+
outline-width: ${Ie.smallFocusOutlineWidth};
|
|
939
|
+
outline-offset: ${Ie.smallFocusOutlineOffset};
|
|
935
940
|
}
|
|
936
941
|
|
|
937
942
|
.ft-button--small.ft-button--icon-only {
|
|
938
|
-
width: ${
|
|
943
|
+
width: ${Ie.smallIconOnlyWidth};
|
|
939
944
|
padding: unset;
|
|
940
945
|
}
|
|
941
|
-
`,
|
|
946
|
+
`,He];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 wn extends bn{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?eo.caption1medium:eo.body2medium}}wn.styles=[je,vn],On([N({type:Boolean})],wn.prototype,"primary",void 0),On([N({type:Boolean})],wn.prototype,"secondary",void 0),On([N({type:Boolean})],wn.prototype,"tertiary",void 0),On([N({type:Boolean})],wn.prototype,"neutral",void 0),On([N({type:Boolean})],wn.prototype,"small",void 0),W("ft-button")(xn),W("ftds-button")(wn);const Sn=Ce.extend("--ft-checkbox-text-color","",Le.colorOnSurfaceHigh),Nn=Ce.external(Le.colorPrimary,"Design system"),$n=Ce.external(Le.colorOnPrimary,"Design system"),Cn=Ce.extend("--ft-checkbox-border-color","",Le.colorOnSurfaceMedium),kn=Ce.external(Le.colorOnSurfaceDisabled,"Design system"),Rn=$t`
|
|
942
947
|
* {
|
|
943
948
|
box-sizing: border-box;
|
|
944
949
|
}
|
|
945
950
|
|
|
946
951
|
.ft-checkbox {
|
|
947
952
|
box-sizing: border-box;
|
|
948
|
-
color: ${
|
|
953
|
+
color: ${Sn};
|
|
949
954
|
|
|
950
955
|
display: inline-flex;
|
|
951
956
|
align-items: center;
|
|
@@ -953,7 +958,7 @@ class sn extends mi{constructor(t){if(super(t),this.et=ot,t.type!==gi)throw Erro
|
|
|
953
958
|
}
|
|
954
959
|
|
|
955
960
|
.ft-checkbox--disabled {
|
|
956
|
-
color: ${
|
|
961
|
+
color: ${kn};
|
|
957
962
|
}
|
|
958
963
|
|
|
959
964
|
input {
|
|
@@ -977,26 +982,26 @@ class sn extends mi{constructor(t){if(super(t),this.et=ot,t.type!==gi)throw Erro
|
|
|
977
982
|
|
|
978
983
|
.ft-checkbox--box {
|
|
979
984
|
display: flex;
|
|
980
|
-
border: 2px solid ${
|
|
985
|
+
border: 2px solid ${Cn};
|
|
981
986
|
border-radius: 2px;
|
|
982
987
|
|
|
983
988
|
width: 18px;
|
|
984
989
|
height: 18px;
|
|
985
990
|
|
|
986
|
-
color: ${
|
|
991
|
+
color: ${$n};
|
|
987
992
|
}
|
|
988
993
|
|
|
989
994
|
|
|
990
995
|
.ft-checkbox--checked .ft-checkbox--box,
|
|
991
996
|
.ft-checkbox--indeterminate .ft-checkbox--box {
|
|
992
|
-
border-color: ${
|
|
993
|
-
background-color: ${
|
|
997
|
+
border-color: ${Nn};
|
|
998
|
+
background-color: ${Nn};
|
|
994
999
|
}
|
|
995
1000
|
|
|
996
1001
|
.ft-checkbox--disabled .ft-checkbox--box {
|
|
997
|
-
border-color: ${
|
|
1002
|
+
border-color: ${kn};
|
|
998
1003
|
background-color: transparent;
|
|
999
|
-
color: ${
|
|
1004
|
+
color: ${kn};
|
|
1000
1005
|
}
|
|
1001
1006
|
|
|
1002
1007
|
.ft-checkbox--checkmark {
|
|
@@ -1015,8 +1020,8 @@ class sn extends mi{constructor(t){if(super(t),this.et=ot,t.type!==gi)throw Erro
|
|
|
1015
1020
|
.ft-checkbox--indeterminate .ft-checkbox--checkmark {
|
|
1016
1021
|
opacity: 1;
|
|
1017
1022
|
}
|
|
1018
|
-
`;var
|
|
1019
|
-
<label class="${
|
|
1023
|
+
`;var En=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 Me{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1}render(){const t={"ft-checkbox":!0,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return se`
|
|
1024
|
+
<label class="${Ji(t)}" for="checkbox-input">
|
|
1020
1025
|
<div class="ft-checkbox--box-container">
|
|
1021
1026
|
<ft-ripple
|
|
1022
1027
|
?disabled=${this.disabled}
|
|
@@ -1041,14 +1046,14 @@ class sn extends mi{constructor(t){if(super(t),this.et=ot,t.type!==gi)throw Erro
|
|
|
1041
1046
|
<slot></slot>
|
|
1042
1047
|
</ft-typography>
|
|
1043
1048
|
</label>
|
|
1044
|
-
`}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),null===(e=this.ripple)||void 0===e||e.setupFor(this.container)}}
|
|
1049
|
+
`}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),null===(e=this.ripple)||void 0===e||e.setupFor(this.container)}}Un.elementDefinitions={"ft-ripple":Xi,"ft-typography":yi},Un.styles=Rn,En([N()],Un.prototype,"name",void 0),En([N({type:Boolean,reflect:!0})],Un.prototype,"checked",void 0),En([N({type:Boolean})],Un.prototype,"indeterminate",void 0),En([N({type:Boolean})],Un.prototype,"disabled",void 0),En([R(".ft-checkbox")],Un.prototype,"container",void 0),En([R("ft-ripple")],Un.prototype,"ripple",void 0),W("ft-checkbox")(Un);const In=Ce.extend("--ft-radio-text-color","",Le.colorOnSurfaceHigh),Ln=Ce.external(Le.colorPrimary,"Design system"),Wn=(Ce.external(Le.colorOnPrimary,"Design system"),Ce.extend("--ft-radio-border-color","",Le.colorOnSurfaceMedium)),zn=Ce.external(Le.colorOnSurfaceDisabled,"Design system"),Fn=$t`
|
|
1045
1050
|
* {
|
|
1046
1051
|
box-sizing: border-box;
|
|
1047
1052
|
}
|
|
1048
1053
|
|
|
1049
1054
|
.ft-radio {
|
|
1050
1055
|
box-sizing: border-box;
|
|
1051
|
-
color: ${
|
|
1056
|
+
color: ${In};
|
|
1052
1057
|
|
|
1053
1058
|
display: inline-flex;
|
|
1054
1059
|
align-items: center;
|
|
@@ -1056,7 +1061,7 @@ class sn extends mi{constructor(t){if(super(t),this.et=ot,t.type!==gi)throw Erro
|
|
|
1056
1061
|
}
|
|
1057
1062
|
|
|
1058
1063
|
.ft-radio--disabled {
|
|
1059
|
-
color: ${
|
|
1064
|
+
color: ${zn};
|
|
1060
1065
|
}
|
|
1061
1066
|
|
|
1062
1067
|
input {
|
|
@@ -1079,7 +1084,7 @@ class sn extends mi{constructor(t){if(super(t),this.et=ot,t.type!==gi)throw Erro
|
|
|
1079
1084
|
}
|
|
1080
1085
|
|
|
1081
1086
|
.ft-radio--box {
|
|
1082
|
-
border: 2px solid ${
|
|
1087
|
+
border: 2px solid ${Wn};
|
|
1083
1088
|
border-radius: 50%;
|
|
1084
1089
|
|
|
1085
1090
|
display: flex;
|
|
@@ -1092,7 +1097,7 @@ class sn extends mi{constructor(t){if(super(t),this.et=ot,t.type!==gi)throw Erro
|
|
|
1092
1097
|
|
|
1093
1098
|
.ft-radio--box:after {
|
|
1094
1099
|
content: " ";
|
|
1095
|
-
background-color: ${
|
|
1100
|
+
background-color: ${Ln};
|
|
1096
1101
|
|
|
1097
1102
|
border-radius: 50%;
|
|
1098
1103
|
|
|
@@ -1104,7 +1109,7 @@ class sn extends mi{constructor(t){if(super(t),this.et=ot,t.type!==gi)throw Erro
|
|
|
1104
1109
|
}
|
|
1105
1110
|
|
|
1106
1111
|
.ft-radio--checked .ft-radio--box {
|
|
1107
|
-
border-color: ${
|
|
1112
|
+
border-color: ${Ln};
|
|
1108
1113
|
}
|
|
1109
1114
|
|
|
1110
1115
|
|
|
@@ -1113,15 +1118,15 @@ class sn extends mi{constructor(t){if(super(t),this.et=ot,t.type!==gi)throw Erro
|
|
|
1113
1118
|
}
|
|
1114
1119
|
|
|
1115
1120
|
.ft-radio--disabled .ft-radio--box {
|
|
1116
|
-
border-color: ${
|
|
1121
|
+
border-color: ${zn};
|
|
1117
1122
|
background-color: transparent;
|
|
1118
1123
|
}
|
|
1119
1124
|
|
|
1120
1125
|
.ft-radio--disabled .ft-radio--box:after {
|
|
1121
|
-
background-color: ${
|
|
1126
|
+
background-color: ${zn};
|
|
1122
1127
|
}
|
|
1123
|
-
`;var
|
|
1124
|
-
<div class="${
|
|
1128
|
+
`;var Kn=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 Bn extends CustomEvent{constructor(t,e){super("change",{detail:{value:t,checked:e},bubbles:!0,composed:!0})}}class Zn extends Me{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.disabled=!1}render(){const t={"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled};return se`
|
|
1129
|
+
<div class="${Ji(t)}">
|
|
1125
1130
|
<div class="ft-radio--box-container">
|
|
1126
1131
|
<ft-ripple
|
|
1127
1132
|
?disabled=${this.disabled}
|
|
@@ -1145,22 +1150,22 @@ class sn extends mi{constructor(t){if(super(t),this.et=ot,t.type!==gi)throw Erro
|
|
|
1145
1150
|
</ft-typography>
|
|
1146
1151
|
</label>
|
|
1147
1152
|
</div>
|
|
1148
|
-
`}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new
|
|
1153
|
+
`}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new Bn(this.value,this.checked))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),null===(e=this.ripple)||void 0===e||e.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new Bn(this.value,this.checked)),this.focus()}focus(){var t;null===(t=this.input)||void 0===t||t.focus()}}Zn.elementDefinitions={"ft-ripple":Xi,"ft-typography":yi},Zn.styles=Fn,Kn([N()],Zn.prototype,"value",void 0),Kn([N()],Zn.prototype,"name",void 0),Kn([N({type:Boolean,reflect:!0})],Zn.prototype,"checked",void 0),Kn([N({type:Boolean})],Zn.prototype,"disabled",void 0),Kn([R(".ft-radio")],Zn.prototype,"container",void 0),Kn([R("ft-ripple")],Zn.prototype,"ripple",void 0),Kn([R("input")],Zn.prototype,"input",void 0);const Dn=$t`
|
|
1149
1154
|
:host {
|
|
1150
1155
|
display: contents;
|
|
1151
1156
|
}
|
|
1152
|
-
`;var
|
|
1157
|
+
`;var An=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 Mn extends Me{constructor(){super(...arguments),this.name=""}render(){return se`
|
|
1153
1158
|
<slot @slotchange=${this.onSlotChange}
|
|
1154
1159
|
@change=${this.onChange}
|
|
1155
1160
|
@keydown=${this.onKeyDown}
|
|
1156
1161
|
></slot>
|
|
1157
|
-
`}onSlotChange(){this.radioButtons.forEach((t=>t.name=this.name))}onChange(t){t.stopPropagation(),this.radioButtons.forEach((e=>e.checked=t.detail.value===e.value)),this.dispatchEvent(new CustomEvent("change",{detail:t.detail.value})),this.focusCurrentValue()}onKeyDown(t){switch(t.key){case"ArrowUp":case"ArrowLeft":{let e=this.findFtRadio(t),o=this.radioButtons.indexOf(e)-1;this.radioButtons[o<0?this.radioButtons.length-1:o].select();break}case"ArrowDown":case"ArrowRight":{let e=this.radioButtons.indexOf(this.findFtRadio(t))+1;this.radioButtons[e>this.radioButtons.length-1?0:e].select();break}}}findFtRadio(t){return t.composedPath().find((t=>"FT-RADIO"===t.tagName))}focusCurrentValue(){setTimeout((()=>{var t;return null===(t=this.radioButtons.find((t=>t.checked)))||void 0===t?void 0:t.focus()}),10)}}
|
|
1162
|
+
`}onSlotChange(){this.radioButtons.forEach((t=>t.name=this.name))}onChange(t){t.stopPropagation(),this.radioButtons.forEach((e=>e.checked=t.detail.value===e.value)),this.dispatchEvent(new CustomEvent("change",{detail:t.detail.value})),this.focusCurrentValue()}onKeyDown(t){switch(t.key){case"ArrowUp":case"ArrowLeft":{let e=this.findFtRadio(t),o=this.radioButtons.indexOf(e)-1;this.radioButtons[o<0?this.radioButtons.length-1:o].select();break}case"ArrowDown":case"ArrowRight":{let e=this.radioButtons.indexOf(this.findFtRadio(t))+1;this.radioButtons[e>this.radioButtons.length-1?0:e].select();break}}}findFtRadio(t){return t.composedPath().find((t=>"FT-RADIO"===t.tagName))}focusCurrentValue(){setTimeout((()=>{var t;return null===(t=this.radioButtons.find((t=>t.checked)))||void 0===t?void 0:t.focus()}),10)}}Mn.elementDefinitions={},Mn.styles=Dn,An([N()],Mn.prototype,"name",void 0),An([
|
|
1158
1163
|
/**
|
|
1159
1164
|
* @license
|
|
1160
1165
|
* Copyright 2021 Google LLC
|
|
1161
1166
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1162
1167
|
*/
|
|
1163
|
-
function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}]`:":not([name])");return
|
|
1168
|
+
function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}]`:":not([name])");return k(0,0,{get(){const e=this.renderRoot?.querySelector(n),o=e?.assignedElements(t)??[];return void 0===r?o:o.filter((t=>t.matches(r)))}})}}()],Mn.prototype,"radioButtons",void 0),W("ft-radio")(Zn),W("ft-radio-group")(Mn);const Pn={borderRadiusM:Ce.external(Le.borderRadiusM,"Design system"),colorOutline:Ce.external(Le.colorOutline,"Design system"),colorOnSurface:Ce.external(Le.colorOnSurface,"Design system"),colorOnSurfaceMedium:Ce.external(Le.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:Ce.external(Le.colorOnSurfaceDisabled,"Design system"),colorPrimary:Ce.external(Le.colorPrimary,"Design system"),colorOnPrimary:Ce.external(Le.colorOnPrimary,"Design system"),fontFamily:Ce.external(Ko.fontFamily,"Body2 typography"),fontSize:Ce.external(Ko.fontSize,"Body2 typography"),fontWeight:Ce.external(Ko.fontWeight,"Body2 typography"),letterSpacing:Ce.external(Ko.letterSpacing,"Body2 typography"),lineHeight:Ce.external(Ko.lineHeight,"Body2 typography"),textTransform:Ce.external(Ko.textTransform,"Body2 typography")},Hn=$t`
|
|
1164
1169
|
.ft-filter-level--container {
|
|
1165
1170
|
display: flex;
|
|
1166
1171
|
flex-direction: column;
|
|
@@ -1174,14 +1179,14 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
|
|
|
1174
1179
|
flex-shrink: 0;
|
|
1175
1180
|
text-decoration: none;
|
|
1176
1181
|
position: relative;
|
|
1177
|
-
border-radius: ${
|
|
1182
|
+
border-radius: ${Pn.borderRadiusM};
|
|
1178
1183
|
overflow: hidden;
|
|
1179
1184
|
display: flex;
|
|
1180
1185
|
align-items: center;
|
|
1181
1186
|
padding: 4px 4px;
|
|
1182
1187
|
gap: 4px;
|
|
1183
1188
|
cursor: pointer;
|
|
1184
|
-
color: ${
|
|
1189
|
+
color: ${Pn.colorOnSurface};
|
|
1185
1190
|
}
|
|
1186
1191
|
|
|
1187
1192
|
.ft-filter-level--go-back:focus {
|
|
@@ -1210,7 +1215,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
|
|
|
1210
1215
|
}
|
|
1211
1216
|
|
|
1212
1217
|
ft-button {
|
|
1213
|
-
${
|
|
1218
|
+
${ke(Pi.color,Pn.colorOnSurface)};
|
|
1214
1219
|
}
|
|
1215
1220
|
|
|
1216
1221
|
ft-radio, ft-checkbox {
|
|
@@ -1224,11 +1229,11 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
|
|
|
1224
1229
|
|
|
1225
1230
|
.ft-filter-level--no-values {
|
|
1226
1231
|
margin: 10px 0;
|
|
1227
|
-
color: ${
|
|
1232
|
+
color: ${Pn.colorOnSurfaceMedium};
|
|
1228
1233
|
}
|
|
1229
|
-
`;var
|
|
1234
|
+
`;var jn=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 Tn extends Me{constructor(){super(...arguments),this.filterId="",this.options=[],this.multivalued=!1,this.disabled=!1,this.hideSelectedOptions=!1,this.preventNavigation=!1,this.filter="",this.moreValuesButtonLabel="More",this.displayedValuesLimit=0,this.displayedPages=1}get hasHiddenValues(){let t=this.limit;return null!=t&&t<this.options.length}get limit(){return this.displayedValuesLimit>0?this.displayedPages*this.displayedValuesLimit:void 0}get height(){var t,e;return null!==(e=null===(t=this.container)||void 0===t?void 0:t.scrollHeight)&&void 0!==e?e:0}render(){let t=[...this.options];this.hideSelectedOptions&&(t=t.filter((t=>!t.selected))),this.filter&&(t=t.filter((t=>t.label.toLowerCase().includes(this.filter.toLowerCase()))));const e=t.slice(0,this.limit);return se`
|
|
1230
1235
|
<div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
|
|
1231
|
-
${null==this.parent?null:
|
|
1236
|
+
${null==this.parent?null:se`
|
|
1232
1237
|
<div tabindex="0"
|
|
1233
1238
|
part="controls go-back"
|
|
1234
1239
|
class="ft-filter-level--go-back"
|
|
@@ -1240,15 +1245,15 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
|
|
|
1240
1245
|
<ft-typography variant="body2">${this.parent.label}</ft-typography>
|
|
1241
1246
|
</div>
|
|
1242
1247
|
`}
|
|
1243
|
-
${0===this.options.length&&this.noValuesLabel?
|
|
1248
|
+
${0===this.options.length&&this.noValuesLabel?se`
|
|
1244
1249
|
<ft-typography class="ft-filter-level--no-values" element="span" variant="body2">
|
|
1245
1250
|
${this.noValuesLabel}
|
|
1246
1251
|
</ft-typography>
|
|
1247
|
-
`:
|
|
1248
|
-
${
|
|
1252
|
+
`:ce}
|
|
1253
|
+
${ki(e,(t=>t.value),(t=>{var e;return se`
|
|
1249
1254
|
<div class="ft-filter-level--option" part="options">
|
|
1250
1255
|
${this.multivalued?this.buildMultiValuedOption(t):this.buildMonoValuedOption(t)}
|
|
1251
|
-
${this.preventNavigation||t.selected||0===(null!==(e=t.subOptions)&&void 0!==e?e:[]).length?
|
|
1256
|
+
${this.preventNavigation||t.selected||0===(null!==(e=t.subOptions)&&void 0!==e?e:[]).length?ce:se`
|
|
1252
1257
|
<ft-button icon="thin_arrow_right"
|
|
1253
1258
|
part="controls navigate-hierarchy"
|
|
1254
1259
|
label="${t.label}"
|
|
@@ -1258,7 +1263,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
|
|
|
1258
1263
|
`}
|
|
1259
1264
|
</div>
|
|
1260
1265
|
`}))}
|
|
1261
|
-
${e.length<t.length?
|
|
1266
|
+
${e.length<t.length?se`
|
|
1262
1267
|
<ft-button
|
|
1263
1268
|
class="ft-filter-level--display-more"
|
|
1264
1269
|
icon="thin_arrow"
|
|
@@ -1267,19 +1272,19 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
|
|
|
1267
1272
|
@click=${this.displayMore}>
|
|
1268
1273
|
${this.moreValuesButtonLabel}
|
|
1269
1274
|
</ft-button>
|
|
1270
|
-
`:
|
|
1275
|
+
`:ce}
|
|
1271
1276
|
</div>
|
|
1272
|
-
`}goBackOnKeyPress(t){"Enter"!==t.key&&" "!==t.key||this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}goBackOnClick(t){t.stopPropagation(),t.preventDefault(),this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}displayMore(){this.displayedPages++}buildMultiValuedOption(t){var e;return
|
|
1277
|
+
`}goBackOnKeyPress(t){"Enter"!==t.key&&" "!==t.key||this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}goBackOnClick(t){t.stopPropagation(),t.preventDefault(),this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}displayMore(){this.displayedPages++}buildMultiValuedOption(t){var e;return se`
|
|
1273
1278
|
<ft-checkbox name="${this.filterId}"
|
|
1274
1279
|
part="multivalued-option"
|
|
1275
1280
|
data-value="${t.value}"
|
|
1276
1281
|
.checked=${t.selected}
|
|
1277
1282
|
.disabled=${this.disabled}
|
|
1278
|
-
.indeterminate=${
|
|
1283
|
+
.indeterminate=${I(null!==(e=t.subOptions)&&void 0!==e?e:[],(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]})).some((t=>t.selected))}
|
|
1279
1284
|
@change=${e=>this.optionsChanged(e,t)}>
|
|
1280
1285
|
${t.renderOption?t.renderOption:t.label}
|
|
1281
1286
|
</ft-checkbox>
|
|
1282
|
-
`}buildMonoValuedOption(t){return
|
|
1287
|
+
`}buildMonoValuedOption(t){return se`
|
|
1283
1288
|
<ft-radio name="${this.filterId+Math.round(1e6*Math.random())}"
|
|
1284
1289
|
part="monovalued-option"
|
|
1285
1290
|
data-value="${t.value}"
|
|
@@ -1290,7 +1295,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
|
|
|
1290
1295
|
@change=${t=>t.stopPropagation()}>
|
|
1291
1296
|
${t.renderOption?t.renderOption:t.label}
|
|
1292
1297
|
</ft-radio>
|
|
1293
|
-
`}onRadioKeyUp(t,e){e.selected&&" "===t.key&&this.optionsChanged(t,e)}optionsChanged(t,e){t.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:e}))}displayLevel(t){this.dispatchEvent(new CustomEvent("display-level",{detail:t}))}}
|
|
1298
|
+
`}onRadioKeyUp(t,e){e.selected&&" "===t.key&&this.optionsChanged(t,e)}optionsChanged(t,e){t.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:e}))}displayLevel(t){this.dispatchEvent(new CustomEvent("display-level",{detail:t}))}}Tn.elementDefinitions={"ft-button":xn,"ft-ripple":Xi,"ft-typography":yi,"ft-checkbox":Un,"ft-icon":un,"ft-radio":Zn},Tn.styles=Hn,jn([N({type:String})],Tn.prototype,"filterId",void 0),jn([N({type:Object})],Tn.prototype,"parent",void 0),jn([N({type:Array})],Tn.prototype,"options",void 0),jn([N({type:Boolean})],Tn.prototype,"multivalued",void 0),jn([N({type:Boolean})],Tn.prototype,"disabled",void 0),jn([N({type:Boolean})],Tn.prototype,"hideSelectedOptions",void 0),jn([N({type:Boolean})],Tn.prototype,"preventNavigation",void 0),jn([N({type:String})],Tn.prototype,"filter",void 0),jn([N({type:String})],Tn.prototype,"moreValuesButtonLabel",void 0),jn([N({type:String})],Tn.prototype,"noValuesLabel",void 0),jn([N({type:Number})],Tn.prototype,"displayedValuesLimit",void 0),jn([R(".ft-filter-level--container")],Tn.prototype,"container",void 0),jn([$()],Tn.prototype,"displayedPages",void 0);const _n={buttonsColor:Ce.extend("--ft-snap-scroll-buttons-color","",Le.colorPrimary),buttonsZIndex:Ce.create("--ft-snap-scroll-buttons-z-index","","COLOR","1"),gap:Ce.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:Ce.external(Le.colorSurface,"Design system")},Gn=$t`
|
|
1294
1299
|
.ft-snap-scroll {
|
|
1295
1300
|
box-sizing: border-box;
|
|
1296
1301
|
position: relative;
|
|
@@ -1325,7 +1330,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
|
|
|
1325
1330
|
flex-wrap: nowrap;
|
|
1326
1331
|
align-items: flex-start;
|
|
1327
1332
|
justify-content: flex-start;
|
|
1328
|
-
gap: ${
|
|
1333
|
+
gap: ${_n.gap};
|
|
1329
1334
|
}
|
|
1330
1335
|
|
|
1331
1336
|
.ft-snap-scroll--hide-scrollbar .ft-snap-scroll--content::-webkit-scrollbar {
|
|
@@ -1368,11 +1373,11 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
|
|
|
1368
1373
|
.ft-snap-scroll--next {
|
|
1369
1374
|
position: absolute;
|
|
1370
1375
|
display: flex;
|
|
1371
|
-
z-index: ${
|
|
1376
|
+
z-index: ${_n.buttonsZIndex};
|
|
1372
1377
|
opacity: 1;
|
|
1373
1378
|
transition: background-color .5s ease-in-out, opacity .5s ease-in-out, z-index .5s ease-in-out;
|
|
1374
|
-
${
|
|
1375
|
-
${
|
|
1379
|
+
${ke(Pi.backgroundColor,"transparent")};
|
|
1380
|
+
${ke(Pi.color,_n.buttonsColor)};
|
|
1376
1381
|
}
|
|
1377
1382
|
|
|
1378
1383
|
.ft-snap-scroll--previous[hidden],
|
|
@@ -1385,37 +1390,37 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
|
|
|
1385
1390
|
top: 0;
|
|
1386
1391
|
left: -1px;
|
|
1387
1392
|
bottom: 0;
|
|
1388
|
-
background: linear-gradient(to right, ${
|
|
1393
|
+
background: linear-gradient(to right, ${_n.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
|
|
1389
1394
|
}
|
|
1390
1395
|
|
|
1391
1396
|
.ft-snap-scroll--vertical .ft-snap-scroll--previous {
|
|
1392
1397
|
top: -1px;
|
|
1393
1398
|
left: 0;
|
|
1394
1399
|
right: 0;
|
|
1395
|
-
background: linear-gradient(to bottom, ${
|
|
1400
|
+
background: linear-gradient(to bottom, ${_n.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
|
|
1396
1401
|
}
|
|
1397
1402
|
|
|
1398
1403
|
.ft-snap-scroll--horizontal .ft-snap-scroll--next {
|
|
1399
1404
|
top: 0;
|
|
1400
1405
|
right: -1px;
|
|
1401
1406
|
bottom: 0;
|
|
1402
|
-
background: linear-gradient(to left, ${
|
|
1407
|
+
background: linear-gradient(to left, ${_n.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
|
|
1403
1408
|
}
|
|
1404
1409
|
|
|
1405
1410
|
.ft-snap-scroll--vertical .ft-snap-scroll--next {
|
|
1406
1411
|
left: 0;
|
|
1407
1412
|
right: 0;
|
|
1408
1413
|
bottom: -1px;
|
|
1409
|
-
background: linear-gradient(to top, ${
|
|
1414
|
+
background: linear-gradient(to top, ${_n.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
|
|
1410
1415
|
}
|
|
1411
1416
|
|
|
1412
1417
|
.ft-snap-scroll--horizontal .ft-snap-scroll--previous:hover,
|
|
1413
1418
|
.ft-snap-scroll--horizontal .ft-snap-scroll--next:hover,
|
|
1414
1419
|
.ft-snap-scroll--vertical .ft-snap-scroll--previous:hover,
|
|
1415
1420
|
.ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
|
|
1416
|
-
background-color: ${
|
|
1421
|
+
background-color: ${_n.colorSurface};
|
|
1417
1422
|
}
|
|
1418
|
-
`;var
|
|
1423
|
+
`;var Vn=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 Yn extends CustomEvent{constructor(t,e){super("current-element-change",{detail:{index:t,element:e}})}}class Jn extends Me{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver((()=>this.scheduleUpdateScroll())),this.scrollDebouncer=new U(200),this.updateScrollDebouncer=new U(100)}scrollToIndex(t){this.scrollToElement(this.elements[t])}scrollIndexIntoView(t){let e=this.elements[t];if(e){const t=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,o=this.contentSlot[this.scrollAttribute]+this.prevSize;(e[this.offsetAttribute]<o||e[this.offsetAttribute]+e[this.sizeAttribute]>t)&&this.scrollToElement(e)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){const t=Ji({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":Ye}),e=this.controls&&this.withScroll;return se`
|
|
1419
1424
|
<div part="container" class="${t}">
|
|
1420
1425
|
<ft-button
|
|
1421
1426
|
class="ft-snap-scroll--previous"
|
|
@@ -1439,7 +1444,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
|
|
|
1439
1444
|
@click=${this.next}
|
|
1440
1445
|
></ft-button>
|
|
1441
1446
|
</div>
|
|
1442
|
-
`}update(t){super.update(t),t.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),t.has("currentElement")&&this.dispatchEvent(new
|
|
1447
|
+
`}update(t){super.update(t),t.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),t.has("currentElement")&&this.dispatchEvent(new Yn(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,null===(e=this.listenedContainer)||void 0===e||e.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run((()=>this.snap())),this.scheduleUpdateScroll()}snap(){let t=this.closestElementFromStart();if(null!=t){const e=this.getDistanceFromStart(t);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<e&&(t=this.lastElement),this.scrollToElement(t)}}scrollToElement(t){var e,o;t&&(this.horizontal?null===(e=this.contentSlot)||void 0===e||e.scrollTo({left:this.getOffset(t)-this.controlsSize,behavior:"smooth"}):null===(o=this.contentSlot)||void 0===o||o.scrollTo({top:this.getOffset(t)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(t))}onSlotChange(){var t,e;this.elements=null!==(e=null===(t=this.contentSlot)||void 0===t?void 0:t.assignedElements().map((t=>t)))&&void 0!==e?e:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let t=-1;for(let e=0;e<this.elements.length;e++)(t<0||this.getDistanceFromStart(this.elements[e])<this.getDistanceFromStart(this.elements[t]))&&(t=e);return t}scheduleUpdateScroll(){this.updateScrollDebouncer.run((()=>this.updateScroll()))}updateScroll(){null!=this.contentSlot?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=0===this.contentSlot[this.scrollAttribute],this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let t=this.elements[0];return t?t[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(t){return t[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(t){const e=t===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(t)-this.contentSlot[this.scrollAttribute]-e)}}Jn.elementDefinitions={"ft-button":xn},Jn.styles=Gn,Vn([N({type:Boolean})],Jn.prototype,"horizontal",void 0),Vn([N({type:Boolean})],Jn.prototype,"hideScrollbar",void 0),Vn([N({type:Boolean})],Jn.prototype,"controls",void 0),Vn([N({type:Boolean})],Jn.prototype,"limitSize",void 0),Vn([$()],Jn.prototype,"elements",void 0),Vn([$()],Jn.prototype,"currentElement",void 0),Vn([$()],Jn.prototype,"withScroll",void 0),Vn([$()],Jn.prototype,"startReached",void 0),Vn([$()],Jn.prototype,"endReached",void 0),Vn([R(".ft-snap-scroll--content")],Jn.prototype,"contentSlot",void 0),W("ft-snap-scroll")(Jn);const qn={colorOutline:Ce.external(Le.colorOutline,"Design system"),colorOnSurface:Ce.external(Le.colorOnSurface,"Design system"),colorOnSurfaceMedium:Ce.external(Le.colorOnSurfaceMedium,"Design system"),colorPrimary:Ce.external(Le.colorPrimary,"Design system"),colorSurface:Ce.external(Le.colorSurface,"Design system"),transitionDuration:Ce.external(Le.transitionDuration,"Design system"),transitionTimingFunction:Ce.external(Le.transitionTimingFunction,"Design system")},Xn=[li,$t`
|
|
1443
1448
|
:host {
|
|
1444
1449
|
display: flex;
|
|
1445
1450
|
max-height: 100%;
|
|
@@ -1452,7 +1457,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
|
|
|
1452
1457
|
flex-direction: column;
|
|
1453
1458
|
max-height: 100%;
|
|
1454
1459
|
max-width: 100%;
|
|
1455
|
-
color: ${
|
|
1460
|
+
color: ${qn.colorOnSurface};
|
|
1456
1461
|
}
|
|
1457
1462
|
|
|
1458
1463
|
.ft-filter--header {
|
|
@@ -1462,13 +1467,13 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
|
|
|
1462
1467
|
flex-shrink: 0;
|
|
1463
1468
|
padding: 0 10px;
|
|
1464
1469
|
margin-bottom: 8px;
|
|
1465
|
-
${
|
|
1470
|
+
${ke(ro.fontSize,"14px")};
|
|
1466
1471
|
}
|
|
1467
1472
|
|
|
1468
1473
|
.ft-filter--header ft-button {
|
|
1469
1474
|
flex-shrink: 0;
|
|
1470
1475
|
margin-left: auto;
|
|
1471
|
-
${
|
|
1476
|
+
${ke(Pi.iconSize,"18px")};
|
|
1472
1477
|
}
|
|
1473
1478
|
|
|
1474
1479
|
.ft-filter--label {
|
|
@@ -1476,8 +1481,8 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
|
|
|
1476
1481
|
flex-shrink: 1;
|
|
1477
1482
|
flex-grow: 1;
|
|
1478
1483
|
word-break: break-word;
|
|
1479
|
-
${
|
|
1480
|
-
${
|
|
1484
|
+
${ke(ro.lineHeight,"22px")};
|
|
1485
|
+
${ke(ro.fontWeight,"bold")};
|
|
1481
1486
|
}
|
|
1482
1487
|
|
|
1483
1488
|
.ft-filter--filter {
|
|
@@ -1488,8 +1493,8 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
|
|
|
1488
1493
|
padding: 0 10px;
|
|
1489
1494
|
overflow: hidden;
|
|
1490
1495
|
height: 32px;
|
|
1491
|
-
transition: height ${
|
|
1492
|
-
margin ${
|
|
1496
|
+
transition: height ${qn.transitionDuration} ${qn.transitionTimingFunction},
|
|
1497
|
+
margin ${qn.transitionDuration} ${qn.transitionTimingFunction};
|
|
1493
1498
|
transition-delay: 500ms;
|
|
1494
1499
|
}
|
|
1495
1500
|
|
|
@@ -1502,15 +1507,15 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
|
|
|
1502
1507
|
display: block;
|
|
1503
1508
|
width: 100%;
|
|
1504
1509
|
border-radius: 4px;
|
|
1505
|
-
border: 1px solid ${
|
|
1510
|
+
border: 1px solid ${qn.colorOutline};
|
|
1506
1511
|
padding: 4px;
|
|
1507
|
-
background-color: ${
|
|
1508
|
-
color: ${
|
|
1509
|
-
outline-color: ${
|
|
1512
|
+
background-color: ${qn.colorSurface};
|
|
1513
|
+
color: ${qn.colorOnSurface};
|
|
1514
|
+
outline-color: ${qn.colorPrimary};
|
|
1510
1515
|
}
|
|
1511
1516
|
|
|
1512
1517
|
input::placeholder {
|
|
1513
|
-
color: ${
|
|
1518
|
+
color: ${qn.colorOnSurfaceMedium};
|
|
1514
1519
|
}
|
|
1515
1520
|
|
|
1516
1521
|
input:placeholder-shown {
|
|
@@ -1526,7 +1531,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
|
|
|
1526
1531
|
}
|
|
1527
1532
|
|
|
1528
1533
|
.ft-filter--separator {
|
|
1529
|
-
border-top: 1px solid ${
|
|
1534
|
+
border-top: 1px solid ${qn.colorOutline};
|
|
1530
1535
|
margin: 4px 10px;
|
|
1531
1536
|
}
|
|
1532
1537
|
|
|
@@ -1551,16 +1556,16 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
|
|
|
1551
1556
|
slot:not([name]) {
|
|
1552
1557
|
display: none;
|
|
1553
1558
|
}
|
|
1554
|
-
`];var
|
|
1559
|
+
`];var Qn=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 ta extends CustomEvent{constructor(t){super("change",{detail:t})}}class ea extends Me{constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.noValuesLabel="No values available",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayedValuesLimit=0,this.hideClearButton=!1,this.lastLevelHasHiddenvalues=!1,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver((()=>this.updateScroll())),this.levelsScrollDebouncer=new U(300),this.changeDebouncer=new U(10),this.lastDispatchedValues=[]}get flatOptions(){return I(this.options,(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]}))}get selectedValues(){return this.flatOptions.filter((t=>t.selected)).map((t=>t.value))}render(){const t=this.flatOptions.some((t=>t.selected)),e=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,o=this.filterPlaceHolder.replace("{0}",this.label);return se`
|
|
1555
1560
|
<div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
|
|
1556
1561
|
part="container">
|
|
1557
|
-
${this.label||t?
|
|
1562
|
+
${this.label||t?se`
|
|
1558
1563
|
<div class="ft-filter--header" part="header">
|
|
1559
1564
|
<ft-typography class="ft-filter--label" variant="overline" part="label">
|
|
1560
1565
|
${this.label}
|
|
1561
1566
|
</ft-typography>
|
|
1562
1567
|
<slot name="label"></slot>
|
|
1563
|
-
${t&&!this.hideClearButton?
|
|
1568
|
+
${t&&!this.hideClearButton?se`
|
|
1564
1569
|
<ft-button icon="close" dense @click=${this.clear} part="clear-button">
|
|
1565
1570
|
${this.clearButtonLabel}
|
|
1566
1571
|
</ft-button>
|
|
@@ -1584,8 +1589,8 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
|
|
|
1584
1589
|
@slotchange=${this.updateOptionsFromSlot}
|
|
1585
1590
|
@option-change=${this.optionsChanged}></slot>
|
|
1586
1591
|
</div>
|
|
1587
|
-
`}update(t){if(super.update(t),t.has("options")){const t=new Set(this.flatOptions.map((t=>t.value)));this.displayedLevels=this.displayedLevels.filter((e=>t.has(e))),this.lastDispatchedValues=this.selectedValues}}contentAvailableCallback(t){var e,o,i,r,n;super.contentAvailableCallback(t),this.valuesContainer&&this.scrollResizeObserver.observe(this.valuesContainer),this.container&&this.scrollResizeObserver.observe(this.container),t.has("options")&&(this.updateScroll(),null===(e=this.levelsContainer)||void 0===e||e.scrollToIndex(this.displayedLevels.length)),t.has("slideIn")&&this.slideIn&&setTimeout((()=>{var t;null===(t=this.levelsContainer)||void 0===t||t.next(),this.slideIn=void 0}),0),t.has("slideOut")&&this.slideOut&&(null===(o=this.levelsContainer)||void 0===o||o.previous(),setTimeout((()=>{this.displayedLevels.pop(),this.slideOut=void 0}),300)),this.lastLevelHasHiddenvalues=null!==(n=null===(r=null===(i=this.shadowRoot)||void 0===i?void 0:i.querySelector(".ft-filter--levels ft-filter-level:last-child"))||void 0===r?void 0:r.hasHiddenValues)&&void 0!==n&&n}renderLevels(){const t=this.flatOptions,e=t.filter((t=>t.selected)),o=this.slideIn||this.slideOut?this.displayedLevels.length-2:this.displayedLevels.length-1,i=o<0?"ft-filter--level-center":"ft-filter--level-left";return
|
|
1588
|
-
${this.raiseSelectedOptions&&e.length>0?
|
|
1592
|
+
`}update(t){if(super.update(t),t.has("options")){const t=new Set(this.flatOptions.map((t=>t.value)));this.displayedLevels=this.displayedLevels.filter((e=>t.has(e))),this.lastDispatchedValues=this.selectedValues}}contentAvailableCallback(t){var e,o,i,r,n;super.contentAvailableCallback(t),this.valuesContainer&&this.scrollResizeObserver.observe(this.valuesContainer),this.container&&this.scrollResizeObserver.observe(this.container),t.has("options")&&(this.updateScroll(),null===(e=this.levelsContainer)||void 0===e||e.scrollToIndex(this.displayedLevels.length)),t.has("slideIn")&&this.slideIn&&setTimeout((()=>{var t;null===(t=this.levelsContainer)||void 0===t||t.next(),this.slideIn=void 0}),0),t.has("slideOut")&&this.slideOut&&(null===(o=this.levelsContainer)||void 0===o||o.previous(),setTimeout((()=>{this.displayedLevels.pop(),this.slideOut=void 0}),300)),this.lastLevelHasHiddenvalues=null!==(n=null===(r=null===(i=this.shadowRoot)||void 0===i?void 0:i.querySelector(".ft-filter--levels ft-filter-level:last-child"))||void 0===r?void 0:r.hasHiddenValues)&&void 0!==n&&n}renderLevels(){const t=this.flatOptions,e=t.filter((t=>t.selected)),o=this.slideIn||this.slideOut?this.displayedLevels.length-2:this.displayedLevels.length-1,i=o<0?"ft-filter--level-center":"ft-filter--level-left";return se`
|
|
1593
|
+
${this.raiseSelectedOptions&&e.length>0?se`
|
|
1589
1594
|
<ft-filter-level
|
|
1590
1595
|
filterId="${this.id}"
|
|
1591
1596
|
?multivalued=${this.multivalued}
|
|
@@ -1604,7 +1609,7 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
|
|
|
1604
1609
|
${this.renderLevel(i,this.options)}
|
|
1605
1610
|
${this.displayedLevels.map((e=>t.find((t=>t.value===e)))).map(((t,e)=>{var i;const r=(null==t?void 0:t.value)===this.slideIn||(null==t?void 0:t.value)===this.slideOut?"ft-filter--level-right":e===o?"ft-filter--level-center":"ft-filter--level-left";return this.renderLevel(r,null!==(i=null==t?void 0:t.subOptions)&&void 0!==i?i:[],t)}))}
|
|
1606
1611
|
</ft-snap-scroll>
|
|
1607
|
-
`}renderLevel(t,e,o){return
|
|
1612
|
+
`}renderLevel(t,e,o){return se`
|
|
1608
1613
|
<ft-filter-level
|
|
1609
1614
|
class="${t}"
|
|
1610
1615
|
filterId="${this.id}"
|
|
@@ -1623,6 +1628,6 @@ function(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}
|
|
|
1623
1628
|
.exportpartsPrefixes=${["values","available-values"]}
|
|
1624
1629
|
noValuesLabel="${this.noValuesLabel}"
|
|
1625
1630
|
></ft-filter-level>
|
|
1626
|
-
`}goBack(t){this.slideOut=t.detail.value}onDisplayLevel(t){this.displayedLevels.push(t.detail.value),this.slideIn=t.detail.value}clear(){if(this.flatOptions.forEach((t=>t.selected=!1)),this.displayedLevels.length>0){let t=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[t],this.slideOut=t}this.optionsChanged()}onChange(t){var e;t.stopPropagation();const o=this.flatOptions.find((e=>e.value===t.detail.value));o.selected=!o.selected;const i=t=>{var e;t!==o&&(t.selected=!1),null===(e=t.subOptions)||void 0===e||e.forEach(i)};this.multivalued?null===(e=o.subOptions)||void 0===e||e.forEach(i):this.options.forEach(i),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run((()=>{var t;this.sendEventIfValuesChanged(),this.requestUpdate(),null===(t=this.levels)||void 0===t||t.forEach((t=>t.requestUpdate()))}))}sendEventIfValuesChanged(){const t=this.selectedValues;
|
|
1631
|
+
`}goBack(t){this.slideOut=t.detail.value}onDisplayLevel(t){this.displayedLevels.push(t.detail.value),this.slideIn=t.detail.value}clear(){if(this.flatOptions.forEach((t=>t.selected=!1)),this.displayedLevels.length>0){let t=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[t],this.slideOut=t}this.optionsChanged()}onChange(t){var e;t.stopPropagation();const o=this.flatOptions.find((e=>e.value===t.detail.value));o.selected=!o.selected;const i=t=>{var e;t!==o&&(t.selected=!1),null===(e=t.subOptions)||void 0===e||e.forEach(i)};this.multivalued?null===(e=o.subOptions)||void 0===e||e.forEach(i):this.options.forEach(i),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run((()=>{var t;this.sendEventIfValuesChanged(),this.requestUpdate(),null===(t=this.levels)||void 0===t||t.forEach((t=>t.requestUpdate()))}))}sendEventIfValuesChanged(){const t=this.selectedValues;L(this.lastDispatchedValues,t)||(this.dispatchEvent(new ta(t)),this.lastDispatchedValues=t)}updateOptionsFromSlot(t){t.stopPropagation(),this.options=this.slotElement.assignedElements().map((t=>t)),this.optionsChanged()}onFilterChange(){var t,e;this.filter=null!==(e=null===(t=this.filterInput)||void 0===t?void 0:t.value)&&void 0!==e?e:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}}ea.elementDefinitions={"ft-button":xn,"ft-filter-level":Tn,"ft-snap-scroll":Jn,"ft-typography":yi},ea.styles=Xn,Qn([N({type:String})],ea.prototype,"id",void 0),Qn([N({type:String})],ea.prototype,"label",void 0),Qn([N({type:String})],ea.prototype,"filterPlaceHolder",void 0),Qn([N({type:String})],ea.prototype,"clearButtonLabel",void 0),Qn([N({type:String})],ea.prototype,"moreValuesButtonLabel",void 0),Qn([N({type:String})],ea.prototype,"noValuesLabel",void 0),Qn([z([])],ea.prototype,"options",void 0),Qn([N({type:Boolean})],ea.prototype,"multivalued",void 0),Qn([N({type:Boolean})],ea.prototype,"disabled",void 0),Qn([N({type:Boolean})],ea.prototype,"raiseSelectedOptions",void 0),Qn([N({type:Number})],ea.prototype,"displayedValuesLimit",void 0),Qn([N({type:Boolean})],ea.prototype,"hideClearButton",void 0),Qn([R(".ft-filter--slot")],ea.prototype,"slotElement",void 0),Qn([R(".ft-filter--container")],ea.prototype,"container",void 0),Qn([R(".ft-filter--values")],ea.prototype,"valuesContainer",void 0),Qn([R(".ft-filter--levels")],ea.prototype,"levelsContainer",void 0),Qn([$()],ea.prototype,"lastLevelHasHiddenvalues",void 0),Qn([R(".ft-filter--filter input")],ea.prototype,"filterInput",void 0),Qn([function(t){return(e,o)=>k(0,0,{get(){return(this.renderRoot??(E??=document.createDocumentFragment())).querySelectorAll(t)}})}(".ft-filter--levels ft-filter-level")],ea.prototype,"levels",void 0),Qn([$()],ea.prototype,"withScroll",void 0),Qn([$()],ea.prototype,"filter",void 0),Qn([$()],ea.prototype,"slideIn",void 0),Qn([$()],ea.prototype,"slideOut",void 0);var oa=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 ia extends Me{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return se`
|
|
1627
1632
|
<slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
|
|
1628
|
-
`}updateSubOptionsFromSlot(t){t.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map((t=>t))}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}
|
|
1633
|
+
`}updateSubOptionsFromSlot(t){t.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map((t=>t))}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}ia.elementDefinitions={},oa([N({type:String})],ia.prototype,"label",void 0),oa([N({type:Object,converter:t=>t})],ia.prototype,"value",void 0),oa([N({type:Boolean,reflect:!0})],ia.prototype,"selected",void 0),oa([N({type:Object})],ia.prototype,"subOptions",void 0),oa([z({})],ia.prototype,"renderOption",void 0),oa([R(".ft-filter-option--slot")],ia.prototype,"slotElement",void 0),W("ft-filter")(ea),W("ft-filter-option")(ia),t.FtFilter=ea,t.FtFilterChangeEvent=ta,t.FtFilterCssVariables=qn,t.FtFilterLevelCssVariables=Pn,t.FtFilterOption=ia,t.levelStyles=Hn,t.styles=Xn}({});
|