@fluid-topics/ft-reader-toc 1.1.12 → 1.1.13
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 +2 -2
- package/build/ft-reader-toc.min.js +192 -192
- 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,e=window.customElements.define,o=window.customElements.get,
|
|
15
|
+
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,i=window.customElements,r=new WeakMap,n=new WeakMap,a=new WeakMap,s=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,r){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);h(r,l,s);const c={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(r,c);let p=o.call(i,t);p||(p=f(t),e.call(i,t,p)),this===window.customElements&&(a.set(r,c),c.standInClass=p);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),u(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){g.push(this),i.upgrade.apply(i,arguments),g.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let o=this._whenDefinedPromises.get(t);return void 0===o&&(o={},o.promise=new Promise((t=>o.resolve=t)),this._whenDefinedPromises.set(t,o)),o.promise}_upgradeWhenDefined(t,e,o){let i=this._awaitingUpgrade.get(e);i||this._awaitingUpgrade.set(e,i=new Set),o?i.add(t):i.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const o=a.get(this.constructor);if(!o)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],o.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),r.set(e,o),e},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,p=t=>{let e=t.getRootNode();if(!c(e)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),c(e)||(e=s.get(e)?.getRootNode()||document)}return e.customElements},f=e=>class{static get formAssociated(){return!0}constructor(){const o=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(o,HTMLElement.prototype);const i=p(o)||window.customElements,r=i._getDefinition(e);return r?u(o,r):n.set(o,i),o}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=r.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},h=(t,e,o)=>{if(0===e.size||void 0===o)return;const i=t.prototype.setAttribute;i&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);i.call(this,n,r),o.call(this,n,t,r)}else i.call(this,n,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const i=t.toLowerCase();if(e.has(i)){const t=this.getAttribute(i);r.call(this,i),o.call(this,i,t,null)}else r.call(this,i)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,i){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);n.call(this,r,i);const e=this.getAttribute(r);o.call(this,r,t,e)}else n.call(this,r,i)})},d=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t?Object.setPrototypeOf(e,window.HTMLElement):d(o)},u=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),r.set(t,e),l=t;try{new e.elementClass}catch(t){d(e.elementClass),new e.elementClass}e.attributeChangedCallback&&e.observedAttributes.forEach((o=>{t.hasAttribute(o)&&e.attributeChangedCallback.call(t,o,null,t.getAttribute(o))})),o&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let g=[document];const b=(t,e,o=void 0)=>{const i=(o?Object.getPrototypeOf(o):t.prototype)[e];t.prototype[e]=function(){g.push(this);const t=i.apply(o||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,e)=>{const o=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...o,set(t){g.push(this),o.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,o=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...o){const i=e.call(this,...o);return t.set(i,this),i},o.forEach((e=>{const o=window.ElementInternals.prototype,i=o[e];o[e]=function(...e){const o=t.get(this);if(!0===r.get(o).formAssociated)return i?.call(this,...e);throw new DOMException(`Failed to execute ${i} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class i extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const e=new Map;t.forEach(((t,o)=>{const i=t.getAttribute("name"),r=e.get(i)||[];this[+o]=t,r.push(t),e.set(i,r)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new i(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),e=[];for(const o of t){const t=r.get(o);t&&!0!==t.formAssociated||e.push(o)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(tr){const t=window.customElements.define;window.customElements.define=(e,o,i)=>{if(null!==o)try{t.bind(window.customElements)(e,o,i)}catch(t){console.info(e,o,i,t)}}}class e{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const o=[...this.callbacks];this.callbacks=[];const i=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,r=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of o)try{await t()}catch(t){return void i(t)}r(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}
|
|
16
16
|
/**
|
|
17
17
|
* @license
|
|
18
18
|
* Copyright 2019 Google LLC
|
|
19
19
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
20
|
-
*/const o=globalThis,
|
|
20
|
+
*/const o=globalThis,i=o.ShadowRoot&&(void 0===o.ShadyCSS||o.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,r=Symbol(),n=new WeakMap;const a=t=>new class{constructor(t,e,o){if(this._$cssResult$=!0,o!==r)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(i&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=n.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&n.set(e,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 e="";for(const o of t.cssRules)e+=o.cssText;return a(e)})(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,e)=>t,x={toAttribute(t,e){switch(e){case Boolean:t=t?g:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=null!==t;break;case Number:o=null===t?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch(t){o=null}}return o}},v=(t,e)=>!l(t,e),O={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:v};Symbol.metadata??=Symbol("metadata"),u.litPropertyMetadata??=new WeakMap;let 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,e=O){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),
|
|
25
|
+
*/,{is:l,defineProperty:c,getOwnPropertyDescriptor:p,getOwnPropertyNames:f,getOwnPropertySymbols:h,getPrototypeOf:d}=Object,u=globalThis,y=u.trustedTypes,g=y?y.emptyScript:"",b=u.reactiveElementPolyfillSupport,m=(t,e)=>t,x={toAttribute(t,e){switch(e){case Boolean:t=t?g:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=null!==t;break;case Number:o=null===t?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch(t){o=null}}return o}},v=(t,e)=>!l(t,e),O={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:v};Symbol.metadata??=Symbol("metadata"),u.litPropertyMetadata??=new WeakMap;let 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,e=O){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),i=this.getPropertyDescriptor(t,o,e);void 0!==i&&c(this.prototype,t,i)}}static getPropertyDescriptor(t,e,o){const{get:i,set:r}=p(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return i?.call(this)},set(e){const n=i?.call(this);r.call(this,e),this.requestUpdate(t,n,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??O}static _$Ei(){if(this.hasOwnProperty(m("elementProperties")))return;const t=d(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(m("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(m("properties"))){const t=this.properties,e=[...f(t),...h(t)];for(const o of e)this.createProperty(o,t[o])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,o]of e)this.elementProperties.set(t,o)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const o=this._$Eu(t,e);void 0!==o&&this._$Eh.set(o,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const o=new Set(t.flat(1/0).reverse());for(const t of o)e.unshift(s(t))}else void 0!==t&&e.push(s(t));return e}static _$Eu(t,e){const o=e.attribute;return!1===o?void 0:"string"==typeof o?o:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,e=this.constructor.elementProperties;for(const o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{if(i)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const i of e){const e=document.createElement("style"),r=o.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=i.cssText,t.appendChild(e)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,o){this._$AK(t,o)}_$EO(t,e){const o=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,o);if(void 0!==i&&!0===o.reflect){const r=(void 0!==o.converter?.toAttribute?o.converter:x).toAttribute(e,o.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,e){const o=this.constructor,i=o._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=o.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:x;this._$Em=i,this[i]=r.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,i=!1,r){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??v)(i?r:this[t],e))return;this.C(t,e,o)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,e,o){this._$AL.has(t)||this._$AL.set(t,e),!0===o.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,o]of t)!0!==o.wrapped||this._$AL.has(e)||void 0===this[e]||this.C(e,this[e],o)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$ET()}catch(e){throw t=!1,this._$ET(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};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,o)=>{const{kind:
|
|
31
|
+
const S={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:v},w=(t=S,e,o)=>{const{kind:i,metadata:r}=o;let n=globalThis.litPropertyMetadata.get(r);if(void 0===n&&globalThis.litPropertyMetadata.set(r,n=new Map),n.set(o.name,t),"accessor"===i){const{name:i}=o;return{set(o){const r=e.get.call(this);e.set.call(this,o),this.requestUpdate(i,r,t)},init(e){return void 0!==e&&this.C(i,void 0,t),e}}}if("setter"===i){const{name:i}=o;return function(o){const r=this[i];e.call(this,o),this.requestUpdate(i,r,t)}}throw Error("Unsupported decorator location: "+i)};function C(t){return(e,o)=>"object"==typeof o?w(t,e,o):((t,e,o)=>{const i=e.hasOwnProperty(o);return e.constructor.createProperty(o,i?{...t,wrapped:!0}:t),i?Object.getOwnPropertyDescriptor(e,o):void 0})(t,e,o)
|
|
32
32
|
/**
|
|
33
33
|
* @license
|
|
34
34
|
* Copyright 2017 Google LLC
|
|
@@ -38,7 +38,7 @@ 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 E(t){return(e,o)=>{const
|
|
41
|
+
*/function E(t){return(e,o)=>{const i="function"==typeof e?e:e[o];Object.assign(i,t)}}
|
|
42
42
|
/**
|
|
43
43
|
* @license
|
|
44
44
|
* Copyright 2017 Google LLC
|
|
@@ -48,45 +48,45 @@ const S={attribute:!0,type:String,converter:x,reflect:!1,hasChanged:v},w=(t=S,e,
|
|
|
48
48
|
* @license
|
|
49
49
|
* Copyright 2017 Google LLC
|
|
50
50
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
51
|
-
*/;function k(t,e){return(o,r
|
|
51
|
+
*/;function k(t,e){return(o,i,r)=>{const n=e=>e.renderRoot?.querySelector(t)??null;if(e){const{get:t,set:e}="object"==typeof i?o:r??(()=>{const t=Symbol();return{get(){return this[t]},set(e){this[t]=e}}})();return R(0,0,{get(){let o=t.call(this);return void 0===o&&(o=n(this),(null!==o||this.hasUpdated)&&e.call(this,o)),o}})}return 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 I(t,e){try{return function(t,e){if(t===e)return!0;if(t&&e&&"object"==typeof t&&"object"==typeof e){if(t.constructor!==e.constructor)return!1;var o,r
|
|
56
|
+
*/function I(t,e){try{return function(t,e){if(t===e)return!0;if(t&&e&&"object"==typeof t&&"object"==typeof e){if(t.constructor!==e.constructor)return!1;var o,i,r;if(Array.isArray(t)){if((o=t.length)!=e.length)return!1;for(i=o;0!=i--;)if(!I(t[i],e[i]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;for(i of t.entries())if(!I(i[1],e.get(i[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if((o=(r=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(i=o;0!=i--;)if(!Object.prototype.hasOwnProperty.call(e,r[i]))return!1;for(i=o;0!=i--;){var n=r[i];if(!I(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}const U=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function L(t,e){const o=()=>JSON.parse(JSON.stringify(t));return C({type:Object,converter:{fromAttribute:t=>{if(null==t)return o();try{return JSON.parse(t)}catch{return o()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,e)=>!I(t,e),...null!=e?e:{}})}
|
|
57
57
|
/**
|
|
58
58
|
* @license
|
|
59
59
|
* Copyright 2017 Google LLC
|
|
60
60
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
61
|
-
*/const W=globalThis,z=W.trustedTypes,K=z?z.createPolicy("lit-html",{createHTML:t=>t}):void 0,F="$lit$",A=`lit$${(Math.random()+"").slice(9)}$`,Z="?"+A,B=`<${Z}>`,M=document,D=()=>M.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=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),tt=Symbol.for("lit-noChange"),et=Symbol.for("lit-nothing"),ot=new WeakMap,
|
|
61
|
+
*/const W=globalThis,z=W.trustedTypes,K=z?z.createPolicy("lit-html",{createHTML:t=>t}):void 0,F="$lit$",A=`lit$${(Math.random()+"").slice(9)}$`,Z="?"+A,B=`<${Z}>`,M=document,D=()=>M.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=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),tt=Symbol.for("lit-noChange"),et=Symbol.for("lit-nothing"),ot=new WeakMap,it=M.createTreeWalker(M,129);function rt(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==K?K.createHTML(e):e}const nt=(t,e)=>{const o=t.length-1,i=[];let r,n=2===e?"<svg>":"",a=_;for(let e=0;e<o;e++){const o=t[e];let s,l,c=-1,p=0;for(;p<o.length&&(a.lastIndex=p,l=a.exec(o),null!==l);)p=a.lastIndex,a===_?"!--"===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[e+1].startsWith("/>")?" ":"";n+=a===_?o+B:c>=0?(i.push(s),o.slice(0,c)+F+o.slice(c)+A+f):o+A+(-2===c?e:f)}return[rt(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),i]};let at=class t{constructor({strings:e,_$litType$:o},i){let r;this.parts=[];let n=0,a=0;const s=e.length-1,l=this.parts,[c,p]=nt(e,o);if(this.el=t.createElement(c,i),it.currentNode=this.el.content,2===o){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(F)){const e=p[a++],o=r.getAttribute(t).split(A),i=/([.?@])?(.*)/.exec(e);l.push({type:1,index:n,name:i[2],strings:o,ctor:"."===i[1]?ft:"?"===i[1]?ht:"@"===i[1]?dt:pt}),r.removeAttribute(t)}else t.startsWith(A)&&(l.push({type:6,index:n}),r.removeAttribute(t));if(q.test(r.tagName)){const t=r.textContent.split(A),e=t.length-1;if(e>0){r.textContent=z?z.emptyScript:"";for(let o=0;o<e;o++)r.append(t[o],D()),it.nextNode(),l.push({type:2,index:++n});r.append(t[e],D())}}}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(A,t+1));)l.push({type:7,index:n}),t+=A.length-1}n++}}static createElement(t,e){const o=M.createElement("template");return o.innerHTML=t,o}};function st(t,e,o=t,i){if(e===tt)return e;let r=void 0!==i?o._$Co?.[i]:o._$Cl;const n=P(e)?void 0:e._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,o,i)),void 0!==i?(o._$Co??=[])[i]=r:o._$Cl=r),void 0!==r&&(e=st(t,r._$AS(t,e.values),r,i)),e}let lt=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,i=(t?.creationScope??M).importNode(e,!0);it.currentNode=i;let r=it.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new ct(r,r.nextSibling,this,t):1===s.type?e=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(e=new ut(r,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(r=it.nextNode(),n++)}return it.currentNode=M,i}p(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}},ct=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,i){this.type=2,this._$AH=et,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=st(this,t,e),P(t)?t===et||null==t||""===t?(this._$AH!==et&&this._$AR(),this._$AH=et):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!==et&&P(this._$AH)?this._$AA.nextSibling.data=t:this.$(M.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,i="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=at.createElement(rt(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new lt(i,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=ot.get(t.strings);return void 0===e&&ot.set(t.strings,e=new at(t)),e}T(e){H(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let i,r=0;for(const n of e)r===o.length?o.push(i=new t(this.k(D()),this.k(D()),this,this.options)):i=o[r],i._$AI(n),r++;r<o.length&&(this._$AR(i&&i._$AB.nextSibling,r),o.length=r)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},pt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,i,r){this.type=1,this._$AH=et,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=et}_$AI(t,e=this,o,i){const r=this.strings;let n=!1;if(void 0===r)t=st(this,t,e,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[o+a],e,a),s===tt&&(s=this._$AH[a]),n||=!P(s)||s!==this._$AH[a],s===et?t=et:t!==et&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===et?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===et?void 0:t}},ht=class extends pt{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==et)}},dt=class extends pt{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){if((t=st(this,t,e,0)??et)===tt)return;const o=this._$AH,i=t===et&&o!==et||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==et&&(o===et||i);i&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},ut=class{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){st(this,t)}};const yt={j:F,P:A,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=W.litHtmlPolyfillSupport;gt?.(at,ct),(W.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,o){if(this._$cssResult$=!0,o!==xt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(mt&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=vt.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&vt.set(e,t))}return t}toString(){return this.cssText}};const Nt=t=>new Ot("string"==typeof t?t:t+"",void 0,xt),St=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,o,
|
|
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,o){if(this._$cssResult$=!0,o!==xt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(mt&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=vt.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&vt.set(e,t))}return t}toString(){return this.cssText}};const Nt=t=>new Ot("string"==typeof t?t:t+"",void 0,xt),St=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,o,i)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(o)+t[i+1]),t[0]);return new Ot(o,t,xt)},wt=mt?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return Nt(e)})(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:Et,getOwnPropertyNames:Rt,getOwnPropertySymbols:kt,getPrototypeOf:It}=Object,Ut=globalThis,Lt=Ut.trustedTypes,Wt=Lt?Lt.emptyScript:"",zt=Ut.reactiveElementPolyfillSupport,Kt=(t,e)=>t,Ft={toAttribute(t,e){switch(e){case Boolean:t=t?Wt:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=null!==t;break;case Number:o=null===t?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch(t){o=null}}return o}},At=(t,e)=>!Ct(t,e),Zt={attribute:!0,type:String,converter:Ft,reflect:!1,hasChanged:At};Symbol.metadata??=Symbol("metadata"),Ut.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,e=Zt){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),
|
|
72
|
+
*/,{is:Ct,defineProperty:$t,getOwnPropertyDescriptor:Et,getOwnPropertyNames:Rt,getOwnPropertySymbols:kt,getPrototypeOf:It}=Object,Ut=globalThis,Lt=Ut.trustedTypes,Wt=Lt?Lt.emptyScript:"",zt=Ut.reactiveElementPolyfillSupport,Kt=(t,e)=>t,Ft={toAttribute(t,e){switch(e){case Boolean:t=t?Wt:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=null!==t;break;case Number:o=null===t?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch(t){o=null}}return o}},At=(t,e)=>!Ct(t,e),Zt={attribute:!0,type:String,converter:Ft,reflect:!1,hasChanged:At};Symbol.metadata??=Symbol("metadata"),Ut.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,e=Zt){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),i=this.getPropertyDescriptor(t,o,e);void 0!==i&&$t(this.prototype,t,i)}}static getPropertyDescriptor(t,e,o){const{get:i,set:r}=Et(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return i?.call(this)},set(e){const n=i?.call(this);r.call(this,e),this.requestUpdate(t,n,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Zt}static _$Ei(){if(this.hasOwnProperty(Kt("elementProperties")))return;const t=It(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,e=[...Rt(t),...kt(t)];for(const o of e)this.createProperty(o,t[o])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,o]of e)this.elementProperties.set(t,o)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const o=this._$Eu(t,e);void 0!==o&&this._$Eh.set(o,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const o=new Set(t.flat(1/0).reverse());for(const t of o)e.unshift(wt(t))}else void 0!==t&&e.push(wt(t));return e}static _$Eu(t,e){const o=e.attribute;return!1===o?void 0:"string"==typeof o?o:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,e=this.constructor.elementProperties;for(const o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{if(mt)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of e){const e=document.createElement("style"),i=bt.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=o.cssText,t.appendChild(e)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,o){this._$AK(t,o)}_$EO(t,e){const o=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,o);if(void 0!==i&&!0===o.reflect){const r=(void 0!==o.converter?.toAttribute?o.converter:Ft).toAttribute(e,o.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,e){const o=this.constructor,i=o._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=o.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:Ft;this._$Em=i,this[i]=r.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,i=!1,r){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??At)(i?r:this[t],e))return;this.C(t,e,o)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,e,o){this._$AL.has(t)||this._$AL.set(t,e),!0===o.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,o]of t)!0!==o.wrapped||this._$AL.has(e)||void 0===this[e]||this.C(e,this[e],o)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$ET()}catch(e){throw t=!1,this._$ET(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}}Bt.elementStyles=[],Bt.shadowRootOptions={mode:"open"},Bt[Kt("elementProperties")]=new Map,Bt[Kt("finalized")]=new Map,zt?.({ReactiveElement:Bt}),(Ut.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 Mt=globalThis,Dt=Mt.trustedTypes,Pt=Dt?Dt.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,te=/>/g,ee=RegExp(`>|${Jt}(?:([^\\s"'>=/]+)(${Jt}*=${Jt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),oe=/'/g,
|
|
78
|
+
const Mt=globalThis,Dt=Mt.trustedTypes,Pt=Dt?Dt.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,te=/>/g,ee=RegExp(`>|${Jt}(?:([^\\s"'>=/]+)(${Jt}*=${Jt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),oe=/'/g,ie=/"/g,re=/^(?:script|style|textarea|title)$/i,ne=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),ae=Symbol.for("lit-noChange"),se=Symbol.for("lit-nothing"),le=new WeakMap,ce=Gt.createTreeWalker(Gt,129);function pe(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Pt?Pt.createHTML(e):e}const fe=(t,e)=>{const o=t.length-1,i=[];let r,n=2===e?"<svg>":"",a=qt;for(let e=0;e<o;e++){const o=t[e];let s,l,c=-1,p=0;for(;p<o.length&&(a.lastIndex=p,l=a.exec(o),null!==l);)p=a.lastIndex,a===qt?"!--"===l[1]?a=Qt:void 0!==l[1]?a=te:void 0!==l[2]?(re.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=ee):void 0!==l[3]&&(a=ee):a===ee?">"===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]?ee:'"'===l[3]?ie:oe):a===ie||a===oe?a=ee:a===Qt||a===te?a=qt:(a=ee,r=void 0);const f=a===ee&&t[e+1].startsWith("/>")?" ":"";n+=a===qt?o+_t:c>=0?(i.push(s),o.slice(0,c)+Ht+o.slice(c)+Tt+f):o+Tt+(-2===c?e:f)}return[pe(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),i]};class he{constructor({strings:t,_$litType$:e},o){let i;this.parts=[];let r=0,n=0;const a=t.length-1,s=this.parts,[l,c]=fe(t,e);if(this.el=he.createElement(l,o),ce.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=ce.nextNode())&&s.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(Ht)){const e=c[n++],o=i.getAttribute(t).split(Tt),a=/([.?@])?(.*)/.exec(e);s.push({type:1,index:r,name:a[2],strings:o,ctor:"."===a[1]?ge:"?"===a[1]?be:"@"===a[1]?me:ye}),i.removeAttribute(t)}else t.startsWith(Tt)&&(s.push({type:6,index:r}),i.removeAttribute(t));if(re.test(i.tagName)){const t=i.textContent.split(Tt),e=t.length-1;if(e>0){i.textContent=Dt?Dt.emptyScript:"";for(let o=0;o<e;o++)i.append(t[o],Vt()),ce.nextNode(),s.push({type:2,index:++r});i.append(t[e],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,e){const o=Gt.createElement("template");return o.innerHTML=t,o}}function de(t,e,o=t,i){if(e===ae)return e;let r=void 0!==i?o._$Co?.[i]:o._$Cl;const n=Yt(e)?void 0:e._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,o,i)),void 0!==i?(o._$Co??=[])[i]=r:o._$Cl=r),void 0!==r&&(e=de(t,r._$AS(t,e.values),r,i)),e}class ue{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,i){this.type=2,this._$AH=se,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=de(this,t,e),Yt(t)?t===se||null==t||""===t?(this._$AH!==se&&this._$AR(),this._$AH=se):t!==this._$AH&&t!==ae&&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!==se&&Yt(this._$AH)?this._$AA.nextSibling.data=t:this.$(Gt.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,i="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=he.createElement(pe(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,i=(t?.creationScope??Gt).importNode(e,!0);ce.currentNode=i;let r=ce.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new ue(r,r.nextSibling,this,t):1===s.type?e=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(e=new xe(r,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(r=ce.nextNode(),n++)}return ce.currentNode=Gt,i}p(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}}(i,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=le.get(t.strings);return void 0===e&&le.set(t.strings,e=new he(t)),e}T(t){Xt(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let o,i=0;for(const r of t)i===e.length?e.push(o=new ue(this.k(Vt()),this.k(Vt()),this,this.options)):o=e[i],o._$AI(r),i++;i<e.length&&(this._$AR(o&&o._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class ye{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,i,r){this.type=1,this._$AH=se,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=se}_$AI(t,e=this,o,i){const r=this.strings;let n=!1;if(void 0===r)t=de(this,t,e,0),n=!Yt(t)||t!==this._$AH&&t!==ae,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=de(this,i[o+a],e,a),s===ae&&(s=this._$AH[a]),n||=!Yt(s)||s!==this._$AH[a],s===se?t=se:t!==se&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===se?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class ge extends ye{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===se?void 0:t}}class be extends ye{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==se)}}class me extends ye{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){if((t=de(this,t,e,0)??se)===ae)return;const o=this._$AH,i=t===se&&o!==se||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==se&&(o===se||i);i&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class xe{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){de(this,t)}}const ve=Mt.litHtmlPolyfillSupport;ve?.(he,ue),(Mt.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")},Ee={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")}},Re={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","",Re.backgroundActionPrimary),primaryColor:we.extend("--ft-button-primary-color","",Re.contentGlobalOnColor),primaryIconColor:we.extend("--ft-button-primary-icon-color","",Re.contentGlobalOnColor),primaryStateLayerColor:we.extend("--ft-button-primary-state-layer-color","",Re.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","",Re.borderActionFocusRing),tertiaryBackgroundColor:we.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:we.extend("--ft-button-tertiary-color","",Re.contentActionPrimary),tertiaryIconColor:we.extend("--ft-button-tertiary-icon-color","",Re.contentActionPrimary),tertiaryStateLayerColor:we.extend("--ft-button-tertiary-state-layer-color","",Re.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","",Re.contentActionPrimary),secondaryIconColor:we.extend("--ft-button-secondary-icon-color","",Re.contentActionPrimary),secondaryStateLayerColor:we.extend("--ft-button-secondary-state-layer-color","",Re.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","",Re.borderActionPrimary),neutralBackgroundColor:we.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:we.extend("--ft-button-neutral-icon-color","",Re.contentGlobalSecondary),neutralColor:we.extend("--ft-button-neutral-color","",Re.contentGlobalSecondary),neutralStateLayerColor:we.extend("--ft-button-neutral-state-layer-color","",Re.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","",Re.backgroundGlobalSurface),we.extend("--ft-switch-group-border-color","",Re.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","",Re.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","",Re.contentGlobalSubtle),we.extend("--ft-switch-off-state-layer-color","",Re.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","",Re.backgroundGlobalOnSurface),we.extend("--ft-chip-neutral-color","",Re.contentGlobalPrimary),we.extend("--ft-chip-neutral-border-color","",Re.borderGlobalSubtle),we.extend("--ft-chip-info-background-color","",Re.backgroundInfoSubtle),we.extend("--ft-chip-info-color","",Re.contentInfoPrimary),we.extend("--ft-chip-info-border-color","",Re.borderInfoPrimary),we.extend("--ft-chip-success-background-color","",Re.backgroundSuccessSubtle),we.extend("--ft-chip-success-color","",Re.contentSuccessPrimary),we.extend("--ft-chip-success-border-color","",Re.borderSuccessPrimary),we.extend("--ft-chip-warning-background-color","",Re.backgroundWarningSubtle),we.extend("--ft-chip-warning-color","",Re.contentWarningPrimary),we.extend("--ft-chip-warning-border-color","",Re.borderWarningPrimary),we.extend("--ft-chip-error-background-color","",Re.backgroundErrorSubtle),we.extend("--ft-chip-error-color","",Re.contentErrorPrimary),we.extend("--ft-chip-error-border-color","",Re.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","",Re.backgroundInfoSubtle),we.extend("--ft-notice-info-border-color","",Re.borderInfoPrimary),we.extend("--ft-notice-info-color","",Re.contentInfoPrimary),we.extend("--ft-notice-warning-background-color","",Re.backgroundWarningSubtle),we.extend("--ft-notice-warning-border-color","",Re.borderWarningPrimary),we.extend("--ft-notice-warning-color","",Re.contentWarningPrimary),we.extend("--ft-checkbox-label-color","",Re.contentGlobalPrimary),we.extend("--ft-checkbox-checked-background-color","",Re.contentActionPrimary),we.extend("--ft-checkbox-checked-state-layer-color","",Re.contentActionPrimary),we.extend("--ft-checkbox-checked-color","",Re.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","",Re.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","",Re.contentGlobalSubtle),we.extend("--ft-toggle-off-icon-color","",Re.contentGlobalSubtle),we.extend("--ft-toggle-off-state-layer-color","",Re.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","",Re.contentActionPrimary),we.extend("--ft-toggle-on-icon-color","",Re.contentActionPrimary),we.extend("--ft-toggle-on-state-layer-color","",Re.contentActionPrimary),we.extend("--ft-toggle-label-color","",Re.contentGlobalPrimary),we.extend("--ft-toggle-focus-focus-ring-color","",Re.borderActionFocusRing),we.extend("--ft-toggle-gap","",$e.spacing3),we.extend("--ft-radio-label-color","",Re.contentGlobalPrimary),we.extend("--ft-radio-selected-color","",Re.contentActionPrimary),we.extend("--ft-radio-selected-state-layer-color","",Re.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","",Re.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","",Re.backgroundInfoSubtle),we.extend("--ft-notification-info-color","",Re.contentInfoPrimary),we.extend("--ft-notification-info-border-color","",Re.borderInfoPrimary),we.extend("--ft-notification-success-background-color","",Re.backgroundSuccessSubtle),we.extend("--ft-notification-success-color","",Re.contentSuccessPrimary),we.extend("--ft-notification-success-border-color","",Re.borderSuccessPrimary),we.extend("--ft-notification-warning-background-color","",Re.backgroundWarningSubtle),we.extend("--ft-notification-warning-color","",Re.contentWarningPrimary),we.extend("--ft-notification-warning-border-color","",Re.borderWarningPrimary),we.extend("--ft-notification-error-background-color","",Re.backgroundErrorSubtle),we.extend("--ft-notification-error-color","",Re.contentErrorPrimary),we.extend("--ft-notification-error-border-color","",Re.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=window,Le=Ue.ShadowRoot&&(void 0===Ue.ShadyCSS||Ue.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;
|
|
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 i=o?.renderBefore??e;let r=i._$litPart$;if(void 0===r){const t=o?.renderBefore??null;i._$litPart$=r=new ue(e.insertBefore(Vt(),t),t,void 0,o??{})}return r._$AI(t),r})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return 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,i){const r=t=>Se(null!=t?t:i),n=St`var(${Se(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>St`var(${Se(t)}, ${r(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,e,o,i){const r=t=>o.get(null!=t?t:i),n=St`var(${Se(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o.category,n.fallbackVariable=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>St`var(${Se(t)}, ${r(e)})`,n.breadcrumb=()=>[o.name,...o.breadcrumb()],n.lastResortDefaultValue=()=>null!=i?i:o.lastResortDefaultValue(),n}static external(t,e){const o=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):Se(null!=e?e:t.lastResortDefaultValue()),i=St`var(${Se(t.name)}, ${o(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=e,i.defaultCssValue=o,i.get=e=>St`var(${Se(t.name)}, ${o(e)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}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")},Ee={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")}},Re={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","",Re.backgroundActionPrimary),primaryColor:we.extend("--ft-button-primary-color","",Re.contentGlobalOnColor),primaryIconColor:we.extend("--ft-button-primary-icon-color","",Re.contentGlobalOnColor),primaryStateLayerColor:we.extend("--ft-button-primary-state-layer-color","",Re.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","",Re.borderActionFocusRing),tertiaryBackgroundColor:we.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:we.extend("--ft-button-tertiary-color","",Re.contentActionPrimary),tertiaryIconColor:we.extend("--ft-button-tertiary-icon-color","",Re.contentActionPrimary),tertiaryStateLayerColor:we.extend("--ft-button-tertiary-state-layer-color","",Re.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","",Re.contentActionPrimary),secondaryIconColor:we.extend("--ft-button-secondary-icon-color","",Re.contentActionPrimary),secondaryStateLayerColor:we.extend("--ft-button-secondary-state-layer-color","",Re.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","",Re.borderActionPrimary),neutralBackgroundColor:we.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:we.extend("--ft-button-neutral-icon-color","",Re.contentGlobalSecondary),neutralColor:we.extend("--ft-button-neutral-color","",Re.contentGlobalSecondary),neutralStateLayerColor:we.extend("--ft-button-neutral-state-layer-color","",Re.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","",Re.backgroundGlobalSurface),we.extend("--ft-switch-group-border-color","",Re.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","",Re.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","",Re.contentGlobalSubtle),we.extend("--ft-switch-off-state-layer-color","",Re.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","",Re.backgroundGlobalOnSurface),we.extend("--ft-chip-neutral-color","",Re.contentGlobalPrimary),we.extend("--ft-chip-neutral-border-color","",Re.borderGlobalSubtle),we.extend("--ft-chip-info-background-color","",Re.backgroundInfoSubtle),we.extend("--ft-chip-info-color","",Re.contentInfoPrimary),we.extend("--ft-chip-info-border-color","",Re.borderInfoPrimary),we.extend("--ft-chip-success-background-color","",Re.backgroundSuccessSubtle),we.extend("--ft-chip-success-color","",Re.contentSuccessPrimary),we.extend("--ft-chip-success-border-color","",Re.borderSuccessPrimary),we.extend("--ft-chip-warning-background-color","",Re.backgroundWarningSubtle),we.extend("--ft-chip-warning-color","",Re.contentWarningPrimary),we.extend("--ft-chip-warning-border-color","",Re.borderWarningPrimary),we.extend("--ft-chip-error-background-color","",Re.backgroundErrorSubtle),we.extend("--ft-chip-error-color","",Re.contentErrorPrimary),we.extend("--ft-chip-error-border-color","",Re.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","",Re.backgroundInfoSubtle),we.extend("--ft-notice-info-border-color","",Re.borderInfoPrimary),we.extend("--ft-notice-info-color","",Re.contentInfoPrimary),we.extend("--ft-notice-warning-background-color","",Re.backgroundWarningSubtle),we.extend("--ft-notice-warning-border-color","",Re.borderWarningPrimary),we.extend("--ft-notice-warning-color","",Re.contentWarningPrimary),we.extend("--ft-checkbox-label-color","",Re.contentGlobalPrimary),we.extend("--ft-checkbox-checked-background-color","",Re.contentActionPrimary),we.extend("--ft-checkbox-checked-state-layer-color","",Re.contentActionPrimary),we.extend("--ft-checkbox-checked-color","",Re.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","",Re.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","",Re.contentGlobalSubtle),we.extend("--ft-toggle-off-icon-color","",Re.contentGlobalSubtle),we.extend("--ft-toggle-off-state-layer-color","",Re.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","",Re.contentActionPrimary),we.extend("--ft-toggle-on-icon-color","",Re.contentActionPrimary),we.extend("--ft-toggle-on-state-layer-color","",Re.contentActionPrimary),we.extend("--ft-toggle-label-color","",Re.contentGlobalPrimary),we.extend("--ft-toggle-focus-focus-ring-color","",Re.borderActionFocusRing),we.extend("--ft-toggle-gap","",$e.spacing3),we.extend("--ft-radio-label-color","",Re.contentGlobalPrimary),we.extend("--ft-radio-selected-color","",Re.contentActionPrimary),we.extend("--ft-radio-selected-state-layer-color","",Re.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","",Re.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","",Re.backgroundInfoSubtle),we.extend("--ft-notification-info-color","",Re.contentInfoPrimary),we.extend("--ft-notification-info-border-color","",Re.borderInfoPrimary),we.extend("--ft-notification-success-background-color","",Re.backgroundSuccessSubtle),we.extend("--ft-notification-success-color","",Re.contentSuccessPrimary),we.extend("--ft-notification-success-border-color","",Re.borderSuccessPrimary),we.extend("--ft-notification-warning-background-color","",Re.backgroundWarningSubtle),we.extend("--ft-notification-warning-color","",Re.contentWarningPrimary),we.extend("--ft-notification-warning-border-color","",Re.borderWarningPrimary),we.extend("--ft-notification-error-background-color","",Re.backgroundErrorSubtle),we.extend("--ft-notification-error-color","",Re.contentErrorPrimary),we.extend("--ft-notification-error-border-color","",Re.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=window,Le=Ue.ShadowRoot&&(void 0===Ue.ShadyCSS||Ue.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;
|
|
85
85
|
/**
|
|
86
86
|
* @license
|
|
87
87
|
* Copyright 2019 Google LLC
|
|
88
88
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
89
|
-
*/class We extends Oe{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,o])=>t.registry.define(e,o))));const e={...t.shadowRootOptions,customElements:t.registry},o=this.renderOptions.creationScope=this.attachShadow(e);return((t,e)=>{Le?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),
|
|
89
|
+
*/class We extends Oe{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,o])=>t.registry.define(e,o))));const e={...t.shadowRootOptions,customElements:t.registry},o=this.renderOptions.creationScope=this.attachShadow(e);return((t,e)=>{Le?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),i=Ue.litNonce;void 0!==i&&o.setAttribute("nonce",i),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var ze,Ke=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const Fe=Symbol("constructorPrototype"),Ae=Symbol("constructorName"),Ze=Symbol("exportpartsDebouncer");class Be extends We{constructor(){super(),this[ze]=new e(5),this[Ae]=this.constructor.name,this[Fe]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ae]&&Object.setPrototypeOf(this,this[Fe])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,o;if((null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==o?o:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[Ze].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,o,i,r,n,a;const s=t=>null!=t&&t.trim().length>0,l=t.filter(s).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==o?o:[]){const e=null!==(r=null===(i=t.getAttribute("part"))||void 0===i?void 0:i.split(" "))&&void 0!==r?r:[],o=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...e,...o).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const p=[...c.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...p].join(", "))}}ze=Ze,Ke([C()],Be.prototype,"exportpartsPrefix",void 0),Ke([L([])],Be.prototype,"exportpartsPrefixes",void 0),Ke([C()],Be.prototype,"customStylesheet",void 0);const Me=we.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");St`
|
|
90
90
|
.highlight-html-match {
|
|
91
91
|
background: ${Me};
|
|
92
92
|
}
|
|
@@ -122,7 +122,7 @@ let Oe=class extends Bt{constructor(){super(...arguments),this.renderOptions={ho
|
|
|
122
122
|
display: inline-block;
|
|
123
123
|
width: 0;
|
|
124
124
|
}
|
|
125
|
-
`;class He{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var o,
|
|
125
|
+
`;class He{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var o,i;t=this.resolvePluralKey(t,e);let r=null!==(i=null!==(o=this.labels[t])&&void 0!==o?o:this.defaultLabels[t])&&void 0!==i?i:"";return e.forEach(((t,e)=>r=r.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,o)=>this.formatValue(t,o))))),r}resolvePluralKey(t,e){for(let o of e)if("number"==typeof o){const e=`${String(t)}[\\=${o}]`;if(e in this.labels||e in this.defaultLabels)return e}return t}formatValue(t,e){return t instanceof Date?this.formatDate(t,e):null!=t?t:""}formatDate(t,e){const o=o=>(null==e?void 0:e.includes("date"))?t.toLocaleDateString(o):(null==e?void 0:e.includes("time"))?t.toLocaleTimeString(o):t.toLocaleString(o);try{return o(document.documentElement.lang)}catch(t){return o()}}}const Te=t=>{const e=null!=t?t:{};return(t,o)=>{var i;const r={hasChanged:(t,e)=>!I(t,e),attribute:!1,...e};C(r)(t,o);const n=t.constructor;n.reduxProperties=new Map(n.reduxProperties),n.reduxProperties.set(o,{selector:null!==(i=e.selector)&&void 0!==i?i:t=>t[o],store:e.store})}};function je(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var _e,Ge,Ve;const Ye=Symbol("internalReduxEventsUnsubscribers"),Xe=Symbol("internalStoresUnsubscribers"),Je=Symbol("internalStores");class qe extends Be{constructor(){super(...arguments),this[_e]=new Map,this[Ge]=new Map,this[Ve]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((e=>t.has(e)))&&this.updateFromStores()}getUnnamedStore(){if(this[Je].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Je].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Je].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:je(t)?t.name:void 0)&&void 0!==o?o:"default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[Je].delete(e)}setupStore(t,e){this[Je].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Je].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,e)=>{const o=this.constructor.getPropertyOptions(e);if(!(null==o?void 0:o.attribute)||!this.hasAttribute("string"==typeof(null==o?void 0:o.attribute)?o.attribute:e)){const o=this.getStore(t.store);o&&(t.store?this[Xe].has(t.store):this[Xe].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[Xe].set(t,e.subscribe((()=>this.updateFromStores()))),je(e)&&e.eventBus&&(null===(o=this.reduxConstructor.reduxEventListeners)||void 0===o||o.forEach(((t,o)=>{if("function"==typeof this[o]&&(!t.store||e.name===t.store)){const i=t=>this[o](t);e.eventBus.addEventListener(t.eventName,i),this[Ye].push((()=>e.eventBus.removeEventListener(t.eventName,i)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Xe].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[Ye].forEach((t=>t())),this[Ye]=[]}unsubscribeFromStore(t){this[Xe].has(t)&&this[Xe].get(t)(),this[Xe].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}_e=Xe,Ge=Je,Ve=Ye,qe.reduxProperties=new Map,qe.reduxReactiveProperties=new Set,qe.reduxEventListeners=new Map,window.ftReduxStores||(window.ftReduxStores={});const Qe=Symbol("elementInternals");var to,eo,oo;const io=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(oo=null===(eo=null===(to=window.safari)||void 0===to?void 0:to.pushNotification)||void 0===eo?void 0:eo.toString())&&void 0!==oo?oo:""),ro=1,no=2,ao=t=>(...e)=>({_$litDirective$:t,values:e});
|
|
126
126
|
/**
|
|
127
127
|
* @license
|
|
128
128
|
* Copyright 2017 Google LLC
|
|
@@ -132,17 +132,17 @@ let Oe=class extends Bt{constructor(){super(...arguments),this.renderOptions={ho
|
|
|
132
132
|
* @license
|
|
133
133
|
* Copyright 2020 Google LLC
|
|
134
134
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
135
|
-
*/const{D:lo}=yt,co=()=>document.createComment(""),po=(t,e,o)=>{const
|
|
135
|
+
*/const{D:lo}=yt,co=()=>document.createComment(""),po=(t,e,o)=>{const i=t._$AA.parentNode,r=void 0===e?t._$AB:e._$AA;if(void 0===o){const e=i.insertBefore(co(),r),n=i.insertBefore(co(),r);o=new lo(e,n,t,t.options)}else{const e=o._$AB.nextSibling,n=o._$AM,a=n!==t;if(a){let e;o._$AQ?.(t),o._$AM=t,void 0!==o._$AP&&(e=t._$AU)!==n._$AU&&o._$AP(e)}if(e!==r||a){let t=o._$AA;for(;t!==e;){const e=t.nextSibling;i.insertBefore(t,r),t=e}}}return o},fo=(t,e,o=t)=>(t._$AI(e,o),t),ho={},uo=t=>{t._$AP?.(!1,!0);let e=t._$AA;const o=t._$AB.nextSibling;for(;e!==o;){const t=e.nextSibling;e.remove(),e=t}},yo=(t,e,o)=>{const i=new Map;for(let r=e;r<=o;r++)i.set(t[r],r);return i},go=ao(class extends so{constructor(t){if(super(t),t.type!==no)throw Error("repeat() can only be used in text expressions")}ht(t,e,o){let i;void 0===o?o=e:void 0!==e&&(i=e);const r=[],n=[];let a=0;for(const e of t)r[a]=i?i(e,a):a,n[a]=o(e,a),a++;return{values:n,keys:r}}render(t,e,o){return this.ht(t,e,o).values}update(t,[e,o,i]){const r=(t=>t._$AH)(t),{values:n,keys:a}=this.ht(e,o,i);if(!Array.isArray(r))return this.dt=a,n;const s=this.dt??=[],l=[];let c,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]=fo(r[f],n[d]),f++,d++;else if(s[h]===a[u])l[u]=fo(r[h],n[u]),h--,u--;else if(s[f]===a[u])l[u]=fo(r[f],n[u]),po(t,l[u+1],r[f]),f++,u--;else if(s[h]===a[d])l[d]=fo(r[h],n[d]),po(t,r[f],r[h]),h--,d++;else if(void 0===c&&(c=yo(a,d,u),p=yo(s,f,h)),c.has(s[f]))if(c.has(s[h])){const e=p.get(a[d]),o=void 0!==e?r[e]:null;if(null===o){const e=po(t,r[f]);fo(e,n[d]),l[d]=e}else l[d]=fo(o,n[d]),po(t,r[f],o),r[e]=null;d++}else uo(r[h]),h--;else uo(r[f]),f++;for(;d<=u;){const e=po(t,l[u+1]);fo(e,n[d]),l[d++]=e}for(;f<=h;){const t=r[f++];null!==t&&uo(t)}return this.dt=a,((t,e=ho)=>{t._$AH=e})(t,l),tt}}),bo=ao(class extends so{constructor(t){if(super(t),t.type!==ro||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(e)}const o=t.element.classList;for(const t of this.it)t in e||(o.remove(t),this.it.delete(t));for(const t in e){const i=!!e[t];i===this.it.has(t)||this.st?.has(t)||(i?(o.add(t),this.it.add(t)):(o.remove(t),this.it.delete(t)))}return tt}}),mo="important",xo=" !"+mo,vo=ao(class extends so{constructor(t){if(super(t),t.type!==ro||"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(((e,o)=>{const i=t[o];return null==i?e:e+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${i};`}),"")}update(t,[e]){const{style:o}=t.element;if(void 0===this.ut)return this.ut=new Set(Object.keys(e)),this.render(e);for(const t of this.ut)null==e[t]&&(this.ut.delete(t),t.includes("-")?o.removeProperty(t):o[t]=null);for(const t in e){const i=e[t];if(null!=i){this.ut.add(t);const e="string"==typeof i&&i.endsWith(xo);t.includes("-")||e?o.setProperty(t,e?i.slice(0,-11):i,e?mo:""):o[t]=i}}return tt}});
|
|
136
136
|
/**
|
|
137
137
|
* @license
|
|
138
138
|
* Copyright 2017 Google LLC
|
|
139
139
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
140
|
-
*/var Oo;!function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"}(Oo||(Oo={}));var No=function(t,e,o,
|
|
140
|
+
*/var Oo;!function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"}(Oo||(Oo={}));var No=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class So extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}const wo=Symbol("registerInterval");class Co extends(function(t){var e;class o extends t{constructor(){super(...arguments),this[e]=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[wo]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[wo]):this.dispatchEvent(new So)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=wo,No([$()],o.prototype,"stateManager",void 0),o}(qe)){}
|
|
141
141
|
/**
|
|
142
142
|
* @license
|
|
143
143
|
* Copyright 2020 Google LLC
|
|
144
144
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
145
|
-
*/const $o=Symbol.for(""),Eo=t=>{if(t?.r===$o)return t?._$litStatic$},Ro=t=>({_$litStatic$:t,r:$o}),ko=new Map,Io=(t=>(e,...o)=>{const
|
|
145
|
+
*/const $o=Symbol.for(""),Eo=t=>{if(t?.r===$o)return t?._$litStatic$},Ro=t=>({_$litStatic$:t,r:$o}),ko=new Map,Io=(t=>(e,...o)=>{const i=o.length;let r,n;const a=[],s=[];let l,c=0,p=!1;for(;c<i;){for(l=e[c];c<i&&void 0!==(n=o[c],r=Eo(n));)l+=r+e[++c],p=!0;c!==i&&s.push(n),a.push(l),c++}if(c===i&&a.push(e[i]),p){const t=a.join("$$lit$$");void 0===(e=ko.get(t))&&(a.raw=a,ko.set(t,e=a)),o=s}return t(e,...o)})(Q);var Uo;!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"}(Uo||(Uo={}));const Lo=we.extend("--ft-typography-font-family","",Ie.titleFont),Wo=we.extend("--ft-typography-font-family","",Ie.contentFont),zo={fontFamily:Wo,fontSize:we.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:we.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:we.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:we.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:we.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Ko=we.extend("--ft-typography-title-font-family","",Lo),Fo=we.extend("--ft-typography-title-font-size","",zo.fontSize,"20px"),Ao=we.extend("--ft-typography-title-font-weight","",zo.fontWeight,"normal"),Zo=we.extend("--ft-typography-title-letter-spacing","",zo.letterSpacing,"0.15px"),Bo=we.extend("--ft-typography-title-line-height","",zo.lineHeight,"1.2"),Mo=we.extend("--ft-typography-title-text-transform","",zo.textTransform,"inherit"),Do=we.extend("--ft-typography-title-dense-font-family","",Lo),Po=we.extend("--ft-typography-title-dense-font-size","",zo.fontSize,"14px"),Ho=we.extend("--ft-typography-title-dense-font-weight","",zo.fontWeight,"normal"),To=we.extend("--ft-typography-title-dense-letter-spacing","",zo.letterSpacing,"0.105px"),jo=we.extend("--ft-typography-title-dense-line-height","",zo.lineHeight,"1.7"),_o=we.extend("--ft-typography-title-dense-text-transform","",zo.textTransform,"inherit"),Go=we.extend("--ft-typography-subtitle1-font-family","",Wo),Vo=we.extend("--ft-typography-subtitle1-font-size","",zo.fontSize,"16px"),Yo=we.extend("--ft-typography-subtitle1-font-weight","",zo.fontWeight,"600"),Xo=we.extend("--ft-typography-subtitle1-letter-spacing","",zo.letterSpacing,"0.144px"),Jo=we.extend("--ft-typography-subtitle1-line-height","",zo.lineHeight,"1.5"),qo=we.extend("--ft-typography-subtitle1-text-transform","",zo.textTransform,"inherit"),Qo=we.extend("--ft-typography-subtitle2-font-family","",Wo),ti=we.extend("--ft-typography-subtitle2-font-size","",zo.fontSize,"14px"),ei=we.extend("--ft-typography-subtitle2-font-weight","",zo.fontWeight,"normal"),oi=we.extend("--ft-typography-subtitle2-letter-spacing","",zo.letterSpacing,"0.098px"),ii=we.extend("--ft-typography-subtitle2-line-height","",zo.lineHeight,"1.7"),ri=we.extend("--ft-typography-subtitle2-text-transform","",zo.textTransform,"inherit"),ni=we.extend("--ft-typography-body1-font-family","",Wo),ai=we.extend("--ft-typography-body1-font-size","",zo.fontSize,"16px"),si=we.extend("--ft-typography-body1-font-weight","",zo.fontWeight,"normal"),li=we.extend("--ft-typography-body1-letter-spacing","",zo.letterSpacing,"0.496px"),ci=we.extend("--ft-typography-body1-line-height","",zo.lineHeight,"1.5"),pi=we.extend("--ft-typography-body1-text-transform","",zo.textTransform,"inherit"),fi=we.extend("--ft-typography-body2-font-family","",Wo),hi=we.extend("--ft-typography-body2-font-size","",zo.fontSize,"14px"),di=we.extend("--ft-typography-body2-font-weight","",zo.fontWeight,"normal"),ui=we.extend("--ft-typography-body2-letter-spacing","",zo.letterSpacing,"0.252px"),yi=we.extend("--ft-typography-body2-line-height","",zo.lineHeight,"1.4"),gi=we.extend("--ft-typography-body2-text-transform","",zo.textTransform,"inherit"),bi=we.extend("--ft-typography-caption-font-family","",Wo),mi=we.extend("--ft-typography-caption-font-size","",zo.fontSize,"12px"),xi=we.extend("--ft-typography-caption-font-weight","",zo.fontWeight,"normal"),vi=we.extend("--ft-typography-caption-letter-spacing","",zo.letterSpacing,"0.396px"),Oi=we.extend("--ft-typography-caption-line-height","",zo.lineHeight,"1.33"),Ni=we.extend("--ft-typography-caption-text-transform","",zo.textTransform,"inherit"),Si=we.extend("--ft-typography-breadcrumb-font-family","",Wo),wi=we.extend("--ft-typography-breadcrumb-font-size","",zo.fontSize,"10px"),Ci=we.extend("--ft-typography-breadcrumb-font-weight","",zo.fontWeight,"normal"),$i=we.extend("--ft-typography-breadcrumb-letter-spacing","",zo.letterSpacing,"0.33px"),Ei=we.extend("--ft-typography-breadcrumb-line-height","",zo.lineHeight,"1.6"),Ri=we.extend("--ft-typography-breadcrumb-text-transform","",zo.textTransform,"inherit"),ki=we.extend("--ft-typography-overline-font-family","",Wo),Ii=we.extend("--ft-typography-overline-font-size","",zo.fontSize,"10px"),Ui=we.extend("--ft-typography-overline-font-weight","",zo.fontWeight,"normal"),Li=we.extend("--ft-typography-overline-letter-spacing","",zo.letterSpacing,"1.5px"),Wi=we.extend("--ft-typography-overline-line-height","",zo.lineHeight,"1.6"),zi=we.extend("--ft-typography-overline-text-transform","",zo.textTransform,"uppercase"),Ki={fontFamily:we.extend("--ft-typography-button-font-family","",Wo),fontSize:we.extend("--ft-typography-button-font-size","",zo.fontSize,"14px"),fontWeight:we.extend("--ft-typography-button-font-weight","",zo.fontWeight,"600"),letterSpacing:we.extend("--ft-typography-button-letter-spacing","",zo.letterSpacing,"1.246px"),lineHeight:we.extend("--ft-typography-button-line-height","",zo.lineHeight,"1.15"),textTransform:we.extend("--ft-typography-button-text-transform","",zo.textTransform,"uppercase")},Fi=St`
|
|
146
146
|
.ft-typography--title {
|
|
147
147
|
font-family: ${Ko};
|
|
148
148
|
font-size: ${Fo};
|
|
@@ -151,7 +151,7 @@ let Oe=class extends Bt{constructor(){super(...arguments),this.renderOptions={ho
|
|
|
151
151
|
line-height: ${Bo};
|
|
152
152
|
text-transform: ${Mo};
|
|
153
153
|
}
|
|
154
|
-
`,
|
|
154
|
+
`,Ai=St`
|
|
155
155
|
.ft-typography--title-dense {
|
|
156
156
|
font-family: ${Do};
|
|
157
157
|
font-size: ${Po};
|
|
@@ -160,7 +160,7 @@ let Oe=class extends Bt{constructor(){super(...arguments),this.renderOptions={ho
|
|
|
160
160
|
line-height: ${jo};
|
|
161
161
|
text-transform: ${_o};
|
|
162
162
|
}
|
|
163
|
-
`,
|
|
163
|
+
`,Zi=St`
|
|
164
164
|
.ft-typography--subtitle1 {
|
|
165
165
|
font-family: ${Go};
|
|
166
166
|
font-size: ${Vo};
|
|
@@ -169,75 +169,75 @@ let Oe=class extends Bt{constructor(){super(...arguments),this.renderOptions={ho
|
|
|
169
169
|
line-height: ${Jo};
|
|
170
170
|
text-transform: ${qo};
|
|
171
171
|
}
|
|
172
|
-
`,
|
|
172
|
+
`,Bi=St`
|
|
173
173
|
.ft-typography--subtitle2 {
|
|
174
174
|
font-family: ${Qo};
|
|
175
|
-
font-size: ${
|
|
176
|
-
font-weight: ${
|
|
177
|
-
letter-spacing: ${
|
|
178
|
-
line-height: ${
|
|
179
|
-
text-transform: ${
|
|
175
|
+
font-size: ${ti};
|
|
176
|
+
font-weight: ${ei};
|
|
177
|
+
letter-spacing: ${oi};
|
|
178
|
+
line-height: ${ii};
|
|
179
|
+
text-transform: ${ri};
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
`,
|
|
182
|
+
`,Mi=St`
|
|
183
183
|
.ft-typography--body1 {
|
|
184
|
-
font-family: ${
|
|
185
|
-
font-size: ${
|
|
186
|
-
font-weight: ${
|
|
187
|
-
letter-spacing: ${
|
|
188
|
-
line-height: ${
|
|
189
|
-
text-transform: ${
|
|
190
|
-
}
|
|
191
|
-
`,
|
|
184
|
+
font-family: ${ni};
|
|
185
|
+
font-size: ${ai};
|
|
186
|
+
font-weight: ${si};
|
|
187
|
+
letter-spacing: ${li};
|
|
188
|
+
line-height: ${ci};
|
|
189
|
+
text-transform: ${pi};
|
|
190
|
+
}
|
|
191
|
+
`,Di=St`
|
|
192
192
|
.ft-typography--body2 {
|
|
193
|
-
font-family: ${
|
|
194
|
-
font-size: ${
|
|
195
|
-
font-weight: ${
|
|
196
|
-
letter-spacing: ${
|
|
197
|
-
line-height: ${
|
|
198
|
-
text-transform: ${
|
|
199
|
-
}
|
|
200
|
-
`,
|
|
193
|
+
font-family: ${fi};
|
|
194
|
+
font-size: ${hi};
|
|
195
|
+
font-weight: ${di};
|
|
196
|
+
letter-spacing: ${ui};
|
|
197
|
+
line-height: ${yi};
|
|
198
|
+
text-transform: ${gi};
|
|
199
|
+
}
|
|
200
|
+
`,Pi=St`
|
|
201
201
|
.ft-typography--caption {
|
|
202
|
-
font-family: ${
|
|
203
|
-
font-size: ${
|
|
204
|
-
font-weight: ${
|
|
205
|
-
letter-spacing: ${
|
|
206
|
-
line-height: ${
|
|
207
|
-
text-transform: ${
|
|
208
|
-
}
|
|
209
|
-
`,
|
|
202
|
+
font-family: ${bi};
|
|
203
|
+
font-size: ${mi};
|
|
204
|
+
font-weight: ${xi};
|
|
205
|
+
letter-spacing: ${vi};
|
|
206
|
+
line-height: ${Oi};
|
|
207
|
+
text-transform: ${Ni};
|
|
208
|
+
}
|
|
209
|
+
`,Hi=St`
|
|
210
210
|
.ft-typography--breadcrumb {
|
|
211
|
-
font-family: ${
|
|
212
|
-
font-size: ${
|
|
213
|
-
font-weight: ${
|
|
214
|
-
letter-spacing: ${$
|
|
215
|
-
line-height: ${
|
|
216
|
-
text-transform: ${
|
|
217
|
-
}
|
|
218
|
-
`,
|
|
211
|
+
font-family: ${Si};
|
|
212
|
+
font-size: ${wi};
|
|
213
|
+
font-weight: ${Ci};
|
|
214
|
+
letter-spacing: ${$i};
|
|
215
|
+
line-height: ${Ei};
|
|
216
|
+
text-transform: ${Ri};
|
|
217
|
+
}
|
|
218
|
+
`,Ti=St`
|
|
219
219
|
.ft-typography--overline {
|
|
220
|
-
font-family: ${
|
|
221
|
-
font-size: ${
|
|
222
|
-
font-weight: ${
|
|
223
|
-
letter-spacing: ${
|
|
224
|
-
line-height: ${
|
|
225
|
-
text-transform: ${
|
|
226
|
-
}
|
|
227
|
-
`,
|
|
220
|
+
font-family: ${ki};
|
|
221
|
+
font-size: ${Ii};
|
|
222
|
+
font-weight: ${Ui};
|
|
223
|
+
letter-spacing: ${Li};
|
|
224
|
+
line-height: ${Wi};
|
|
225
|
+
text-transform: ${zi};
|
|
226
|
+
}
|
|
227
|
+
`,ji=St`
|
|
228
228
|
.ft-typography--button {
|
|
229
|
-
font-family: ${
|
|
230
|
-
font-size: ${
|
|
231
|
-
font-weight: ${
|
|
232
|
-
letter-spacing: ${
|
|
233
|
-
line-height: ${
|
|
234
|
-
text-transform: ${
|
|
235
|
-
}
|
|
236
|
-
`,
|
|
229
|
+
font-family: ${Ki.fontFamily};
|
|
230
|
+
font-size: ${Ki.fontSize};
|
|
231
|
+
font-weight: ${Ki.fontWeight};
|
|
232
|
+
letter-spacing: ${Ki.letterSpacing};
|
|
233
|
+
line-height: ${Ki.lineHeight};
|
|
234
|
+
text-transform: ${Ki.textTransform};
|
|
235
|
+
}
|
|
236
|
+
`,_i=St`
|
|
237
237
|
.ft-typography {
|
|
238
238
|
vertical-align: inherit;
|
|
239
239
|
}
|
|
240
|
-
`,
|
|
240
|
+
`,Gi=[Object.keys(Ee).map((t=>function(t){const e=Ee[t];return St`
|
|
241
241
|
.ft-typography--${Nt(t)} {
|
|
242
242
|
font-family: ${e.fontFamily};
|
|
243
243
|
font-size: ${e.fontSize};
|
|
@@ -246,39 +246,39 @@ let Oe=class extends Bt{constructor(){super(...arguments),this.renderOptions={ho
|
|
|
246
246
|
line-height: ${e.lineHeight};
|
|
247
247
|
text-transform: ${e.textCase};
|
|
248
248
|
}
|
|
249
|
-
`}(t)))];var
|
|
249
|
+
`}(t)))];var Vi=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Yi extends Be{constructor(){super(...arguments),this.variant=Uo.body1}render(){return this.element?Io`
|
|
250
250
|
<${Ro(this.element)}
|
|
251
251
|
class="ft-typography ft-typography--${this.variant}">
|
|
252
252
|
<slot></slot>
|
|
253
253
|
</${Ro(this.element)}>
|
|
254
254
|
`:Io`
|
|
255
255
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
256
|
-
`}}
|
|
256
|
+
`}}Yi.styles=[Fi,Ai,Zi,Bi,Mi,Di,Pi,Hi,Ti,ji,_i,...Gi],Vi([C()],Yi.prototype,"element",void 0),Vi([C()],Yi.prototype,"variant",void 0),U("ft-typography")(Yi);const Xi=we.extend("--ft-reader-internal-link-outline-color","",Ie.colorPrimary),Ji=St`
|
|
257
257
|
:host {
|
|
258
258
|
display: contents;
|
|
259
259
|
}
|
|
260
260
|
|
|
261
261
|
a:focus {
|
|
262
|
-
outline-color: ${
|
|
262
|
+
outline-color: ${Xi};
|
|
263
263
|
}
|
|
264
264
|
|
|
265
265
|
.ft-reader-link--remove-style {
|
|
266
266
|
text-decoration: none;
|
|
267
267
|
color: inherit;
|
|
268
268
|
}
|
|
269
|
-
`;var
|
|
269
|
+
`;var qi=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Qi extends Co{constructor(){super(...arguments),this.removeStyle=!1}render(){var t;let e=bo({"ft-reader-link":!0,"ft-reader-link--remove-style":this.removeStyle});return ne`
|
|
270
270
|
<a class=${e}
|
|
271
271
|
href="${null===(t=this.service)||void 0===t?void 0:t.getLink(this.tocId,this.pageNumber,this.section)}"
|
|
272
272
|
@click=${t=>this.onLinkClick(t)}>
|
|
273
273
|
<slot></slot>
|
|
274
274
|
</a>
|
|
275
|
-
`}onLinkClick(t){var e;t.ctrlKey||t.metaKey||(t.stopPropagation(),t.preventDefault(),null===(e=this.stateManager)||void 0===e||e.navigateToTopic(this.tocId,this.section,this.pageNumber),this.click())}}
|
|
275
|
+
`}onLinkClick(t){var e;t.ctrlKey||t.metaKey||(t.stopPropagation(),t.preventDefault(),null===(e=this.stateManager)||void 0===e||e.navigateToTopic(this.tocId,this.section,this.pageNumber),this.click())}}Qi.styles=Ji,qi([C()],Qi.prototype,"tocId",void 0),qi([C()],Qi.prototype,"section",void 0),qi([C({type:Number})],Qi.prototype,"pageNumber",void 0),qi([C({type:Boolean})],Qi.prototype,"removeStyle",void 0),U("ft-reader-internal-link")(Qi);
|
|
276
276
|
/**
|
|
277
277
|
* @license
|
|
278
278
|
* Copyright 2017 Google LLC
|
|
279
279
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
280
280
|
*/
|
|
281
|
-
class
|
|
281
|
+
class tr extends so{constructor(t){if(super(t),this.et=et,t.type!==no)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===et||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 e=[t];return e.raw=e,this.vt={_$litType$:this.constructor.resultType,strings:e,values:[]}}}tr.directiveName="unsafeHTML",tr.resultType=1;const er=ao(tr);var or,ir;!function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK=""}(or||(or={})),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=""}(ir||(ir={})),new Map([...["abw"].map((t=>[t,ir.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,ir.AUDIO])),...["avi"].map((t=>[t,ir.AVI])),...["chm","xhs"].map((t=>[t,ir.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,ir.CODE])),...["csv"].map((t=>[t,ir.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,ir.DITA])),...["epub"].map((t=>[t,ir.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,ir.EXCEL])),...["flac"].map((t=>[t,ir.FLAC])),...["gif"].map((t=>[t,ir.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,ir.GZIP])),...["html","htm","xhtml"].map((t=>[t,ir.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,ir.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,ir.JPEG])),...["json"].map((t=>[t,ir.JSON])),...["m4a","m4p"].map((t=>[t,ir.M4A])),...["mov","qt"].map((t=>[t,ir.MOV])),...["mp3"].map((t=>[t,ir.MP3])),...["mp4","m4v"].map((t=>[t,ir.MP4])),...["ogg","oga"].map((t=>[t,ir.OGG])),...["pdf","ps"].map((t=>[t,ir.PDF])),...["png"].map((t=>[t,ir.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,ir.POWERPOINT])),...["rar"].map((t=>[t,ir.RAR])),...["stp"].map((t=>[t,ir.STP])),...["txt","rtf","md","mdown"].map((t=>[t,ir.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,ir.VIDEO])),...["wav"].map((t=>[t,ir.WAV])),...["wma"].map((t=>[t,ir.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,ir.WORD])),...["xml","xsl","rdf"].map((t=>[t,ir.XML])),...["yaml","yml","x-yaml"].map((t=>[t,ir.YAML])),...["zip"].map((t=>[t,ir.ZIP]))]),ir.ABW,ir.AUDIO,ir.AVI,ir.CHM,ir.CODE,ir.CSV,ir.DITA,ir.EPUB,ir.EXCEL,ir.FLAC,ir.GIF,ir.GZIP,ir.HTML,ir.IMAGE,ir.JPEG,ir.JSON,ir.M4A,ir.MOV,ir.MP3,ir.MP4,ir.OGG,ir.PDF,ir.PNG,ir.POWERPOINT,ir.RAR,ir.STP,ir.TEXT,ir.UNKNOWN,ir.VIDEO,ir.WAV,ir.WMA,ir.WORD,ir.XML,ir.YAML,ir.ZIP;const rr={size:we.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:we.extend("--ft-icon-fluid-topics-font-family","",we.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:we.extend("--ft-icon-file-format-font-family","",we.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:we.extend("--ft-icon-material-font-family","",we.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:we.create("--ft-icon-vertical-align","","UNKNOWN","unset")},nr=St`
|
|
282
282
|
:host, i.ft-icon {
|
|
283
283
|
display: inline-flex;
|
|
284
284
|
align-items: center;
|
|
@@ -287,14 +287,14 @@ class ti extends so{constructor(t){if(super(t),this.et=et,t.type!==no)throw Erro
|
|
|
287
287
|
}
|
|
288
288
|
|
|
289
289
|
:host {
|
|
290
|
-
width: ${
|
|
291
|
-
height: ${
|
|
290
|
+
width: ${rr.size};
|
|
291
|
+
height: ${rr.size};
|
|
292
292
|
}
|
|
293
293
|
|
|
294
294
|
i.ft-icon {
|
|
295
295
|
width: 100%;
|
|
296
296
|
height: 100%;
|
|
297
|
-
font-size: ${
|
|
297
|
+
font-size: ${rr.size};
|
|
298
298
|
line-height: 1;
|
|
299
299
|
font-weight: normal;
|
|
300
300
|
text-transform: none;
|
|
@@ -305,33 +305,33 @@ class ti extends so{constructor(t){if(super(t),this.et=et,t.type!==no)throw Erro
|
|
|
305
305
|
text-rendering: auto;
|
|
306
306
|
-webkit-font-smoothing: antialiased;
|
|
307
307
|
-moz-osx-font-smoothing: grayscale;
|
|
308
|
-
vertical-align: ${
|
|
308
|
+
vertical-align: ${rr.verticalAlign};
|
|
309
309
|
}
|
|
310
310
|
|
|
311
311
|
i.ft-icon.ft-icon--fluid-topics {
|
|
312
|
-
font-family: ${
|
|
312
|
+
font-family: ${rr.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
313
313
|
|
|
314
314
|
/* Ugly fix because font is broken */
|
|
315
|
-
font-size: calc(0.75 * ${
|
|
316
|
-
line-height: ${
|
|
315
|
+
font-size: calc(0.75 * ${rr.size});
|
|
316
|
+
line-height: ${rr.size};
|
|
317
317
|
position: relative;
|
|
318
318
|
top: -4%;
|
|
319
319
|
justify-content: center;
|
|
320
320
|
}
|
|
321
321
|
|
|
322
322
|
.ft-icon--file-format {
|
|
323
|
-
font-family: ${
|
|
323
|
+
font-family: ${rr.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
324
324
|
}
|
|
325
325
|
|
|
326
326
|
.ft-icon--material {
|
|
327
|
-
font-family: ${
|
|
327
|
+
font-family: ${rr.materialFontFamily}, "Material Icons", sans-serif;
|
|
328
328
|
}
|
|
329
|
-
`;var
|
|
329
|
+
`;var ar;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(ar||(ar={}));var sr=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class lr extends Be{constructor(){super(...arguments),this.resolvedIcon=se}render(){const t=this.variant&&Object.values(ar).includes(this.variant)?this.variant:ar.fluid_topics,e=t!==ar.material||!!this.value;return ne`
|
|
330
330
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
331
|
-
${
|
|
331
|
+
${er(this.resolvedIcon)}
|
|
332
332
|
<slot ?hidden=${e}></slot>
|
|
333
333
|
</i>
|
|
334
|
-
`}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let o=this.value||this.textContent;switch(this.variant){case
|
|
334
|
+
`}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let o=this.value||this.textContent;switch(this.variant){case ar.file_format:this.resolvedIcon=null!==(t=ir[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case ar.material:this.resolvedIcon=this.value||se;break;default:this.resolvedIcon=null!==(e=or[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}lr.elementDefinitions={},lr.styles=nr,sr([C()],lr.prototype,"variant",void 0),sr([C()],lr.prototype,"value",void 0),sr([$()],lr.prototype,"resolvedIcon",void 0),sr([k("slot")],lr.prototype,"slottedContent",void 0),U("ft-icon")(lr);const cr=we.extend("--ft-ripple-color","",Ie.colorContent),pr={color:cr,backgroundColor:we.extend("--ft-ripple-background-color","",cr),opacityContentOnSurfacePressed:we.external(Ie.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:we.external(Ie.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:we.external(Ie.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:we.external(Ie.opacityContentOnSurfaceSelected,"Design system"),borderRadius:we.create("--ft-ripple-border-radius","","SIZE","0px")},fr=we.extend("--ft-ripple-color","",Ie.colorPrimary),hr=fr,dr=we.extend("--ft-ripple-background-color","",fr),ur=we.extend("--ft-ripple-color","",Ie.colorSecondary),yr=ur,gr=we.extend("--ft-ripple-background-color","",ur),br=St`
|
|
335
335
|
:host {
|
|
336
336
|
display: contents;
|
|
337
337
|
}
|
|
@@ -344,7 +344,7 @@ class ti extends so{constructor(t){if(super(t),this.et=et,t.type!==no)throw Erro
|
|
|
344
344
|
|
|
345
345
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
346
346
|
overflow: hidden;
|
|
347
|
-
border-radius: ${
|
|
347
|
+
border-radius: ${pr.borderRadius};
|
|
348
348
|
}
|
|
349
349
|
|
|
350
350
|
.ft-ripple .ft-ripple--background,
|
|
@@ -378,27 +378,27 @@ class ti extends so{constructor(t){if(super(t),this.et=et,t.type!==no)throw Erro
|
|
|
378
378
|
}
|
|
379
379
|
|
|
380
380
|
.ft-ripple .ft-ripple--background {
|
|
381
|
-
background-color: ${
|
|
381
|
+
background-color: ${pr.backgroundColor};
|
|
382
382
|
}
|
|
383
383
|
|
|
384
384
|
.ft-ripple .ft-ripple--effect {
|
|
385
|
-
background-color: ${
|
|
385
|
+
background-color: ${pr.color};
|
|
386
386
|
}
|
|
387
387
|
|
|
388
388
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
389
|
-
background-color: ${
|
|
389
|
+
background-color: ${gr};
|
|
390
390
|
}
|
|
391
391
|
|
|
392
392
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
393
|
-
background-color: ${
|
|
393
|
+
background-color: ${yr};
|
|
394
394
|
}
|
|
395
395
|
|
|
396
396
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
397
|
-
background-color: ${
|
|
397
|
+
background-color: ${dr};
|
|
398
398
|
}
|
|
399
399
|
|
|
400
400
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
401
|
-
background-color: ${
|
|
401
|
+
background-color: ${hr};
|
|
402
402
|
}
|
|
403
403
|
|
|
404
404
|
.ft-ripple .ft-ripple--background {
|
|
@@ -428,22 +428,22 @@ class ti extends so{constructor(t){if(super(t),this.et=et,t.type!==no)throw Erro
|
|
|
428
428
|
}
|
|
429
429
|
|
|
430
430
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
431
|
-
opacity: ${
|
|
431
|
+
opacity: ${pr.opacityContentOnSurfaceHover};
|
|
432
432
|
}
|
|
433
433
|
|
|
434
434
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
435
|
-
opacity: ${
|
|
435
|
+
opacity: ${pr.opacityContentOnSurfaceSelected};
|
|
436
436
|
}
|
|
437
437
|
|
|
438
438
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
439
|
-
opacity: ${
|
|
439
|
+
opacity: ${pr.opacityContentOnSurfaceFocused};
|
|
440
440
|
}
|
|
441
441
|
|
|
442
442
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
443
|
-
opacity: ${
|
|
443
|
+
opacity: ${pr.opacityContentOnSurfacePressed};
|
|
444
444
|
transform: translate(-50%, -50%) scale(1);
|
|
445
445
|
}
|
|
446
|
-
`,
|
|
446
|
+
`,mr={color:we.extend("--ft-loader-color","",Ie.colorPrimary),size:we.create("--ft-loader-size","","SIZE","80px")},xr=St`
|
|
447
447
|
:host {
|
|
448
448
|
line-height: 0;
|
|
449
449
|
}
|
|
@@ -452,8 +452,8 @@ class ti extends so{constructor(t){if(super(t),this.et=et,t.type!==no)throw Erro
|
|
|
452
452
|
display: inline-block;
|
|
453
453
|
position: relative;
|
|
454
454
|
|
|
455
|
-
width: ${
|
|
456
|
-
height: ${
|
|
455
|
+
width: ${mr.size};
|
|
456
|
+
height: ${mr.size};
|
|
457
457
|
}
|
|
458
458
|
|
|
459
459
|
.ft-loader div {
|
|
@@ -462,7 +462,7 @@ class ti extends so{constructor(t){if(super(t),this.et=et,t.type!==no)throw Erro
|
|
|
462
462
|
width: 25%;
|
|
463
463
|
height: 25%;
|
|
464
464
|
border-radius: 50%;
|
|
465
|
-
background: ${
|
|
465
|
+
background: ${mr.color};
|
|
466
466
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
467
467
|
}
|
|
468
468
|
|
|
@@ -509,10 +509,10 @@ class ti extends so{constructor(t){if(super(t),this.et=et,t.type!==no)throw Erro
|
|
|
509
509
|
transform: translate(0, 0);
|
|
510
510
|
}
|
|
511
511
|
100% {
|
|
512
|
-
transform: translate(calc(0.35 * ${
|
|
512
|
+
transform: translate(calc(0.35 * ${mr.size}), 0);
|
|
513
513
|
}
|
|
514
514
|
}
|
|
515
|
-
`,
|
|
515
|
+
`,vr=we.extend("--ft-button-color","",Ie.colorPrimary),Or={backgroundColor:we.extend("--ft-button-background-color","",Ie.colorSurface),borderRadius:we.extend("--ft-button-border-radius","",Ie.borderRadiusL),color:vr,fontSize:we.extend("--ft-button-font-size","",Ki.fontSize),iconSize:we.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:we.extend("--ft-button-ripple-color","",vr),verticalPadding:we.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:we.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:we.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:we.external(Ie.colorOpacityDisabled,"Design system")},Nr=we.extend("--ft-button-primary-color","",we.extend("--ft-button-color","",Ie.colorOnPrimary)),Sr={backgroundColor:we.extend("--ft-button-primary-background-color","",we.extend("--ft-button-background-color","",Ie.colorPrimary)),color:Nr,rippleColor:we.extend("--ft-button-primary-ripple-color","",Nr)},wr=we.extend("--ft-button-dense-border-radius","",we.extend("--ft-button-border-radius","",Ie.borderRadiusM)),Cr=we.create("--ft-button-dense-vertical-padding","","SIZE","2px"),$r=we.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Er=we.create("--ft-button-dense-icon-padding","","SIZE","4px"),Rr=[St`
|
|
516
516
|
:host {
|
|
517
517
|
display: inline-block;
|
|
518
518
|
max-width: 100%;
|
|
@@ -523,7 +523,7 @@ class ti extends so{constructor(t){if(super(t),this.et=et,t.type!==no)throw Erro
|
|
|
523
523
|
box-shadow: 0px 0px 0px transparent;
|
|
524
524
|
border: 0px solid transparent;
|
|
525
525
|
text-shadow: 0px 0px 0px transparent;
|
|
526
|
-
font-size: ${
|
|
526
|
+
font-size: ${Or.fontSize};
|
|
527
527
|
}
|
|
528
528
|
|
|
529
529
|
button:hover {
|
|
@@ -552,31 +552,31 @@ class ti extends so{constructor(t){if(super(t),this.et=et,t.type!==no)throw Erro
|
|
|
552
552
|
border: none;
|
|
553
553
|
pointer-events: auto;
|
|
554
554
|
|
|
555
|
-
--ft-button-internal-line-height: max(calc(${
|
|
556
|
-
--ft-button-internal-color: ${
|
|
557
|
-
${Ce(
|
|
558
|
-
${Ce(
|
|
555
|
+
--ft-button-internal-line-height: max(calc(${Or.fontSize} + 2px), ${Or.iconSize});
|
|
556
|
+
--ft-button-internal-color: ${Or.color};
|
|
557
|
+
${Ce(rr.size,Or.iconSize)};
|
|
558
|
+
${Ce(pr.color,Or.rippleColor)};
|
|
559
559
|
|
|
560
|
-
border-radius: ${
|
|
561
|
-
padding: ${
|
|
562
|
-
background-color: ${
|
|
560
|
+
border-radius: ${Or.borderRadius};
|
|
561
|
+
padding: ${Or.verticalPadding} ${Or.horizontalPadding};
|
|
562
|
+
background-color: ${Or.backgroundColor};
|
|
563
563
|
color: var(--ft-button-internal-color);
|
|
564
564
|
-webkit-mask-image: radial-gradient(white, black);
|
|
565
565
|
}
|
|
566
566
|
|
|
567
567
|
.ft-button.ft-button--outlined {
|
|
568
568
|
border: 1px solid var(--ft-button-internal-color);
|
|
569
|
-
padding: calc(${
|
|
569
|
+
padding: calc(${Or.verticalPadding} - 1px) calc(${Or.horizontalPadding} - 1px);
|
|
570
570
|
}
|
|
571
571
|
|
|
572
572
|
.ft-button.ft-button--dense {
|
|
573
|
-
padding: ${
|
|
574
|
-
border-radius: ${
|
|
575
|
-
gap: ${
|
|
573
|
+
padding: ${Cr} ${$r};
|
|
574
|
+
border-radius: ${wr};
|
|
575
|
+
gap: ${Er};
|
|
576
576
|
}
|
|
577
577
|
|
|
578
578
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
579
|
-
padding: calc(${
|
|
579
|
+
padding: calc(${Cr} - 1px) calc(${$r} - 1px);
|
|
580
580
|
}
|
|
581
581
|
|
|
582
582
|
.ft-button:not([disabled]):hover {
|
|
@@ -584,22 +584,22 @@ class ti extends so{constructor(t){if(super(t),this.et=et,t.type!==no)throw Erro
|
|
|
584
584
|
}
|
|
585
585
|
|
|
586
586
|
.ft-button--round {
|
|
587
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
587
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Or.verticalPadding});
|
|
588
588
|
}
|
|
589
589
|
|
|
590
590
|
.ft-button--round.ft-button--dense {
|
|
591
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
591
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Cr});
|
|
592
592
|
}
|
|
593
593
|
|
|
594
594
|
.ft-button[disabled] {
|
|
595
595
|
filter: grayscale(1);
|
|
596
|
-
opacity: ${
|
|
596
|
+
opacity: ${Or.opacityDisabled};
|
|
597
597
|
}
|
|
598
598
|
|
|
599
599
|
.ft-button.ft-button--primary {
|
|
600
|
-
background-color: ${
|
|
601
|
-
--ft-button-internal-color: ${
|
|
602
|
-
${Ce(
|
|
600
|
+
background-color: ${Sr.backgroundColor};
|
|
601
|
+
--ft-button-internal-color: ${Sr.color};
|
|
602
|
+
${Ce(pr.color,Sr.rippleColor)};
|
|
603
603
|
}
|
|
604
604
|
|
|
605
605
|
.ft-button:focus {
|
|
@@ -612,13 +612,13 @@ class ti extends so{constructor(t){if(super(t),this.et=et,t.type!==no)throw Erro
|
|
|
612
612
|
white-space: nowrap;
|
|
613
613
|
text-overflow: ellipsis;
|
|
614
614
|
display: block;
|
|
615
|
-
margin: 0 ${
|
|
616
|
-
${Ce(
|
|
617
|
-
${Ce(
|
|
615
|
+
margin: 0 ${Or.iconPadding};
|
|
616
|
+
${Ce(Ki.fontSize,"1em")};
|
|
617
|
+
${Ce(Ki.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
618
618
|
}
|
|
619
619
|
|
|
620
620
|
.ft-button--dense .ft-button--label {
|
|
621
|
-
margin: 0 ${
|
|
621
|
+
margin: 0 ${Er};
|
|
622
622
|
}
|
|
623
623
|
|
|
624
624
|
.ft-button--label[hidden] {
|
|
@@ -631,13 +631,13 @@ class ti extends so{constructor(t){if(super(t),this.et=et,t.type!==no)throw Erro
|
|
|
631
631
|
}
|
|
632
632
|
|
|
633
633
|
.ft-button--label[hidden] + ft-icon {
|
|
634
|
-
margin: 0 calc(${
|
|
635
|
-
padding: 0 ${
|
|
634
|
+
margin: 0 calc(${Or.horizontalPadding} * -1);
|
|
635
|
+
padding: 0 ${Or.verticalPadding};
|
|
636
636
|
}
|
|
637
637
|
|
|
638
638
|
.ft-button--dense .ft-button--label[hidden] + ft-icon {
|
|
639
|
-
margin: 0 calc(${$
|
|
640
|
-
padding: 0 ${
|
|
639
|
+
margin: 0 calc(${$r} * -1);
|
|
640
|
+
padding: 0 ${Cr};
|
|
641
641
|
}
|
|
642
642
|
|
|
643
643
|
.ft-button:not(.ft-button--trailing-icon) ft-icon,
|
|
@@ -646,10 +646,10 @@ class ti extends so{constructor(t){if(super(t),this.et=et,t.type!==no)throw Erro
|
|
|
646
646
|
}
|
|
647
647
|
|
|
648
648
|
ft-loader {
|
|
649
|
-
${Ce(
|
|
650
|
-
${Ce(
|
|
649
|
+
${Ce(mr.size,Or.iconSize)};
|
|
650
|
+
${Ce(mr.color,"var(--ft-button-internal-color)")};
|
|
651
651
|
}
|
|
652
|
-
`,De];var
|
|
652
|
+
`,De];var kr=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ir extends Be{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new e(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new e(10),this.moveRipple=t=>{var e,o;let{x:i,y:r}=this.getCoordinates(t),n=null!==(o=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==o?o:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=i?i-n.x:n.width/2),this.originY=Math.round(null!=r?r-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return ne`
|
|
653
653
|
<style>
|
|
654
654
|
.ft-ripple .ft-ripple--effect {
|
|
655
655
|
left: ${this.originX}px;
|
|
@@ -660,7 +660,7 @@ class ti extends so{constructor(t){if(super(t),this.et=et,t.type!==no)throw Erro
|
|
|
660
660
|
<div class="ft-ripple--background"></div>
|
|
661
661
|
<div class="ft-ripple--effect"></div>
|
|
662
662
|
</div>
|
|
663
|
-
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var e,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(o=this.target)||void 0===o||o.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,e;const o=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;o&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:o)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},o=e("mouseup","contextmenu"),
|
|
663
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var e,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(o=this.target)||void 0===o||o.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,e;const o=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;o&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:o)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},o=e("mouseup","contextmenu"),i=e("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",o,n),t.addEventListener("touchstart",i,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",r,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",o,n),t.removeEventListener("touchstart",i,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",r,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,o=t;let i,r;return null!=e.x?({x:i,y:r}=e):null!=o.touches&&(i=o.touches[0].clientX,r=o.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Ir.elementDefinitions={},Ir.styles=br,kr([C({type:Boolean})],Ir.prototype,"primary",void 0),kr([C({type:Boolean})],Ir.prototype,"secondary",void 0),kr([C({type:Boolean})],Ir.prototype,"unbounded",void 0),kr([C({type:Boolean})],Ir.prototype,"activated",void 0),kr([C({type:Boolean})],Ir.prototype,"selected",void 0),kr([C({type:Boolean})],Ir.prototype,"disabled",void 0),kr([$()],Ir.prototype,"hovered",void 0),kr([$()],Ir.prototype,"focused",void 0),kr([$()],Ir.prototype,"pressed",void 0),kr([$()],Ir.prototype,"rippling",void 0),kr([$()],Ir.prototype,"originX",void 0),kr([$()],Ir.prototype,"originY",void 0),kr([k(".ft-ripple")],Ir.prototype,"ripple",void 0),kr([k(".ft-ripple--effect")],Ir.prototype,"rippleEffect",void 0),U("ft-ripple")(Ir);const Ur=we.create("--ft-tooltip-distance","","SIZE","4px"),Lr=we.create("--ft-tooltip-color","","COLOR","#FFFFFF"),Wr=we.create("--ft-tooltip-background-color","","COLOR","#666666"),zr=we.create("--ft-tooltip-z-index","","NUMBER","100"),Kr=we.external(Ie.borderRadiusS,"Design system"),Fr=we.create("--ft-tooltip-max-width","","SIZE","150px"),Ar=St`
|
|
664
664
|
.ft-tooltip--container {
|
|
665
665
|
display: block;
|
|
666
666
|
}
|
|
@@ -675,21 +675,21 @@ class ti extends so{constructor(t){if(super(t),this.et=et,t.type!==no)throw Erro
|
|
|
675
675
|
box-sizing: border-box;
|
|
676
676
|
overflow: hidden;
|
|
677
677
|
width: max-content;
|
|
678
|
-
max-width: ${
|
|
678
|
+
max-width: ${Fr};
|
|
679
679
|
text-align: center;
|
|
680
|
-
padding: ${
|
|
681
|
-
z-index: ${
|
|
680
|
+
padding: ${Ur};
|
|
681
|
+
z-index: ${zr};
|
|
682
682
|
}
|
|
683
683
|
|
|
684
684
|
.ft-tooltip--content {
|
|
685
685
|
padding: 4px 8px;
|
|
686
|
-
border-radius: ${
|
|
687
|
-
background-color: ${
|
|
688
|
-
color: ${
|
|
686
|
+
border-radius: ${Kr};
|
|
687
|
+
background-color: ${Wr};
|
|
688
|
+
color: ${Lr};
|
|
689
689
|
position: relative;
|
|
690
690
|
word-break: break-word;
|
|
691
691
|
}
|
|
692
|
-
`,Zi=["start","end"],Bi=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+Zi[0],e+"-"+Zi[1])),[]),Mi=Math.min,Di=Math.max,Pi=Math.round,Hi=t=>({x:t,y:t}),Ti={left:"right",right:"left",bottom:"top",top:"bottom"},ji={start:"end",end:"start"};function _i(t,e,o){return Di(t,Mi(e,o))}function Gi(t,e){return"function"==typeof t?t(e):t}function Vi(t){return t.split("-")[0]}function Yi(t){return t.split("-")[1]}function Xi(t){return"x"===t?"y":"x"}function Ji(t){return"y"===t?"height":"width"}function qi(t){return["top","bottom"].includes(Vi(t))?"y":"x"}function Qi(t){return Xi(qi(t))}function tn(t){return t.replace(/left|right|bottom|top/g,(t=>Ti[t]))}function en(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function on(t,e,o){let{reference:r,floating:i}=t;const n=qi(e),a=Qi(e),s=Ji(a),l=Vi(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(Yi(e)){case"start":d[a]-=h*(o&&c?-1:1);break;case"end":d[a]+=h*(o&&c?-1:1)}return d}async function rn(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}=Gi(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=en(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=en(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 nn(t,e,o){return(t?[...o.filter((e=>Yi(e)===t)),...o.filter((e=>Yi(e)!==t))]:o.filter((t=>Vi(t)===t))).filter((o=>!t||(Yi(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>ji[t]))}(o)!==o)))}const an=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=Bi,autoAlignment:d=!0,...u}=Gi(t,e),y=void 0!==f||h===Bi?nn(f||null,d,h):h,g=await rn(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=Yi(t),i=Qi(t),n=Ji(i);let a="x"===i?r===(o?"end":"start")?"right":"left":"start"===r?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=tn(a)),[a,tn(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const v=[g[Vi(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=Yi(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,Yi(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 sn(t){return pn(t)?(t.nodeName||"").toLowerCase():"#document"}function ln(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function cn(t){var e;return null==(e=(pn(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function pn(t){return t instanceof Node||t instanceof ln(t).Node}function fn(t){return t instanceof Element||t instanceof ln(t).Element}function hn(t){return t instanceof HTMLElement||t instanceof ln(t).HTMLElement}function dn(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof ln(t).ShadowRoot)}function un(t){const{overflow:e,overflowX:o,overflowY:r,display:i}=xn(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+o)&&!["inline","contents"].includes(i)}function yn(t){return["table","td","th"].includes(sn(t))}function gn(t){const e=bn(),o=xn(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 bn(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function mn(t){return["html","body","#document"].includes(sn(t))}function xn(t){return ln(t).getComputedStyle(t)}function vn(t){return fn(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function On(t){if("html"===sn(t))return t;const e=t.assignedSlot||t.parentNode||dn(t)&&t.host||cn(t);return dn(e)?e.host:e}function Nn(t){const e=On(t);return mn(e)?t.ownerDocument?t.ownerDocument.body:t.body:hn(e)&&un(e)?e:Nn(e)}function Sn(t,e,o){var r;void 0===e&&(e=[]),void 0===o&&(o=!0);const i=Nn(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=ln(i);return n?e.concat(a,a.visualViewport||[],un(i)?i:[],a.frameElement&&o?Sn(a.frameElement):[]):e.concat(i,Sn(i,[],o))}function wn(t){const e=xn(t);let o=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const i=hn(t),n=i?t.offsetWidth:o,a=i?t.offsetHeight:r,s=Pi(o)!==n||Pi(r)!==a;return s&&(o=n,r=a),{width:o,height:r,$:s}}function Cn(t){return fn(t)?t:t.contextElement}function $n(t){const e=Cn(t);if(!hn(e))return Hi(1);const o=e.getBoundingClientRect(),{width:r,height:i,$:n}=wn(e);let a=(n?Pi(o.width):o.width)/r,s=(n?Pi(o.height):o.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const En=Hi(0);function Rn(t){const e=ln(t);return bn()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:En}function kn(t,e,o,r){void 0===e&&(e=!1),void 0===o&&(o=!1);const i=t.getBoundingClientRect(),n=Cn(t);let a=Hi(1);e&&(r?fn(r)&&(a=$n(r)):a=$n(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==ln(t))&&e}(n,o,r)?Rn(n):Hi(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=ln(n),e=r&&fn(r)?ln(r):r;let o=t.frameElement;for(;o&&r&&e!==t;){const t=$n(o),e=o.getBoundingClientRect(),r=xn(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=ln(o).frameElement}}return en({width:p,height:f,x:l,y:c})}function In(t){return kn(cn(t)).left+vn(t).scrollLeft}function Un(t,e,o){let r;if("viewport"===e)r=function(t,e){const o=ln(t),r=cn(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=bn();(!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=cn(t),o=vn(t),r=t.ownerDocument.body,i=Di(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),n=Di(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let a=-o.scrollLeft+In(t);const s=-o.scrollTop;return"rtl"===xn(r).direction&&(a+=Di(e.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:s}}(cn(t));else if(fn(e))r=function(t,e){const o=kn(t,!0,"fixed"===e),r=o.top+t.clientTop,i=o.left+t.clientLeft,n=hn(t)?$n(t):Hi(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=Rn(t);r={...e,x:e.x-o.x,y:e.y-o.y}}return en(r)}function Ln(t,e){const o=On(t);return!(o===e||!fn(o)||mn(o))&&("fixed"===xn(o).position||Ln(o,e))}function Wn(t,e,o){const r=hn(e),i=cn(e),n="fixed"===o,a=kn(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const l=Hi(0);if(r||!r&&!n)if(("body"!==sn(e)||un(i))&&(s=vn(e)),r){const t=kn(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else i&&(l.x=In(i));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function zn(t,e){return hn(t)&&"fixed"!==xn(t).position?e?e(t):t.offsetParent:null}function Kn(t,e){const o=ln(t);if(!hn(t))return o;let r=zn(t,e);for(;r&&yn(r)&&"static"===xn(r).position;)r=zn(r,e);return r&&("html"===sn(r)||"body"===sn(r)&&"static"===xn(r).position&&!gn(r))?o:r||function(t){let e=On(t);for(;hn(e)&&!mn(e);){if(gn(e))return e;e=On(e)}return null}(t)||o}const Fn={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:r}=t;const i=hn(o),n=cn(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=Hi(1);const l=Hi(0);if((i||!i&&"fixed"!==r)&&(("body"!==sn(o)||un(n))&&(a=vn(o)),hn(o))){const t=kn(o);s=$n(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:cn,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=Sn(t,[],!1).filter((t=>fn(t)&&"body"!==sn(t))),i=null;const n="fixed"===xn(t).position;let a=n?On(t):t;for(;fn(a)&&!mn(a);){const e=xn(a),o=gn(a);o||"fixed"!==e.position||(i=null),(n?!o&&!i:!o&&"static"===e.position&&i&&["absolute","fixed"].includes(i.position)||un(a)&&!o&&Ln(t,a))?r=r.filter((t=>t!==a)):i=e,a=On(a)}return e.set(t,r),r}(e,this._c):[].concat(o),r],a=n[0],s=n.reduce(((t,o)=>{const r=Un(e,o,i);return t.top=Di(r.top,t.top),t.right=Mi(r.right,t.right),t.bottom=Mi(r.bottom,t.bottom),t.left=Di(r.left,t.left),t}),Un(e,a,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:Kn,getElementRects:async function(t){let{reference:e,floating:o,strategy:r}=t;const i=this.getOffsetParent||Kn,n=this.getDimensions;return{reference:Wn(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 wn(t)},getScale:$n,isElement:fn,isRTL:function(t){return"rtl"===xn(t).direction}},An=(t,e,o)=>{const r=new Map,i={platform:Fn,...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}=on(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}=on(c,h,l))),o=-1)}return{x:p,y:f,placement:h,strategy:i,middlewareData:d}})(t,e,{...i,platform:n})};function Zn(t){return function(t){for(let e=t;e;e=Bn(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=Bn(t);e;e=Bn(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 Bn(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var Mn=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Dn extends Be{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new e,this.revealDebouncer=new e}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return ne`
|
|
692
|
+
`,Zr=["start","end"],Br=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+Zr[0],e+"-"+Zr[1])),[]),Mr=Math.min,Dr=Math.max,Pr=Math.round,Hr=t=>({x:t,y:t}),Tr={left:"right",right:"left",bottom:"top",top:"bottom"},jr={start:"end",end:"start"};function _r(t,e,o){return Dr(t,Mr(e,o))}function Gr(t,e){return"function"==typeof t?t(e):t}function Vr(t){return t.split("-")[0]}function Yr(t){return t.split("-")[1]}function Xr(t){return"x"===t?"y":"x"}function Jr(t){return"y"===t?"height":"width"}function qr(t){return["top","bottom"].includes(Vr(t))?"y":"x"}function Qr(t){return Xr(qr(t))}function tn(t){return t.replace(/left|right|bottom|top/g,(t=>Tr[t]))}function en(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function on(t,e,o){let{reference:i,floating:r}=t;const n=qr(e),a=Qr(e),s=Jr(a),l=Vr(e),c="y"===n,p=i.x+i.width/2-r.width/2,f=i.y+i.height/2-r.height/2,h=i[s]/2-r[s]/2;let d;switch(l){case"top":d={x:p,y:i.y-r.height};break;case"bottom":d={x:p,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:f};break;case"left":d={x:i.x-r.width,y:f};break;default:d={x:i.x,y:i.y}}switch(Yr(e)){case"start":d[a]-=h*(o&&c?-1:1);break;case"end":d[a]+=h*(o&&c?-1:1)}return d}async function rn(t,e){var o;void 0===e&&(e={});const{x:i,y:r,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=Gr(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=en(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(y)))||o?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:p,strategy:l})),b="floating"===f?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},v=en(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 nn(t,e,o){return(t?[...o.filter((e=>Yr(e)===t)),...o.filter((e=>Yr(e)!==t))]:o.filter((t=>Vr(t)===t))).filter((o=>!t||(Yr(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>jr[t]))}(o)!==o)))}const an=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,i,r;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=e,{crossAxis:p=!1,alignment:f,allowedPlacements:h=Br,autoAlignment:d=!0,...u}=Gr(t,e),y=void 0!==f||h===Br?nn(f||null,d,h):h,g=await rn(e,u),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=y[b];if(null==m)return{};const x=function(t,e,o){void 0===o&&(o=!1);const i=Yr(t),r=Qr(t),n=Jr(r);let a="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=tn(a)),[a,tn(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const v=[g[Vr(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 e=Yr(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,Yr(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 sn(t){return pn(t)?(t.nodeName||"").toLowerCase():"#document"}function ln(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function cn(t){var e;return null==(e=(pn(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function pn(t){return t instanceof Node||t instanceof ln(t).Node}function fn(t){return t instanceof Element||t instanceof ln(t).Element}function hn(t){return t instanceof HTMLElement||t instanceof ln(t).HTMLElement}function dn(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof ln(t).ShadowRoot)}function un(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=xn(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function yn(t){return["table","td","th"].includes(sn(t))}function gn(t){const e=bn(),o=xn(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 bn(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function mn(t){return["html","body","#document"].includes(sn(t))}function xn(t){return ln(t).getComputedStyle(t)}function vn(t){return fn(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function On(t){if("html"===sn(t))return t;const e=t.assignedSlot||t.parentNode||dn(t)&&t.host||cn(t);return dn(e)?e.host:e}function Nn(t){const e=On(t);return mn(e)?t.ownerDocument?t.ownerDocument.body:t.body:hn(e)&&un(e)?e:Nn(e)}function Sn(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=Nn(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=ln(r);return n?e.concat(a,a.visualViewport||[],un(r)?r:[],a.frameElement&&o?Sn(a.frameElement):[]):e.concat(r,Sn(r,[],o))}function wn(t){const e=xn(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=hn(t),n=r?t.offsetWidth:o,a=r?t.offsetHeight:i,s=Pr(o)!==n||Pr(i)!==a;return s&&(o=n,i=a),{width:o,height:i,$:s}}function Cn(t){return fn(t)?t:t.contextElement}function $n(t){const e=Cn(t);if(!hn(e))return Hr(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=wn(e);let a=(n?Pr(o.width):o.width)/i,s=(n?Pr(o.height):o.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const En=Hr(0);function Rn(t){const e=ln(t);return bn()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:En}function kn(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=Cn(t);let a=Hr(1);e&&(i?fn(i)&&(a=$n(i)):a=$n(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==ln(t))&&e}(n,o,i)?Rn(n):Hr(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=ln(n),e=i&&fn(i)?ln(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=$n(o),e=o.getBoundingClientRect(),i=xn(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,p*=t.x,f*=t.y,l+=r,c+=n,o=ln(o).frameElement}}return en({width:p,height:f,x:l,y:c})}function In(t){return kn(cn(t)).left+vn(t).scrollLeft}function Un(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=ln(t),i=cn(t),r=o.visualViewport;let n=i.clientWidth,a=i.clientHeight,s=0,l=0;if(r){n=r.width,a=r.height;const t=bn();(!t||t&&"fixed"===e)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,o);else if("document"===e)i=function(t){const e=cn(t),o=vn(t),i=t.ownerDocument.body,r=Dr(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=Dr(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let a=-o.scrollLeft+In(t);const s=-o.scrollTop;return"rtl"===xn(i).direction&&(a+=Dr(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(cn(t));else if(fn(e))i=function(t,e){const o=kn(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=hn(t)?$n(t):Hr(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(e,o);else{const o=Rn(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return en(i)}function Ln(t,e){const o=On(t);return!(o===e||!fn(o)||mn(o))&&("fixed"===xn(o).position||Ln(o,e))}function Wn(t,e,o){const i=hn(e),r=cn(e),n="fixed"===o,a=kn(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const l=Hr(0);if(i||!i&&!n)if(("body"!==sn(e)||un(r))&&(s=vn(e)),i){const t=kn(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=In(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function zn(t,e){return hn(t)&&"fixed"!==xn(t).position?e?e(t):t.offsetParent:null}function Kn(t,e){const o=ln(t);if(!hn(t))return o;let i=zn(t,e);for(;i&&yn(i)&&"static"===xn(i).position;)i=zn(i,e);return i&&("html"===sn(i)||"body"===sn(i)&&"static"===xn(i).position&&!gn(i))?o:i||function(t){let e=On(t);for(;hn(e)&&!mn(e);){if(gn(e))return e;e=On(e)}return null}(t)||o}const Fn={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=hn(o),n=cn(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=Hr(1);const l=Hr(0);if((r||!r&&"fixed"!==i)&&(("body"!==sn(o)||un(n))&&(a=vn(o)),hn(o))){const t=kn(o);s=$n(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:cn,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let i=Sn(t,[],!1).filter((t=>fn(t)&&"body"!==sn(t))),r=null;const n="fixed"===xn(t).position;let a=n?On(t):t;for(;fn(a)&&!mn(a);){const e=xn(a),o=gn(a);o||"fixed"!==e.position||(r=null),(n?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||un(a)&&!o&&Ln(t,a))?i=i.filter((t=>t!==a)):r=e,a=On(a)}return e.set(t,i),i}(e,this._c):[].concat(o),i],a=n[0],s=n.reduce(((t,o)=>{const i=Un(e,o,r);return t.top=Dr(i.top,t.top),t.right=Mr(i.right,t.right),t.bottom=Mr(i.bottom,t.bottom),t.left=Dr(i.left,t.left),t}),Un(e,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:Kn,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||Kn,n=this.getDimensions;return{reference:Wn(e,await r(o),i),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return wn(t)},getScale:$n,isElement:fn,isRTL:function(t){return"rtl"===xn(t).direction}},An=(t,e,o)=>{const i=new Map,r={platform:Fn,...o},n={...r.platform,_c:i};return(async(t,e,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=o,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(e));let c=await a.getElementRects({reference:t,floating:e,strategy:r}),{x:p,y:f}=on(c,i,l),h=i,d={},u=0;for(let o=0;o<s.length;o++){const{name:n,fn:y}=s[o],{x:g,y:b,data:m,reset:x}=await y({x:p,y:f,initialPlacement:i,placement:h,strategy:r,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:e}});p=null!=g?g:p,f=null!=b?b:f,d={...d,[n]:{...d[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(h=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:e,strategy:r}):x.rects),({x:p,y:f}=on(c,h,l))),o=-1)}return{x:p,y:f,placement:h,strategy:r,middlewareData:d}})(t,e,{...r,platform:n})};function Zn(t){return function(t){for(let e=t;e;e=Bn(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=Bn(t);e;e=Bn(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 Bn(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var Mn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Dn extends Be{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new e,this.revealDebouncer=new e}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return ne`
|
|
693
693
|
<div part="container"
|
|
694
694
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
695
695
|
@mouseenter=${this.onHover}
|
|
@@ -697,7 +697,7 @@ class ti extends so{constructor(t){if(super(t),this.et=et,t.type!==no)throw Erro
|
|
|
697
697
|
@focusin=${this.onHover}
|
|
698
698
|
@focusout=${this.onOut}
|
|
699
699
|
@touchstart=${this.onTouch}>
|
|
700
|
-
<slot part="slot"></slot>
|
|
700
|
+
<slot part="slot" @click=${this.onClick}></slot>
|
|
701
701
|
<div part="tooltip" role="tooltip" inert
|
|
702
702
|
class="ft-tooltip ft-tooltip--${this.validPosition}"
|
|
703
703
|
?hidden=${!this.visible}>
|
|
@@ -707,14 +707,14 @@ class ti extends so{constructor(t){if(super(t),this.et=et,t.type!==no)throw Erro
|
|
|
707
707
|
</div>
|
|
708
708
|
</div>
|
|
709
709
|
</div>
|
|
710
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",An(this.slottedElement,this.tooltip,{platform:{...Fn,getOffsetParent:t=>Fn.getOffsetParent(t,Zn)},middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:
|
|
710
|
+
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",An(this.slottedElement,this.tooltip,{platform:{...Fn,getOffsetParent:t=>Fn.getOffsetParent(t,Zn)},middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:i,placement:r}=e,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...l}=Gr(t,e),c={x:o,y:i},p=await rn(e,l),f=qr(Vr(r)),h=Xr(f);let d=c[h],u=c[f];if(n){const t="y"===h?"bottom":"right";d=_r(d+p["y"===h?"top":"left"],d,d-p[t])}if(a){const t="y"===f?"bottom":"right";u=_r(u+p["y"===f?"top":"left"],u,u-p[t])}const y=s.fn({...e,[h]:d,[f]:u});return{...y,data:{x:y.x-o,y:y.y-i}}}}),an({allowedPlacements:[this.position]})]}).then((({x:t,y:e})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${e}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}Dn.elementDefinitions={"ft-typography":Yi},Dn.styles=Ar,Mn([C()],Dn.prototype,"text",void 0),Mn([C({type:Boolean})],Dn.prototype,"manual",void 0),Mn([C({type:Boolean})],Dn.prototype,"inline",void 0),Mn([C({type:Number})],Dn.prototype,"delay",void 0),Mn([C()],Dn.prototype,"position",void 0),Mn([function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return R(0,0,{get(){const e=this.renderRoot?.querySelector(r);return e?.assignedNodes(t)??[]}})}}()],Dn.prototype,"slotNodes",void 0),Mn([k(".ft-tooltip--container")],Dn.prototype,"container",void 0),Mn([k(".ft-tooltip")],Dn.prototype,"tooltip",void 0),Mn([k(".ft-tooltip--content")],Dn.prototype,"tooltipContent",void 0),Mn([$()],Dn.prototype,"visible",void 0),Mn([E({passive:!0})],Dn.prototype,"onTouch",null),Mn([E({passive:!0})],Dn.prototype,"onHover",null),Mn([E({passive:!0})],Dn.prototype,"onOut",null),Mn([E({passive:!0})],Dn.prototype,"onClick",null),U("ft-tooltip")(Dn);class Pn extends Be{render(){return ne`
|
|
711
711
|
<div class="ft-loader">
|
|
712
712
|
<div></div>
|
|
713
713
|
<div></div>
|
|
714
714
|
<div></div>
|
|
715
715
|
<div></div>
|
|
716
716
|
</div>
|
|
717
|
-
`}}Pn.styles=
|
|
717
|
+
`}}Pn.styles=xr,U("ft-loader")(Pn);var Hn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Tn extends(function(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[Qe].form}constructor(...t){super(t),this[Qe]=this.attachInternals(),this[Qe].role=e}setFormValue(t){this[Qe].setFormValue(t)}}}(Be,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var e;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(e=this.form)||void 0===e||e.requestSubmit())}}render(){return this.addTooltipIfNeeded(ne`
|
|
718
718
|
<button part="button"
|
|
719
719
|
class="${bo(this.buttonClasses)}"
|
|
720
720
|
aria-label="${this.getLabel()}"
|
|
@@ -723,7 +723,7 @@ class ti extends so{constructor(t){if(super(t),this.et=et,t.type!==no)throw Erro
|
|
|
723
723
|
<ft-typography part="label"
|
|
724
724
|
variant=${this.typographyVariant}
|
|
725
725
|
element="span"
|
|
726
|
-
class="ft-button--label ${
|
|
726
|
+
class="ft-button--label ${io?"ft-safari-ellipsis-fix":""}"
|
|
727
727
|
?hidden=${!this.hasTextContent()}>
|
|
728
728
|
<slot @slotchange=${this.onSlotchange}></slot>
|
|
729
729
|
</ft-typography>
|
|
@@ -737,7 +737,7 @@ class ti extends so{constructor(t){if(super(t),this.et=et,t.type!==no)throw Erro
|
|
|
737
737
|
</ft-tooltip>
|
|
738
738
|
`:t}resolveIcon(){return this.loading?ne`
|
|
739
739
|
<ft-loader part="loader icon"></ft-loader> `:this.icon?ne`
|
|
740
|
-
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:se}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":
|
|
740
|
+
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:se}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":Ir,"ft-tooltip":Dn,"ft-typography":Yi,"ft-icon":lr,"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([k(".ft-button")],Tn.prototype,"button",void 0),Hn([k(".ft-button--label slot")],Tn.prototype,"slottedContent",void 0);var jn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class _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=[Pe,Rr],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`
|
|
741
741
|
:host {
|
|
742
742
|
display: inline-block;
|
|
743
743
|
max-width: 100%;
|
|
@@ -816,13 +816,13 @@ class ti extends so{constructor(t){if(super(t),this.et=et,t.type!==no)throw Erro
|
|
|
816
816
|
/** Primary styles **/
|
|
817
817
|
|
|
818
818
|
.ft-button--primary {
|
|
819
|
-
${Ce(
|
|
819
|
+
${Ce(mr.color,ke.primaryIconColor)};
|
|
820
820
|
|
|
821
|
-
${Ce(
|
|
822
|
-
${Ce(
|
|
823
|
-
${Ce(
|
|
824
|
-
${Ce(
|
|
825
|
-
${Ce(
|
|
821
|
+
${Ce(pr.color,ke.primaryStateLayerColor)};
|
|
822
|
+
${Ce(pr.opacityContentOnSurfaceHover,ke.primaryStateLayerOpacityHover)};
|
|
823
|
+
${Ce(pr.opacityContentOnSurfaceFocused,ke.primaryStateLayerOpacityFocus)};
|
|
824
|
+
${Ce(pr.opacityContentOnSurfaceSelected,ke.primaryStateLayerOpacityActive)};
|
|
825
|
+
${Ce(pr.opacityContentOnSurfacePressed,ke.primaryStateLayerOpacityActive)};
|
|
826
826
|
|
|
827
827
|
background-color: ${ke.primaryBackgroundColor};
|
|
828
828
|
color: ${ke.primaryColor};
|
|
@@ -840,13 +840,13 @@ class ti extends so{constructor(t){if(super(t),this.et=et,t.type!==no)throw Erro
|
|
|
840
840
|
/** Secondary styles **/
|
|
841
841
|
|
|
842
842
|
.ft-button--secondary {
|
|
843
|
-
${Ce(
|
|
843
|
+
${Ce(mr.color,ke.secondaryIconColor)};
|
|
844
844
|
|
|
845
|
-
${Ce(
|
|
846
|
-
${Ce(
|
|
847
|
-
${Ce(
|
|
848
|
-
${Ce(
|
|
849
|
-
${Ce(
|
|
845
|
+
${Ce(pr.color,ke.secondaryStateLayerColor)};
|
|
846
|
+
${Ce(pr.opacityContentOnSurfaceHover,ke.secondaryStateLayerOpacityHover)};
|
|
847
|
+
${Ce(pr.opacityContentOnSurfaceFocused,ke.secondaryStateLayerOpacityFocus)};
|
|
848
|
+
${Ce(pr.opacityContentOnSurfaceSelected,ke.secondaryStateLayerOpacityActive)};
|
|
849
|
+
${Ce(pr.opacityContentOnSurfacePressed,ke.secondaryStateLayerOpacityActive)};
|
|
850
850
|
|
|
851
851
|
background-color: ${ke.secondaryBackgroundColor};
|
|
852
852
|
color: ${ke.secondaryColor};
|
|
@@ -865,13 +865,13 @@ class ti extends so{constructor(t){if(super(t),this.et=et,t.type!==no)throw Erro
|
|
|
865
865
|
/** Tertiary styles **/
|
|
866
866
|
|
|
867
867
|
.ft-button--tertiary {
|
|
868
|
-
${Ce(
|
|
868
|
+
${Ce(mr.color,ke.tertiaryIconColor)};
|
|
869
869
|
|
|
870
|
-
${Ce(
|
|
871
|
-
${Ce(
|
|
872
|
-
${Ce(
|
|
873
|
-
${Ce(
|
|
874
|
-
${Ce(
|
|
870
|
+
${Ce(pr.color,ke.tertiaryStateLayerColor)};
|
|
871
|
+
${Ce(pr.opacityContentOnSurfaceHover,ke.tertiaryStateLayerOpacityHover)};
|
|
872
|
+
${Ce(pr.opacityContentOnSurfaceFocused,ke.tertiaryStateLayerOpacityFocus)};
|
|
873
|
+
${Ce(pr.opacityContentOnSurfaceSelected,ke.tertiaryStateLayerOpacityActive)};
|
|
874
|
+
${Ce(pr.opacityContentOnSurfacePressed,ke.tertiaryStateLayerOpacityActive)};
|
|
875
875
|
|
|
876
876
|
background-color: ${ke.tertiaryBackgroundColor};
|
|
877
877
|
color: ${ke.tertiaryColor};
|
|
@@ -889,13 +889,13 @@ class ti extends so{constructor(t){if(super(t),this.et=et,t.type!==no)throw Erro
|
|
|
889
889
|
/** Neutral styles **/
|
|
890
890
|
|
|
891
891
|
.ft-button--neutral {
|
|
892
|
-
${Ce(
|
|
892
|
+
${Ce(mr.color,ke.neutralIconColor)};
|
|
893
893
|
|
|
894
|
-
${Ce(
|
|
895
|
-
${Ce(
|
|
896
|
-
${Ce(
|
|
897
|
-
${Ce(
|
|
898
|
-
${Ce(
|
|
894
|
+
${Ce(pr.backgroundColor,ke.neutralStateLayerColor)};
|
|
895
|
+
${Ce(pr.opacityContentOnSurfaceHover,ke.neutralStateLayerOpacityHover)};
|
|
896
|
+
${Ce(pr.opacityContentOnSurfaceFocused,ke.neutralStateLayerOpacityFocus)};
|
|
897
|
+
${Ce(pr.opacityContentOnSurfaceSelected,ke.neutralStateLayerOpacityActive)};
|
|
898
|
+
${Ce(pr.opacityContentOnSurfacePressed,ke.neutralStateLayerOpacityActive)};
|
|
899
899
|
|
|
900
900
|
background-color: ${ke.neutralBackgroundColor};
|
|
901
901
|
color: ${ke.neutralColor};
|
|
@@ -913,8 +913,8 @@ class ti extends so{constructor(t){if(super(t),this.et=et,t.type!==no)throw Erro
|
|
|
913
913
|
/** Large styles **/
|
|
914
914
|
|
|
915
915
|
.ft-button--large {
|
|
916
|
-
${Ce(
|
|
917
|
-
${Ce(
|
|
916
|
+
${Ce(rr.size,ke.largeIconSize)};
|
|
917
|
+
${Ce(mr.size,ke.largeIconSize)};
|
|
918
918
|
|
|
919
919
|
height: ${ke.largeHeight};
|
|
920
920
|
padding: 0 ${ke.largeHorizontalPadding};
|
|
@@ -936,8 +936,8 @@ class ti extends so{constructor(t){if(super(t),this.et=et,t.type!==no)throw Erro
|
|
|
936
936
|
/** Small styles **/
|
|
937
937
|
|
|
938
938
|
.ft-button--small {
|
|
939
|
-
${Ce(
|
|
940
|
-
${Ce(
|
|
939
|
+
${Ce(rr.size,ke.smallIconSize)};
|
|
940
|
+
${Ce(mr.size,ke.smallIconSize)};
|
|
941
941
|
|
|
942
942
|
height: ${ke.smallHeight};
|
|
943
943
|
padding: 0 ${ke.smallHorizontalPadding};
|
|
@@ -955,7 +955,7 @@ class ti extends so{constructor(t){if(super(t),this.et=et,t.type!==no)throw Erro
|
|
|
955
955
|
width: ${ke.smallIconOnlyWidth};
|
|
956
956
|
padding: unset;
|
|
957
957
|
}
|
|
958
|
-
`,De];var Vn,Yn=function(t,e,o,
|
|
958
|
+
`,De];var Vn,Yn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Xn extends 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?Uo.caption1medium:Uo.body2medium}}Xn.styles=[Pe,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),U("ft-button")(_n),U("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`
|
|
959
959
|
.ft-size-watcher--pixel {
|
|
960
960
|
width: 0;
|
|
961
961
|
height: 0;
|
|
@@ -974,11 +974,11 @@ class ti extends so{constructor(t){if(super(t),this.et=et,t.type!==no)throw Erro
|
|
|
974
974
|
.ft-size-watcher--local .ft-size-watcher--watcher {
|
|
975
975
|
width: 100%;
|
|
976
976
|
}
|
|
977
|
-
`;var qn=function(t,e,o,
|
|
977
|
+
`;var qn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Qn extends CustomEvent{constructor(t,e){super("change",{detail:{size:t,category:e}})}}class ta extends Be{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 e}render(){return ne`
|
|
978
978
|
<div class="ft-size-watcher--pixel ${this.local?"ft-size-watcher--local":""}">
|
|
979
979
|
<div class="ft-size-watcher--watcher"></div>
|
|
980
980
|
</div>
|
|
981
|
-
`}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([k(".ft-size-watcher--watcher")],ta.prototype,"watcher",void 0),U("ft-size-watcher")(ta);const ea={expand:"Expand {0}",collapse:"Collapse {0}",expandAll:"Expand all",expandAllLong:"Expand all table of contents",collapseAll:"Collapse all",collapseAllLong:"Collapse all table of contents"},oa={tabulationSize:we.create("--ft-reader-toc-tabulation-size","","SIZE","16px"),verticalSpacing:we.create("--ft-reader-toc-vertical-spacing","","SIZE","4px"),textColor:we.extend("--ft-reader-toc-text-color","",Ie.colorOnSurface),hoverColor:we.extend("--ft-reader-toc-hover-color","",Ie.colorPrimary),highlightedTextColor:we.extend("--ft-reader-toc-highlighted-text-color","",Ie.colorPrimary),highlightedFontWeight:we.create("--ft-reader-toc-highlighted-font-weight","","UNKNOWN","bold"),highlightedBackgroundColor:we.create("--ft-reader-toc-highlighted-background-color","","COLOR","transparent"),iconFontSize:we.create("--ft-reader-toc-icon-font-size","","SIZE","16px"),treeNodeIconColor:we.create("--ft-reader-toc-tree-node-icon-color","","COLOR",Ie.colorPrimary),leafNodeIconColor:we.create("--ft-reader-toc-leaf-node-icon-color","","COLOR",Ie.colorPrimary),expandCollapseAllButtonColor:we.create("--ft-reader-toc-expand-collapse-all-button-color","","COLOR",Ie.colorPrimary)},
|
|
981
|
+
`}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([k(".ft-size-watcher--watcher")],ta.prototype,"watcher",void 0),U("ft-size-watcher")(ta);const ea={expand:"Expand {0}",collapse:"Collapse {0}",expandAll:"Expand all",expandAllLong:"Expand all table of contents",collapseAll:"Collapse all",collapseAllLong:"Collapse all table of contents"},oa={tabulationSize:we.create("--ft-reader-toc-tabulation-size","","SIZE","16px"),verticalSpacing:we.create("--ft-reader-toc-vertical-spacing","","SIZE","4px"),textColor:we.extend("--ft-reader-toc-text-color","",Ie.colorOnSurface),hoverColor:we.extend("--ft-reader-toc-hover-color","",Ie.colorPrimary),highlightedTextColor:we.extend("--ft-reader-toc-highlighted-text-color","",Ie.colorPrimary),highlightedFontWeight:we.create("--ft-reader-toc-highlighted-font-weight","","UNKNOWN","bold"),highlightedBackgroundColor:we.create("--ft-reader-toc-highlighted-background-color","","COLOR","transparent"),iconFontSize:we.create("--ft-reader-toc-icon-font-size","","SIZE","16px"),treeNodeIconColor:we.create("--ft-reader-toc-tree-node-icon-color","","COLOR",Ie.colorPrimary),leafNodeIconColor:we.create("--ft-reader-toc-leaf-node-icon-color","","COLOR",Ie.colorPrimary),expandCollapseAllButtonColor:we.create("--ft-reader-toc-expand-collapse-all-button-color","","COLOR",Ie.colorPrimary)},ia=St`
|
|
982
982
|
.ft-reader-toc {
|
|
983
983
|
color: ${oa.textColor};
|
|
984
984
|
}
|
|
@@ -1001,7 +1001,7 @@ class ti extends so{constructor(t){if(super(t),this.et=et,t.type!==no)throw Erro
|
|
|
1001
1001
|
}
|
|
1002
1002
|
|
|
1003
1003
|
ft-button {
|
|
1004
|
-
${Ce(
|
|
1004
|
+
${Ce(Or.iconSize,oa.iconFontSize)};
|
|
1005
1005
|
}
|
|
1006
1006
|
|
|
1007
1007
|
.ft-reader-toc--leaf-node-icon {
|
|
@@ -1009,11 +1009,11 @@ class ti extends so{constructor(t){if(super(t),this.et=et,t.type!==no)throw Erro
|
|
|
1009
1009
|
}
|
|
1010
1010
|
|
|
1011
1011
|
.ft-reader-toc--tree-node-button {
|
|
1012
|
-
${Ce(
|
|
1012
|
+
${Ce(Or.color,oa.treeNodeIconColor)};
|
|
1013
1013
|
}
|
|
1014
1014
|
|
|
1015
1015
|
.ft-reader-toc--expand-collapse-all-button {
|
|
1016
|
-
${Ce(
|
|
1016
|
+
${Ce(Or.color,oa.expandCollapseAllButtonColor)};
|
|
1017
1017
|
}
|
|
1018
1018
|
|
|
1019
1019
|
.ft-reader-toc--toggle-container {
|
|
@@ -1056,7 +1056,7 @@ class ti extends so{constructor(t){if(super(t),this.et=et,t.type!==no)throw Erro
|
|
|
1056
1056
|
.ft-reader-toc-expand-collapse-all-justify ft-button {
|
|
1057
1057
|
flex-grow: 1;
|
|
1058
1058
|
}
|
|
1059
|
-
`;var
|
|
1059
|
+
`;var ra=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class na extends Co{constructor(){super(...arguments),this.expanded=!1,this.iconVariant=ar.fluid_topics,this.collapseIcon="MINUS",this.expandIcon="PLUS",this.leafNodeIconVariant=ar.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 He(ea,{}),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 e,o,i;super.update(t),t.has("toc")&&(this.nodesToExpandExist=(null!==(e=this.toc)&&void 0!==e?e:[]).some((t=>t.children.length>0))),t.has("labels")&&(this.labelResolver=new He(ea,this.labels)),t.has("highlightedTocIds")&&!this.expanded&&(this.automaticallyExpandedNodes=this.buildAutomaticallyExpandedNodes(null!==(o=this.highlightedTocIds)&&void 0!==o?o:[])),this.empty=0===(null!==(i=this.toc)&&void 0!==i?i:[]).length}render(){var t;const e={"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 ne`
|
|
1060
1060
|
<div class=${bo(e)}>
|
|
1061
1061
|
<ft-size-watcher @change=${this.onViewportSizeChange}></ft-size-watcher>
|
|
1062
1062
|
${this.renderExpandCollapseAll()}
|
|
@@ -1078,8 +1078,8 @@ class ti extends so{constructor(t){if(super(t),this.et=et,t.type!==no)throw Erro
|
|
|
1078
1078
|
${this.expandCollapseAllHideLabel?"":this.labelResolver.resolve(this.expandAll?"collapseAll":"expandAll")}
|
|
1079
1079
|
</ft-button>
|
|
1080
1080
|
</div>
|
|
1081
|
-
`:se}renderNode(t){var e,o,
|
|
1082
|
-
<div class="ft-reader-toc--node ${
|
|
1081
|
+
`:se}renderNode(t){var e,o,i;const r=null===(e=this.highlightedTocIds)||void 0===e?void 0:e.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===(o=this.currentPage)||void 0===o?void 0:o.breadcrumb.length)&&void 0!==i?i:0)+1:0,l=t.depth-1-s,c={"padding-left":`calc( ${oa.tabulationSize} * ${l} + 4px)`};return ne`
|
|
1082
|
+
<div class="ft-reader-toc--node ${r?"ft-reader-toc--node-highlighted":""}">
|
|
1083
1083
|
<div class="ft-reader-toc--link-container" data-depth="${t.depth}" style=${vo(c)}>
|
|
1084
1084
|
${this.nodesToExpandExist&&!this.expanded?ne`
|
|
1085
1085
|
<div class="ft-reader-toc--toggle-container">
|
|
@@ -1115,5 +1115,5 @@ class ti extends so{constructor(t){if(super(t),this.et=et,t.type!==no)throw Erro
|
|
|
1115
1115
|
</div>
|
|
1116
1116
|
`:se}
|
|
1117
1117
|
</div>
|
|
1118
|
-
`}buildAutomaticallyExpandedNodes(t){var e,o;let
|
|
1119
|
-
<ft-icon class="ft-reader-toc--leaf-node-icon" .variant="${this.leafNodeIconVariant}" .value="${this.leafNodeIcon}"></ft-icon>`}}na.elementDefinitions={"ft-button":_n,"ft-icon":
|
|
1118
|
+
`}buildAutomaticallyExpandedNodes(t){var e,o;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===(o=null===(e=this.service)||void 0===e?void 0:e.getTocNodeNow(t))||void 0===o?void 0:o.parentTocId}return i}manuallyToggle(t,e){e?(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 ne`
|
|
1119
|
+
<ft-icon class="ft-reader-toc--leaf-node-icon" .variant="${this.leafNodeIconVariant}" .value="${this.leafNodeIcon}"></ft-icon>`}}na.elementDefinitions={"ft-button":_n,"ft-icon":lr,"ft-reader-internal-link":Qi,"ft-size-watcher":ta,"ft-typography":Yi},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([L({})],na.prototype,"labels",void 0),ra([Te({selector:(t,e)=>{var o,i,r;return e.isCurrentPageToc?(null===(o=t.paginationConfiguration)||void 0===o?void 0:o.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([Te()],na.prototype,"currentPage",void 0),ra([Te({selector:(t,e)=>{var o,i;return(null===(o=t.paginationConfiguration)||void 0===o?void 0:o.splitCurrentPageToc)&&!e.isCurrentPageToc?[null===(i=t.currentPage)||void 0===i?void 0:i.rootTocId]:t.visibleTopics}})],na.prototype,"highlightedTocIds",void 0),ra([$({hasChanged:(t,e)=>!I(t,e)})],na.prototype,"automaticallyExpandedNodes",void 0),ra([$({hasChanged:(t,e)=>!I(t,e)})],na.prototype,"manuallyExpandedNodes",void 0),ra([$({hasChanged:(t,e)=>!I(t,e)})],na.prototype,"manuallyCollapsedNodes",void 0),ra([$()],na.prototype,"expandAll",void 0),ra([$()],na.prototype,"viewportSize",void 0),U("ft-reader-toc")(na),t.DEFAULT_LABELS=ea,t.FtReaderToc=na,t.FtReaderTocCssVariables=oa,t.styles=ia}({});
|