@fluid-topics/ft-reader-toc 1.1.26 → 1.1.27
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-reader-toc.light.js +113 -113
- package/build/ft-reader-toc.min.js +251 -251
- package/package.json +7 -7
|
@@ -12,23 +12,23 @@
|
|
|
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,
|
|
15
|
+
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.customElements.define,e=window.customElements.get,i=window.customElements,r=new WeakMap,n=new WeakMap,a=new WeakMap,s=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,r){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);h(r,l,s);const c={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(r,c);let p=e.call(i,t);p||(p=f(t),o.call(i,t,p)),this===window.customElements&&(a.set(r,c),c.standInClass=p);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),u(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){g.push(this),i.upgrade.apply(i,arguments),g.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,o,e){let i=this._awaitingUpgrade.get(o);i||this._awaitingUpgrade.set(o,i=new Set),e?i.add(t):i.delete(t)}},window.HTMLElement=function(){let o=l;if(o)return l=void 0,o;const e=a.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),r.set(o,e),o},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,p=t=>{let o=t.getRootNode();if(!c(o)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),c(o)||(o=s.get(o)?.getRootNode()||document)}return o.customElements},f=o=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const i=p(e)||window.customElements,r=i._getDefinition(o);return r?u(e,r):n.set(e,i),e}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!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,o,e)=>{if(0===o.size||void 0===e)return;const i=t.prototype.setAttribute;i&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(o.has(n)){const t=this.getAttribute(n);i.call(this,n,r),e.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(o.has(i)){const t=this.getAttribute(i);r.call(this,i),e.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(o.has(r)){const t=this.getAttribute(r);n.call(this,r,i);const o=this.getAttribute(r);e.call(this,r,t,o)}else n.call(this,r,i)})},d=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t?Object.setPrototypeOf(o,window.HTMLElement):d(e)},u=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),r.set(t,o),l=t;try{new o.elementClass}catch(t){d(o.elementClass),new o.elementClass}o.attributeChangedCallback&&o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=y.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let g=[document];const b=(t,o,e=void 0)=>{const i=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){g.push(this);const t=i.apply(e||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,o)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...e,set(t){g.push(this),e.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,o=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const i=o.call(this,...e);return t.set(i,this),i},e.forEach((o=>{const e=window.ElementInternals.prototype,i=e[o];e[o]=function(...o){const e=t.get(this);if(!0===r.get(e).formAssociated)return i?.call(this,...o);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 o=new Map;t.forEach(((t,e)=>{const i=t.getAttribute("name"),r=o.get(i)||[];this[+e]=t,r.push(t),o.set(i,r)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=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,[]),o=[];for(const e of t){const t=r.get(e);t&&!0!==t.formAssociated||o.push(e)}return new n(o)}})}}try{window.customElements.define("custom-element",null)}catch(on){const t=window.customElements.define;window.customElements.define=(o,e,i)=>{if(null!==e)try{t.bind(window.customElements)(o,e,i)}catch(t){console.info(o,e,i,t)}}}class o{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,o)=>{this.resolvePromise=t,this.rejectPromise=o}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,o;const e=[...this.callbacks];this.callbacks=[];const i=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,r=null!==(o=this.resolvePromise)&&void 0!==o?o:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void i(t)}r(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
|
|
16
16
|
/**
|
|
17
17
|
* @license
|
|
18
18
|
* Copyright 2019 Google LLC
|
|
19
19
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
20
|
-
*/const
|
|
20
|
+
*/const e=globalThis,i=e.ShadowRoot&&(void 0===e.ShadyCSS||e.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,r=Symbol(),n=new WeakMap;const a=t=>new class{constructor(t,o,e){if(this._$cssResult$=!0,e!==r)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o;const o=this.t;if(i&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=n.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&n.set(o,t))}return t}toString(){return this.cssText}}("string"==typeof t?t:t+"",void 0,r),s=i?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return a(o)})(t):t
|
|
21
21
|
/**
|
|
22
22
|
* @license
|
|
23
23
|
* Copyright 2017 Google LLC
|
|
24
24
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
25
|
-
*/,{is:l,defineProperty:c,getOwnPropertyDescriptor:p,getOwnPropertyNames:f,getOwnPropertySymbols:h,getPrototypeOf:d}=Object,u=globalThis,y=u.trustedTypes,g=y?y.emptyScript:"",b=u.reactiveElementPolyfillSupport,m=(t,
|
|
25
|
+
*/,{is:l,defineProperty:c,getOwnPropertyDescriptor:p,getOwnPropertyNames:f,getOwnPropertySymbols:h,getPrototypeOf:d}=Object,u=globalThis,y=u.trustedTypes,g=y?y.emptyScript:"",b=u.reactiveElementPolyfillSupport,m=(t,o)=>t,x={toAttribute(t,o){switch(o){case Boolean:t=t?g:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},v=(t,o)=>!l(t,o),O={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:v};Symbol.metadata??=Symbol("metadata"),u.litPropertyMetadata??=new WeakMap;let N=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=O){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),i=this.getPropertyDescriptor(t,e,o);void 0!==i&&c(this.prototype,t,i)}}static getPropertyDescriptor(t,o,e){const{get:i,set:r}=p(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return i?.call(this)},set(o){const n=i?.call(this);r.call(this,o),this.requestUpdate(t,n,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??O}static _$Ei(){if(this.hasOwnProperty(m("elementProperties")))return;const t=d(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(m("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(m("properties"))){const t=this.properties,o=[...f(t),...h(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(s(t))}else void 0!==t&&o.push(s(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"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,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,o)=>{if(i)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const i of o){const o=document.createElement("style"),r=e.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=i.cssText,t.appendChild(o)}})(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,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,e);if(void 0!==i&&!0===e.reflect){const r=(void 0!==e.converter?.toAttribute?e.converter:x).toAttribute(o,e.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,o){const e=this.constructor,i=e._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=e.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:x;this._$Em=i,this[i]=r.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,i=!1,r){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??v)(i?r:this[t],o))return;this.C(t,o,e)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,o,e){this._$AL.has(t)||this._$AL.set(t,o),!0===e.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,o]of this._$Ep)this[t]=o;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[o,e]of t)!0!==e.wrapped||this._$AL.has(o)||void 0===this[o]||this.C(o,this[o],e)}let t=!1;const o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(o)):this._$ET()}catch(o){throw t=!1,this._$ET(),o}t&&this._$AE(o)}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){}};N.elementStyles=[],N.shadowRootOptions={mode:"open"},N[m("elementProperties")]=new Map,N[m("finalized")]=new Map,b?.({ReactiveElement:N}),(u.reactiveElementVersions??=[]).push("2.0.2");
|
|
26
26
|
/**
|
|
27
27
|
* @license
|
|
28
28
|
* Copyright 2017 Google LLC
|
|
29
29
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
30
30
|
*/
|
|
31
|
-
const S={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:v},w=(t=S,e
|
|
31
|
+
const S={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:v},w=(t=S,o,e)=>{const{kind:i,metadata:r}=e;let n=globalThis.litPropertyMetadata.get(r);if(void 0===n&&globalThis.litPropertyMetadata.set(r,n=new Map),n.set(e.name,t),"accessor"===i){const{name:i}=e;return{set(e){const r=o.get.call(this);o.set.call(this,e),this.requestUpdate(i,r,t)},init(o){return void 0!==o&&this.C(i,void 0,t),o}}}if("setter"===i){const{name:i}=e;return function(e){const r=this[i];o.call(this,e),this.requestUpdate(i,r,t)}}throw Error("Unsupported decorator location: "+i)};function C(t){return(o,e)=>"object"==typeof e?w(t,o,e):((t,o,e)=>{const i=o.hasOwnProperty(e);return o.constructor.createProperty(e,i?{...t,wrapped:!0}:t),i?Object.getOwnPropertyDescriptor(o,e):void 0})(t,o,e)
|
|
32
32
|
/**
|
|
33
33
|
* @license
|
|
34
34
|
* Copyright 2017 Google LLC
|
|
@@ -38,60 +38,60 @@ const S={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:v},w=(t=S,e,
|
|
|
38
38
|
* @license
|
|
39
39
|
* Copyright 2017 Google LLC
|
|
40
40
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
41
|
-
*/function
|
|
41
|
+
*/function E(t){return(o,e)=>{const i="function"==typeof o?o:o[e];Object.assign(i,t)}}
|
|
42
42
|
/**
|
|
43
43
|
* @license
|
|
44
44
|
* Copyright 2017 Google LLC
|
|
45
45
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
46
|
-
*/const
|
|
46
|
+
*/const R=(t,o,e)=>(e.configurable=!0,e.enumerable=!0,e)
|
|
47
47
|
/**
|
|
48
48
|
* @license
|
|
49
49
|
* Copyright 2017 Google LLC
|
|
50
50
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
51
|
-
*/;function
|
|
51
|
+
*/;function I(t,o){return(e,i,r)=>{const n=o=>o.renderRoot?.querySelector(t)??null;if(o){const{get:t,set:o}="object"==typeof i?e:r??(()=>{const t=Symbol();return{get(){return this[t]},set(o){this[t]=o}}})();return R(0,0,{get(){let e=t.call(this);return void 0===e&&(e=n(this),(null!==e||this.hasUpdated)&&o.call(this,e)),e}})}return R(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
|
-
*/function
|
|
56
|
+
*/function U(t,o){try{return function(t,o){if(t===o)return!0;if(t&&o&&"object"==typeof t&&"object"==typeof o){if(t.constructor!==o.constructor)return!1;var e,i,r;if(Array.isArray(t)){if((e=t.length)!=o.length)return!1;for(i=e;0!=i--;)if(!U(t[i],o[i]))return!1;return!0}if(t instanceof Map&&o instanceof Map){if(t.size!==o.size)return!1;for(i of t.entries())if(!o.has(i[0]))return!1;for(i of t.entries())if(!U(i[1],o.get(i[0])))return!1;return!0}if(t instanceof Set&&o instanceof Set){if(t.size!==o.size)return!1;for(i of t.entries())if(!o.has(i[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&&t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();if((e=(r=Object.keys(t)).length)!==Object.keys(o).length)return!1;for(i=e;0!=i--;)if(!Object.prototype.hasOwnProperty.call(o,r[i]))return!1;for(i=e;0!=i--;){var n=r[i];if(!U(t[n],o[n]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}const k=t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)};function W(t,o){const e=()=>JSON.parse(JSON.stringify(t));return C({type:Object,converter:{fromAttribute:t=>{if(null==t)return e();try{return JSON.parse(t)}catch{return e()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,o)=>!U(t,o),...null!=o?o:{}})}
|
|
57
57
|
/**
|
|
58
58
|
* @license
|
|
59
59
|
* Copyright 2017 Google LLC
|
|
60
60
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
61
|
-
*/const
|
|
61
|
+
*/const L=globalThis,z=L.trustedTypes,K=z?z.createPolicy("lit-html",{createHTML:t=>t}):void 0,A="$lit$",F=`lit$${(Math.random()+"").slice(9)}$`,Z="?"+F,B=`<${Z}>`,D=document,M=()=>D.createComment(""),P=t=>null===t||"object"!=typeof t&&"function"!=typeof t,H=Array.isArray,T=t=>H(t)||"function"==typeof t?.[Symbol.iterator],j="[ \t\n\f\r]",_=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,G=/-->/g,V=/>/g,Y=RegExp(`>|${j}(?:([^\\s"'>=/]+)(${j}*=${j}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),X=/'/g,J=/"/g,q=/^(?:script|style|textarea|title)$/i,Q=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),tt=Symbol.for("lit-noChange"),ot=Symbol.for("lit-nothing"),et=new WeakMap,it=D.createTreeWalker(D,129);function rt(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==K?K.createHTML(o):o}const nt=(t,o)=>{const e=t.length-1,i=[];let r,n=2===o?"<svg>":"",a=_;for(let o=0;o<e;o++){const e=t[o];let s,l,c=-1,p=0;for(;p<e.length&&(a.lastIndex=p,l=a.exec(e),null!==l);)p=a.lastIndex,a===_?"!--"===l[1]?a=G:void 0!==l[1]?a=V:void 0!==l[2]?(q.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=Y):void 0!==l[3]&&(a=Y):a===Y?">"===l[0]?(a=r??_,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?Y:'"'===l[3]?J:X):a===J||a===X?a=Y:a===G||a===V?a=_:(a=Y,r=void 0);const f=a===Y&&t[o+1].startsWith("/>")?" ":"";n+=a===_?e+B:c>=0?(i.push(s),e.slice(0,c)+A+e.slice(c)+F+f):e+F+(-2===c?o:f)}return[rt(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),i]};let at=class t{constructor({strings:o,_$litType$:e},i){let r;this.parts=[];let n=0,a=0;const s=o.length-1,l=this.parts,[c,p]=nt(o,e);if(this.el=t.createElement(c,i),it.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=it.nextNode())&&l.length<s;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(A)){const o=p[a++],e=r.getAttribute(t).split(F),i=/([.?@])?(.*)/.exec(o);l.push({type:1,index:n,name:i[2],strings:e,ctor:"."===i[1]?ft:"?"===i[1]?ht:"@"===i[1]?dt:pt}),r.removeAttribute(t)}else t.startsWith(F)&&(l.push({type:6,index:n}),r.removeAttribute(t));if(q.test(r.tagName)){const t=r.textContent.split(F),o=t.length-1;if(o>0){r.textContent=z?z.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],M()),it.nextNode(),l.push({type:2,index:++n});r.append(t[o],M())}}}else if(8===r.nodeType)if(r.data===Z)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=r.data.indexOf(F,t+1));)l.push({type:7,index:n}),t+=F.length-1}n++}}static createElement(t,o){const e=D.createElement("template");return e.innerHTML=t,e}};function st(t,o,e=t,i){if(o===tt)return o;let r=void 0!==i?e._$Co?.[i]:e._$Cl;const n=P(o)?void 0:o._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,e,i)),void 0!==i?(e._$Co??=[])[i]=r:e._$Cl=r),void 0!==r&&(o=st(t,r._$AS(t,o.values),r,i)),o}let lt=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,i=(t?.creationScope??D).importNode(o,!0);it.currentNode=i;let r=it.nextNode(),n=0,a=0,s=e[0];for(;void 0!==s;){if(n===s.index){let o;2===s.type?o=new ct(r,r.nextSibling,this,t):1===s.type?o=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(o=new ut(r,this,t)),this._$AV.push(o),s=e[++a]}n!==s?.index&&(r=it.nextNode(),n++)}return it.currentNode=D,i}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}},ct=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,i){this.type=2,this._$AH=ot,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=st(this,t,o),P(t)?t===ot||null==t||""===t?(this._$AH!==ot&&this._$AR(),this._$AH=ot):t!==this._$AH&&t!==tt&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):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!==ot&&P(this._$AH)?this._$AA.nextSibling.data=t:this.$(D.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,i="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=at.createElement(rt(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===i)this._$AH.p(o);else{const t=new lt(i,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=et.get(t.strings);return void 0===o&&et.set(t.strings,o=new at(t)),o}T(o){H(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,r=0;for(const n of o)r===e.length?e.push(i=new t(this.k(M()),this.k(M()),this,this.options)):i=e[r],i._$AI(n),r++;r<e.length&&(this._$AR(i&&i._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},pt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,i,r){this.type=1,this._$AH=ot,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=r,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=ot}_$AI(t,o=this,e,i){const r=this.strings;let n=!1;if(void 0===r)t=st(this,t,o,0),n=!P(t)||t!==this._$AH&&t!==tt,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=st(this,i[e+a],o,a),s===tt&&(s=this._$AH[a]),n||=!P(s)||s!==this._$AH[a],s===ot?t=ot:t!==ot&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===ot?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ft=class extends pt{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===ot?void 0:t}},ht=class extends pt{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==ot)}},dt=class extends pt{constructor(t,o,e,i,r){super(t,o,e,i,r),this.type=5}_$AI(t,o=this){if((t=st(this,t,o,0)??ot)===tt)return;const e=this._$AH,i=t===ot&&e!==ot||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,r=t!==ot&&(e===ot||i);i&&this.element.removeEventListener(this.name,this,e),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)}},ut=class{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){st(this,t)}};const yt={j:A,P:F,A:Z,C:1,M:nt,L:lt,R:T,V:st,D:ct,I:pt,H:ht,N:dt,U:ft,B:ut},gt=L.litHtmlPolyfillSupport;gt?.(at,ct),(L.litHtmlVersions??=[]).push("3.1.0");
|
|
62
62
|
/**
|
|
63
63
|
* @license
|
|
64
64
|
* Copyright 2019 Google LLC
|
|
65
65
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
66
66
|
*/
|
|
67
|
-
const bt=globalThis,mt=bt.ShadowRoot&&(void 0===bt.ShadyCSS||bt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,xt=Symbol(),vt=new WeakMap;let Ot=class{constructor(t,e
|
|
67
|
+
const bt=globalThis,mt=bt.ShadowRoot&&(void 0===bt.ShadyCSS||bt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,xt=Symbol(),vt=new WeakMap;let Ot=class{constructor(t,o,e){if(this._$cssResult$=!0,e!==xt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o;const o=this.t;if(mt&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=vt.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&vt.set(o,t))}return t}toString(){return this.cssText}};const Nt=t=>new Ot("string"==typeof t?t:t+"",void 0,xt),St=(t,...o)=>{const e=1===t.length?t[0]:o.reduce(((o,e,i)=>o+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(e)+t[i+1]),t[0]);return new Ot(e,t,xt)},wt=mt?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return Nt(o)})(t):t
|
|
68
68
|
/**
|
|
69
69
|
* @license
|
|
70
70
|
* Copyright 2017 Google LLC
|
|
71
71
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
72
|
-
*/,{is:Ct,defineProperty:$t,getOwnPropertyDescriptor:
|
|
72
|
+
*/,{is:Ct,defineProperty:$t,getOwnPropertyDescriptor:Et,getOwnPropertyNames:Rt,getOwnPropertySymbols:It,getPrototypeOf:Ut}=Object,kt=globalThis,Wt=kt.trustedTypes,Lt=Wt?Wt.emptyScript:"",zt=kt.reactiveElementPolyfillSupport,Kt=(t,o)=>t,At={toAttribute(t,o){switch(o){case Boolean:t=t?Lt:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},Ft=(t,o)=>!Ct(t,o),Zt={attribute:!0,type:String,converter:At,reflect:!1,hasChanged:Ft};Symbol.metadata??=Symbol("metadata"),kt.litPropertyMetadata??=new WeakMap;class Bt 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,o=Zt){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),i=this.getPropertyDescriptor(t,e,o);void 0!==i&&$t(this.prototype,t,i)}}static getPropertyDescriptor(t,o,e){const{get:i,set:r}=Et(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return i?.call(this)},set(o){const n=i?.call(this);r.call(this,o),this.requestUpdate(t,n,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Zt}static _$Ei(){if(this.hasOwnProperty(Kt("elementProperties")))return;const t=Ut(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Kt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Kt("properties"))){const t=this.properties,o=[...Rt(t),...It(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(wt(t))}else void 0!==t&&o.push(wt(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"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,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,o)=>{if(mt)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),i=bt.litNonce;void 0!==i&&o.setAttribute("nonce",i),o.textContent=e.cssText,t.appendChild(o)}})(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,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,e);if(void 0!==i&&!0===e.reflect){const r=(void 0!==e.converter?.toAttribute?e.converter:At).toAttribute(o,e.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,o){const e=this.constructor,i=e._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=e.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:At;this._$Em=i,this[i]=r.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,i=!1,r){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??Ft)(i?r:this[t],o))return;this.C(t,o,e)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,o,e){this._$AL.has(t)||this._$AL.set(t,o),!0===e.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,o]of this._$Ep)this[t]=o;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[o,e]of t)!0!==e.wrapped||this._$AL.has(o)||void 0===this[o]||this.C(o,this[o],e)}let t=!1;const o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(o)):this._$ET()}catch(o){throw t=!1,this._$ET(),o}t&&this._$AE(o)}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){}}Bt.elementStyles=[],Bt.shadowRootOptions={mode:"open"},Bt[Kt("elementProperties")]=new Map,Bt[Kt("finalized")]=new Map,zt?.({ReactiveElement:Bt}),(kt.reactiveElementVersions??=[]).push("2.0.2");
|
|
73
73
|
/**
|
|
74
74
|
* @license
|
|
75
75
|
* Copyright 2017 Google LLC
|
|
76
76
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
77
77
|
*/
|
|
78
|
-
const
|
|
78
|
+
const Dt=globalThis,Mt=Dt.trustedTypes,Pt=Mt?Mt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Ht="$lit$",Tt=`lit$${(Math.random()+"").slice(9)}$`,jt="?"+Tt,_t=`<${jt}>`,Gt=document,Vt=()=>Gt.createComment(""),Yt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Xt=Array.isArray,Jt="[ \t\n\f\r]",qt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Qt=/-->/g,to=/>/g,oo=RegExp(`>|${Jt}(?:([^\\s"'>=/]+)(${Jt}*=${Jt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),eo=/'/g,io=/"/g,ro=/^(?:script|style|textarea|title)$/i,no=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),ao=Symbol.for("lit-noChange"),so=Symbol.for("lit-nothing"),lo=new WeakMap,co=Gt.createTreeWalker(Gt,129);function po(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Pt?Pt.createHTML(o):o}const fo=(t,o)=>{const e=t.length-1,i=[];let r,n=2===o?"<svg>":"",a=qt;for(let o=0;o<e;o++){const e=t[o];let s,l,c=-1,p=0;for(;p<e.length&&(a.lastIndex=p,l=a.exec(e),null!==l);)p=a.lastIndex,a===qt?"!--"===l[1]?a=Qt:void 0!==l[1]?a=to:void 0!==l[2]?(ro.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=oo):void 0!==l[3]&&(a=oo):a===oo?">"===l[0]?(a=r??qt,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?oo:'"'===l[3]?io:eo):a===io||a===eo?a=oo:a===Qt||a===to?a=qt:(a=oo,r=void 0);const f=a===oo&&t[o+1].startsWith("/>")?" ":"";n+=a===qt?e+_t:c>=0?(i.push(s),e.slice(0,c)+Ht+e.slice(c)+Tt+f):e+Tt+(-2===c?o:f)}return[po(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),i]};class ho{constructor({strings:t,_$litType$:o},e){let i;this.parts=[];let r=0,n=0;const a=t.length-1,s=this.parts,[l,c]=fo(t,o);if(this.el=ho.createElement(l,e),co.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=co.nextNode())&&s.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(Ht)){const o=c[n++],e=i.getAttribute(t).split(Tt),a=/([.?@])?(.*)/.exec(o);s.push({type:1,index:r,name:a[2],strings:e,ctor:"."===a[1]?bo:"?"===a[1]?mo:"@"===a[1]?xo:go}),i.removeAttribute(t)}else t.startsWith(Tt)&&(s.push({type:6,index:r}),i.removeAttribute(t));if(ro.test(i.tagName)){const t=i.textContent.split(Tt),o=t.length-1;if(o>0){i.textContent=Mt?Mt.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],Vt()),co.nextNode(),s.push({type:2,index:++r});i.append(t[o],Vt())}}}else if(8===i.nodeType)if(i.data===jt)s.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(Tt,t+1));)s.push({type:7,index:r}),t+=Tt.length-1}r++}}static createElement(t,o){const e=Gt.createElement("template");return e.innerHTML=t,e}}function uo(t,o,e=t,i){if(o===ao)return o;let r=void 0!==i?e._$Co?.[i]:e._$Cl;const n=Yt(o)?void 0:o._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,e,i)),void 0!==i?(e._$Co??=[])[i]=r:e._$Cl=r),void 0!==r&&(o=uo(t,r._$AS(t,o.values),r,i)),o}class yo{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,i){this.type=2,this._$AH=so,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=uo(this,t,o),Yt(t)?t===so||null==t||""===t?(this._$AH!==so&&this._$AR(),this._$AH=so):t!==this._$AH&&t!==ao&&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!==so&&Yt(this._$AH)?this._$AA.nextSibling.data=t:this.$(Gt.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,i="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=ho.createElement(po(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===i)this._$AH.p(o);else{const t=new class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,i=(t?.creationScope??Gt).importNode(o,!0);co.currentNode=i;let r=co.nextNode(),n=0,a=0,s=e[0];for(;void 0!==s;){if(n===s.index){let o;2===s.type?o=new yo(r,r.nextSibling,this,t):1===s.type?o=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(o=new vo(r,this,t)),this._$AV.push(o),s=e[++a]}n!==s?.index&&(r=co.nextNode(),n++)}return co.currentNode=Gt,i}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}(i,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=lo.get(t.strings);return void 0===o&&lo.set(t.strings,o=new ho(t)),o}T(t){Xt(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,i=0;for(const r of t)i===o.length?o.push(e=new yo(this.k(Vt()),this.k(Vt()),this,this.options)):e=o[i],e._$AI(r),i++;i<o.length&&(this._$AR(e&&e._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class go{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,i,r){this.type=1,this._$AH=so,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=r,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=so}_$AI(t,o=this,e,i){const r=this.strings;let n=!1;if(void 0===r)t=uo(this,t,o,0),n=!Yt(t)||t!==this._$AH&&t!==ao,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=uo(this,i[e+a],o,a),s===ao&&(s=this._$AH[a]),n||=!Yt(s)||s!==this._$AH[a],s===so?t=so:t!==so&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===so?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class bo extends go{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===so?void 0:t}}class mo extends go{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==so)}}class xo extends go{constructor(t,o,e,i,r){super(t,o,e,i,r),this.type=5}_$AI(t,o=this){if((t=uo(this,t,o,0)??so)===ao)return;const e=this._$AH,i=t===so&&e!==so||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,r=t!==so&&(e===so||i);i&&this.element.removeEventListener(this.name,this,e),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 vo{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){uo(this,t)}}const Oo=Dt.litHtmlPolyfillSupport;Oo?.(ho,yo),(Dt.litHtmlVersions??=[]).push("3.1.0");
|
|
79
79
|
/**
|
|
80
80
|
* @license
|
|
81
81
|
* Copyright 2017 Google LLC
|
|
82
82
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
83
83
|
*/
|
|
84
|
-
let Oe=class extends Bt{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 r=o?.renderBefore??e;let i=r._$litPart$;if(void 0===i){const t=o?.renderBefore??null;r._$litPart$=i=new ue(e.insertBefore(Vt(),t),t,void 0,o??{})}return i._$AI(t),i})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return ae}};Oe._$litElement$=!0,Oe.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:Oe});const Ne=globalThis.litElementPolyfillSupport;Ne?.({LitElement:Oe}),(globalThis.litElementVersions??=[]).push("4.0.2");const Se=t=>"string"==typeof t?Nt(t):t;class we{static create(t,e,o,r){const i=t=>Se(null!=t?t:r),n=St`var(${Se(t)}, ${i(r)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=r,n.defaultCssValue=i,n.get=e=>St`var(${Se(t)}, ${i(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>r,n}static extend(t,e,o,r){const i=t=>o.get(null!=t?t:r),n=St`var(${Se(t)}, ${i(r)})`;return n.name=t,n.description=e,n.category=o.category,n.fallbackVariable=o,n.defaultValue=r,n.defaultCssValue=i,n.get=e=>St`var(${Se(t)}, ${i(e)})`,n.breadcrumb=()=>[o.name,...o.breadcrumb()],n.lastResortDefaultValue=()=>null!=r?r:o.lastResortDefaultValue(),n}static external(t,e){const o=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):Se(null!=e?e:t.lastResortDefaultValue()),r=St`var(${Se(t.name)}, ${o(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=e,r.defaultCssValue=o,r.get=e=>St`var(${Se(t.name)}, ${o(e)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}function Ce(t,e){return Se(`${t.name}: ${e}`)}const $e={colorWhite:we.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:we.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:we.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:we.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:we.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:we.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:we.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:we.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:we.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:we.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:we.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:we.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:we.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:we.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:we.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:we.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:we.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:we.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:we.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:we.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:we.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:we.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:we.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:we.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:we.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:we.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:we.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:we.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:we.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:we.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:we.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:we.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:we.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:we.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:we.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:we.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:we.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:we.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:we.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:we.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:we.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:we.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:we.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:we.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:we.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:we.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:we.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:we.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:we.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:we.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:we.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:we.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:we.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:we.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:we.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:we.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:we.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:we.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:we.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:we.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:we.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:we.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:we.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:we.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:we.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:we.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:we.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:we.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:we.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:we.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:we.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:we.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:we.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:we.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:we.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:we.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:we.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:we.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:we.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:we.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:we.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:we.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:we.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:we.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:we.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:we.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:we.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:we.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:we.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:we.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:we.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:we.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:we.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:we.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:we.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:we.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:we.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:we.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:we.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:we.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:we.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:we.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:we.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:we.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:we.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:we.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:we.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:we.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:we.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:we.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:we.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:we.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:we.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:we.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:we.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:we.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:we.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:we.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:we.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:we.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:we.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:we.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:we.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:we.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:we.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:we.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:we.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:we.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:we.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:we.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:we.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:we.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:we.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:we.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:we.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:we.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:we.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:we.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:we.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:we.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:we.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:we.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:we.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:we.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:we.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:we.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:we.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:we.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:we.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:we.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:we.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:we.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:we.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:we.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:we.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:we.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:we.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:we.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:we.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:we.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:we.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:we.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:we.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:we.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:we.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:we.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:we.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:we.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:we.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:we.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:we.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:we.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:we.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:we.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:we.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:we.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:we.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:we.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:we.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:we.create("--ft-icon-size-6","","SIZE","48px"),opacity0:we.create("--ft-opacity-0","","NUMBER","0"),opacity8:we.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:we.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:we.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:we.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:we.create("--ft-opacity-80","","NUMBER","0.8")},Re={display:{fontFamily:we.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:we.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:we.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:we.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:we.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:we.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:we.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:we.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:we.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:we.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:we.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:we.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:we.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:we.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:we.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:we.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:we.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:we.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:we.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:we.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:we.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:we.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:we.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:we.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:we.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:we.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:we.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:we.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:we.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:we.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:we.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:we.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:we.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:we.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:we.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:we.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:we.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:we.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:we.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:we.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:we.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:we.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:we.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:we.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:we.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:we.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:we.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:we.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:we.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:we.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:we.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:we.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:we.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:we.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:we.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:we.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:we.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:we.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:we.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:we.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:we.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:we.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:we.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:we.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:we.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:we.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:we.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:we.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:we.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:we.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:we.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:we.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:we.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:we.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:we.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:we.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:we.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:we.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:we.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:we.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:we.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:we.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:we.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:we.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:we.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:we.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:we.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:we.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:we.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:we.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:we.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:we.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:we.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:we.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:we.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:we.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:we.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:we.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:we.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:we.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:we.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:we.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:we.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:we.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:we.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:we.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:we.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:we.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:we.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:we.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:we.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:we.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Ee={backgroundActionPrimary:we.extend("--ft-background-action-primary","Used as backgorund of primary action components.",$e.colorBrand0),backgroundErrorPrimary:we.extend("--ft-background-error-primary","Used as background of error components.",$e.colorRed0),backgroundErrorSubtle:we.extend("--ft-background-error-subtle","Used as background of subtle error components.",$e.colorRed10),backgroundInfoPrimary:we.extend("--ft-background-info-primary","Used as background of information components.",$e.colorCyan200),backgroundInfoSubtle:we.extend("--ft-background-info-subtle","Used as background of subtle information components.",$e.colorCyan10),backgroundWarningPrimary:we.extend("--ft-background-warning-primary","Used as background of warning components.",$e.colorOrange300),backgroundWarningSubtle:we.extend("--ft-background-warning-subtle","Used as background of subtle information components.",$e.colorOrange10),backgroundSuccessPrimary:we.extend("--ft-background-success-primary","Used as background of success components.",$e.colorGreen200),backgroundSuccessSubtle:we.extend("--ft-background-success-subtle","Used as background of subtle success components.",$e.colorGreen10),backgroundGlobalSurface:we.extend("--ft-background-global-surface","Used as app background.",$e.colorWhite),backgroundGlobalOnSurface:we.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",$e.colorGray10),backgroundGlobalOnSurfaceDark:we.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",$e.colorGray30),contentActionPrimary:we.extend("--ft-content-action-primary","Used on label of primary action on light surface.",$e.colorBrand0),contentWarningPrimary:we.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",$e.colorOrange300),contentWarningIconOnly:we.extend("--ft-content-warning-icon-only","Used on warning status icons alone",$e.colorOrange0),contentErrorPrimary:we.extend("--ft-content-error-primary","Used on label of error messages on light surface.",$e.colorRed0),contentErrorIconOnly:we.extend("--ft-content-error-icon-only","Used on error status icons alone",$e.colorRed0),contentInfoPrimary:we.extend("--ft-content-info-primary","Used on label of information messages on light surface.",$e.colorCyan200),contentInfoIconOnly:we.extend("--ft-content-info-icon-only","Used on info status icons alone",$e.colorCyan0),contentSuccessIconOnly:we.extend("--ft-content-success-icon-only","Used on success status icons alone",$e.colorGreen0),contentSuccessPrimary:we.extend("--ft-content-success-primary","Used on label of success messages on light surface.",$e.colorGreen200),contentGlobalPrimary:we.extend("--ft-content-global-primary","Used for main content on the page.",$e.colorGray500),contentGlobalSecondary:we.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",$e.colorGray200),contentGlobalSubtle:we.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",$e.colorGray0),contentGlobalOnColor:we.extend("--ft-content-global-on-color","Used for content on a dominant color.",$e.colorWhite),borderActionPrimary:we.extend("--ft-border-action-primary","Used as border for primary action components.",$e.colorBrand0),borderActionFocusRing:we.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",$e.colorCyan0),borderWarningPrimary:we.extend("--ft-border-warning-primary","Used as border for warning components.",$e.colorOrange30),borderSuccessPrimary:we.extend("--ft-border-success-primary","Used as border for success components.",$e.colorGreen30),borderErrorPrimary:we.extend("--ft-border-error-primary","Used as border for error components.",$e.colorRed30),borderInfoPrimary:we.extend("--ft-border-info-primary","Used as border for information components.",$e.colorCyan30),borderGlobalSubtle:we.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",$e.colorGray30),borderGlobalPrimary:we.extend("--ft-border-global-primary","Used as border for element like input.",$e.colorGray50),borderInputPrimary:we.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",$e.colorGray80)},ke={largeHeight:we.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:we.extend("--ft-button-large-horizontal-padding","",$e.spacing4),largeGap:we.extend("--ft-button-large-gap","",$e.spacing2),largeBorderRadius:we.extend("--ft-button-large-border-radius","",$e.borderRadiusS),largeIconSize:we.extend("--ft-button-large-icon-size","",$e.iconSize3),largeBorderWidth:we.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:we.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:we.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:we.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:we.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:we.extend("--ft-button-small-horizontal-padding","",$e.spacing3),smallGap:we.extend("--ft-button-small-gap","",$e.spacing2),smallBorderRadius:we.extend("--ft-button-small-border-radius","",$e.borderRadiusS),smallIconSize:we.extend("--ft-button-small-icon-size","",$e.iconSize2),smallBorderWidth:we.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:we.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:we.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:we.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:we.extend("--ft-button-primary-background-color","",Ee.backgroundActionPrimary),primaryColor:we.extend("--ft-button-primary-color","",Ee.contentGlobalOnColor),primaryIconColor:we.extend("--ft-button-primary-icon-color","",Ee.contentGlobalOnColor),primaryStateLayerColor:we.extend("--ft-button-primary-state-layer-color","",Ee.contentGlobalOnColor),primaryStateLayerOpacityHover:we.extend("--ft-button-primary-state-layer-opacity-hover","",$e.opacity16),primaryStateLayerOpacityFocus:we.extend("--ft-button-primary-state-layer-opacity-focus","",$e.opacity16),primaryStateLayerOpacityActive:we.extend("--ft-button-primary-state-layer-opacity-active","",$e.opacity24),primaryComponentOpacityDisabled:we.extend("--ft-button-primary-component-opacity-disabled","",$e.opacity40),focusFocusRingColor:we.extend("--ft-button-focus-focus-ring-color","",Ee.borderActionFocusRing),tertiaryBackgroundColor:we.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:we.extend("--ft-button-tertiary-color","",Ee.contentActionPrimary),tertiaryIconColor:we.extend("--ft-button-tertiary-icon-color","",Ee.contentActionPrimary),tertiaryStateLayerColor:we.extend("--ft-button-tertiary-state-layer-color","",Ee.contentActionPrimary),tertiaryStateLayerOpacityHover:we.extend("--ft-button-tertiary-state-layer-opacity-hover","",$e.opacity8),tertiaryStateLayerOpacityFocus:we.extend("--ft-button-tertiary-state-layer-opacity-focus","",$e.opacity8),tertiaryStateLayerOpacityActive:we.extend("--ft-button-tertiary-state-layer-opacity-active","",$e.opacity16),tertiaryComponentOpacityDisabled:we.extend("--ft-button-tertiary-component-opacity-disabled","",$e.opacity40),secondaryBackgroundColor:we.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:we.extend("--ft-button-secondary-color","",Ee.contentActionPrimary),secondaryIconColor:we.extend("--ft-button-secondary-icon-color","",Ee.contentActionPrimary),secondaryStateLayerColor:we.extend("--ft-button-secondary-state-layer-color","",Ee.contentActionPrimary),secondaryStateLayerOpacityHover:we.extend("--ft-button-secondary-state-layer-opacity-hover","",$e.opacity8),secondaryStateLayerOpacityFocus:we.extend("--ft-button-secondary-state-layer-opacity-focus","",$e.opacity8),secondaryStateLayerOpacityActive:we.extend("--ft-button-secondary-state-layer-opacity-active","",$e.opacity16),secondaryComponentOpacityDisabled:we.extend("--ft-button-secondary-component-opacity-disabled","",$e.opacity40),secondaryBorderColor:we.extend("--ft-button-secondary-border-color","",Ee.borderActionPrimary),neutralBackgroundColor:we.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:we.extend("--ft-button-neutral-icon-color","",Ee.contentGlobalSecondary),neutralColor:we.extend("--ft-button-neutral-color","",Ee.contentGlobalSecondary),neutralStateLayerColor:we.extend("--ft-button-neutral-state-layer-color","",Ee.contentGlobalSecondary),neutralStateLayerOpacityHover:we.extend("--ft-button-neutral-state-layer-opacity-hover","",$e.opacity8),neutralStateLayerOpacityFocus:we.extend("--ft-button-neutral-state-layer-opacity-focus","",$e.opacity8),neutralStateLayerOpacityActive:we.extend("--ft-button-neutral-state-layer-opacity-active","",$e.opacity16),neutralComponentOpacityDisabled:we.extend("--ft-button-neutral-component-opacity-disabled","",$e.opacity40)};we.extend("--ft-tabs-top-left-border-radius","",$e.borderRadiusS),we.extend("--ft-tabs-top-right-border-radius","",$e.borderRadiusS),we.extend("--ft-tabs-label-horizontal-padding","",$e.spacing4),we.extend("--ft-tabs-label-vertical-padding","",$e.spacing3),we.extend("--ft-tabs-label-gap","",$e.spacing1),we.extend("--ft-switch-group-horizontal-padding","",$e.spacing1),we.extend("--ft-switch-group-vertical-padding","",$e.spacing1),we.extend("--ft-switch-group-gap","",$e.spacing1),we.extend("--ft-switch-group-background-color","",Ee.backgroundGlobalSurface),we.extend("--ft-switch-group-border-color","",Ee.borderGlobalSubtle),we.create("--ft-switch-group-border-radius","","SIZE","6px"),we.extend("--ft-switch-label-horizontal-padding","",$e.spacing2),we.extend("--ft-switch-label-vertical-padding","",$e.spacing1),we.extend("--ft-switch-icon-horizontal-padding","",$e.spacing1),we.extend("--ft-switch-icon-vertical-padding","",$e.spacing1),we.create("--ft-switch-focus-outline-width","","SIZE","2px"),we.extend("--ft-switch-focus-focus-ring-color","",Ee.borderActionFocusRing),we.extend("--ft-switch-option-border-radius","",$e.borderRadiusS),we.extend("--ft-switch-off-state-layer-opacity-hover","",$e.opacity8),we.extend("--ft-switch-off-state-layer-opacity-focus","",$e.opacity8),we.extend("--ft-switch-off-state-layer-opacity-active","",$e.opacity16),we.extend("--ft-switch-off-component-opacity-disabled","",$e.opacity40),we.extend("--ft-switch-off-color","",Ee.contentGlobalSubtle),we.extend("--ft-switch-off-state-layer-color","",Ee.contentGlobalSubtle),we.extend("--ft-chart-1-light","for area color charts",$e.colorBrand40),we.extend("--ft-chart-1-base","for line charts",$e.colorBrand0),we.extend("--ft-chart-2-light","for area color charts",$e.colorYellow60),we.extend("--ft-chart-2-base","for line charts",$e.colorYellow100),we.extend("--ft-chart-3-light","",$e.colorUltramarine40),we.extend("--ft-chart-3-base","",$e.colorUltramarine70),we.extend("--ft-chart-4-light","",$e.colorCyan50),we.extend("--ft-chart-4-base","",$e.colorCyan100),we.extend("--ft-chart-5-light","",$e.colorRed40),we.extend("--ft-chart-5-base","",$e.colorRed60),we.extend("--ft-chart-6-light","",$e.colorGreen40),we.extend("--ft-chart-6-base","",$e.colorGreen70),we.extend("--ft-chart-7-light","",$e.colorOrange70),we.extend("--ft-chart-7-base","",$e.colorOrange100),we.extend("--ft-chart-8-light","",$e.colorAvocado70),we.extend("--ft-chart-8-base","",$e.colorAvocado200),we.extend("--ft-chart-9-light","",$e.colorBrown50),we.extend("--ft-chart-9-base","",$e.colorBrown200),we.extend("--ft-chart-10-light","",$e.colorGray50),we.extend("--ft-chart-10-base","",$e.colorGray80),we.extend("--ft-chart-monochrome-10","",$e.colorBrand10),we.extend("--ft-chart-monochrome-20","",$e.colorBrand20),we.extend("--ft-chart-monochrome-30","",$e.colorBrand40),we.extend("--ft-chart-monochrome-40","",$e.colorBrand60),we.extend("--ft-chart-monochrome-50","",$e.colorBrand0),we.extend("--ft-chart-monochrome-60","",$e.colorBrand200),we.extend("--ft-chip-large-horizontal-padding","",$e.spacing4),we.extend("--ft-chip-large-vertical-padding","",$e.spacing2),we.extend("--ft-chip-large-gap","",$e.spacing1),we.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),we.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),we.extend("--ft-chip-large-border-radius","",$e.borderRadiusPill),we.create("--ft-chip-large-border-width","","SIZE","1px"),we.extend("--ft-chip-large-icon-size","",$e.iconSize3),we.extend("--ft-chip-medium-horizontal-padding","",$e.spacing3),we.extend("--ft-chip-medium-vertical-padding","",$e.spacing1),we.extend("--ft-chip-medium-gap","",$e.spacing1),we.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),we.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),we.extend("--ft-chip-medium-border-radius","",$e.borderRadiusPill),we.create("--ft-chip-medium-border-width","","SIZE","1px"),we.extend("--ft-chip-medium-icon-size","",$e.iconSize2),we.extend("--ft-chip-small-horizontal-padding","",$e.spacing2),we.extend("--ft-chip-small-vertical-padding","",$e.spacing05),we.extend("--ft-chip-small-gap","",$e.spacing1),we.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),we.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),we.extend("--ft-chip-small-border-radius","",$e.borderRadiusPill),we.create("--ft-chip-small-border-width","","SIZE","1px"),we.extend("--ft-chip-small-icon-size","",$e.iconSize1),we.extend("--ft-chip-neutral-background-color","",Ee.backgroundGlobalOnSurface),we.extend("--ft-chip-neutral-color","",Ee.contentGlobalPrimary),we.extend("--ft-chip-neutral-border-color","",Ee.borderGlobalSubtle),we.extend("--ft-chip-info-background-color","",Ee.backgroundInfoSubtle),we.extend("--ft-chip-info-color","",Ee.contentInfoPrimary),we.extend("--ft-chip-info-border-color","",Ee.borderInfoPrimary),we.extend("--ft-chip-success-background-color","",Ee.backgroundSuccessSubtle),we.extend("--ft-chip-success-color","",Ee.contentSuccessPrimary),we.extend("--ft-chip-success-border-color","",Ee.borderSuccessPrimary),we.extend("--ft-chip-warning-background-color","",Ee.backgroundWarningSubtle),we.extend("--ft-chip-warning-color","",Ee.contentWarningPrimary),we.extend("--ft-chip-warning-border-color","",Ee.borderWarningPrimary),we.extend("--ft-chip-error-background-color","",Ee.backgroundErrorSubtle),we.extend("--ft-chip-error-color","",Ee.contentErrorPrimary),we.extend("--ft-chip-error-border-color","",Ee.borderErrorPrimary),we.create("--ft-notice-border-width","","SIZE","1px"),we.extend("--ft-notice-horizontal-padding","",$e.spacing2),we.extend("--ft-notice-vertical-padding","",$e.spacing1),we.extend("--ft-notice-border-radius","",$e.borderRadiusS),we.extend("--ft-notice-gap","",$e.spacing2),we.extend("--ft-notice-icon-size","",$e.iconSize3),we.extend("--ft-notice-info-background-color","",Ee.backgroundInfoSubtle),we.extend("--ft-notice-info-border-color","",Ee.borderInfoPrimary),we.extend("--ft-notice-info-color","",Ee.contentInfoPrimary),we.extend("--ft-notice-warning-background-color","",Ee.backgroundWarningSubtle),we.extend("--ft-notice-warning-border-color","",Ee.borderWarningPrimary),we.extend("--ft-notice-warning-color","",Ee.contentWarningPrimary),we.extend("--ft-checkbox-label-color","",Ee.contentGlobalPrimary),we.extend("--ft-checkbox-checked-background-color","",Ee.contentActionPrimary),we.extend("--ft-checkbox-checked-state-layer-color","",Ee.contentActionPrimary),we.extend("--ft-checkbox-checked-color","",Ee.contentGlobalOnColor),we.extend("--ft-checkbox-checked-state-layer-opacity-hover","",$e.opacity16),we.extend("--ft-checkbox-checked-state-layer-opacity-focus","",$e.opacity16),we.extend("--ft-checkbox-checked-state-layer-opacity-active","",$e.opacity24),we.extend("--ft-checkbox-checked-component-opacity-disabled","",$e.opacity40),we.extend("--ft-checkbox-unchecked-border-color","",$e.colorGray80),we.extend("--ft-checkbox-unchecked-state-layer-color","",$e.colorGray80),we.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",$e.opacity16),we.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",$e.opacity16),we.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",$e.opacity24),we.extend("--ft-checkbox-unchecked-component-opacity-disabled","",$e.opacity40),we.extend("--ft-checkbox-focus-focus-ring-color","",Ee.borderActionFocusRing),we.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),we.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),we.extend("--ft-checkbox-gap","",$e.spacing3),we.extend("--ft-toggle-off-state-layer-opacity-hover","",$e.opacity16),we.extend("--ft-toggle-off-state-layer-opacity-focus","",$e.opacity16),we.extend("--ft-toggle-off-state-layer-opacity-active","",$e.opacity24),we.extend("--ft-toggle-off-component-opacity-disabled","",$e.opacity40),we.extend("--ft-toggle-off-background-color","",Ee.contentGlobalSubtle),we.extend("--ft-toggle-off-icon-color","",Ee.contentGlobalSubtle),we.extend("--ft-toggle-off-state-layer-color","",Ee.contentGlobalSubtle),we.extend("--ft-toggle-on-state-layer-opacity-hover","",$e.opacity16),we.extend("--ft-toggle-on-state-layer-opacity-focus","",$e.opacity16),we.extend("--ft-toggle-on-state-layer-opacity-active","",$e.opacity24),we.extend("--ft-toggle-on-component-opacity-disabled","",$e.opacity40),we.extend("--ft-toggle-on-background-color","",Ee.contentActionPrimary),we.extend("--ft-toggle-on-icon-color","",Ee.contentActionPrimary),we.extend("--ft-toggle-on-state-layer-color","",Ee.contentActionPrimary),we.extend("--ft-toggle-label-color","",Ee.contentGlobalPrimary),we.extend("--ft-toggle-focus-focus-ring-color","",Ee.borderActionFocusRing),we.extend("--ft-toggle-gap","",$e.spacing3),we.extend("--ft-radio-label-color","",Ee.contentGlobalPrimary),we.extend("--ft-radio-selected-color","",Ee.contentActionPrimary),we.extend("--ft-radio-selected-state-layer-color","",Ee.contentActionPrimary),we.extend("--ft-radio-selected-state-layer-opacity-hover","",$e.opacity16),we.extend("--ft-radio-selected-state-layer-opacity-focus","",$e.opacity16),we.extend("--ft-radio-selected-state-layer-opacity-active","",$e.opacity24),we.extend("--ft-radio-selected-component-opacity-disabled","",$e.opacity40),we.extend("--ft-radio-unselected-state-layer-color","",$e.colorGray80),we.extend("--ft-radio-unselected-state-layer-opacity-hover","",$e.opacity16),we.extend("--ft-radio-unselected-state-layer-opacity-focus","",$e.opacity16),we.extend("--ft-radio-unselected-state-layer-opacity-active","",$e.opacity24),we.extend("--ft-radio-unselected-component-opacity-disabled","",$e.opacity40),we.extend("--ft-radio-focus-focus-ring-color","",Ee.borderActionFocusRing),we.create("--ft-radio-focus-outline-offset","","SIZE","3px"),we.create("--ft-radio-focus-outline-width","","SIZE","2px"),we.extend("--ft-radio-gap","",$e.spacing3),we.extend("--ft-notification-icon-size","",$e.iconSize4),we.extend("--ft-notification-horizontal-padding","",$e.spacing4),we.extend("--ft-notification-vertical-padding","",$e.spacing4),we.extend("--ft-notification-info-background-color","",Ee.backgroundInfoSubtle),we.extend("--ft-notification-info-color","",Ee.contentInfoPrimary),we.extend("--ft-notification-info-border-color","",Ee.borderInfoPrimary),we.extend("--ft-notification-success-background-color","",Ee.backgroundSuccessSubtle),we.extend("--ft-notification-success-color","",Ee.contentSuccessPrimary),we.extend("--ft-notification-success-border-color","",Ee.borderSuccessPrimary),we.extend("--ft-notification-warning-background-color","",Ee.backgroundWarningSubtle),we.extend("--ft-notification-warning-color","",Ee.contentWarningPrimary),we.extend("--ft-notification-warning-border-color","",Ee.borderWarningPrimary),we.extend("--ft-notification-error-background-color","",Ee.backgroundErrorSubtle),we.extend("--ft-notification-error-color","",Ee.contentErrorPrimary),we.extend("--ft-notification-error-border-color","",Ee.borderErrorPrimary),we.extend("--ft-notification-border-radius","",$e.borderRadiusPill),we.create("--ft-notification-border-width","","SIZE","1px"),we.extend("--ft-notification-gap-leading","",$e.spacing2),we.extend("--ft-notification-gap-trailing","",$e.spacing8);const Ie={colorPrimary:we.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:we.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:we.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:we.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:we.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:we.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:we.create("--ft-color-error","","COLOR","#B00020"),colorOutline:we.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:we.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:we.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:we.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:we.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:we.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:we.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:we.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:we.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:we.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:we.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:we.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:we.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:we.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:we.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:we.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:we.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:we.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:we.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:we.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:we.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:we.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:we.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:we.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:we.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:we.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:we.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:we.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:we.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:we.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:we.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:we.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:we.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:we.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:we.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:we.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:we.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:we.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:we.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:we.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:we.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:we.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:we.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:we.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:we.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:we.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:we.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:we.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:we.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:we.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:we.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:we.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:we.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:we.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:we.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Ue=["start","end"],Le=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+Ue[0],e+"-"+Ue[1])),[]),We=Math.min,ze=Math.max,Ke=Math.round,Fe=t=>({x:t,y:t}),Ae={left:"right",right:"left",bottom:"top",top:"bottom"},Ze={start:"end",end:"start"};function Be(t,e,o){return ze(t,We(e,o))}function Me(t,e){return"function"==typeof t?t(e):t}function De(t){return t.split("-")[0]}function Pe(t){return t.split("-")[1]}function He(t){return"x"===t?"y":"x"}function Te(t){return"y"===t?"height":"width"}function je(t){return["top","bottom"].includes(De(t))?"y":"x"}function _e(t){return He(je(t))}function Ge(t){return t.replace(/left|right|bottom|top/g,(t=>Ae[t]))}function Ve(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Ye(t,e,o){let{reference:r,floating:i}=t;const n=je(e),a=_e(e),s=Te(a),l=De(e),c="y"===n,p=r.x+r.width/2-i.width/2,f=r.y+r.height/2-i.height/2,h=r[s]/2-i[s]/2;let d;switch(l){case"top":d={x:p,y:r.y-i.height};break;case"bottom":d={x:p,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:f};break;case"left":d={x:r.x-i.width,y:f};break;default:d={x:r.x,y:r.y}}switch(Pe(e)){case"start":d[a]-=h*(o&&c?-1:1);break;case"end":d[a]+=h*(o&&c?-1:1)}return d}async function Xe(t,e){var o;void 0===e&&(e={});const{x:r,y:i,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=Me(e,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(d),y=s[h?"floating"===f?"reference":"floating":f],g=Ve(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(y)))||o?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:p,strategy:l})),b="floating"===f?{...a.floating,x:r,y:i}: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=Ve(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 Je(t,e,o){return(t?[...o.filter((e=>Pe(e)===t)),...o.filter((e=>Pe(e)!==t))]:o.filter((t=>De(t)===t))).filter((o=>!t||(Pe(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>Ze[t]))}(o)!==o)))}const qe=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,r,i;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=e,{crossAxis:p=!1,alignment:f,allowedPlacements:h=Le,autoAlignment:d=!0,...u}=Me(t,e),y=void 0!==f||h===Le?Je(f||null,d,h):h,g=await Xe(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 r=Pe(t),i=_e(t),n=Te(i);let a="x"===i?r===(o?"end":"start")?"right":"left":"start"===r?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=Ge(a)),[a,Ge(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const v=[g[De(m)],g[x[0]],g[x[1]]],O=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:v}],N=y[b+1];if(N)return{data:{index:b+1,overflows:O},reset:{placement:N}};const S=O.map((t=>{const e=Pe(t.placement);return[t.placement,e&&p?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),w=S.filter((t=>t[2].slice(0,Pe(t[0])?2:3).every((t=>t<=0)))),C=(null==(i=w[0])?void 0:i[0])||S[0][0];return C!==s?{data:{index:b+1,overflows:O},reset:{placement:C}}:{}}}};function Qe(t){return oo(t)?(t.nodeName||"").toLowerCase():"#document"}function to(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function eo(t){var e;return null==(e=(oo(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function oo(t){return t instanceof Node||t instanceof to(t).Node}function ro(t){return t instanceof Element||t instanceof to(t).Element}function io(t){return t instanceof HTMLElement||t instanceof to(t).HTMLElement}function no(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof to(t).ShadowRoot)}function ao(t){const{overflow:e,overflowX:o,overflowY:r,display:i}=fo(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+o)&&!["inline","contents"].includes(i)}function so(t){return["table","td","th"].includes(Qe(t))}function lo(t){const e=co(),o=fo(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 co(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function po(t){return["html","body","#document"].includes(Qe(t))}function fo(t){return to(t).getComputedStyle(t)}function ho(t){return ro(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function uo(t){if("html"===Qe(t))return t;const e=t.assignedSlot||t.parentNode||no(t)&&t.host||eo(t);return no(e)?e.host:e}function yo(t){const e=uo(t);return po(e)?t.ownerDocument?t.ownerDocument.body:t.body:io(e)&&ao(e)?e:yo(e)}function go(t,e,o){var r;void 0===e&&(e=[]),void 0===o&&(o=!0);const i=yo(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=to(i);return n?e.concat(a,a.visualViewport||[],ao(i)?i:[],a.frameElement&&o?go(a.frameElement):[]):e.concat(i,go(i,[],o))}function bo(t){const e=fo(t);let o=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const i=io(t),n=i?t.offsetWidth:o,a=i?t.offsetHeight:r,s=Ke(o)!==n||Ke(r)!==a;return s&&(o=n,r=a),{width:o,height:r,$:s}}function mo(t){return ro(t)?t:t.contextElement}function xo(t){const e=mo(t);if(!io(e))return Fe(1);const o=e.getBoundingClientRect(),{width:r,height:i,$:n}=bo(e);let a=(n?Ke(o.width):o.width)/r,s=(n?Ke(o.height):o.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const vo=Fe(0);function Oo(t){const e=to(t);return co()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:vo}function No(t,e,o,r){void 0===e&&(e=!1),void 0===o&&(o=!1);const i=t.getBoundingClientRect(),n=mo(t);let a=Fe(1);e&&(r?ro(r)&&(a=xo(r)):a=xo(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==to(t))&&e}(n,o,r)?Oo(n):Fe(0);let l=(i.left+s.x)/a.x,c=(i.top+s.y)/a.y,p=i.width/a.x,f=i.height/a.y;if(n){const t=to(n),e=r&&ro(r)?to(r):r;let o=t.frameElement;for(;o&&r&&e!==t;){const t=xo(o),e=o.getBoundingClientRect(),r=fo(o),i=e.left+(o.clientLeft+parseFloat(r.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(r.paddingTop))*t.y;l*=t.x,c*=t.y,p*=t.x,f*=t.y,l+=i,c+=n,o=to(o).frameElement}}return Ve({width:p,height:f,x:l,y:c})}function So(t){return No(eo(t)).left+ho(t).scrollLeft}function wo(t,e,o){let r;if("viewport"===e)r=function(t,e){const o=to(t),r=eo(t),i=o.visualViewport;let n=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){n=i.width,a=i.height;const t=co();(!t||t&&"fixed"===e)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,o);else if("document"===e)r=function(t){const e=eo(t),o=ho(t),r=t.ownerDocument.body,i=ze(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),n=ze(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let a=-o.scrollLeft+So(t);const s=-o.scrollTop;return"rtl"===fo(r).direction&&(a+=ze(e.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:s}}(eo(t));else if(ro(e))r=function(t,e){const o=No(t,!0,"fixed"===e),r=o.top+t.clientTop,i=o.left+t.clientLeft,n=io(t)?xo(t):Fe(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:i*n.x,y:r*n.y}}(e,o);else{const o=Oo(t);r={...e,x:e.x-o.x,y:e.y-o.y}}return Ve(r)}function Co(t,e){const o=uo(t);return!(o===e||!ro(o)||po(o))&&("fixed"===fo(o).position||Co(o,e))}function $o(t,e,o){const r=io(e),i=eo(e),n="fixed"===o,a=No(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const l=Fe(0);if(r||!r&&!n)if(("body"!==Qe(e)||ao(i))&&(s=ho(e)),r){const t=No(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else i&&(l.x=So(i));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Ro(t,e){return io(t)&&"fixed"!==fo(t).position?e?e(t):t.offsetParent:null}function Eo(t,e){const o=to(t);if(!io(t))return o;let r=Ro(t,e);for(;r&&so(r)&&"static"===fo(r).position;)r=Ro(r,e);return r&&("html"===Qe(r)||"body"===Qe(r)&&"static"===fo(r).position&&!lo(r))?o:r||function(t){let e=uo(t);for(;io(e)&&!po(e);){if(lo(e))return e;e=uo(e)}return null}(t)||o}const ko={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:r}=t;const i=io(o),n=eo(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=Fe(1);const l=Fe(0);if((i||!i&&"fixed"!==r)&&(("body"!==Qe(o)||ao(n))&&(a=ho(o)),io(o))){const t=No(o);s=xo(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:eo,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:r,strategy:i}=t;const n=[..."clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let r=go(t,[],!1).filter((t=>ro(t)&&"body"!==Qe(t))),i=null;const n="fixed"===fo(t).position;let a=n?uo(t):t;for(;ro(a)&&!po(a);){const e=fo(a),o=lo(a);o||"fixed"!==e.position||(i=null),(n?!o&&!i:!o&&"static"===e.position&&i&&["absolute","fixed"].includes(i.position)||ao(a)&&!o&&Co(t,a))?r=r.filter((t=>t!==a)):i=e,a=uo(a)}return e.set(t,r),r}(e,this._c):[].concat(o),r],a=n[0],s=n.reduce(((t,o)=>{const r=wo(e,o,i);return t.top=ze(r.top,t.top),t.right=We(r.right,t.right),t.bottom=We(r.bottom,t.bottom),t.left=ze(r.left,t.left),t}),wo(e,a,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:Eo,getElementRects:async function(t){let{reference:e,floating:o,strategy:r}=t;const i=this.getOffsetParent||Eo,n=this.getDimensions;return{reference:$o(e,await i(o),r),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return bo(t)},getScale:xo,isElement:ro,isRTL:function(t){return"rtl"===fo(t).direction}},Io=(t,e,o)=>{const r=new Map,i={platform:ko,...o},n={...i.platform,_c:r};return(async(t,e,o)=>{const{placement:r="bottom",strategy:i="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:i}),{x:p,y:f}=Ye(c,r,l),h=r,d={},u=0;for(let o=0;o<s.length;o++){const{name:n,fn:y}=s[o],{x:g,y:b,data:m,reset:x}=await y({x:p,y:f,initialPlacement:r,placement:h,strategy:i,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:e}});p=null!=g?g:p,f=null!=b?b:f,d={...d,[n]:{...d[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(h=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:e,strategy:i}):x.rects),({x:p,y:f}=Ye(c,h,l))),o=-1)}return{x:p,y:f,placement:h,strategy:i,middlewareData:d}})(t,e,{...i,platform:n})};function Uo(t){return function(t){for(let e=t;e;e=Lo(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=Lo(t);e;e=Lo(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}(t)}function Lo(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}
|
|
84
|
+
let No=class extends Bt{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 o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,o,e)=>{const i=e?.renderBefore??o;let r=i._$litPart$;if(void 0===r){const t=e?.renderBefore??null;i._$litPart$=r=new yo(o.insertBefore(Vt(),t),t,void 0,e??{})}return r._$AI(t),r})(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return ao}};No._$litElement$=!0,No.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:No});const So=globalThis.litElementPolyfillSupport;So?.({LitElement:No}),(globalThis.litElementVersions??=[]).push("4.0.2");const wo=t=>"string"==typeof t?Nt(t):t;class Co{static create(t,o,e,i){const r=t=>wo(null!=t?t:i),n=St`var(${wo(t)}, ${r(i)})`;return n.name=t,n.description=o,n.category=e,n.defaultValue=i,n.defaultCssValue=r,n.get=o=>St`var(${wo(t)}, ${r(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,o,e,i){const r=t=>e.get(null!=t?t:i),n=St`var(${wo(t)}, ${r(i)})`;return n.name=t,n.description=o,n.category=e.category,n.fallbackVariable=e,n.defaultValue=i,n.defaultCssValue=r,n.get=o=>St`var(${wo(t)}, ${r(o)})`,n.breadcrumb=()=>[e.name,...e.breadcrumb()],n.lastResortDefaultValue=()=>null!=i?i:e.lastResortDefaultValue(),n}static external(t,o){const e=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):wo(null!=o?o:t.lastResortDefaultValue()),i=St`var(${wo(t.name)}, ${e(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=o,i.defaultCssValue=e,i.get=o=>St`var(${wo(t.name)}, ${e(o)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function $o(t,o){return wo(`${t.name}: ${o}`)}const Eo={colorWhite:Co.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Co.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Co.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Co.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Co.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Co.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Co.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Co.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Co.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Co.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Co.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Co.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Co.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Co.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Co.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Co.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Co.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Co.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Co.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Co.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Co.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Co.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Co.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Co.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Co.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Co.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Co.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Co.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Co.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Co.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Co.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Co.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Co.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Co.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Co.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Co.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Co.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Co.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Co.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Co.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Co.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Co.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Co.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Co.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Co.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Co.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Co.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Co.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Co.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Co.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Co.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Co.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Co.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Co.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Co.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Co.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Co.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Co.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Co.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Co.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Co.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Co.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Co.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Co.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Co.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Co.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Co.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Co.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Co.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Co.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Co.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Co.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Co.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Co.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Co.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Co.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Co.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Co.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Co.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Co.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Co.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Co.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Co.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Co.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Co.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Co.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Co.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Co.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Co.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Co.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Co.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Co.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Co.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Co.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Co.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Co.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Co.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Co.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Co.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Co.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Co.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Co.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Co.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Co.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Co.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Co.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Co.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Co.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Co.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Co.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Co.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Co.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Co.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Co.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Co.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Co.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Co.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Co.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Co.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Co.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Co.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Co.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Co.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Co.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Co.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Co.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Co.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Co.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Co.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Co.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Co.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Co.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Co.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Co.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Co.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Co.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Co.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Co.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Co.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Co.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Co.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Co.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Co.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Co.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Co.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Co.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Co.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Co.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Co.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Co.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Co.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Co.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Co.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Co.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Co.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Co.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Co.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Co.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Co.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Co.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Co.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Co.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Co.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Co.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Co.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Co.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Co.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Co.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Co.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Co.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Co.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Co.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Co.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Co.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Co.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Co.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Co.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Co.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Co.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Co.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Co.create("--ft-opacity-0","","NUMBER","0"),opacity8:Co.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Co.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Co.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Co.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Co.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:Co.create("--ft-shadow-elevation-01","","SHADOW","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)"),shadowElevation02:Co.create("--ft-shadow-elevation-02","","SHADOW","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)"),shadowElevation03:Co.create("--ft-shadow-elevation-03","","SHADOW","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)"),shadowElevation04:Co.create("--ft-shadow-elevation-04","","SHADOW","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)"),shadowElevation06:Co.create("--ft-shadow-elevation-06","","SHADOW","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)"),shadowElevation08:Co.create("--ft-shadow-elevation-08","","SHADOW","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)"),shadowElevation12:Co.create("--ft-shadow-elevation-12","","SHADOW","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)"),shadowElevation16:Co.create("--ft-shadow-elevation-16","","SHADOW","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)"),shadowElevation24:Co.create("--ft-shadow-elevation-24","","SHADOW","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)")},Ro={display:{fontFamily:Co.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Co.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Co.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Co.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Co.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Co.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Co.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Co.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Co.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:Co.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Co.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Co.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Co.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:Co.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Co.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:Co.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Co.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Co.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Co.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:Co.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Co.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:Co.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Co.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Co.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Co.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Co.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Co.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Co.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Co.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Co.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Co.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Co.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Co.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Co.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Co.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Co.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Co.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Co.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Co.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Co.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Co.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Co.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Co.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Co.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Co.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Co.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Co.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Co.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Co.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Co.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Co.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Co.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Co.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Co.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Co.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Co.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Co.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Co.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Co.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Co.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Co.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Co.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Co.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Co.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Co.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Co.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Co.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Co.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Co.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Co.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Co.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Co.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Co.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Co.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Co.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Co.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Co.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Co.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Co.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Co.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Co.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Co.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Co.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Co.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Co.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Co.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Co.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Co.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Co.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Co.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Co.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Co.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Co.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Co.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Co.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Co.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Co.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Co.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Co.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Co.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Co.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Co.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Co.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Co.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Co.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Co.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Co.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Co.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Co.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Co.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Co.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Co.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Co.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Co.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Co.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Co.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Co.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Co.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Co.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Co.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Co.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Co.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Co.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Co.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Co.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Co.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Co.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Co.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Co.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Co.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Co.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Co.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},"caption-3-medium":{fontFamily:Co.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:Co.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:Co.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:Co.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:Co.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Co.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},"caption-3-semibold":{fontFamily:Co.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Co.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:Co.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:Co.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:Co.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Co.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},"caption-3-bold":{fontFamily:Co.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Co.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:Co.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:Co.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:Co.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:Co.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Co.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Co.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Co.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")}},Io={backgroundActionPrimary:Co.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Eo.colorBrand0),backgroundErrorPrimary:Co.extend("--ft-background-error-primary","Used as background of error components.",Eo.colorRed0),backgroundErrorSubtle:Co.extend("--ft-background-error-subtle","Used as background of subtle error components.",Eo.colorRed10),backgroundInfoPrimary:Co.extend("--ft-background-info-primary","Used as background of information components.",Eo.colorCyan200),backgroundInfoSubtle:Co.extend("--ft-background-info-subtle","Used as background of subtle information components.",Eo.colorCyan10),backgroundWarningPrimary:Co.extend("--ft-background-warning-primary","Used as background of warning components.",Eo.colorOrange300),backgroundWarningSubtle:Co.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Eo.colorOrange10),backgroundSuccessPrimary:Co.extend("--ft-background-success-primary","Used as background of success components.",Eo.colorGreen200),backgroundSuccessSubtle:Co.extend("--ft-background-success-subtle","Used as background of subtle success components.",Eo.colorGreen10),backgroundGlobalSurface:Co.extend("--ft-background-global-surface","Used as app background.",Eo.colorWhite),backgroundGlobalOnSurface:Co.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Eo.colorGray10),backgroundGlobalOnSurfaceDark:Co.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Eo.colorGray30),contentActionPrimary:Co.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Eo.colorBrand0),contentWarningPrimary:Co.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Eo.colorOrange300),contentWarningIconOnly:Co.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Eo.colorOrange0),contentErrorPrimary:Co.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Eo.colorRed0),contentErrorIconOnly:Co.extend("--ft-content-error-icon-only","Used on error status icons alone",Eo.colorRed0),contentInfoPrimary:Co.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Eo.colorCyan200),contentInfoIconOnly:Co.extend("--ft-content-info-icon-only","Used on info status icons alone",Eo.colorCyan0),contentSuccessPrimary:Co.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Eo.colorGreen200),contentSuccessIconOnly:Co.extend("--ft-content-success-icon-only","Used on success status icons alone",Eo.colorGreen0),contentGlobalPrimary:Co.extend("--ft-content-global-primary","Used for main content on the page.",Eo.colorGray500),contentGlobalSecondary:Co.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Eo.colorGray200),contentGlobalSubtle:Co.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Eo.colorGray0),contentGlobalOnColor:Co.extend("--ft-content-global-on-color","Used for content on a dominant color.",Eo.colorWhite),borderActionPrimary:Co.extend("--ft-border-action-primary","Used as border for primary action components.",Eo.colorBrand0),borderActionFocusRing:Co.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Eo.colorCyan0),borderWarningPrimary:Co.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",Eo.colorOrange300),borderWarningSubtle:Co.extend("--ft-border-warning-subtle","Used as border for warning components.",Eo.colorOrange30),borderSuccessPrimary:Co.extend("--ft-border-success-primary","Used as border for success buttons.",Eo.colorGreen200),borderSuccessSubtle:Co.extend("--ft-border-success-subtle","Used as border for success components.",Eo.colorGreen30),borderErrorPrimary:Co.extend("--ft-border-error-primary","Used as border for text fields in error states.",Eo.colorRed0),borderErrorSubtle:Co.extend("--ft-border-error-subtle","Used as border for error components.",Eo.colorRed30),borderInfoPrimary:Co.extend("--ft-border-info-primary","Used as border for buttons in info color.",Eo.colorCyan200),borderInfoSubtle:Co.extend("--ft-border-info-subtle","Used as border for information components.",Eo.colorCyan30),borderGlobalPrimary:Co.extend("--ft-border-global-primary","Used as border for element like input.",Eo.colorGray50),borderGlobalSubtle:Co.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Eo.colorGray30),borderInputPrimary:Co.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Eo.colorGray80)},Uo={largeHeight:Co.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:Co.extend("--ft-button-large-horizontal-padding","",Eo.spacing4),largeGap:Co.extend("--ft-button-large-gap","",Eo.spacing2),largeBorderRadius:Co.extend("--ft-button-large-border-radius","",Eo.borderRadiusS),largeIconSize:Co.extend("--ft-button-large-icon-size","",Eo.iconSize3),largeBorderWidth:Co.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:Co.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:Co.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:Co.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:Co.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:Co.extend("--ft-button-small-horizontal-padding","",Eo.spacing3),smallGap:Co.extend("--ft-button-small-gap","",Eo.spacing2),smallBorderRadius:Co.extend("--ft-button-small-border-radius","",Eo.borderRadiusS),smallIconSize:Co.extend("--ft-button-small-icon-size","",Eo.iconSize2),smallBorderWidth:Co.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:Co.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:Co.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:Co.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:Co.extend("--ft-button-primary-background-color","",Io.backgroundActionPrimary),primaryColor:Co.extend("--ft-button-primary-color","",Io.contentGlobalOnColor),primaryIconColor:Co.extend("--ft-button-primary-icon-color","",Io.contentGlobalOnColor),primaryStateLayerColor:Co.extend("--ft-button-primary-state-layer-color","",Io.contentGlobalOnColor),primaryStateLayerOpacityHover:Co.extend("--ft-button-primary-state-layer-opacity-hover","",Eo.opacity16),primaryStateLayerOpacityFocus:Co.extend("--ft-button-primary-state-layer-opacity-focus","",Eo.opacity16),primaryStateLayerOpacityActive:Co.extend("--ft-button-primary-state-layer-opacity-active","",Eo.opacity24),primaryComponentOpacityDisabled:Co.extend("--ft-button-primary-component-opacity-disabled","",Eo.opacity40),focusFocusRingColor:Co.extend("--ft-button-focus-focus-ring-color","",Io.borderActionFocusRing),tertiaryBackgroundColor:Co.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:Co.extend("--ft-button-tertiary-color","",Io.contentActionPrimary),tertiaryIconColor:Co.extend("--ft-button-tertiary-icon-color","",Io.contentActionPrimary),tertiaryStateLayerColor:Co.extend("--ft-button-tertiary-state-layer-color","",Io.contentActionPrimary),tertiaryStateLayerOpacityHover:Co.extend("--ft-button-tertiary-state-layer-opacity-hover","",Eo.opacity8),tertiaryStateLayerOpacityFocus:Co.extend("--ft-button-tertiary-state-layer-opacity-focus","",Eo.opacity8),tertiaryStateLayerOpacityActive:Co.extend("--ft-button-tertiary-state-layer-opacity-active","",Eo.opacity16),tertiaryComponentOpacityDisabled:Co.extend("--ft-button-tertiary-component-opacity-disabled","",Eo.opacity40),secondaryBackgroundColor:Co.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:Co.extend("--ft-button-secondary-color","",Io.contentActionPrimary),secondaryIconColor:Co.extend("--ft-button-secondary-icon-color","",Io.contentActionPrimary),secondaryStateLayerColor:Co.extend("--ft-button-secondary-state-layer-color","",Io.contentActionPrimary),secondaryStateLayerOpacityHover:Co.extend("--ft-button-secondary-state-layer-opacity-hover","",Eo.opacity8),secondaryStateLayerOpacityFocus:Co.extend("--ft-button-secondary-state-layer-opacity-focus","",Eo.opacity8),secondaryStateLayerOpacityActive:Co.extend("--ft-button-secondary-state-layer-opacity-active","",Eo.opacity16),secondaryComponentOpacityDisabled:Co.extend("--ft-button-secondary-component-opacity-disabled","",Eo.opacity40),secondaryBorderColor:Co.extend("--ft-button-secondary-border-color","",Io.borderActionPrimary),neutralBackgroundColor:Co.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:Co.extend("--ft-button-neutral-icon-color","",Io.contentGlobalSecondary),neutralColor:Co.extend("--ft-button-neutral-color","",Io.contentGlobalSecondary),neutralStateLayerColor:Co.extend("--ft-button-neutral-state-layer-color","",Io.contentGlobalSecondary),neutralStateLayerOpacityHover:Co.extend("--ft-button-neutral-state-layer-opacity-hover","",Eo.opacity8),neutralStateLayerOpacityFocus:Co.extend("--ft-button-neutral-state-layer-opacity-focus","",Eo.opacity8),neutralStateLayerOpacityActive:Co.extend("--ft-button-neutral-state-layer-opacity-active","",Eo.opacity16),neutralComponentOpacityDisabled:Co.extend("--ft-button-neutral-component-opacity-disabled","",Eo.opacity40)};Co.extend("--ft-floating-menu-horizontal-padding","",Eo.spacing4),Co.extend("--ft-floating-menu-vertical-padding","",Eo.spacing4),Co.extend("--ft-floating-menu-off-icon-color","",Io.contentGlobalPrimary),Co.extend("--ft-floating-menu-off-color","",Io.contentGlobalPrimary),Co.extend("--ft-floating-menu-on-color","",Io.contentActionPrimary),Co.extend("--ft-floating-menu-on-icon-color","",Io.contentActionPrimary),Co.extend("--ft-floating-menu-on-state-layer-color","",Io.contentActionPrimary),Co.extend("--ft-floating-menu-gap","",Eo.spacing3),Co.extend("--ft-floating-menu-focus-focus-ring-color","",Io.borderActionFocusRing),Co.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),Co.extend("--ft-floating-menu-state-layer-opacity-hover","",Eo.opacity8),Co.extend("--ft-floating-menu-state-layer-opacity-active","",Eo.opacity16),Co.extend("--ft-floating-menu-state-layer-opacity-focus","",Eo.opacity8),Co.extend("--ft-floating-menu-component-opacity-disabled","",Eo.opacity40),Co.extend("--ft-floating-menu-icon-size","",Eo.iconSize3),Co.extend("--ft-floating-menu-background-color","",Io.backgroundGlobalOnSurface),Co.extend("--ft-tabs-top-left-border-radius","",Eo.borderRadiusS),Co.extend("--ft-tabs-top-right-border-radius","",Eo.borderRadiusS),Co.extend("--ft-tabs-label-horizontal-padding","",Eo.spacing4),Co.extend("--ft-tabs-label-vertical-padding","",Eo.spacing3),Co.extend("--ft-tabs-label-gap","",Eo.spacing1),Co.extend("--ft-tabs-icon-horizontal-padding","",Eo.spacing1),Co.extend("--ft-tabs-icon-vertical-padding","",Eo.spacing4),Co.create("--ft-tabs-focus-outline-width","","SIZE","2px"),Co.extend("--ft-tabs-focus-focus-ring-color","",Io.borderActionFocusRing),Co.extend("--ft-tabs-off-state-layer-opacity-hover","",Eo.opacity8),Co.extend("--ft-tabs-off-state-layer-opacity-focus","",Eo.opacity8),Co.extend("--ft-tabs-off-state-layer-opacity-active","",Eo.opacity16),Co.extend("--ft-tabs-off-component-opacity-disabled","",Eo.opacity40),Co.extend("--ft-tabs-off-color","",Io.contentGlobalSubtle),Co.extend("--ft-tabs-off-state-layer-color","",Io.contentGlobalSubtle),Co.extend("--ft-tabs-on-state-layer-opacity-hover","",Eo.opacity8),Co.extend("--ft-tabs-on-state-layer-opacity-focus","",Eo.opacity8),Co.extend("--ft-tabs-on-state-layer-opacity-active","",Eo.opacity16),Co.extend("--ft-tabs-on-component-opacity-disabled","",Eo.opacity40),Co.extend("--ft-tabs-on-color","",Io.contentActionPrimary),Co.extend("--ft-tabs-on-state-layer-color","",Io.contentActionPrimary),Co.extend("--ft-collapsible-state-layer-opacity-hover","",Eo.opacity8),Co.extend("--ft-collapsible-state-layer-opacity-focus","",Eo.opacity8),Co.extend("--ft-collapsible-state-layer-opacity-active","",Eo.opacity16),Co.extend("--ft-collapsible-component-opacity-disabled","",Eo.opacity40),Co.extend("--ft-collapsible-horizontal-padding","",Eo.spacing4),Co.extend("--ft-collapsible-vertical-padding","",Eo.spacing3),Co.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),Co.extend("--ft-collapsible-focus-focus-ring-color","",Io.borderActionFocusRing),Co.extend("--ft-collapsible-color","",Io.contentGlobalPrimary),Co.extend("--ft-collapsible-state-layer-color","",Io.contentGlobalPrimary),Co.extend("--ft-collapsible-background-color","",Io.backgroundGlobalOnSurface),Co.extend("--ft-collapsible-border-color","",Io.borderGlobalSubtle),Co.extend("--ft-collapsible-icon-size","",Eo.iconSize3),Co.extend("--ft-switch-group-horizontal-padding","",Eo.spacing1),Co.extend("--ft-switch-group-vertical-padding","",Eo.spacing1),Co.extend("--ft-switch-group-gap","",Eo.spacing1),Co.extend("--ft-switch-group-background-color","",Io.backgroundGlobalSurface),Co.extend("--ft-switch-group-border-color","",Io.borderGlobalSubtle),Co.create("--ft-switch-group-border-radius","","SIZE","6px"),Co.extend("--ft-switch-label-horizontal-padding","",Eo.spacing2),Co.extend("--ft-switch-label-vertical-padding","",Eo.spacing1),Co.extend("--ft-switch-icon-horizontal-padding","",Eo.spacing1),Co.extend("--ft-switch-icon-vertical-padding","",Eo.spacing1),Co.create("--ft-switch-focus-outline-width","","SIZE","2px"),Co.extend("--ft-switch-focus-focus-ring-color","",Io.borderActionFocusRing),Co.extend("--ft-switch-option-border-radius","",Eo.borderRadiusS),Co.extend("--ft-switch-off-state-layer-opacity-hover","",Eo.opacity8),Co.extend("--ft-switch-off-state-layer-opacity-focus","",Eo.opacity8),Co.extend("--ft-switch-off-state-layer-opacity-active","",Eo.opacity16),Co.extend("--ft-switch-off-component-opacity-disabled","",Eo.opacity40),Co.extend("--ft-switch-off-color","",Io.contentGlobalSubtle),Co.extend("--ft-switch-off-state-layer-color","",Io.contentGlobalSubtle),Co.extend("--ft-switch-on-state-layer-opacity-hover","",Eo.opacity8),Co.extend("--ft-switch-on-state-layer-opacity-focus","",Eo.opacity8),Co.extend("--ft-switch-on-state-layer-opacity-active","",Eo.opacity16),Co.extend("--ft-switch-on-component-opacity-disabled","",Eo.opacity40),Co.extend("--ft-switch-on-color","",Io.contentActionPrimary),Co.extend("--ft-switch-on-state-layer-color","",Io.contentActionPrimary),Co.extend("--ft-chart-1-light","for area color charts",Eo.colorBrand40),Co.extend("--ft-chart-1-base","for line charts",Eo.colorBrand0),Co.extend("--ft-chart-2-light","for area color charts",Eo.colorYellow60),Co.extend("--ft-chart-2-base","for line charts",Eo.colorYellow100),Co.extend("--ft-chart-3-light","",Eo.colorUltramarine40),Co.extend("--ft-chart-3-base","",Eo.colorUltramarine70),Co.extend("--ft-chart-4-light","",Eo.colorCyan50),Co.extend("--ft-chart-4-base","",Eo.colorCyan100),Co.extend("--ft-chart-5-light","",Eo.colorRed40),Co.extend("--ft-chart-5-base","",Eo.colorRed60),Co.extend("--ft-chart-6-light","",Eo.colorGreen40),Co.extend("--ft-chart-6-base","",Eo.colorGreen70),Co.extend("--ft-chart-7-light","",Eo.colorOrange70),Co.extend("--ft-chart-7-base","",Eo.colorOrange100),Co.extend("--ft-chart-8-light","",Eo.colorAvocado70),Co.extend("--ft-chart-8-base","",Eo.colorAvocado200),Co.extend("--ft-chart-9-light","",Eo.colorBrown50),Co.extend("--ft-chart-9-base","",Eo.colorBrown200),Co.extend("--ft-chart-10-light","",Eo.colorGray50),Co.extend("--ft-chart-10-base","",Eo.colorGray80),Co.extend("--ft-chart-monochrome-10","",Eo.colorBrand10),Co.extend("--ft-chart-monochrome-20","",Eo.colorBrand20),Co.extend("--ft-chart-monochrome-30","",Eo.colorBrand40),Co.extend("--ft-chart-monochrome-40","",Eo.colorBrand60),Co.extend("--ft-chart-monochrome-50","",Eo.colorBrand0),Co.extend("--ft-chart-monochrome-60","",Eo.colorBrand200),Co.extend("--ft-chip-large-horizontal-padding","",Eo.spacing4),Co.extend("--ft-chip-large-vertical-padding","",Eo.spacing2),Co.extend("--ft-chip-large-gap","",Eo.spacing1),Co.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Co.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Co.extend("--ft-chip-large-border-radius","",Eo.borderRadiusPill),Co.create("--ft-chip-large-border-width","","SIZE","1px"),Co.extend("--ft-chip-large-icon-size","",Eo.iconSize3),Co.extend("--ft-chip-medium-horizontal-padding","",Eo.spacing3),Co.extend("--ft-chip-medium-vertical-padding","",Eo.spacing1),Co.extend("--ft-chip-medium-gap","",Eo.spacing1),Co.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Co.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Co.extend("--ft-chip-medium-border-radius","",Eo.borderRadiusPill),Co.create("--ft-chip-medium-border-width","","SIZE","1px"),Co.extend("--ft-chip-medium-icon-size","",Eo.iconSize2),Co.extend("--ft-chip-small-horizontal-padding","",Eo.spacing2),Co.extend("--ft-chip-small-vertical-padding","",Eo.spacing05),Co.extend("--ft-chip-small-gap","",Eo.spacing1),Co.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Co.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Co.extend("--ft-chip-small-border-radius","",Eo.borderRadiusPill),Co.create("--ft-chip-small-border-width","","SIZE","1px"),Co.extend("--ft-chip-small-icon-size","",Eo.iconSize1),Co.extend("--ft-chip-neutral-background-color","",Io.backgroundGlobalOnSurface),Co.extend("--ft-chip-neutral-color","",Io.contentGlobalPrimary),Co.extend("--ft-chip-neutral-border-color","",Io.borderGlobalSubtle),Co.extend("--ft-chip-info-background-color","",Io.backgroundInfoSubtle),Co.extend("--ft-chip-info-color","",Io.contentInfoPrimary),Co.extend("--ft-chip-info-border-color","",Io.borderInfoSubtle),Co.extend("--ft-chip-success-background-color","",Io.backgroundSuccessSubtle),Co.extend("--ft-chip-success-color","",Io.contentSuccessPrimary),Co.extend("--ft-chip-success-border-color","",Io.borderSuccessSubtle),Co.extend("--ft-chip-warning-background-color","",Io.backgroundWarningSubtle),Co.extend("--ft-chip-warning-color","",Io.contentWarningPrimary),Co.extend("--ft-chip-warning-border-color","",Io.borderWarningSubtle),Co.extend("--ft-chip-error-background-color","",Io.backgroundErrorSubtle),Co.extend("--ft-chip-error-color","",Io.contentErrorPrimary),Co.extend("--ft-chip-error-border-color","",Io.borderErrorSubtle),Co.create("--ft-notice-border-width","","SIZE","1px"),Co.extend("--ft-notice-horizontal-padding","",Eo.spacing2),Co.extend("--ft-notice-vertical-padding","",Eo.spacing1),Co.extend("--ft-notice-border-radius","",Eo.borderRadiusS),Co.extend("--ft-notice-gap","",Eo.spacing2),Co.extend("--ft-notice-icon-size","",Eo.iconSize3),Co.extend("--ft-notice-info-background-color","",Io.backgroundInfoSubtle),Co.extend("--ft-notice-info-border-color","",Io.borderInfoSubtle),Co.extend("--ft-notice-info-color","",Io.contentInfoPrimary),Co.extend("--ft-notice-warning-background-color","",Io.backgroundWarningSubtle),Co.extend("--ft-notice-warning-border-color","",Io.borderWarningSubtle),Co.extend("--ft-notice-warning-color","",Io.contentWarningPrimary),Co.extend("--ft-checkbox-label-color","",Io.contentGlobalPrimary),Co.extend("--ft-checkbox-checked-background-color","",Io.contentActionPrimary),Co.extend("--ft-checkbox-checked-state-layer-color","",Io.contentActionPrimary),Co.extend("--ft-checkbox-checked-color","",Io.contentGlobalOnColor),Co.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Eo.opacity16),Co.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Eo.opacity16),Co.extend("--ft-checkbox-checked-state-layer-opacity-active","",Eo.opacity24),Co.extend("--ft-checkbox-checked-component-opacity-disabled","",Eo.opacity40),Co.extend("--ft-checkbox-unchecked-border-color","",Eo.colorGray80),Co.extend("--ft-checkbox-unchecked-state-layer-color","",Eo.colorGray80),Co.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Eo.opacity16),Co.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Eo.opacity16),Co.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Eo.opacity24),Co.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Eo.opacity40),Co.extend("--ft-checkbox-focus-focus-ring-color","",Io.borderActionFocusRing),Co.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Co.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Co.extend("--ft-checkbox-gap","",Eo.spacing3),Co.extend("--ft-toggle-off-state-layer-opacity-hover","",Eo.opacity16),Co.extend("--ft-toggle-off-state-layer-opacity-focus","",Eo.opacity16),Co.extend("--ft-toggle-off-state-layer-opacity-active","",Eo.opacity24),Co.extend("--ft-toggle-off-component-opacity-disabled","",Eo.opacity40),Co.extend("--ft-toggle-off-background-color","",Io.contentGlobalSubtle),Co.extend("--ft-toggle-off-icon-color","",Io.contentGlobalSubtle),Co.extend("--ft-toggle-off-state-layer-color","",Io.contentGlobalSubtle),Co.extend("--ft-toggle-on-state-layer-opacity-hover","",Eo.opacity16),Co.extend("--ft-toggle-on-state-layer-opacity-focus","",Eo.opacity16),Co.extend("--ft-toggle-on-state-layer-opacity-active","",Eo.opacity24),Co.extend("--ft-toggle-on-component-opacity-disabled","",Eo.opacity40),Co.extend("--ft-toggle-on-background-color","",Io.contentActionPrimary),Co.extend("--ft-toggle-on-icon-color","",Io.contentActionPrimary),Co.extend("--ft-toggle-on-state-layer-color","",Io.contentActionPrimary),Co.extend("--ft-toggle-label-color","",Io.contentGlobalPrimary),Co.extend("--ft-toggle-focus-focus-ring-color","",Io.borderActionFocusRing),Co.extend("--ft-toggle-gap","",Eo.spacing3),Co.extend("--ft-radio-label-color","",Io.contentGlobalPrimary),Co.extend("--ft-radio-selected-color","",Io.contentActionPrimary),Co.extend("--ft-radio-selected-state-layer-color","",Io.contentActionPrimary),Co.extend("--ft-radio-selected-state-layer-opacity-hover","",Eo.opacity16),Co.extend("--ft-radio-selected-state-layer-opacity-focus","",Eo.opacity16),Co.extend("--ft-radio-selected-state-layer-opacity-active","",Eo.opacity24),Co.extend("--ft-radio-selected-component-opacity-disabled","",Eo.opacity40),Co.extend("--ft-radio-unselected-state-layer-color","",Eo.colorGray80),Co.extend("--ft-radio-unselected-state-layer-opacity-hover","",Eo.opacity16),Co.extend("--ft-radio-unselected-state-layer-opacity-focus","",Eo.opacity16),Co.extend("--ft-radio-unselected-state-layer-opacity-active","",Eo.opacity24),Co.extend("--ft-radio-unselected-component-opacity-disabled","",Eo.opacity40),Co.extend("--ft-radio-focus-focus-ring-color","",Io.borderActionFocusRing),Co.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Co.create("--ft-radio-focus-outline-width","","SIZE","2px"),Co.extend("--ft-radio-gap","",Eo.spacing3),Co.extend("--ft-notification-icon-size","",Eo.iconSize4),Co.extend("--ft-notification-horizontal-padding","",Eo.spacing4),Co.extend("--ft-notification-vertical-padding","",Eo.spacing4),Co.extend("--ft-notification-info-background-color","",Io.backgroundInfoSubtle),Co.extend("--ft-notification-info-color","",Io.contentInfoPrimary),Co.extend("--ft-notification-info-border-color","",Io.borderInfoSubtle),Co.extend("--ft-notification-success-background-color","",Io.backgroundSuccessSubtle),Co.extend("--ft-notification-success-color","",Io.contentSuccessPrimary),Co.extend("--ft-notification-success-border-color","",Io.borderSuccessSubtle),Co.extend("--ft-notification-warning-background-color","",Io.backgroundWarningSubtle),Co.extend("--ft-notification-warning-color","",Io.contentWarningPrimary),Co.extend("--ft-notification-warning-border-color","",Io.borderWarningSubtle),Co.extend("--ft-notification-error-background-color","",Io.backgroundErrorSubtle),Co.extend("--ft-notification-error-color","",Io.contentErrorPrimary),Co.extend("--ft-notification-error-border-color","",Io.borderErrorSubtle),Co.extend("--ft-notification-border-radius","",Eo.borderRadiusPill),Co.create("--ft-notification-border-width","","SIZE","1px"),Co.extend("--ft-notification-gap-leading","",Eo.spacing2),Co.extend("--ft-notification-gap-trailing","",Eo.spacing8),Co.extend("--ft-tooltip-horizontal-padding","",Eo.spacing2),Co.extend("--ft-tooltip-vertical-padding","",Eo.spacing2),Co.extend("--ft-tooltip-border-radius","",Eo.borderRadiusS),Co.extend("--ft-tooltip-label","",Io.contentGlobalOnColor),Co.extend("--ft-tooltip-background","",Io.contentGlobalPrimary),Co.extend("--ft-tooltip-background-opacity","",Eo.opacity80),Co.extend("--ft-tooltip-shadow","",Eo.shadowElevation03);const ko={colorPrimary:Co.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:Co.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:Co.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:Co.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:Co.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:Co.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:Co.create("--ft-color-error","","COLOR","#B00020"),colorOutline:Co.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:Co.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:Co.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:Co.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:Co.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:Co.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:Co.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:Co.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:Co.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:Co.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:Co.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:Co.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:Co.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:Co.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:Co.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:Co.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:Co.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:Co.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:Co.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:Co.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:Co.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:Co.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:Co.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:Co.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:Co.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:Co.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:Co.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:Co.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:Co.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:Co.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:Co.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:Co.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:Co.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:Co.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:Co.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:Co.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:Co.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:Co.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:Co.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:Co.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:Co.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:Co.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:Co.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:Co.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:Co.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:Co.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:Co.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:Co.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:Co.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:Co.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:Co.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:Co.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:Co.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:Co.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:Co.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Wo=["start","end"],Lo=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+Wo[0],o+"-"+Wo[1])),[]),zo=Math.min,Ko=Math.max,Ao=Math.round,Fo=t=>({x:t,y:t}),Zo={left:"right",right:"left",bottom:"top",top:"bottom"},Bo={start:"end",end:"start"};function Do(t,o,e){return Ko(t,zo(o,e))}function Mo(t,o){return"function"==typeof t?t(o):t}function Po(t){return t.split("-")[0]}function Ho(t){return t.split("-")[1]}function To(t){return"x"===t?"y":"x"}function jo(t){return"y"===t?"height":"width"}function _o(t){return["top","bottom"].includes(Po(t))?"y":"x"}function Go(t){return To(_o(t))}function Vo(t){return t.replace(/left|right|bottom|top/g,(t=>Zo[t]))}function Yo(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Xo(t,o,e){let{reference:i,floating:r}=t;const n=_o(o),a=Go(o),s=jo(a),l=Po(o),c="y"===n,p=i.x+i.width/2-r.width/2,f=i.y+i.height/2-r.height/2,h=i[s]/2-r[s]/2;let d;switch(l){case"top":d={x:p,y:i.y-r.height};break;case"bottom":d={x:p,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:f};break;case"left":d={x:i.x-r.width,y:f};break;default:d={x:i.x,y:i.y}}switch(Ho(o)){case"start":d[a]-=h*(e&&c?-1:1);break;case"end":d[a]+=h*(e&&c?-1:1)}return d}async function Jo(t,o){var e;void 0===o&&(o={});const{x:i,y:r,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=Mo(o,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(d),y=s[h?"floating"===f?"reference":"floating":f],g=Yo(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(y)))||e?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:p,strategy:l})),b="floating"===f?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},v=Yo(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 qo(t,o,e){return(t?[...e.filter((o=>Ho(o)===t)),...e.filter((o=>Ho(o)!==t))]:e.filter((t=>Po(t)===t))).filter((e=>!t||(Ho(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>Bo[t]))}(e)!==e)))}const Qo=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,i,r;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=o,{crossAxis:p=!1,alignment:f,allowedPlacements:h=Lo,autoAlignment:d=!0,...u}=Mo(t,o),y=void 0!==f||h===Lo?qo(f||null,d,h):h,g=await Jo(o,u),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=y[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const i=Ho(t),r=Go(t),n=jo(r);let a="x"===r?i===(e?"end":"start")?"right":"left":"start"===i?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=Vo(a)),[a,Vo(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const v=[g[Po(m)],g[x[0]],g[x[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:v}],N=y[b+1];if(N)return{data:{index:b+1,overflows:O},reset:{placement:N}};const S=O.map((t=>{const o=Ho(t.placement);return[t.placement,o&&p?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),w=S.filter((t=>t[2].slice(0,Ho(t[0])?2:3).every((t=>t<=0)))),C=(null==(r=w[0])?void 0:r[0])||S[0][0];return C!==s?{data:{index:b+1,overflows:O},reset:{placement:C}}:{}}}};function te(t){return ie(t)?(t.nodeName||"").toLowerCase():"#document"}function oe(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function ee(t){var o;return null==(o=(ie(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function ie(t){return t instanceof Node||t instanceof oe(t).Node}function re(t){return t instanceof Element||t instanceof oe(t).Element}function ne(t){return t instanceof HTMLElement||t instanceof oe(t).HTMLElement}function ae(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof oe(t).ShadowRoot)}function se(t){const{overflow:o,overflowX:e,overflowY:i,display:r}=he(t);return/auto|scroll|overlay|hidden|clip/.test(o+i+e)&&!["inline","contents"].includes(r)}function le(t){return["table","td","th"].includes(te(t))}function ce(t){const o=pe(),e=he(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function pe(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function fe(t){return["html","body","#document"].includes(te(t))}function he(t){return oe(t).getComputedStyle(t)}function de(t){return re(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ue(t){if("html"===te(t))return t;const o=t.assignedSlot||t.parentNode||ae(t)&&t.host||ee(t);return ae(o)?o.host:o}function ye(t){const o=ue(t);return fe(o)?t.ownerDocument?t.ownerDocument.body:t.body:ne(o)&&se(o)?o:ye(o)}function ge(t,o,e){var i;void 0===o&&(o=[]),void 0===e&&(e=!0);const r=ye(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=oe(r);return n?o.concat(a,a.visualViewport||[],se(r)?r:[],a.frameElement&&e?ge(a.frameElement):[]):o.concat(r,ge(r,[],e))}function be(t){const o=he(t);let e=parseFloat(o.width)||0,i=parseFloat(o.height)||0;const r=ne(t),n=r?t.offsetWidth:e,a=r?t.offsetHeight:i,s=Ao(e)!==n||Ao(i)!==a;return s&&(e=n,i=a),{width:e,height:i,$:s}}function me(t){return re(t)?t:t.contextElement}function xe(t){const o=me(t);if(!ne(o))return Fo(1);const e=o.getBoundingClientRect(),{width:i,height:r,$:n}=be(o);let a=(n?Ao(e.width):e.width)/i,s=(n?Ao(e.height):e.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const ve=Fo(0);function Oe(t){const o=oe(t);return pe()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:ve}function Ne(t,o,e,i){void 0===o&&(o=!1),void 0===e&&(e=!1);const r=t.getBoundingClientRect(),n=me(t);let a=Fo(1);o&&(i?re(i)&&(a=xe(i)):a=xe(t));const s=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==oe(t))&&o}(n,e,i)?Oe(n):Fo(0);let l=(r.left+s.x)/a.x,c=(r.top+s.y)/a.y,p=r.width/a.x,f=r.height/a.y;if(n){const t=oe(n),o=i&&re(i)?oe(i):i;let e=t.frameElement;for(;e&&i&&o!==t;){const t=xe(e),o=e.getBoundingClientRect(),i=he(e),r=o.left+(e.clientLeft+parseFloat(i.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,p*=t.x,f*=t.y,l+=r,c+=n,e=oe(e).frameElement}}return Yo({width:p,height:f,x:l,y:c})}function Se(t){return Ne(ee(t)).left+de(t).scrollLeft}function we(t,o,e){let i;if("viewport"===o)i=function(t,o){const e=oe(t),i=ee(t),r=e.visualViewport;let n=i.clientWidth,a=i.clientHeight,s=0,l=0;if(r){n=r.width,a=r.height;const t=pe();(!t||t&&"fixed"===o)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,e);else if("document"===o)i=function(t){const o=ee(t),e=de(t),i=t.ownerDocument.body,r=Ko(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),n=Ko(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight);let a=-e.scrollLeft+Se(t);const s=-e.scrollTop;return"rtl"===he(i).direction&&(a+=Ko(o.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(ee(t));else if(re(o))i=function(t,o){const e=Ne(t,!0,"fixed"===o),i=e.top+t.clientTop,r=e.left+t.clientLeft,n=ne(t)?xe(t):Fo(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(o,e);else{const e=Oe(t);i={...o,x:o.x-e.x,y:o.y-e.y}}return Yo(i)}function Ce(t,o){const e=ue(t);return!(e===o||!re(e)||fe(e))&&("fixed"===he(e).position||Ce(e,o))}function $e(t,o,e){const i=ne(o),r=ee(o),n="fixed"===e,a=Ne(t,!0,n,o);let s={scrollLeft:0,scrollTop:0};const l=Fo(0);if(i||!i&&!n)if(("body"!==te(o)||se(r))&&(s=de(o)),i){const t=Ne(o,!0,n,o);l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}else r&&(l.x=Se(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Ee(t,o){return ne(t)&&"fixed"!==he(t).position?o?o(t):t.offsetParent:null}function Re(t,o){const e=oe(t);if(!ne(t))return e;let i=Ee(t,o);for(;i&&le(i)&&"static"===he(i).position;)i=Ee(i,o);return i&&("html"===te(i)||"body"===te(i)&&"static"===he(i).position&&!ce(i))?e:i||function(t){let o=ue(t);for(;ne(o)&&!fe(o);){if(ce(o))return o;o=ue(o)}return null}(t)||e}const Ie={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:i}=t;const r=ne(e),n=ee(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},s=Fo(1);const l=Fo(0);if((r||!r&&"fixed"!==i)&&(("body"!==te(e)||se(n))&&(a=de(e)),ne(e))){const t=Ne(e);s=xe(e),l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}return{width:o.width*s.x,height:o.height*s.y,x:o.x*s.x-a.scrollLeft*s.x+l.x,y:o.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:ee,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let i=ge(t,[],!1).filter((t=>re(t)&&"body"!==te(t))),r=null;const n="fixed"===he(t).position;let a=n?ue(t):t;for(;re(a)&&!fe(a);){const o=he(a),e=ce(a);e||"fixed"!==o.position||(r=null),(n?!e&&!r:!e&&"static"===o.position&&r&&["absolute","fixed"].includes(r.position)||se(a)&&!e&&Ce(t,a))?i=i.filter((t=>t!==a)):r=o,a=ue(a)}return o.set(t,i),i}(o,this._c):[].concat(e),i],a=n[0],s=n.reduce(((t,e)=>{const i=we(o,e,r);return t.top=Ko(i.top,t.top),t.right=zo(i.right,t.right),t.bottom=zo(i.bottom,t.bottom),t.left=Ko(i.left,t.left),t}),we(o,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:Re,getElementRects:async function(t){let{reference:o,floating:e,strategy:i}=t;const r=this.getOffsetParent||Re,n=this.getDimensions;return{reference:$e(o,await r(e),i),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return be(t)},getScale:xe,isElement:re,isRTL:function(t){return"rtl"===he(t).direction}},Ue=(t,o,e)=>{const i=new Map,r={platform:Ie,...e},n={...r.platform,_c:i};return(async(t,o,e)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=e,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:r}),{x:p,y:f}=Xo(c,i,l),h=i,d={},u=0;for(let e=0;e<s.length;e++){const{name:n,fn:y}=s[e],{x:g,y:b,data:m,reset:x}=await y({x:p,y:f,initialPlacement:i,placement:h,strategy:r,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:o}});p=null!=g?g:p,f=null!=b?b:f,d={...d,[n]:{...d[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(h=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:r}):x.rects),({x:p,y:f}=Xo(c,h,l))),e=-1)}return{x:p,y:f,placement:h,strategy:r,middlewareData:d}})(t,o,{...r,platform:n})};function ke(t){return function(t){for(let o=t;o;o=We(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=We(t);o;o=We(o)){if(!(o instanceof Element))continue;const t=getComputedStyle(o);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return o;if("BODY"===o.tagName)return o}}return null}(t)}function We(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}
|
|
85
85
|
/**
|
|
86
86
|
* @license
|
|
87
87
|
* Copyright 2019 Google LLC
|
|
88
88
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
89
89
|
*/
|
|
90
|
-
const
|
|
90
|
+
const Le=window,ze=Le.ShadowRoot&&(void 0===Le.ShadyCSS||Le.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class Ke extends No{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return((t,o)=>{ze?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),i=Le.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var Ae,Fe=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const Ze=Symbol("constructorPrototype"),Be=Symbol("constructorName"),De=Symbol("exportpartsDebouncer");class Me extends Ke{constructor(){super(),this[Ae]=new o(5),this[Be]=this.constructor.name,this[Ze]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Be]&&Object.setPrototypeOf(this,this[Ze])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var o,e;if((null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==e?e:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[De].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,e,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!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(r=null===(i=t.getAttribute("part"))||void 0===i?void 0:i.split(" "))&&void 0!==r?r:[],e=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(...o,...e).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const p=[...c.values()].flatMap((t=>l.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...p].join(", "))}}Ae=De,Fe([C()],Me.prototype,"exportpartsPrefix",void 0),Fe([W([])],Me.prototype,"exportpartsPrefixes",void 0),Fe([C()],Me.prototype,"customStylesheet",void 0);const Pe=Co.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");St`
|
|
91
91
|
.highlight-html-match {
|
|
92
|
-
background: ${
|
|
92
|
+
background: ${Pe};
|
|
93
93
|
}
|
|
94
|
-
`;const
|
|
94
|
+
`;const He=St`
|
|
95
95
|
.ft-no-text-select {
|
|
96
96
|
-webkit-touch-callout: none;
|
|
97
97
|
-webkit-user-select: none;
|
|
@@ -112,7 +112,7 @@ const Wo=window,zo=Wo.ShadowRoot&&(void 0===Wo.ShadyCSS||Wo.ShadyCSS.nativeShado
|
|
|
112
112
|
-webkit-hyphens: auto;
|
|
113
113
|
hyphens: auto
|
|
114
114
|
}
|
|
115
|
-
`;const
|
|
115
|
+
`;const Te=St`
|
|
116
116
|
.ft-safari-ellipsis-fix {
|
|
117
117
|
margin-right: 0;
|
|
118
118
|
|
|
@@ -123,163 +123,163 @@ const Wo=window,zo=Wo.ShadowRoot&&(void 0===Wo.ShadyCSS||Wo.ShadyCSS.nativeShado
|
|
|
123
123
|
display: inline-block;
|
|
124
124
|
width: 0;
|
|
125
125
|
}
|
|
126
|
-
`;class
|
|
126
|
+
`;class je{constructor(t,o){this.defaultLabels=t,this.labels=o}resolve(t,...o){var e,i;t=this.resolvePluralKey(t,o);let r=null!==(i=null!==(e=this.labels[t])&&void 0!==e?e:this.defaultLabels[t])&&void 0!==i?i:"";return o.forEach(((t,o)=>r=r.replace(new RegExp(`\\{${o}([^}]*)\\}`,"g"),((o,e)=>this.formatValue(t,e))))),r}resolvePluralKey(t,o){for(let e of o)if("number"==typeof e){const o=`${String(t)}[\\=${e}]`;if(o in this.labels||o in this.defaultLabels)return o}return t}formatValue(t,o){return t instanceof Date?this.formatDate(t,o):null!=t?t:""}formatDate(t,o){const e=e=>(null==o?void 0:o.includes("date"))?t.toLocaleDateString(e):(null==o?void 0:o.includes("time"))?t.toLocaleTimeString(e):t.toLocaleString(e);try{return e(document.documentElement.lang)}catch(t){return e()}}}const _e=t=>{const o=null!=t?t:{};return(t,e)=>{var i;const r={hasChanged:(t,o)=>!U(t,o),attribute:!1,...o};C(r)(t,e);const n=t.constructor;n.reduxProperties=new Map(n.reduxProperties),n.reduxProperties.set(e,{selector:null!==(i=o.selector)&&void 0!==i?i:t=>t[e],store:o.store})}};function Ge(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var Ve,Ye,Xe;const Je=Symbol("internalReduxEventsUnsubscribers"),qe=Symbol("internalStoresUnsubscribers"),Qe=Symbol("internalStores");class ti extends Me{constructor(){super(...arguments),this[Ve]=new Map,this[Ye]=new Map,this[Xe]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((o=>t.has(o)))&&this.updateFromStores()}getUnnamedStore(){if(this[Qe].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Qe].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Qe].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:Ge(t)?t.name:void 0)&&void 0!==e?e:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){const o="string"==typeof t?t:t.name;this.unsubscribeFromStore(o),this[Qe].delete(o)}setupStore(t,o){this[Qe].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Qe].forEach(((t,o)=>this.subscribeToStore(o,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,o)=>{const e=this.constructor.getPropertyOptions(o);if(!(null==e?void 0:e.attribute)||!this.hasAttribute("string"==typeof(null==e?void 0:e.attribute)?e.attribute:o)){const e=this.getStore(t.store);e&&(t.store?this[qe].has(t.store):this[qe].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[qe].set(t,o.subscribe((()=>this.updateFromStores()))),Ge(o)&&o.eventBus&&(null===(e=this.reduxConstructor.reduxEventListeners)||void 0===e||e.forEach(((t,e)=>{if("function"==typeof this[e]&&(!t.store||o.name===t.store)){const i=t=>this[e](t);o.eventBus.addEventListener(t.eventName,i),this[Je].push((()=>o.eventBus.removeEventListener(t.eventName,i)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[qe].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[Je].forEach((t=>t())),this[Je]=[]}unsubscribeFromStore(t){this[qe].has(t)&&this[qe].get(t)(),this[qe].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}Ve=qe,Ye=Qe,Xe=Je,ti.reduxProperties=new Map,ti.reduxReactiveProperties=new Set,ti.reduxEventListeners=new Map,window.ftReduxStores||(window.ftReduxStores={});const oi=Symbol("elementInternals");var ei,ii,ri;const ni=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(ri=null===(ii=null===(ei=window.safari)||void 0===ei?void 0:ei.pushNotification)||void 0===ii?void 0:ii.toString())&&void 0!==ri?ri:""),ai=1,si=2,li=t=>(...o)=>({_$litDirective$:t,values:o});
|
|
127
127
|
/**
|
|
128
128
|
* @license
|
|
129
129
|
* Copyright 2017 Google LLC
|
|
130
130
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
131
|
-
*/let
|
|
131
|
+
*/let ci=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,e){this._$Ct=t,this._$AM=o,this._$Ci=e}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}};
|
|
132
132
|
/**
|
|
133
133
|
* @license
|
|
134
134
|
* Copyright 2020 Google LLC
|
|
135
135
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
136
|
-
*/const{D:
|
|
136
|
+
*/const{D:pi}=yt,fi=()=>document.createComment(""),hi=(t,o,e)=>{const i=t._$AA.parentNode,r=void 0===o?t._$AB:o._$AA;if(void 0===e){const o=i.insertBefore(fi(),r),n=i.insertBefore(fi(),r);e=new pi(o,n,t,t.options)}else{const o=e._$AB.nextSibling,n=e._$AM,a=n!==t;if(a){let o;e._$AQ?.(t),e._$AM=t,void 0!==e._$AP&&(o=t._$AU)!==n._$AU&&e._$AP(o)}if(o!==r||a){let t=e._$AA;for(;t!==o;){const o=t.nextSibling;i.insertBefore(t,r),t=o}}}return e},di=(t,o,e=t)=>(t._$AI(o,e),t),ui={},yi=t=>{t._$AP?.(!1,!0);let o=t._$AA;const e=t._$AB.nextSibling;for(;o!==e;){const t=o.nextSibling;o.remove(),o=t}},gi=(t,o,e)=>{const i=new Map;for(let r=o;r<=e;r++)i.set(t[r],r);return i},bi=li(class extends ci{constructor(t){if(super(t),t.type!==si)throw Error("repeat() can only be used in text expressions")}ht(t,o,e){let i;void 0===e?e=o:void 0!==o&&(i=o);const r=[],n=[];let a=0;for(const o of t)r[a]=i?i(o,a):a,n[a]=e(o,a),a++;return{values:n,keys:r}}render(t,o,e){return this.ht(t,o,e).values}update(t,[o,e,i]){const r=(t=>t._$AH)(t),{values:n,keys:a}=this.ht(o,e,i);if(!Array.isArray(r))return this.dt=a,n;const s=this.dt??=[],l=[];let c,p,f=0,h=r.length-1,d=0,u=n.length-1;for(;f<=h&&d<=u;)if(null===r[f])f++;else if(null===r[h])h--;else if(s[f]===a[d])l[d]=di(r[f],n[d]),f++,d++;else if(s[h]===a[u])l[u]=di(r[h],n[u]),h--,u--;else if(s[f]===a[u])l[u]=di(r[f],n[u]),hi(t,l[u+1],r[f]),f++,u--;else if(s[h]===a[d])l[d]=di(r[h],n[d]),hi(t,r[f],r[h]),h--,d++;else if(void 0===c&&(c=gi(a,d,u),p=gi(s,f,h)),c.has(s[f]))if(c.has(s[h])){const o=p.get(a[d]),e=void 0!==o?r[o]:null;if(null===e){const o=hi(t,r[f]);di(o,n[d]),l[d]=o}else l[d]=di(e,n[d]),hi(t,r[f],e),r[o]=null;d++}else yi(r[h]),h--;else yi(r[f]),f++;for(;d<=u;){const o=hi(t,l[u+1]);di(o,n[d]),l[d++]=o}for(;f<=h;){const t=r[f++];null!==t&&yi(t)}return this.dt=a,((t,o=ui)=>{t._$AH=o})(t,l),tt}}),mi=li(class extends ci{constructor(t){if(super(t),t.type!==ai||"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((o=>t[o])).join(" ")+" "}update(t,[o]){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 o)o[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(o)}const e=t.element.classList;for(const t of this.it)t in o||(e.remove(t),this.it.delete(t));for(const t in o){const i=!!o[t];i===this.it.has(t)||this.st?.has(t)||(i?(e.add(t),this.it.add(t)):(e.remove(t),this.it.delete(t)))}return tt}}),xi="important",vi=" !"+xi,Oi=li(class extends ci{constructor(t){if(super(t),t.type!==ai||"style"!==t.name||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((o,e)=>{const i=t[e];return null==i?o:o+`${e=e.includes("-")?e:e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${i};`}),"")}update(t,[o]){const{style:e}=t.element;if(void 0===this.ut)return this.ut=new Set(Object.keys(o)),this.render(o);for(const t of this.ut)null==o[t]&&(this.ut.delete(t),t.includes("-")?e.removeProperty(t):e[t]=null);for(const t in o){const i=o[t];if(null!=i){this.ut.add(t);const o="string"==typeof i&&i.endsWith(vi);t.includes("-")||o?e.setProperty(t,o?i.slice(0,-11):i,o?xi:""):e[t]=i}}return tt}});
|
|
137
137
|
/**
|
|
138
138
|
* @license
|
|
139
139
|
* Copyright 2017 Google LLC
|
|
140
140
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
141
|
-
*/var
|
|
141
|
+
*/var Ni;!function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"}(Ni||(Ni={}));var Si=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class wi extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}const Ci=Symbol("registerInterval");class $i extends(function(t){var o;class e extends t{constructor(){super(...arguments),this[o]=0}setReaderStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var t;return null===(t=this.stateManager)||void 0===t?void 0:t.service}connectedCallback(){super.connectedCallback(),this[Ci]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[Ci]):this.dispatchEvent(new wi)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=Ci,Si([$()],e.prototype,"stateManager",void 0),e}(ti)){}
|
|
142
142
|
/**
|
|
143
143
|
* @license
|
|
144
144
|
* Copyright 2020 Google LLC
|
|
145
145
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
146
|
-
*/const
|
|
146
|
+
*/const Ei=Symbol.for(""),Ri=t=>{if(t?.r===Ei)return t?._$litStatic$},Ii=t=>({_$litStatic$:t,r:Ei}),Ui=new Map,ki=(t=>(o,...e)=>{const i=e.length;let r,n;const a=[],s=[];let l,c=0,p=!1;for(;c<i;){for(l=o[c];c<i&&void 0!==(n=e[c],r=Ri(n));)l+=r+o[++c],p=!0;c!==i&&s.push(n),a.push(l),c++}if(c===i&&a.push(o[i]),p){const t=a.join("$$lit$$");void 0===(o=Ui.get(t))&&(a.raw=a,Ui.set(t,o=a)),e=s}return t(o,...e)})(Q);var Wi;!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"}(Wi||(Wi={}));const Li=Co.extend("--ft-typography-font-family","",ko.titleFont),zi=Co.extend("--ft-typography-font-family","",ko.contentFont),Ki={fontFamily:zi,fontSize:Co.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:Co.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:Co.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:Co.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:Co.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Ai=Co.extend("--ft-typography-title-font-family","",Li),Fi=Co.extend("--ft-typography-title-font-size","",Ki.fontSize,"20px"),Zi=Co.extend("--ft-typography-title-font-weight","",Ki.fontWeight,"normal"),Bi=Co.extend("--ft-typography-title-letter-spacing","",Ki.letterSpacing,"0.15px"),Di=Co.extend("--ft-typography-title-line-height","",Ki.lineHeight,"1.2"),Mi=Co.extend("--ft-typography-title-text-transform","",Ki.textTransform,"inherit"),Pi=Co.extend("--ft-typography-title-dense-font-family","",Li),Hi=Co.extend("--ft-typography-title-dense-font-size","",Ki.fontSize,"14px"),Ti=Co.extend("--ft-typography-title-dense-font-weight","",Ki.fontWeight,"normal"),ji=Co.extend("--ft-typography-title-dense-letter-spacing","",Ki.letterSpacing,"0.105px"),_i=Co.extend("--ft-typography-title-dense-line-height","",Ki.lineHeight,"1.7"),Gi=Co.extend("--ft-typography-title-dense-text-transform","",Ki.textTransform,"inherit"),Vi=Co.extend("--ft-typography-subtitle1-font-family","",zi),Yi=Co.extend("--ft-typography-subtitle1-font-size","",Ki.fontSize,"16px"),Xi=Co.extend("--ft-typography-subtitle1-font-weight","",Ki.fontWeight,"600"),Ji=Co.extend("--ft-typography-subtitle1-letter-spacing","",Ki.letterSpacing,"0.144px"),qi=Co.extend("--ft-typography-subtitle1-line-height","",Ki.lineHeight,"1.5"),Qi=Co.extend("--ft-typography-subtitle1-text-transform","",Ki.textTransform,"inherit"),tr=Co.extend("--ft-typography-subtitle2-font-family","",zi),or=Co.extend("--ft-typography-subtitle2-font-size","",Ki.fontSize,"14px"),er=Co.extend("--ft-typography-subtitle2-font-weight","",Ki.fontWeight,"normal"),ir=Co.extend("--ft-typography-subtitle2-letter-spacing","",Ki.letterSpacing,"0.098px"),rr=Co.extend("--ft-typography-subtitle2-line-height","",Ki.lineHeight,"1.7"),nr=Co.extend("--ft-typography-subtitle2-text-transform","",Ki.textTransform,"inherit"),ar=Co.extend("--ft-typography-body1-font-family","",zi),sr=Co.extend("--ft-typography-body1-font-size","",Ki.fontSize,"16px"),lr=Co.extend("--ft-typography-body1-font-weight","",Ki.fontWeight,"normal"),cr=Co.extend("--ft-typography-body1-letter-spacing","",Ki.letterSpacing,"0.496px"),pr=Co.extend("--ft-typography-body1-line-height","",Ki.lineHeight,"1.5"),fr=Co.extend("--ft-typography-body1-text-transform","",Ki.textTransform,"inherit"),hr=Co.extend("--ft-typography-body2-font-family","",zi),dr=Co.extend("--ft-typography-body2-font-size","",Ki.fontSize,"14px"),ur=Co.extend("--ft-typography-body2-font-weight","",Ki.fontWeight,"normal"),yr=Co.extend("--ft-typography-body2-letter-spacing","",Ki.letterSpacing,"0.252px"),gr=Co.extend("--ft-typography-body2-line-height","",Ki.lineHeight,"1.4"),br=Co.extend("--ft-typography-body2-text-transform","",Ki.textTransform,"inherit"),mr=Co.extend("--ft-typography-caption-font-family","",zi),xr=Co.extend("--ft-typography-caption-font-size","",Ki.fontSize,"12px"),vr=Co.extend("--ft-typography-caption-font-weight","",Ki.fontWeight,"normal"),Or=Co.extend("--ft-typography-caption-letter-spacing","",Ki.letterSpacing,"0.396px"),Nr=Co.extend("--ft-typography-caption-line-height","",Ki.lineHeight,"1.33"),Sr=Co.extend("--ft-typography-caption-text-transform","",Ki.textTransform,"inherit"),wr=Co.extend("--ft-typography-breadcrumb-font-family","",zi),Cr=Co.extend("--ft-typography-breadcrumb-font-size","",Ki.fontSize,"10px"),$r=Co.extend("--ft-typography-breadcrumb-font-weight","",Ki.fontWeight,"normal"),Er=Co.extend("--ft-typography-breadcrumb-letter-spacing","",Ki.letterSpacing,"0.33px"),Rr=Co.extend("--ft-typography-breadcrumb-line-height","",Ki.lineHeight,"1.6"),Ir=Co.extend("--ft-typography-breadcrumb-text-transform","",Ki.textTransform,"inherit"),Ur=Co.extend("--ft-typography-overline-font-family","",zi),kr=Co.extend("--ft-typography-overline-font-size","",Ki.fontSize,"10px"),Wr=Co.extend("--ft-typography-overline-font-weight","",Ki.fontWeight,"normal"),Lr=Co.extend("--ft-typography-overline-letter-spacing","",Ki.letterSpacing,"1.5px"),zr=Co.extend("--ft-typography-overline-line-height","",Ki.lineHeight,"1.6"),Kr=Co.extend("--ft-typography-overline-text-transform","",Ki.textTransform,"uppercase"),Ar={fontFamily:Co.extend("--ft-typography-button-font-family","",zi),fontSize:Co.extend("--ft-typography-button-font-size","",Ki.fontSize,"14px"),fontWeight:Co.extend("--ft-typography-button-font-weight","",Ki.fontWeight,"600"),letterSpacing:Co.extend("--ft-typography-button-letter-spacing","",Ki.letterSpacing,"1.246px"),lineHeight:Co.extend("--ft-typography-button-line-height","",Ki.lineHeight,"1.15"),textTransform:Co.extend("--ft-typography-button-text-transform","",Ki.textTransform,"uppercase")},Fr=St`
|
|
147
147
|
.ft-typography--title {
|
|
148
|
-
font-family: ${
|
|
149
|
-
font-size: ${
|
|
150
|
-
font-weight: ${
|
|
151
|
-
letter-spacing: ${
|
|
152
|
-
line-height: ${
|
|
153
|
-
text-transform: ${
|
|
154
|
-
}
|
|
155
|
-
`,
|
|
148
|
+
font-family: ${Ai};
|
|
149
|
+
font-size: ${Fi};
|
|
150
|
+
font-weight: ${Zi};
|
|
151
|
+
letter-spacing: ${Bi};
|
|
152
|
+
line-height: ${Di};
|
|
153
|
+
text-transform: ${Mi};
|
|
154
|
+
}
|
|
155
|
+
`,Zr=St`
|
|
156
156
|
.ft-typography--title-dense {
|
|
157
|
-
font-family: ${
|
|
158
|
-
font-size: ${
|
|
159
|
-
font-weight: ${
|
|
160
|
-
letter-spacing: ${
|
|
161
|
-
line-height: ${
|
|
162
|
-
text-transform: ${
|
|
163
|
-
}
|
|
164
|
-
`,
|
|
157
|
+
font-family: ${Pi};
|
|
158
|
+
font-size: ${Hi};
|
|
159
|
+
font-weight: ${Ti};
|
|
160
|
+
letter-spacing: ${ji};
|
|
161
|
+
line-height: ${_i};
|
|
162
|
+
text-transform: ${Gi};
|
|
163
|
+
}
|
|
164
|
+
`,Br=St`
|
|
165
165
|
.ft-typography--subtitle1 {
|
|
166
|
-
font-family: ${
|
|
167
|
-
font-size: ${
|
|
168
|
-
font-weight: ${
|
|
169
|
-
letter-spacing: ${
|
|
170
|
-
line-height: ${
|
|
171
|
-
text-transform: ${
|
|
172
|
-
}
|
|
173
|
-
`,
|
|
166
|
+
font-family: ${Vi};
|
|
167
|
+
font-size: ${Yi};
|
|
168
|
+
font-weight: ${Xi};
|
|
169
|
+
letter-spacing: ${Ji};
|
|
170
|
+
line-height: ${qi};
|
|
171
|
+
text-transform: ${Qi};
|
|
172
|
+
}
|
|
173
|
+
`,Dr=St`
|
|
174
174
|
.ft-typography--subtitle2 {
|
|
175
|
-
font-family: ${
|
|
176
|
-
font-size: ${
|
|
177
|
-
font-weight: ${
|
|
178
|
-
letter-spacing: ${
|
|
179
|
-
line-height: ${
|
|
180
|
-
text-transform: ${
|
|
175
|
+
font-family: ${tr};
|
|
176
|
+
font-size: ${or};
|
|
177
|
+
font-weight: ${er};
|
|
178
|
+
letter-spacing: ${ir};
|
|
179
|
+
line-height: ${rr};
|
|
180
|
+
text-transform: ${nr};
|
|
181
181
|
}
|
|
182
182
|
|
|
183
|
-
`,
|
|
183
|
+
`,Mr=St`
|
|
184
184
|
.ft-typography--body1 {
|
|
185
|
-
font-family: ${
|
|
186
|
-
font-size: ${
|
|
187
|
-
font-weight: ${
|
|
188
|
-
letter-spacing: ${
|
|
189
|
-
line-height: ${
|
|
190
|
-
text-transform: ${
|
|
191
|
-
}
|
|
192
|
-
`,
|
|
185
|
+
font-family: ${ar};
|
|
186
|
+
font-size: ${sr};
|
|
187
|
+
font-weight: ${lr};
|
|
188
|
+
letter-spacing: ${cr};
|
|
189
|
+
line-height: ${pr};
|
|
190
|
+
text-transform: ${fr};
|
|
191
|
+
}
|
|
192
|
+
`,Pr=St`
|
|
193
193
|
.ft-typography--body2 {
|
|
194
|
-
font-family: ${
|
|
195
|
-
font-size: ${
|
|
196
|
-
font-weight: ${
|
|
197
|
-
letter-spacing: ${
|
|
198
|
-
line-height: ${
|
|
199
|
-
text-transform: ${
|
|
200
|
-
}
|
|
201
|
-
`,
|
|
194
|
+
font-family: ${hr};
|
|
195
|
+
font-size: ${dr};
|
|
196
|
+
font-weight: ${ur};
|
|
197
|
+
letter-spacing: ${yr};
|
|
198
|
+
line-height: ${gr};
|
|
199
|
+
text-transform: ${br};
|
|
200
|
+
}
|
|
201
|
+
`,Hr=St`
|
|
202
202
|
.ft-typography--caption {
|
|
203
|
-
font-family: ${
|
|
204
|
-
font-size: ${
|
|
205
|
-
font-weight: ${
|
|
206
|
-
letter-spacing: ${
|
|
207
|
-
line-height: ${
|
|
208
|
-
text-transform: ${
|
|
209
|
-
}
|
|
210
|
-
`,
|
|
203
|
+
font-family: ${mr};
|
|
204
|
+
font-size: ${xr};
|
|
205
|
+
font-weight: ${vr};
|
|
206
|
+
letter-spacing: ${Or};
|
|
207
|
+
line-height: ${Nr};
|
|
208
|
+
text-transform: ${Sr};
|
|
209
|
+
}
|
|
210
|
+
`,Tr=St`
|
|
211
211
|
.ft-typography--breadcrumb {
|
|
212
|
-
font-family: ${
|
|
213
|
-
font-size: ${
|
|
214
|
-
font-weight: ${$
|
|
215
|
-
letter-spacing: ${
|
|
216
|
-
line-height: ${
|
|
217
|
-
text-transform: ${
|
|
218
|
-
}
|
|
219
|
-
`,
|
|
212
|
+
font-family: ${wr};
|
|
213
|
+
font-size: ${Cr};
|
|
214
|
+
font-weight: ${$r};
|
|
215
|
+
letter-spacing: ${Er};
|
|
216
|
+
line-height: ${Rr};
|
|
217
|
+
text-transform: ${Ir};
|
|
218
|
+
}
|
|
219
|
+
`,jr=St`
|
|
220
220
|
.ft-typography--overline {
|
|
221
|
-
font-family: ${
|
|
222
|
-
font-size: ${
|
|
223
|
-
font-weight: ${
|
|
224
|
-
letter-spacing: ${
|
|
225
|
-
line-height: ${
|
|
226
|
-
text-transform: ${
|
|
227
|
-
}
|
|
228
|
-
`,
|
|
221
|
+
font-family: ${Ur};
|
|
222
|
+
font-size: ${kr};
|
|
223
|
+
font-weight: ${Wr};
|
|
224
|
+
letter-spacing: ${Lr};
|
|
225
|
+
line-height: ${zr};
|
|
226
|
+
text-transform: ${Kr};
|
|
227
|
+
}
|
|
228
|
+
`,_r=St`
|
|
229
229
|
.ft-typography--button {
|
|
230
|
-
font-family: ${
|
|
231
|
-
font-size: ${
|
|
232
|
-
font-weight: ${
|
|
233
|
-
letter-spacing: ${
|
|
234
|
-
line-height: ${
|
|
235
|
-
text-transform: ${
|
|
236
|
-
}
|
|
237
|
-
`,
|
|
230
|
+
font-family: ${Ar.fontFamily};
|
|
231
|
+
font-size: ${Ar.fontSize};
|
|
232
|
+
font-weight: ${Ar.fontWeight};
|
|
233
|
+
letter-spacing: ${Ar.letterSpacing};
|
|
234
|
+
line-height: ${Ar.lineHeight};
|
|
235
|
+
text-transform: ${Ar.textTransform};
|
|
236
|
+
}
|
|
237
|
+
`,Gr=St`
|
|
238
238
|
.ft-typography {
|
|
239
239
|
vertical-align: inherit;
|
|
240
240
|
}
|
|
241
|
-
`,
|
|
241
|
+
`,Vr=[Object.keys(Ro).map((t=>function(t){const o=Ro[t];return St`
|
|
242
242
|
.ft-typography--${Nt(t)} {
|
|
243
|
-
font-family: ${
|
|
244
|
-
font-size: ${
|
|
245
|
-
font-weight: ${
|
|
246
|
-
letter-spacing: ${
|
|
247
|
-
line-height: ${
|
|
248
|
-
text-transform: ${
|
|
243
|
+
font-family: ${o.fontFamily};
|
|
244
|
+
font-size: ${o.fontSize};
|
|
245
|
+
font-weight: ${o.fontWeight};
|
|
246
|
+
letter-spacing: ${o.letterSpacing};
|
|
247
|
+
line-height: ${o.lineHeight};
|
|
248
|
+
text-transform: ${o.textCase};
|
|
249
249
|
}
|
|
250
|
-
`}(t)))];var
|
|
251
|
-
<${
|
|
250
|
+
`}(t)))];var Yr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Xr extends Me{constructor(){super(...arguments),this.variant=Wi.body1}render(){return this.element?ki`
|
|
251
|
+
<${Ii(this.element)}
|
|
252
252
|
class="ft-typography ft-typography--${this.variant}">
|
|
253
253
|
<slot></slot>
|
|
254
|
-
</${
|
|
255
|
-
`:
|
|
254
|
+
</${Ii(this.element)}>
|
|
255
|
+
`:ki`
|
|
256
256
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
257
|
-
`}}
|
|
257
|
+
`}}Xr.styles=[Fr,Zr,Br,Dr,Mr,Pr,Hr,Tr,jr,_r,Gr,...Vr],Yr([C()],Xr.prototype,"element",void 0),Yr([C()],Xr.prototype,"variant",void 0),k("ft-typography")(Xr);const Jr=Co.extend("--ft-reader-internal-link-outline-color","",ko.colorPrimary),qr=St`
|
|
258
258
|
:host {
|
|
259
259
|
display: contents;
|
|
260
260
|
}
|
|
261
261
|
|
|
262
262
|
a:focus {
|
|
263
|
-
outline-color: ${
|
|
263
|
+
outline-color: ${Jr};
|
|
264
264
|
}
|
|
265
265
|
|
|
266
266
|
.ft-reader-link--remove-style {
|
|
267
267
|
text-decoration: none;
|
|
268
268
|
color: inherit;
|
|
269
269
|
}
|
|
270
|
-
`;var
|
|
271
|
-
<a class=${
|
|
270
|
+
`;var Qr=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class tn extends $i{constructor(){super(...arguments),this.removeStyle=!1}render(){var t;let o=mi({"ft-reader-link":!0,"ft-reader-link--remove-style":this.removeStyle});return no`
|
|
271
|
+
<a class=${o}
|
|
272
272
|
href="${null===(t=this.service)||void 0===t?void 0:t.getLink(this.tocId,this.pageNumber,this.section)}"
|
|
273
273
|
@click=${t=>this.onLinkClick(t)}>
|
|
274
274
|
<slot></slot>
|
|
275
275
|
</a>
|
|
276
|
-
`}onLinkClick(t){var
|
|
276
|
+
`}onLinkClick(t){var o;t.ctrlKey||t.metaKey||(t.stopPropagation(),t.preventDefault(),performance.mark(`fluid_topics__reader_link_click__${this.tocId}`),null===(o=this.stateManager)||void 0===o||o.navigateToTopic(this.tocId,this.section,this.pageNumber),this.click())}}tn.styles=qr,Qr([C()],tn.prototype,"tocId",void 0),Qr([C()],tn.prototype,"section",void 0),Qr([C({type:Number})],tn.prototype,"pageNumber",void 0),Qr([C({type:Boolean})],tn.prototype,"removeStyle",void 0),k("ft-reader-internal-link")(tn);
|
|
277
277
|
/**
|
|
278
278
|
* @license
|
|
279
279
|
* Copyright 2017 Google LLC
|
|
280
280
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
281
281
|
*/
|
|
282
|
-
class
|
|
282
|
+
class on extends ci{constructor(t){if(super(t),this.et=ot,t.type!==si)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===ot||null==t)return this.vt=void 0,this.et=t;if(t===tt)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 o=[t];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}}on.directiveName="unsafeHTML",on.resultType=1;const en=li(on);var rn,nn;!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.CHART_BAR_NORMALIZED="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK="",t.CLONE="",t.CLONE_LINK_SIMPLE=""}(rn||(rn={})),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=""}(nn||(nn={})),new Map([...["abw"].map((t=>[t,nn.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,nn.AUDIO])),...["avi"].map((t=>[t,nn.AVI])),...["chm","xhs"].map((t=>[t,nn.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,nn.CODE])),...["csv"].map((t=>[t,nn.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,nn.DITA])),...["epub"].map((t=>[t,nn.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,nn.EXCEL])),...["flac"].map((t=>[t,nn.FLAC])),...["gif"].map((t=>[t,nn.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,nn.GZIP])),...["html","htm","xhtml"].map((t=>[t,nn.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map((t=>[t,nn.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,nn.JPEG])),...["json"].map((t=>[t,nn.JSON])),...["m4a","m4p"].map((t=>[t,nn.M4A])),...["mov","qt"].map((t=>[t,nn.MOV])),...["mp3"].map((t=>[t,nn.MP3])),...["mp4","m4v"].map((t=>[t,nn.MP4])),...["ogg","oga"].map((t=>[t,nn.OGG])),...["pdf","ps"].map((t=>[t,nn.PDF])),...["png"].map((t=>[t,nn.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,nn.POWERPOINT])),...["rar"].map((t=>[t,nn.RAR])),...["stp"].map((t=>[t,nn.STP])),...["txt","rtf","md","mdown"].map((t=>[t,nn.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,nn.VIDEO])),...["wav"].map((t=>[t,nn.WAV])),...["wma"].map((t=>[t,nn.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,nn.WORD])),...["xml","xsl","rdf"].map((t=>[t,nn.XML])),...["yaml","yml","x-yaml"].map((t=>[t,nn.YAML])),...["zip"].map((t=>[t,nn.ZIP]))]),nn.ABW,nn.AUDIO,nn.AVI,nn.CHM,nn.CODE,nn.CSV,nn.DITA,nn.EPUB,nn.EXCEL,nn.FLAC,nn.GIF,nn.GZIP,nn.HTML,nn.IMAGE,nn.JPEG,nn.JSON,nn.M4A,nn.MOV,nn.MP3,nn.MP4,nn.OGG,nn.PDF,nn.PNG,nn.POWERPOINT,nn.RAR,nn.STP,nn.TEXT,nn.UNKNOWN,nn.VIDEO,nn.WAV,nn.WMA,nn.WORD,nn.XML,nn.YAML,nn.ZIP;const an={size:Co.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Co.extend("--ft-icon-fluid-topics-font-family","",Co.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Co.extend("--ft-icon-file-format-font-family","",Co.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Co.extend("--ft-icon-material-font-family","",Co.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Co.create("--ft-icon-vertical-align","","UNKNOWN","unset")},sn=St`
|
|
283
283
|
:host, i.ft-icon {
|
|
284
284
|
display: inline-flex;
|
|
285
285
|
align-items: center;
|
|
@@ -327,12 +327,12 @@ class en extends cr{constructor(t){if(super(t),this.et=et,t.type!==sr)throw Erro
|
|
|
327
327
|
.ft-icon--material {
|
|
328
328
|
font-family: ${an.materialFontFamily}, "Material Icons", sans-serif;
|
|
329
329
|
}
|
|
330
|
-
`;var ln;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(ln||(ln={}));var cn=function(t,e,
|
|
330
|
+
`;var ln;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(ln||(ln={}));var cn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class pn extends Me{constructor(){super(...arguments),this.resolvedIcon=so}render(){const t=this.variant&&Object.values(ln).includes(this.variant)?this.variant:ln.fluid_topics,o=t!==ln.material||!!this.value;return no`
|
|
331
331
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
332
|
-
${
|
|
333
|
-
<slot ?hidden=${
|
|
332
|
+
${en(this.resolvedIcon)}
|
|
333
|
+
<slot ?hidden=${o}></slot>
|
|
334
334
|
</i>
|
|
335
|
-
`}get textContent(){var t,
|
|
335
|
+
`}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let e=this.value||this.textContent;switch(this.variant){case ln.file_format:this.resolvedIcon=null!==(t=nn[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case ln.material:this.resolvedIcon=this.value||so;break;default:this.resolvedIcon=null!==(o=rn[e.replace("-","_").toUpperCase()])&&void 0!==o?o:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}pn.elementDefinitions={},pn.styles=sn,cn([C()],pn.prototype,"variant",void 0),cn([C()],pn.prototype,"value",void 0),cn([$()],pn.prototype,"resolvedIcon",void 0),cn([I("slot")],pn.prototype,"slottedContent",void 0),k("ft-icon")(pn);const fn=Co.extend("--ft-ripple-color","",ko.colorContent),hn={color:fn,backgroundColor:Co.extend("--ft-ripple-background-color","",fn),opacityContentOnSurfacePressed:Co.external(ko.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:Co.external(ko.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:Co.external(ko.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:Co.external(ko.opacityContentOnSurfaceSelected,"Design system"),borderRadius:Co.create("--ft-ripple-border-radius","","SIZE","0px")},dn=Co.extend("--ft-ripple-color","",ko.colorPrimary),un=dn,yn=Co.extend("--ft-ripple-background-color","",dn),gn=Co.extend("--ft-ripple-color","",ko.colorSecondary),bn=gn,mn=Co.extend("--ft-ripple-background-color","",gn),xn=St`
|
|
336
336
|
:host {
|
|
337
337
|
display: contents;
|
|
338
338
|
}
|
|
@@ -444,7 +444,7 @@ class en extends cr{constructor(t){if(super(t),this.et=et,t.type!==sr)throw Erro
|
|
|
444
444
|
opacity: ${hn.opacityContentOnSurfacePressed};
|
|
445
445
|
transform: translate(-50%, -50%) scale(1);
|
|
446
446
|
}
|
|
447
|
-
`,vn={color:
|
|
447
|
+
`,vn={color:Co.extend("--ft-loader-color","",ko.colorPrimary),size:Co.create("--ft-loader-size","","SIZE","80px")},On=St`
|
|
448
448
|
:host {
|
|
449
449
|
line-height: 0;
|
|
450
450
|
}
|
|
@@ -513,7 +513,7 @@ class en extends cr{constructor(t){if(super(t),this.et=et,t.type!==sr)throw Erro
|
|
|
513
513
|
transform: translate(calc(0.35 * ${vn.size}), 0);
|
|
514
514
|
}
|
|
515
515
|
}
|
|
516
|
-
`,Nn=
|
|
516
|
+
`,Nn=Co.extend("--ft-button-color","",ko.colorPrimary),Sn={backgroundColor:Co.extend("--ft-button-background-color","",ko.colorSurface),borderRadius:Co.extend("--ft-button-border-radius","",ko.borderRadiusL),color:Nn,fontSize:Co.extend("--ft-button-font-size","",Ar.fontSize),iconSize:Co.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:Co.extend("--ft-button-ripple-color","",Nn),verticalPadding:Co.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:Co.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:Co.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:Co.external(ko.colorOpacityDisabled,"Design system")},wn=Co.extend("--ft-button-primary-color","",Co.extend("--ft-button-color","",ko.colorOnPrimary)),Cn={backgroundColor:Co.extend("--ft-button-primary-background-color","",Co.extend("--ft-button-background-color","",ko.colorPrimary)),color:wn,rippleColor:Co.extend("--ft-button-primary-ripple-color","",wn)},$n=Co.extend("--ft-button-dense-border-radius","",Co.extend("--ft-button-border-radius","",ko.borderRadiusM)),En=Co.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Rn=Co.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),In=Co.create("--ft-button-dense-icon-padding","","SIZE","4px"),Un=[St`
|
|
517
517
|
:host {
|
|
518
518
|
display: inline-block;
|
|
519
519
|
max-width: 100%;
|
|
@@ -555,8 +555,8 @@ class en extends cr{constructor(t){if(super(t),this.et=et,t.type!==sr)throw Erro
|
|
|
555
555
|
|
|
556
556
|
--ft-button-internal-line-height: max(calc(${Sn.fontSize} + 2px), ${Sn.iconSize});
|
|
557
557
|
--ft-button-internal-color: ${Sn.color};
|
|
558
|
-
${
|
|
559
|
-
${
|
|
558
|
+
${$o(an.size,Sn.iconSize)};
|
|
559
|
+
${$o(hn.color,Sn.rippleColor)};
|
|
560
560
|
|
|
561
561
|
border-radius: ${Sn.borderRadius};
|
|
562
562
|
padding: ${Sn.verticalPadding} ${Sn.horizontalPadding};
|
|
@@ -571,13 +571,13 @@ class en extends cr{constructor(t){if(super(t),this.et=et,t.type!==sr)throw Erro
|
|
|
571
571
|
}
|
|
572
572
|
|
|
573
573
|
.ft-button.ft-button--dense {
|
|
574
|
-
padding: ${
|
|
574
|
+
padding: ${En} ${Rn};
|
|
575
575
|
border-radius: ${$n};
|
|
576
|
-
gap: ${
|
|
576
|
+
gap: ${In};
|
|
577
577
|
}
|
|
578
578
|
|
|
579
579
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
580
|
-
padding: calc(${
|
|
580
|
+
padding: calc(${En} - 1px) calc(${Rn} - 1px);
|
|
581
581
|
}
|
|
582
582
|
|
|
583
583
|
.ft-button:not([disabled]):hover {
|
|
@@ -589,7 +589,7 @@ class en extends cr{constructor(t){if(super(t),this.et=et,t.type!==sr)throw Erro
|
|
|
589
589
|
}
|
|
590
590
|
|
|
591
591
|
.ft-button--round.ft-button--dense {
|
|
592
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
592
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${En});
|
|
593
593
|
}
|
|
594
594
|
|
|
595
595
|
.ft-button[disabled] {
|
|
@@ -600,7 +600,7 @@ class en extends cr{constructor(t){if(super(t),this.et=et,t.type!==sr)throw Erro
|
|
|
600
600
|
.ft-button.ft-button--primary {
|
|
601
601
|
background-color: ${Cn.backgroundColor};
|
|
602
602
|
--ft-button-internal-color: ${Cn.color};
|
|
603
|
-
${
|
|
603
|
+
${$o(hn.color,Cn.rippleColor)};
|
|
604
604
|
}
|
|
605
605
|
|
|
606
606
|
.ft-button:focus {
|
|
@@ -614,12 +614,12 @@ class en extends cr{constructor(t){if(super(t),this.et=et,t.type!==sr)throw Erro
|
|
|
614
614
|
text-overflow: ellipsis;
|
|
615
615
|
display: block;
|
|
616
616
|
margin: 0 ${Sn.iconPadding};
|
|
617
|
-
${
|
|
618
|
-
${
|
|
617
|
+
${$o(Ar.fontSize,"1em")};
|
|
618
|
+
${$o(Ar.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
619
619
|
}
|
|
620
620
|
|
|
621
621
|
.ft-button--dense .ft-button--label {
|
|
622
|
-
margin: 0 ${
|
|
622
|
+
margin: 0 ${In};
|
|
623
623
|
}
|
|
624
624
|
|
|
625
625
|
.ft-button--label[hidden] {
|
|
@@ -637,8 +637,8 @@ class en extends cr{constructor(t){if(super(t),this.et=et,t.type!==sr)throw Erro
|
|
|
637
637
|
}
|
|
638
638
|
|
|
639
639
|
.ft-button--dense .ft-button--label[hidden] + ft-icon {
|
|
640
|
-
margin: 0 calc(${
|
|
641
|
-
padding: 0 ${
|
|
640
|
+
margin: 0 calc(${Rn} * -1);
|
|
641
|
+
padding: 0 ${En};
|
|
642
642
|
}
|
|
643
643
|
|
|
644
644
|
.ft-button:not(.ft-button--trailing-icon) ft-icon,
|
|
@@ -647,21 +647,21 @@ class en extends cr{constructor(t){if(super(t),this.et=et,t.type!==sr)throw Erro
|
|
|
647
647
|
}
|
|
648
648
|
|
|
649
649
|
ft-loader {
|
|
650
|
-
${
|
|
651
|
-
${
|
|
650
|
+
${$o(vn.size,Sn.iconSize)};
|
|
651
|
+
${$o(vn.color,"var(--ft-button-internal-color)")};
|
|
652
652
|
}
|
|
653
|
-
`,
|
|
653
|
+
`,He];var kn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Wn 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 o(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new o(10),this.moveRipple=t=>{var o,e;let{x:i,y:r}=this.getCoordinates(t),n=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=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 no`
|
|
654
654
|
<style>
|
|
655
655
|
.ft-ripple .ft-ripple--effect {
|
|
656
656
|
left: ${this.originX}px;
|
|
657
657
|
top: ${this.originY}px;
|
|
658
658
|
}
|
|
659
659
|
</style>
|
|
660
|
-
<div class="${
|
|
660
|
+
<div class="${mi(t)}">
|
|
661
661
|
<div class="ft-ripple--background"></div>
|
|
662
662
|
<div class="ft-ripple--effect"></div>
|
|
663
663
|
</div>
|
|
664
|
-
`}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
|
|
664
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&o("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",e,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",e,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 o=t,e=t;let i,r;return null!=o.x?({x:i,y:r}=o):null!=e.touches&&(i=e.touches[0].clientX,r=e.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 o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Wn.elementDefinitions={},Wn.styles=xn,kn([C({type:Boolean})],Wn.prototype,"primary",void 0),kn([C({type:Boolean})],Wn.prototype,"secondary",void 0),kn([C({type:Boolean})],Wn.prototype,"unbounded",void 0),kn([C({type:Boolean})],Wn.prototype,"activated",void 0),kn([C({type:Boolean})],Wn.prototype,"selected",void 0),kn([C({type:Boolean})],Wn.prototype,"disabled",void 0),kn([$()],Wn.prototype,"hovered",void 0),kn([$()],Wn.prototype,"focused",void 0),kn([$()],Wn.prototype,"pressed",void 0),kn([$()],Wn.prototype,"rippling",void 0),kn([$()],Wn.prototype,"originX",void 0),kn([$()],Wn.prototype,"originY",void 0),kn([I(".ft-ripple")],Wn.prototype,"ripple",void 0),kn([I(".ft-ripple--effect")],Wn.prototype,"rippleEffect",void 0),k("ft-ripple")(Wn);const Ln=Co.create("--ft-tooltip-distance","","SIZE","4px"),zn=Co.create("--ft-tooltip-color","","COLOR","#FFFFFF"),Kn=Co.create("--ft-tooltip-background-color","","COLOR","#666666"),An=Co.create("--ft-tooltip-z-index","","NUMBER","100"),Fn=Co.external(ko.borderRadiusS,"Design system"),Zn=Co.create("--ft-tooltip-max-width","","SIZE","150px"),Bn=St`
|
|
665
665
|
.ft-tooltip--container {
|
|
666
666
|
display: block;
|
|
667
667
|
}
|
|
@@ -678,19 +678,19 @@ class en extends cr{constructor(t){if(super(t),this.et=et,t.type!==sr)throw Erro
|
|
|
678
678
|
width: max-content;
|
|
679
679
|
max-width: ${Zn};
|
|
680
680
|
text-align: center;
|
|
681
|
-
padding: ${
|
|
682
|
-
z-index: ${
|
|
681
|
+
padding: ${Ln};
|
|
682
|
+
z-index: ${An};
|
|
683
683
|
}
|
|
684
684
|
|
|
685
685
|
.ft-tooltip--content {
|
|
686
686
|
padding: 4px 8px;
|
|
687
|
-
border-radius: ${
|
|
687
|
+
border-radius: ${Fn};
|
|
688
688
|
background-color: ${Kn};
|
|
689
689
|
color: ${zn};
|
|
690
690
|
position: relative;
|
|
691
691
|
word-break: break-word;
|
|
692
692
|
}
|
|
693
|
-
`;var
|
|
693
|
+
`;var Dn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Mn 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 o,this.revealDebouncer=new o}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return no`
|
|
694
694
|
<div part="container"
|
|
695
695
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
696
696
|
@mouseenter=${this.onHover}
|
|
@@ -708,37 +708,37 @@ class en extends cr{constructor(t){if(super(t),this.et=et,t.type!==sr)throw Erro
|
|
|
708
708
|
</div>
|
|
709
709
|
</div>
|
|
710
710
|
</div>
|
|
711
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((
|
|
711
|
+
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,null!=t&&await this.hideDebounce.run((()=>{this.hide()}),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",async function(t,o,e){return Ue(t,o,{platform:{...Ie,getOffsetParent:t=>Ie.getOffsetParent(t,ke)},middleware:[(i={crossAxis:!0},void 0===i&&(i={}),{name:"shift",options:i,async fn(t){const{x:o,y:e,placement:r}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...l}=Mo(i,t),c={x:o,y:e},p=await Jo(t,l),f=_o(Po(r)),h=To(f);let d=c[h],u=c[f];if(n){const t="y"===h?"bottom":"right";d=Do(d+p["y"===h?"top":"left"],d,d-p[t])}if(a){const t="y"===f?"bottom":"right";u=Do(u+p["y"===f?"top":"left"],u,u-p[t])}const y=s.fn({...t,[h]:d,[f]:u});return{...y,data:{x:y.x-o,y:y.y-e}}}}),Qo({allowedPlacements:[e]})]});var i}(this.slottedElement,this.tooltip,this.position).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}Mn.elementDefinitions={"ft-typography":Xr},Mn.styles=Bn,Dn([C()],Mn.prototype,"text",void 0),Dn([C({type:Boolean})],Mn.prototype,"manual",void 0),Dn([C({type:Boolean})],Mn.prototype,"inline",void 0),Dn([C({type:Number})],Mn.prototype,"delay",void 0),Dn([C()],Mn.prototype,"position",void 0),Dn([function(t){return(o,e)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return R(0,0,{get(){const o=this.renderRoot?.querySelector(r);return o?.assignedNodes(t)??[]}})}}()],Mn.prototype,"slotNodes",void 0),Dn([I(".ft-tooltip--container")],Mn.prototype,"container",void 0),Dn([I(".ft-tooltip")],Mn.prototype,"tooltip",void 0),Dn([I(".ft-tooltip--content")],Mn.prototype,"tooltipContent",void 0),Dn([$()],Mn.prototype,"visible",void 0),Dn([E({passive:!0})],Mn.prototype,"onTouch",null),Dn([E({passive:!0})],Mn.prototype,"onHover",null),Dn([E({passive:!0})],Mn.prototype,"onOut",null),Dn([E({passive:!0})],Mn.prototype,"onClick",null),k("ft-tooltip")(Mn);class Pn extends Me{render(){return no`
|
|
712
712
|
<div class="ft-loader">
|
|
713
713
|
<div></div>
|
|
714
714
|
<div></div>
|
|
715
715
|
<div></div>
|
|
716
716
|
<div></div>
|
|
717
717
|
</div>
|
|
718
|
-
`}}Pn.styles=On,
|
|
718
|
+
`}}Pn.styles=On,k("ft-loader")(Pn);var Hn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Tn extends(function(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[oi].form}constructor(...t){super(t),this[oi]=this.attachInternals(),this[oi].role=o}setFormValue(t){this[oi].setFormValue(t)}}}(Me,"button")){constructor(){super(),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.addEventListener("click",(t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(o=this.form)||void 0===o||o.requestSubmit())}))}render(){return this.addTooltipIfNeeded(no`
|
|
719
719
|
<button part="button"
|
|
720
|
-
class="${
|
|
720
|
+
class="${mi(this.buttonClasses)}"
|
|
721
721
|
aria-label="${this.getLabel()}"
|
|
722
722
|
?disabled=${this.isDisabled()}>
|
|
723
723
|
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
724
724
|
<ft-typography part="label"
|
|
725
725
|
variant=${this.typographyVariant}
|
|
726
726
|
element="span"
|
|
727
|
-
class="ft-button--label ${
|
|
727
|
+
class="ft-button--label ${ni?"ft-safari-ellipsis-fix":""}"
|
|
728
728
|
?hidden=${!this.hasTextContent()}>
|
|
729
729
|
<slot @slotchange=${this.onSlotchange}></slot>
|
|
730
730
|
</ft-typography>
|
|
731
731
|
${this.resolveIcon()}
|
|
732
732
|
</button>
|
|
733
|
-
`)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?
|
|
733
|
+
`)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?no`
|
|
734
734
|
<ft-tooltip part="tooltip"
|
|
735
735
|
text="${this.getLabel()}"
|
|
736
736
|
position="${this.tooltipPosition}">
|
|
737
737
|
${t}
|
|
738
738
|
</ft-tooltip>
|
|
739
|
-
`:t}resolveIcon(){return this.loading?
|
|
740
|
-
<ft-loader part="loader icon"></ft-loader> `:this.icon?
|
|
741
|
-
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:
|
|
739
|
+
`:t}resolveIcon(){return this.loading?no`
|
|
740
|
+
<ft-loader part="loader icon"></ft-loader> `:this.icon?no`
|
|
741
|
+
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:so}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}}Tn.elementDefinitions={"ft-ripple":Wn,"ft-tooltip":Mn,"ft-typography":Xr,"ft-icon":pn,"ft-loader":Pn},Hn([C({type:String,reflect:!0})],Tn.prototype,"role",void 0),Hn([C()],Tn.prototype,"type",void 0),Hn([C({type:Boolean})],Tn.prototype,"disabled",void 0),Hn([C()],Tn.prototype,"label",void 0),Hn([C()],Tn.prototype,"icon",void 0),Hn([C()],Tn.prototype,"iconVariant",void 0),Hn([C({type:Boolean})],Tn.prototype,"trailingIcon",void 0),Hn([C({type:Boolean})],Tn.prototype,"loading",void 0),Hn([C()],Tn.prototype,"tooltipPosition",void 0),Hn([C({type:Boolean})],Tn.prototype,"hideTooltip",void 0),Hn([C({type:Boolean})],Tn.prototype,"forceTooltip",void 0),Hn([I(".ft-button")],Tn.prototype,"button",void 0),Hn([I(".ft-button--label slot")],Tn.prototype,"slottedContent",void 0);var jn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class _n extends Tn{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"}}_n.styles=[Te,Un],jn([C({type:Boolean})],_n.prototype,"primary",void 0),jn([C({type:Boolean})],_n.prototype,"outlined",void 0),jn([C({type:Boolean})],_n.prototype,"dense",void 0),jn([C({type:Boolean})],_n.prototype,"round",void 0);const Gn=[St`
|
|
742
742
|
:host {
|
|
743
743
|
display: inline-block;
|
|
744
744
|
max-width: 100%;
|
|
@@ -788,7 +788,7 @@ class en extends cr{constructor(t){if(super(t),this.et=et,t.type!==sr)throw Erro
|
|
|
788
788
|
}
|
|
789
789
|
|
|
790
790
|
.ft-button:focus-visible {
|
|
791
|
-
outline-color: ${
|
|
791
|
+
outline-color: ${Uo.focusFocusRingColor};
|
|
792
792
|
outline-style: solid;
|
|
793
793
|
}
|
|
794
794
|
|
|
@@ -817,146 +817,146 @@ class en extends cr{constructor(t){if(super(t),this.et=et,t.type!==sr)throw Erro
|
|
|
817
817
|
/** Primary styles **/
|
|
818
818
|
|
|
819
819
|
.ft-button--primary {
|
|
820
|
-
${
|
|
820
|
+
${$o(vn.color,Uo.primaryIconColor)};
|
|
821
821
|
|
|
822
|
-
${
|
|
823
|
-
${
|
|
824
|
-
${
|
|
825
|
-
${
|
|
826
|
-
${
|
|
822
|
+
${$o(hn.color,Uo.primaryStateLayerColor)};
|
|
823
|
+
${$o(hn.opacityContentOnSurfaceHover,Uo.primaryStateLayerOpacityHover)};
|
|
824
|
+
${$o(hn.opacityContentOnSurfaceFocused,Uo.primaryStateLayerOpacityFocus)};
|
|
825
|
+
${$o(hn.opacityContentOnSurfaceSelected,Uo.primaryStateLayerOpacityActive)};
|
|
826
|
+
${$o(hn.opacityContentOnSurfacePressed,Uo.primaryStateLayerOpacityActive)};
|
|
827
827
|
|
|
828
|
-
background-color: ${
|
|
829
|
-
color: ${
|
|
828
|
+
background-color: ${Uo.primaryBackgroundColor};
|
|
829
|
+
color: ${Uo.primaryColor};
|
|
830
830
|
border-style: none;
|
|
831
831
|
}
|
|
832
832
|
|
|
833
833
|
.ft-button--primary[disabled] {
|
|
834
|
-
opacity: ${
|
|
834
|
+
opacity: ${Uo.primaryComponentOpacityDisabled};
|
|
835
835
|
}
|
|
836
836
|
|
|
837
837
|
.ft-button--primary ft-icon {
|
|
838
|
-
color: ${
|
|
838
|
+
color: ${Uo.primaryIconColor};
|
|
839
839
|
}
|
|
840
840
|
|
|
841
841
|
/** Secondary styles **/
|
|
842
842
|
|
|
843
843
|
.ft-button--secondary {
|
|
844
|
-
${
|
|
844
|
+
${$o(vn.color,Uo.secondaryIconColor)};
|
|
845
845
|
|
|
846
|
-
${
|
|
847
|
-
${
|
|
848
|
-
${
|
|
849
|
-
${
|
|
850
|
-
${
|
|
846
|
+
${$o(hn.color,Uo.secondaryStateLayerColor)};
|
|
847
|
+
${$o(hn.opacityContentOnSurfaceHover,Uo.secondaryStateLayerOpacityHover)};
|
|
848
|
+
${$o(hn.opacityContentOnSurfaceFocused,Uo.secondaryStateLayerOpacityFocus)};
|
|
849
|
+
${$o(hn.opacityContentOnSurfaceSelected,Uo.secondaryStateLayerOpacityActive)};
|
|
850
|
+
${$o(hn.opacityContentOnSurfacePressed,Uo.secondaryStateLayerOpacityActive)};
|
|
851
851
|
|
|
852
|
-
background-color: ${
|
|
853
|
-
color: ${
|
|
854
|
-
border-color: ${
|
|
852
|
+
background-color: ${Uo.secondaryBackgroundColor};
|
|
853
|
+
color: ${Uo.secondaryColor};
|
|
854
|
+
border-color: ${Uo.secondaryBorderColor};
|
|
855
855
|
border-style: solid;
|
|
856
856
|
}
|
|
857
857
|
|
|
858
858
|
.ft-button--secondary[disabled] {
|
|
859
|
-
opacity: ${
|
|
859
|
+
opacity: ${Uo.secondaryComponentOpacityDisabled};
|
|
860
860
|
}
|
|
861
861
|
|
|
862
862
|
.ft-button--secondary ft-icon {
|
|
863
|
-
color: ${
|
|
863
|
+
color: ${Uo.secondaryIconColor};
|
|
864
864
|
}
|
|
865
865
|
|
|
866
866
|
/** Tertiary styles **/
|
|
867
867
|
|
|
868
868
|
.ft-button--tertiary {
|
|
869
|
-
${
|
|
869
|
+
${$o(vn.color,Uo.tertiaryIconColor)};
|
|
870
870
|
|
|
871
|
-
${
|
|
872
|
-
${
|
|
873
|
-
${
|
|
874
|
-
${
|
|
875
|
-
${
|
|
871
|
+
${$o(hn.color,Uo.tertiaryStateLayerColor)};
|
|
872
|
+
${$o(hn.opacityContentOnSurfaceHover,Uo.tertiaryStateLayerOpacityHover)};
|
|
873
|
+
${$o(hn.opacityContentOnSurfaceFocused,Uo.tertiaryStateLayerOpacityFocus)};
|
|
874
|
+
${$o(hn.opacityContentOnSurfaceSelected,Uo.tertiaryStateLayerOpacityActive)};
|
|
875
|
+
${$o(hn.opacityContentOnSurfacePressed,Uo.tertiaryStateLayerOpacityActive)};
|
|
876
876
|
|
|
877
|
-
background-color: ${
|
|
878
|
-
color: ${
|
|
877
|
+
background-color: ${Uo.tertiaryBackgroundColor};
|
|
878
|
+
color: ${Uo.tertiaryColor};
|
|
879
879
|
border-style: none;
|
|
880
880
|
}
|
|
881
881
|
|
|
882
882
|
.ft-button--tertiary[disabled] {
|
|
883
|
-
opacity: ${
|
|
883
|
+
opacity: ${Uo.tertiaryComponentOpacityDisabled};
|
|
884
884
|
}
|
|
885
885
|
|
|
886
886
|
.ft-button--tertiary ft-icon {
|
|
887
|
-
color: ${
|
|
887
|
+
color: ${Uo.tertiaryIconColor};
|
|
888
888
|
}
|
|
889
889
|
|
|
890
890
|
/** Neutral styles **/
|
|
891
891
|
|
|
892
892
|
.ft-button--neutral {
|
|
893
|
-
${
|
|
893
|
+
${$o(vn.color,Uo.neutralIconColor)};
|
|
894
894
|
|
|
895
|
-
${
|
|
896
|
-
${
|
|
897
|
-
${
|
|
898
|
-
${
|
|
899
|
-
${
|
|
895
|
+
${$o(hn.backgroundColor,Uo.neutralStateLayerColor)};
|
|
896
|
+
${$o(hn.opacityContentOnSurfaceHover,Uo.neutralStateLayerOpacityHover)};
|
|
897
|
+
${$o(hn.opacityContentOnSurfaceFocused,Uo.neutralStateLayerOpacityFocus)};
|
|
898
|
+
${$o(hn.opacityContentOnSurfaceSelected,Uo.neutralStateLayerOpacityActive)};
|
|
899
|
+
${$o(hn.opacityContentOnSurfacePressed,Uo.neutralStateLayerOpacityActive)};
|
|
900
900
|
|
|
901
|
-
background-color: ${
|
|
902
|
-
color: ${
|
|
901
|
+
background-color: ${Uo.neutralBackgroundColor};
|
|
902
|
+
color: ${Uo.neutralColor};
|
|
903
903
|
border-style: none;
|
|
904
904
|
}
|
|
905
905
|
|
|
906
906
|
.ft-button--neutral[disabled] {
|
|
907
|
-
opacity: ${
|
|
907
|
+
opacity: ${Uo.neutralComponentOpacityDisabled};
|
|
908
908
|
}
|
|
909
909
|
|
|
910
910
|
.ft-button--neutral ft-icon {
|
|
911
|
-
color: ${
|
|
911
|
+
color: ${Uo.neutralIconColor};
|
|
912
912
|
}
|
|
913
913
|
|
|
914
914
|
/** Large styles **/
|
|
915
915
|
|
|
916
916
|
.ft-button--large {
|
|
917
|
-
${
|
|
918
|
-
${
|
|
919
|
-
|
|
920
|
-
height: ${
|
|
921
|
-
padding: 0 ${
|
|
922
|
-
gap: ${
|
|
923
|
-
border-radius: ${
|
|
924
|
-
border-width: ${
|
|
917
|
+
${$o(an.size,Uo.largeIconSize)};
|
|
918
|
+
${$o(vn.size,Uo.largeIconSize)};
|
|
919
|
+
|
|
920
|
+
height: ${Uo.largeHeight};
|
|
921
|
+
padding: 0 ${Uo.largeHorizontalPadding};
|
|
922
|
+
gap: ${Uo.largeGap};
|
|
923
|
+
border-radius: ${Uo.largeBorderRadius};
|
|
924
|
+
border-width: ${Uo.largeBorderWidth};
|
|
925
925
|
}
|
|
926
926
|
|
|
927
927
|
.ft-button--large:focus-visible {
|
|
928
|
-
outline-width: ${
|
|
929
|
-
outline-offset: ${
|
|
928
|
+
outline-width: ${Uo.largeFocusOutlineWidth};
|
|
929
|
+
outline-offset: ${Uo.largeFocusOutlineOffset};
|
|
930
930
|
}
|
|
931
931
|
|
|
932
932
|
.ft-button--large.ft-button--icon-only {
|
|
933
|
-
width: ${
|
|
933
|
+
width: ${Uo.largeIconOnlyWidth};
|
|
934
934
|
padding: unset;
|
|
935
935
|
}
|
|
936
936
|
|
|
937
937
|
/** Small styles **/
|
|
938
938
|
|
|
939
939
|
.ft-button--small {
|
|
940
|
-
${
|
|
941
|
-
${
|
|
942
|
-
|
|
943
|
-
height: ${
|
|
944
|
-
padding: 0 ${
|
|
945
|
-
gap: ${
|
|
946
|
-
border-radius: ${
|
|
947
|
-
border-width: ${
|
|
940
|
+
${$o(an.size,Uo.smallIconSize)};
|
|
941
|
+
${$o(vn.size,Uo.smallIconSize)};
|
|
942
|
+
|
|
943
|
+
height: ${Uo.smallHeight};
|
|
944
|
+
padding: 0 ${Uo.smallHorizontalPadding};
|
|
945
|
+
gap: ${Uo.smallGap};
|
|
946
|
+
border-radius: ${Uo.smallBorderRadius};
|
|
947
|
+
border-width: ${Uo.smallBorderWidth};
|
|
948
948
|
}
|
|
949
949
|
|
|
950
950
|
.ft-button--small:focus-visible {
|
|
951
|
-
outline-width: ${
|
|
952
|
-
outline-offset: ${
|
|
951
|
+
outline-width: ${Uo.smallFocusOutlineWidth};
|
|
952
|
+
outline-offset: ${Uo.smallFocusOutlineOffset};
|
|
953
953
|
}
|
|
954
954
|
|
|
955
955
|
.ft-button--small.ft-button--icon-only {
|
|
956
|
-
width: ${
|
|
956
|
+
width: ${Uo.smallIconOnlyWidth};
|
|
957
957
|
padding: unset;
|
|
958
958
|
}
|
|
959
|
-
`,
|
|
959
|
+
`,He];var Vn,Yn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Xn extends Tn{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?Wi.caption1medium:Wi.body2medium}}Xn.styles=[Te,Gn],Yn([C({type:Boolean})],Xn.prototype,"primary",void 0),Yn([C({type:Boolean})],Xn.prototype,"secondary",void 0),Yn([C({type:Boolean})],Xn.prototype,"tertiary",void 0),Yn([C({type:Boolean})],Xn.prototype,"neutral",void 0),Yn([C({type:Boolean})],Xn.prototype,"small",void 0),k("ft-button")(_n),k("ftds-button")(Xn),function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"}(Vn||(Vn={}));const Jn=St`
|
|
960
960
|
.ft-size-watcher--pixel {
|
|
961
961
|
width: 0;
|
|
962
962
|
height: 0;
|
|
@@ -975,48 +975,48 @@ class en extends cr{constructor(t){if(super(t),this.et=et,t.type!==sr)throw Erro
|
|
|
975
975
|
.ft-size-watcher--local .ft-size-watcher--watcher {
|
|
976
976
|
width: 100%;
|
|
977
977
|
}
|
|
978
|
-
`;var qn=function(t,e,
|
|
978
|
+
`;var qn=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Qn extends CustomEvent{constructor(t,o){super("change",{detail:{size:t,category:o}})}}class ta extends Me{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=Vn.S,this.resizeObserver=new ResizeObserver((()=>this.updateSize())),this.debouncer=new o}render(){return no`
|
|
979
979
|
<div class="ft-size-watcher--pixel ${this.local?"ft-size-watcher--local":""}">
|
|
980
980
|
<div class="ft-size-watcher--watcher"></div>
|
|
981
981
|
</div>
|
|
982
|
-
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run((()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=Vn.S:this.size<976?this.category=Vn.M:this.size<1024?this.category=Vn.L:this.size<1440?this.category=Vn.XL:this.category=Vn.XXL,this.dispatchEvent(new Qn(this.size,this.category)))}),this.debounceTimeout)}}ta.elementDefinitions={},ta.styles=Jn,qn([C({type:Number})],ta.prototype,"debounceTimeout",void 0),qn([C({type:Boolean})],ta.prototype,"local",void 0),qn([C({type:Number,reflect:!0})],ta.prototype,"size",void 0),qn([C({type:String,reflect:!0})],ta.prototype,"category",void 0),qn([
|
|
982
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run((()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=Vn.S:this.size<976?this.category=Vn.M:this.size<1024?this.category=Vn.L:this.size<1440?this.category=Vn.XL:this.category=Vn.XXL,this.dispatchEvent(new Qn(this.size,this.category)))}),this.debounceTimeout)}}ta.elementDefinitions={},ta.styles=Jn,qn([C({type:Number})],ta.prototype,"debounceTimeout",void 0),qn([C({type:Boolean})],ta.prototype,"local",void 0),qn([C({type:Number,reflect:!0})],ta.prototype,"size",void 0),qn([C({type:String,reflect:!0})],ta.prototype,"category",void 0),qn([I(".ft-size-watcher--watcher")],ta.prototype,"watcher",void 0),k("ft-size-watcher")(ta);const oa={expand:"Expand {0}",collapse:"Collapse {0}",expandAll:"Expand all",expandAllLong:"Expand all table of contents",collapseAll:"Collapse all",collapseAllLong:"Collapse all table of contents"},ea={tabulationSize:Co.create("--ft-reader-toc-tabulation-size","","SIZE","16px"),verticalSpacing:Co.create("--ft-reader-toc-vertical-spacing","","SIZE","4px"),textColor:Co.extend("--ft-reader-toc-text-color","",ko.colorOnSurface),hoverColor:Co.extend("--ft-reader-toc-hover-color","",ko.colorPrimary),highlightedTextColor:Co.extend("--ft-reader-toc-highlighted-text-color","",ko.colorPrimary),highlightedFontWeight:Co.create("--ft-reader-toc-highlighted-font-weight","","UNKNOWN","bold"),highlightedBackgroundColor:Co.create("--ft-reader-toc-highlighted-background-color","","COLOR","transparent"),iconFontSize:Co.create("--ft-reader-toc-icon-font-size","","SIZE","16px"),treeNodeIconColor:Co.create("--ft-reader-toc-tree-node-icon-color","","COLOR",ko.colorPrimary),leafNodeIconColor:Co.create("--ft-reader-toc-leaf-node-icon-color","","COLOR",ko.colorPrimary),nodeButtonBackgroundColor:Co.create("--ft-reader-toc-node-button-background-color","","COLOR",ko.colorSurface),expandCollapseAllButtonColor:Co.create("--ft-reader-toc-expand-collapse-all-button-color","","COLOR",ko.colorPrimary),expandCollapseAllButtonBackgroundColor:Co.create("--ft-reader-toc-expand-collapse-all-button-background-color","","COLOR",ko.colorSurface)},ia=St`
|
|
983
983
|
.ft-reader-toc {
|
|
984
|
-
color: ${
|
|
984
|
+
color: ${ea.textColor};
|
|
985
985
|
}
|
|
986
986
|
|
|
987
987
|
.ft-reader-toc--node-highlighted > .ft-reader-toc--link-container {
|
|
988
|
-
background-color: ${
|
|
989
|
-
color: ${
|
|
990
|
-
${
|
|
988
|
+
background-color: ${ea.highlightedBackgroundColor};
|
|
989
|
+
color: ${ea.highlightedTextColor};
|
|
990
|
+
${$o(Ki.fontWeight,ea.highlightedFontWeight)}
|
|
991
991
|
}
|
|
992
992
|
|
|
993
993
|
.ft-reader-toc--link-container {
|
|
994
994
|
display: flex;
|
|
995
995
|
gap: 4px;
|
|
996
|
-
padding: ${
|
|
996
|
+
padding: ${ea.verticalSpacing} 4px; /* left padding is override on inline style */
|
|
997
997
|
align-items: center;
|
|
998
998
|
}
|
|
999
999
|
|
|
1000
1000
|
.ft-reader-toc--link-container ft-reader-internal-link:hover {
|
|
1001
|
-
color: ${
|
|
1001
|
+
color: ${ea.hoverColor};
|
|
1002
1002
|
}
|
|
1003
1003
|
|
|
1004
1004
|
ft-button {
|
|
1005
|
-
${
|
|
1005
|
+
${$o(Sn.iconSize,ea.iconFontSize)};
|
|
1006
1006
|
}
|
|
1007
1007
|
|
|
1008
1008
|
.ft-reader-toc--leaf-node-icon {
|
|
1009
|
-
color: ${
|
|
1009
|
+
color: ${ea.leafNodeIconColor};
|
|
1010
1010
|
}
|
|
1011
1011
|
|
|
1012
1012
|
.ft-reader-toc--tree-node-button {
|
|
1013
|
-
${
|
|
1014
|
-
${
|
|
1013
|
+
${$o(Sn.color,ea.treeNodeIconColor)};
|
|
1014
|
+
${$o(Sn.backgroundColor,ea.nodeButtonBackgroundColor)};
|
|
1015
1015
|
}
|
|
1016
1016
|
|
|
1017
1017
|
.ft-reader-toc--expand-collapse-all-button {
|
|
1018
|
-
${
|
|
1019
|
-
${
|
|
1018
|
+
${$o(Sn.color,ea.expandCollapseAllButtonColor)};
|
|
1019
|
+
${$o(Sn.backgroundColor,ea.expandCollapseAllButtonBackgroundColor)};
|
|
1020
1020
|
}
|
|
1021
1021
|
|
|
1022
1022
|
.ft-reader-toc--toggle-container {
|
|
@@ -1024,11 +1024,11 @@ class en extends cr{constructor(t){if(super(t),this.et=et,t.type!==sr)throw Erro
|
|
|
1024
1024
|
}
|
|
1025
1025
|
|
|
1026
1026
|
.ft-reader-toc-mobile .ft-reader-toc--toggle-container {
|
|
1027
|
-
width: calc(${
|
|
1027
|
+
width: calc(${ea.iconFontSize} + 12px); /*--ft-button-internal-horizontal-padding: 8px; in ft-button NOT dense*/
|
|
1028
1028
|
}
|
|
1029
1029
|
|
|
1030
1030
|
.ft-reader-toc-desktop .ft-reader-toc--toggle-container {
|
|
1031
|
-
width: calc(${
|
|
1031
|
+
width: calc(${ea.iconFontSize} + 4px); /*--ft-button-internal-horizontal-padding: 4px; in ft-button dense*/
|
|
1032
1032
|
}
|
|
1033
1033
|
|
|
1034
1034
|
.ft-reader-toc-expanded .ft-reader-toc--toggle-container {
|
|
@@ -1036,11 +1036,11 @@ class en extends cr{constructor(t){if(super(t),this.et=et,t.type!==sr)throw Erro
|
|
|
1036
1036
|
}
|
|
1037
1037
|
|
|
1038
1038
|
.ft-reader-toc-mobile .ft-reader-toc--leaf-node-icon {
|
|
1039
|
-
width: calc(${
|
|
1039
|
+
width: calc(${ea.iconFontSize} + 12px);
|
|
1040
1040
|
}
|
|
1041
1041
|
|
|
1042
1042
|
.ft-reader-toc-desktop .ft-reader-toc--leaf-node-icon {
|
|
1043
|
-
width: calc(${
|
|
1043
|
+
width: calc(${ea.iconFontSize} + 4px);
|
|
1044
1044
|
}
|
|
1045
1045
|
|
|
1046
1046
|
.ft-reader-toc-expand-collapse-all-container {
|
|
@@ -1059,13 +1059,13 @@ class en extends cr{constructor(t){if(super(t),this.et=et,t.type!==sr)throw Erro
|
|
|
1059
1059
|
.ft-reader-toc-expand-collapse-all-justify ft-button {
|
|
1060
1060
|
flex-grow: 1;
|
|
1061
1061
|
}
|
|
1062
|
-
`;var
|
|
1063
|
-
<div class=${
|
|
1062
|
+
`;var ra=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class na extends $i{constructor(){super(...arguments),this.expanded=!1,this.iconVariant=ln.fluid_topics,this.collapseIcon="MINUS",this.expandIcon="PLUS",this.leafNodeIconVariant=ln.fluid_topics,this.leafNodeIcon="DOT",this.expandCollapseAll=!1,this.expandCollapseAllHideLabel=!1,this.expandCollapseAllTrailingIcon=!1,this.expandCollapseAllAlignment="left",this.expandCollapseAllHideIcon=!1,this.collapseAllIcon="ICON_COLLAPSE",this.expandAllIcon="ICON_EXPAND",this.autoCollapse=!1,this.scope="pages",this.empty=!0,this.labels={},this.labelResolver=new je(oa,{}),this.automaticallyExpandedNodes=new Set,this.manuallyExpandedNodes=new Set,this.manuallyCollapsedNodes=new Set,this.expandAll=!1,this.viewportSize=Vn.M,this.nodesToExpandExist=!1}get isCurrentPageToc(){return"current-page"===this.scope}update(t){var o,e,i;super.update(t),t.has("toc")&&(this.nodesToExpandExist=(null!==(o=this.toc)&&void 0!==o?o:[]).some((t=>t.children.length>0))),t.has("labels")&&(this.labelResolver=new je(oa,this.labels)),t.has("highlightedTocIds")&&!this.expanded&&(this.automaticallyExpandedNodes=this.buildAutomaticallyExpandedNodes(null!==(e=this.highlightedTocIds)&&void 0!==e?e:[])),this.empty=0===(null!==(i=this.toc)&&void 0!==i?i:[]).length}render(){var t;const o={"ft-reader-toc":!0,"ft-reader-toc-mobile":this.viewportSize===Vn.S,"ft-reader-toc-desktop":this.viewportSize!==Vn.S,"ft-reader-toc-loaded":null!=this.currentPage,"ft-reader-toc-expanded":this.expanded};return no`
|
|
1063
|
+
<div class=${mi(o)}>
|
|
1064
1064
|
<ft-size-watcher @change=${this.onViewportSizeChange}></ft-size-watcher>
|
|
1065
1065
|
${this.renderExpandCollapseAll()}
|
|
1066
|
-
${
|
|
1066
|
+
${bi(null!==(t=this.toc)&&void 0!==t?t:[],(t=>t.tocId),(t=>this.renderNode(t)))}
|
|
1067
1067
|
</div>
|
|
1068
|
-
`}renderExpandCollapseAll(){return this.expandCollapseAll&&!this.expanded&&this.nodesToExpandExist?
|
|
1068
|
+
`}renderExpandCollapseAll(){return this.expandCollapseAll&&!this.expanded&&this.nodesToExpandExist?no`
|
|
1069
1069
|
<div part="expand-collapse-all-container"
|
|
1070
1070
|
class="ft-reader-toc-expand-collapse-all-container ft-reader-toc-expand-collapse-all-${this.expandCollapseAllAlignment}">
|
|
1071
1071
|
<ft-button
|
|
@@ -1081,12 +1081,12 @@ class en extends cr{constructor(t){if(super(t),this.et=et,t.type!==sr)throw Erro
|
|
|
1081
1081
|
${this.expandCollapseAllHideLabel?"":this.labelResolver.resolve(this.expandAll?"collapseAll":"expandAll")}
|
|
1082
1082
|
</ft-button>
|
|
1083
1083
|
</div>
|
|
1084
|
-
`:
|
|
1085
|
-
<div class="ft-reader-toc--node ${
|
|
1086
|
-
<div class="ft-reader-toc--link-container" data-depth="${t.depth}" style=${
|
|
1087
|
-
${this.nodesToExpandExist&&!this.expanded?
|
|
1084
|
+
`:so}renderNode(t){var o,e,i;const r=null===(o=this.highlightedTocIds)||void 0===o?void 0:o.includes(t.tocId),n=this.expanded||this.manuallyExpandedNodes.has(t.tocId)||(this.expandAll||this.automaticallyExpandedNodes.has(t.tocId))&&!this.manuallyCollapsedNodes.has(t.tocId),a=t.children.length>0,s=this.isCurrentPageToc?(null!==(i=null===(e=this.currentPage)||void 0===e?void 0:e.breadcrumb.length)&&void 0!==i?i:0)+1:0,l=t.depth-1-s,c={"padding-left":`calc( ${ea.tabulationSize} * ${l} + 4px)`};return no`
|
|
1085
|
+
<div class="ft-reader-toc--node ${r?"ft-reader-toc--node-highlighted":""}">
|
|
1086
|
+
<div class="ft-reader-toc--link-container" data-depth="${t.depth}" style=${Oi(c)}>
|
|
1087
|
+
${this.nodesToExpandExist&&!this.expanded?no`
|
|
1088
1088
|
<div class="ft-reader-toc--toggle-container">
|
|
1089
|
-
${a?
|
|
1089
|
+
${a?no`
|
|
1090
1090
|
<ft-button
|
|
1091
1091
|
part="expand-collapse-node"
|
|
1092
1092
|
class="ft-reader-toc--tree-node-button"
|
|
@@ -1103,7 +1103,7 @@ class en extends cr{constructor(t){if(super(t),this.et=et,t.type!==sr)throw Erro
|
|
|
1103
1103
|
</ft-button>
|
|
1104
1104
|
`:this.getLeafNodeIcon()}
|
|
1105
1105
|
</div>
|
|
1106
|
-
`:a?
|
|
1106
|
+
`:a?so:this.getLeafNodeIcon()}
|
|
1107
1107
|
<ft-reader-internal-link
|
|
1108
1108
|
part="node-link"
|
|
1109
1109
|
tocId="${t.tocId}"
|
|
@@ -1111,12 +1111,12 @@ class en extends cr{constructor(t){if(super(t),this.et=et,t.type!==sr)throw Erro
|
|
|
1111
1111
|
<ft-typography part="node-label" variant="body2">${t.title}</ft-typography>
|
|
1112
1112
|
</ft-reader-internal-link>
|
|
1113
1113
|
</div>
|
|
1114
|
-
${a?
|
|
1114
|
+
${a?no`
|
|
1115
1115
|
<div class="ft-reader-toc--node-children" id="${t.tocId}-children"
|
|
1116
1116
|
?hidden=${!n}>
|
|
1117
|
-
${n?
|
|
1117
|
+
${n?bi(t.children,(t=>t.tocId),(t=>this.renderNode(t))):so}
|
|
1118
1118
|
</div>
|
|
1119
|
-
`:
|
|
1119
|
+
`:so}
|
|
1120
1120
|
</div>
|
|
1121
|
-
`}buildAutomaticallyExpandedNodes(t){var e
|
|
1122
|
-
<ft-icon class="ft-reader-toc--leaf-node-icon" .variant="${this.leafNodeIconVariant}" .value="${this.leafNodeIcon}"></ft-icon>`}}na.elementDefinitions={"ft-button":_n,"ft-icon":pn,"ft-reader-internal-link":tn,"ft-size-watcher":ta,"ft-typography":
|
|
1121
|
+
`}buildAutomaticallyExpandedNodes(t){var o,e;let i=new Set(this.autoCollapse?[]:this.automaticallyExpandedNodes);for(let r of t){let t=r;for(;t&&!i.has(t);)i.add(t),this.manuallyCollapsedNodes.delete(t),t=null===(e=null===(o=this.service)||void 0===o?void 0:o.getTocNodeNow(t))||void 0===e?void 0:e.parentTocId}return i}manuallyToggle(t,o){o?(this.manuallyCollapsedNodes.add(t),this.manuallyExpandedNodes.delete(t)):(this.manuallyExpandedNodes.add(t),this.manuallyCollapsedNodes.delete(t)),this.requestUpdate()}onViewportSizeChange(t){this.viewportSize=t.detail.category}toggleExpandCollapseAll(){this.expandAll=!this.expandAll,this.automaticallyExpandedNodes=new Set,this.manuallyExpandedNodes=new Set,this.manuallyCollapsedNodes=new Set}getExpandCollapseAllTooltipPosition(){switch(this.expandCollapseAllAlignment){case"right":return"left";case"left":return"right";default:return"bottom"}}getLeafNodeIcon(){return no`
|
|
1122
|
+
<ft-icon class="ft-reader-toc--leaf-node-icon" .variant="${this.leafNodeIconVariant}" .value="${this.leafNodeIcon}"></ft-icon>`}}na.elementDefinitions={"ft-button":_n,"ft-icon":pn,"ft-reader-internal-link":tn,"ft-size-watcher":ta,"ft-typography":Xr},na.styles=ia,ra([C({type:Boolean})],na.prototype,"expanded",void 0),ra([C()],na.prototype,"iconVariant",void 0),ra([C()],na.prototype,"collapseIcon",void 0),ra([C()],na.prototype,"expandIcon",void 0),ra([C()],na.prototype,"leafNodeIconVariant",void 0),ra([C()],na.prototype,"leafNodeIcon",void 0),ra([C({type:Boolean})],na.prototype,"expandCollapseAll",void 0),ra([C({type:Boolean})],na.prototype,"expandCollapseAllHideLabel",void 0),ra([C({type:Boolean})],na.prototype,"expandCollapseAllTrailingIcon",void 0),ra([C()],na.prototype,"expandCollapseAllAlignment",void 0),ra([C({type:Boolean})],na.prototype,"expandCollapseAllHideIcon",void 0),ra([C()],na.prototype,"expandCollapseAllIconVariant",void 0),ra([C()],na.prototype,"collapseAllIcon",void 0),ra([C()],na.prototype,"expandAllIcon",void 0),ra([C({type:Boolean})],na.prototype,"autoCollapse",void 0),ra([C()],na.prototype,"scope",void 0),ra([C({type:Boolean,reflect:!0})],na.prototype,"empty",void 0),ra([W({})],na.prototype,"labels",void 0),ra([_e({selector:(t,o)=>{var e,i,r;return o.isCurrentPageToc?(null===(e=t.paginationConfiguration)||void 0===e?void 0:e.splitCurrentPageToc)?null===(i=t.currentPage)||void 0===i?void 0:i.toc:void 0:(null===(r=t.paginationConfiguration)||void 0===r?void 0:r.splitCurrentPageToc)?t.pagesToc:t.toc}})],na.prototype,"toc",void 0),ra([_e()],na.prototype,"currentPage",void 0),ra([_e({selector:(t,o)=>{var e,i;return(null===(e=t.paginationConfiguration)||void 0===e?void 0:e.splitCurrentPageToc)&&!o.isCurrentPageToc?[null===(i=t.currentPage)||void 0===i?void 0:i.rootTocId]:t.visibleTopics}})],na.prototype,"highlightedTocIds",void 0),ra([$({hasChanged:(t,o)=>!U(t,o)})],na.prototype,"automaticallyExpandedNodes",void 0),ra([$({hasChanged:(t,o)=>!U(t,o)})],na.prototype,"manuallyExpandedNodes",void 0),ra([$({hasChanged:(t,o)=>!U(t,o)})],na.prototype,"manuallyCollapsedNodes",void 0),ra([$()],na.prototype,"expandAll",void 0),ra([$()],na.prototype,"viewportSize",void 0),k("ft-reader-toc")(na),t.DEFAULT_LABELS=oa,t.FtReaderToc=na,t.FtReaderTocCssVariables=ea,t.styles=ia}({});
|