@fluid-topics/ft-tabs 1.1.4 → 1.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ft-tabs.light.js +2 -2
- package/build/ft-tabs.min.js +158 -153
- package/package.json +7 -7
package/build/ft-tabs.min.js
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* subject to an additional IP rights grant found at
|
|
13
13
|
* http://polymer.github.io/PATENTS.txt
|
|
14
14
|
*/
|
|
15
|
-
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.customElements.define,e=window.customElements.get,r=window.customElements,i=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,i){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(i))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=i.prototype.attributeChangedCallback,l=new Set(i.observedAttributes||[]);h(i,l,s);const c={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(i,c);let p=e.call(r,t);p||(p=f(t),o.call(r,t,p)),this===window.customElements&&(a.set(i,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(i),this._whenDefinedPromises.delete(t)),i}upgrade(){g.push(this),r.upgrade.apply(r,arguments),g.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,o,e){let r=this._awaitingUpgrade.get(o);r||this._awaitingUpgrade.set(o,r=new Set),e?r.add(t):r.delete(t)}},window.HTMLElement=function(){let o=l;if(o)return l=void 0,o;const e=a.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),i.set(o,e),o},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,p=t=>{let o=t.getRootNode();if(!c(o)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),c(o)||(o=s.get(o)?.getRootNode()||document)}return o.customElements},f=o=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const r=p(e)||window.customElements,i=r._getDefinition(o);return i?u(e,i):n.set(e,r),e}connectedCallback(){const t=i.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=i.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=i.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=i.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=i.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=i.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=i.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},h=(t,o,e)=>{if(0===o.size||void 0===e)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,i){const n=t.toLowerCase();if(o.has(n)){const t=this.getAttribute(n);r.call(this,n,i),e.call(this,n,t,i)}else r.call(this,n,i)});const i=t.prototype.removeAttribute;i&&(t.prototype.removeAttribute=function(t){const r=t.toLowerCase();if(o.has(r)){const t=this.getAttribute(r);i.call(this,r),e.call(this,r,t,null)}else i.call(this,r)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,r){const i=t.toLowerCase();if(o.has(i)){const t=this.getAttribute(i);n.call(this,i,r);const o=this.getAttribute(i);e.call(this,i,t,o)}else n.call(this,i,r)})},d=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t?Object.setPrototypeOf(o,window.HTMLElement):d(e)},u=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),i.set(t,o),l=t;try{new o.elementClass}catch(t){d(o.elementClass),new o.elementClass}o.attributeChangedCallback&&o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=y.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let g=[document];const b=(t,o,e=void 0)=>{const r=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){g.push(this);const t=r.apply(e||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,o)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...e,set(t){g.push(this),e.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,o=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const r=o.call(this,...e);return t.set(r,this),r},e.forEach((o=>{const e=window.ElementInternals.prototype,r=e[o];e[o]=function(...o){const e=t.get(this);if(!0===i.get(e).formAssociated)return r?.call(this,...o);throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class r extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const o=new Map;t.forEach(((t,e)=>{const r=t.getAttribute("name"),i=o.get(r)||[];this[+e]=t,i.push(t),o.set(r,i)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new r(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),o=[];for(const e of t){const t=i.get(e);t&&!0!==t.formAssociated||o.push(e)}return new n(o)}})}}try{window.customElements.define("custom-element",null)}catch(
|
|
15
|
+
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.customElements.define,e=window.customElements.get,r=window.customElements,i=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,i){if(t=t.toLowerCase(),void 0!==this._getDefinition(t))throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${t}" has already been used with this registry`);if(void 0!==this._definitionsByClass.get(i))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=i.prototype.attributeChangedCallback,l=new Set(i.observedAttributes||[]);h(i,l,s);const c={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(i,c);let p=e.call(r,t);p||(p=f(t),o.call(r,t,p)),this===window.customElements&&(a.set(i,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(i),this._whenDefinedPromises.delete(t)),i}upgrade(){g.push(this),r.upgrade.apply(r,arguments),g.pop()}get(t){const o=this._definitionsByTag.get(t);return o?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const o=this._getDefinition(t);if(void 0!==o)return Promise.resolve(o.elementClass);let e=this._whenDefinedPromises.get(t);return void 0===e&&(e={},e.promise=new Promise((t=>e.resolve=t)),this._whenDefinedPromises.set(t,e)),e.promise}_upgradeWhenDefined(t,o,e){let r=this._awaitingUpgrade.get(o);r||this._awaitingUpgrade.set(o,r=new Set),e?r.add(t):r.delete(t)}},window.HTMLElement=function(){let o=l;if(o)return l=void 0,o;const e=a.get(this.constructor);if(!e)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return o=Reflect.construct(t,[],e.standInClass),Object.setPrototypeOf(o,this.constructor.prototype),i.set(o,e),o},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,p=t=>{let o=t.getRootNode();if(!c(o)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;o=t.getRootNode(),c(o)||(o=s.get(o)?.getRootNode()||document)}return o.customElements},f=o=>class{static get formAssociated(){return!0}constructor(){const e=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(e,HTMLElement.prototype);const r=p(e)||window.customElements,i=r._getDefinition(o);return i?u(e,i):n.set(e,r),e}connectedCallback(){const t=i.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!0)}disconnectedCallback(){const t=i.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,o,!1)}adoptedCallback(){const t=i.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=i.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=i.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=i.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=i.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},h=(t,o,e)=>{if(0===o.size||void 0===e)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,i){const n=t.toLowerCase();if(o.has(n)){const t=this.getAttribute(n);r.call(this,n,i),e.call(this,n,t,i)}else r.call(this,n,i)});const i=t.prototype.removeAttribute;i&&(t.prototype.removeAttribute=function(t){const r=t.toLowerCase();if(o.has(r)){const t=this.getAttribute(r);i.call(this,r),e.call(this,r,t,null)}else i.call(this,r)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,r){const i=t.toLowerCase();if(o.has(i)){const t=this.getAttribute(i);n.call(this,i,r);const o=this.getAttribute(i);e.call(this,i,t,o)}else n.call(this,i,r)})},d=o=>{const e=Object.getPrototypeOf(o);if(e!==window.HTMLElement)return e===t?Object.setPrototypeOf(o,window.HTMLElement):d(e)},u=(t,o,e=!1)=>{Object.setPrototypeOf(t,o.elementClass.prototype),i.set(t,o),l=t;try{new o.elementClass}catch(t){d(o.elementClass),new o.elementClass}o.attributeChangedCallback&&o.observedAttributes.forEach((e=>{t.hasAttribute(e)&&o.attributeChangedCallback.call(t,e,null,t.getAttribute(e))})),e&&o.connectedCallback&&t.isConnected&&o.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const o=y.apply(this,arguments);return t.customElements&&(o.customElements=t.customElements),o};let g=[document];const b=(t,o,e=void 0)=>{const r=(e?Object.getPrototypeOf(e):t.prototype)[o];t.prototype[o]=function(){g.push(this);const t=r.apply(e||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,o)=>{const e=Object.getOwnPropertyDescriptor(t.prototype,o);Object.defineProperty(t.prototype,o,{...e,set(t){g.push(this),e.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,o=HTMLElement.prototype.attachInternals,e=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...e){const r=o.call(this,...e);return t.set(r,this),r},e.forEach((o=>{const e=window.ElementInternals.prototype,r=e[o];e[o]=function(...o){const e=t.get(this);if(!0===i.get(e).formAssociated)return r?.call(this,...o);throw new DOMException(`Failed to execute ${r} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class r extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const o=new Map;t.forEach(((t,e)=>{const r=t.getAttribute("name"),i=o.get(r)||[];this[+e]=t,i.push(t),o.set(r,i)})),this.length=t.length,o.forEach(((t,o)=>{t&&(1===t.length?this[o]=t[0]:this[o]=new r(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),o=[];for(const e of t){const t=i.get(e);t&&!0!==t.formAssociated||o.push(e)}return new n(o)}})}}try{window.customElements.define("custom-element",null)}catch(Jr){const t=window.customElements.define;window.customElements.define=(o,e,r)=>{if(null!==e)try{t.bind(window.customElements)(o,e,r)}catch(t){console.info(o,e,r,t)}}}
|
|
16
16
|
/**
|
|
17
17
|
* @license
|
|
18
18
|
* Copyright 2019 Google LLC
|
|
@@ -38,55 +38,60 @@ const N={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:x},w=(t=N,o,
|
|
|
38
38
|
* @license
|
|
39
39
|
* Copyright 2017 Google LLC
|
|
40
40
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
41
|
-
*/
|
|
41
|
+
*/function R(t){return(o,e)=>{const r="function"==typeof o?o:o[e];Object.assign(r,t)}}
|
|
42
42
|
/**
|
|
43
43
|
* @license
|
|
44
44
|
* Copyright 2017 Google LLC
|
|
45
45
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
46
|
-
|
|
46
|
+
*/const E=(t,o,e)=>(e.configurable=!0,e.enumerable=!0,e)
|
|
47
47
|
/**
|
|
48
48
|
* @license
|
|
49
49
|
* Copyright 2017 Google LLC
|
|
50
50
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
51
|
-
|
|
51
|
+
*/;function U(t,o){return(e,r,i)=>{const n=o=>o.renderRoot?.querySelector(t)??null;if(o){const{get:t,set:o}="object"==typeof r?e:i??(()=>{const t=Symbol();return{get(){return this[t]},set(o){this[t]=o}}})();return E(0,0,{get(){let e=t.call(this);return void 0===e&&(e=n(this),(null!==e||this.hasUpdated)&&o.call(this,e)),e}})}return E(0,0,{get(){return n(this)}})}}
|
|
52
|
+
/**
|
|
53
|
+
* @license
|
|
54
|
+
* Copyright 2017 Google LLC
|
|
55
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
56
|
+
*/class ${constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,o)=>{this.resolvePromise=t,this.rejectPromise=o}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,o;const e=[...this.callbacks];this.callbacks=[];const r=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,i=null!==(o=this.resolvePromise)&&void 0!==o?o:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void r(t)}i(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}function I(t,o){try{return function(t,o){if(t===o)return!0;if(t&&o&&"object"==typeof t&&"object"==typeof o){if(t.constructor!==o.constructor)return!1;var e,r,i;if(Array.isArray(t)){if((e=t.length)!=o.length)return!1;for(r=e;0!=r--;)if(!I(t[r],o[r]))return!1;return!0}if(t instanceof Map&&o instanceof Map){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;for(r of t.entries())if(!I(r[1],o.get(r[0])))return!1;return!0}if(t instanceof Set&&o instanceof Set){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&&t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();if((e=(i=Object.keys(t)).length)!==Object.keys(o).length)return!1;for(r=e;0!=r--;)if(!Object.prototype.hasOwnProperty.call(o,i[r]))return!1;for(r=e;0!=r--;){var n=i[r];if(!I(t[n],o[n]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}const k=t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)};
|
|
52
57
|
/**
|
|
53
58
|
* @license
|
|
54
59
|
* Copyright 2017 Google LLC
|
|
55
60
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
56
61
|
*/
|
|
57
|
-
const
|
|
62
|
+
const W=globalThis,L=W.trustedTypes,K=L?L.createPolicy("lit-html",{createHTML:t=>t}):void 0,Z="$lit$",z=`lit$${(Math.random()+"").slice(9)}$`,F="?"+z,M=`<${F}>`,A=document,D=()=>A.createComment(""),B=t=>null===t||"object"!=typeof t&&"function"!=typeof t,P=Array.isArray,j=t=>P(t)||"function"==typeof t?.[Symbol.iterator],H="[ \t\n\f\r]",T=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_=/-->/g,G=/>/g,Y=RegExp(`>|${H}(?:([^\\s"'>=/]+)(${H}*=${H}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),V=/'/g,J=/"/g,q=/^(?:script|style|textarea|title)$/i,X=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),Q=Symbol.for("lit-noChange"),tt=Symbol.for("lit-nothing"),ot=new WeakMap,et=A.createTreeWalker(A,129);function rt(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==K?K.createHTML(o):o}const it=(t,o)=>{const e=t.length-1,r=[];let i,n=2===o?"<svg>":"",a=T;for(let o=0;o<e;o++){const e=t[o];let s,l,c=-1,p=0;for(;p<e.length&&(a.lastIndex=p,l=a.exec(e),null!==l);)p=a.lastIndex,a===T?"!--"===l[1]?a=_:void 0!==l[1]?a=G:void 0!==l[2]?(q.test(l[2])&&(i=RegExp("</"+l[2],"g")),a=Y):void 0!==l[3]&&(a=Y):a===Y?">"===l[0]?(a=i??T,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?Y:'"'===l[3]?J:V):a===J||a===V?a=Y:a===_||a===G?a=T:(a=Y,i=void 0);const f=a===Y&&t[o+1].startsWith("/>")?" ":"";n+=a===T?e+M:c>=0?(r.push(s),e.slice(0,c)+Z+e.slice(c)+z+f):e+z+(-2===c?o:f)}return[rt(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};let nt=class t{constructor({strings:o,_$litType$:e},r){let i;this.parts=[];let n=0,a=0;const s=o.length-1,l=this.parts,[c,p]=it(o,e);if(this.el=t.createElement(c,r),et.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=et.nextNode())&&l.length<s;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(Z)){const o=p[a++],e=i.getAttribute(t).split(z),r=/([.?@])?(.*)/.exec(o);l.push({type:1,index:n,name:r[2],strings:e,ctor:"."===r[1]?pt:"?"===r[1]?ft:"@"===r[1]?ht:ct}),i.removeAttribute(t)}else t.startsWith(z)&&(l.push({type:6,index:n}),i.removeAttribute(t));if(q.test(i.tagName)){const t=i.textContent.split(z),o=t.length-1;if(o>0){i.textContent=L?L.emptyScript:"";for(let e=0;e<o;e++)i.append(t[e],D()),et.nextNode(),l.push({type:2,index:++n});i.append(t[o],D())}}}else if(8===i.nodeType)if(i.data===F)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=i.data.indexOf(z,t+1));)l.push({type:7,index:n}),t+=z.length-1}n++}}static createElement(t,o){const e=A.createElement("template");return e.innerHTML=t,e}};function at(t,o,e=t,r){if(o===Q)return o;let i=void 0!==r?e._$Co?.[r]:e._$Cl;const n=B(o)?void 0:o._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=i:e._$Cl=i),void 0!==i&&(o=at(t,i._$AS(t,o.values),i,r)),o}let st=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??A).importNode(o,!0);et.currentNode=r;let i=et.nextNode(),n=0,a=0,s=e[0];for(;void 0!==s;){if(n===s.index){let o;2===s.type?o=new lt(i,i.nextSibling,this,t):1===s.type?o=new s.ctor(i,s.name,s.strings,this,t):6===s.type&&(o=new dt(i,this,t)),this._$AV.push(o),s=e[++a]}n!==s?.index&&(i=et.nextNode(),n++)}return et.currentNode=A,r}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}},lt=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=tt,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=at(this,t,o),B(t)?t===tt||null==t||""===t?(this._$AH!==tt&&this._$AR(),this._$AH=tt):t!==this._$AH&&t!==Q&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):j(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==tt&&B(this._$AH)?this._$AA.nextSibling.data=t:this.$(A.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=nt.createElement(rt(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new st(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=ot.get(t.strings);return void 0===o&&ot.set(t.strings,o=new nt(t)),o}T(o){P(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,i=0;for(const n of o)i===e.length?e.push(r=new t(this.k(D()),this.k(D()),this,this.options)):r=e[i],r._$AI(n),i++;i<e.length&&(this._$AR(r&&r._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},ct=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,i){this.type=1,this._$AH=tt,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=tt}_$AI(t,o=this,e,r){const i=this.strings;let n=!1;if(void 0===i)t=at(this,t,o,0),n=!B(t)||t!==this._$AH&&t!==Q,n&&(this._$AH=t);else{const r=t;let a,s;for(t=i[0],a=0;a<i.length-1;a++)s=at(this,r[e+a],o,a),s===Q&&(s=this._$AH[a]),n||=!B(s)||s!==this._$AH[a],s===tt?t=tt:t!==tt&&(t+=(s??"")+i[a+1]),this._$AH[a]=s}n&&!r&&this.O(t)}O(t){t===tt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},pt=class extends ct{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===tt?void 0:t}},ft=class extends ct{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==tt)}},ht=class extends ct{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){if((t=at(this,t,o,0)??tt)===Q)return;const e=this._$AH,r=t===tt&&e!==tt||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==tt&&(e===tt||r);r&&this.element.removeEventListener(this.name,this,e),i&&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)}},dt=class{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){at(this,t)}};const ut={j:Z,P:z,A:F,C:1,M:it,L:st,R:j,V:at,D:lt,I:ct,H:ft,N:ht,U:pt,B:dt},yt=W.litHtmlPolyfillSupport;yt?.(nt,lt),(W.litHtmlVersions??=[]).push("3.1.0");
|
|
58
63
|
/**
|
|
59
64
|
* @license
|
|
60
65
|
* Copyright 2019 Google LLC
|
|
61
66
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
62
67
|
*/
|
|
63
|
-
const
|
|
68
|
+
const gt=globalThis,bt=gt.ShadowRoot&&(void 0===gt.ShadyCSS||gt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,mt=Symbol(),xt=new WeakMap;let Ot=class{constructor(t,o,e){if(this._$cssResult$=!0,e!==mt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o;const o=this.t;if(bt&&void 0===t){const e=void 0!==o&&1===o.length;e&&(t=xt.get(o)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&xt.set(o,t))}return t}toString(){return this.cssText}};const vt=t=>new Ot("string"==typeof t?t:t+"",void 0,mt),Nt=(t,...o)=>{const e=1===t.length?t[0]:o.reduce(((o,e,r)=>o+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(e)+t[r+1]),t[0]);return new Ot(e,t,mt)},wt=bt?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let o="";for(const e of t.cssRules)o+=e.cssText;return vt(o)})(t):t
|
|
64
69
|
/**
|
|
65
70
|
* @license
|
|
66
71
|
* Copyright 2017 Google LLC
|
|
67
72
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
68
|
-
*/,{is:
|
|
73
|
+
*/,{is:St,defineProperty:Ct,getOwnPropertyDescriptor:Rt,getOwnPropertyNames:Et,getOwnPropertySymbols:Ut,getPrototypeOf:$t}=Object,It=globalThis,kt=It.trustedTypes,Wt=kt?kt.emptyScript:"",Lt=It.reactiveElementPolyfillSupport,Kt=(t,o)=>t,Zt={toAttribute(t,o){switch(o){case Boolean:t=t?Wt:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},zt=(t,o)=>!St(t,o),Ft={attribute:!0,type:String,converter:Zt,reflect:!1,hasChanged:zt};Symbol.metadata??=Symbol("metadata"),It.litPropertyMetadata??=new WeakMap;class Mt extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=Ft){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){const e=Symbol(),r=this.getPropertyDescriptor(t,e,o);void 0!==r&&Ct(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){const{get:r,set:i}=Rt(this.prototype,t)??{get(){return this[o]},set(t){this[o]=t}};return{get(){return r?.call(this)},set(o){const n=r?.call(this);i.call(this,o),this.requestUpdate(t,n,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Ft}static _$Ei(){if(this.hasOwnProperty(Kt("elementProperties")))return;const t=$t(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Kt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Kt("properties"))){const t=this.properties,o=[...Et(t),...Ut(t)];for(const e of o)this.createProperty(e,t[e])}const t=this[Symbol.metadata];if(null!==t){const o=litPropertyMetadata.get(t);if(void 0!==o)for(const[t,e]of o)this.elementProperties.set(t,e)}this._$Eh=new Map;for(const[t,o]of this.elementProperties){const e=this._$Eu(t,o);void 0!==e&&this._$Eh.set(e,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(wt(t))}else void 0!==t&&o.push(wt(t));return o}static _$Eu(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,o=this.constructor.elementProperties;for(const e of o.keys())this.hasOwnProperty(e)&&(t.set(e,this[e]),delete this[e]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,o)=>{if(bt)t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),r=gt.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o){const e=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,e);if(void 0!==r&&!0===e.reflect){const i=(void 0!==e.converter?.toAttribute?e.converter:Zt).toAttribute(o,e.type);this._$Em=t,null==i?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,o){const e=this.constructor,r=e._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=e.getPropertyOptions(r),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:Zt;this._$Em=r,this[r]=i.fromAttribute(o,t.type),this._$Em=null}}requestUpdate(t,o,e,r=!1,i){if(void 0!==t){if(e??=this.constructor.getPropertyOptions(t),!(e.hasChanged??zt)(r?i:this[t],o))return;this.C(t,o,e)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,o,e){this._$AL.has(t)||this._$AL.set(t,o),!0===e.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,o]of this._$Ep)this[t]=o;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[o,e]of t)!0!==e.wrapped||this._$AL.has(o)||void 0===this[o]||this.C(o,this[o],e)}let t=!1;const o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(o)):this._$ET()}catch(o){throw t=!1,this._$ET(),o}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}}Mt.elementStyles=[],Mt.shadowRootOptions={mode:"open"},Mt[Kt("elementProperties")]=new Map,Mt[Kt("finalized")]=new Map,Lt?.({ReactiveElement:Mt}),(It.reactiveElementVersions??=[]).push("2.0.2");
|
|
69
74
|
/**
|
|
70
75
|
* @license
|
|
71
76
|
* Copyright 2017 Google LLC
|
|
72
77
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
73
78
|
*/
|
|
74
|
-
const
|
|
79
|
+
const At=globalThis,Dt=At.trustedTypes,Bt=Dt?Dt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Pt="$lit$",jt=`lit$${(Math.random()+"").slice(9)}$`,Ht="?"+jt,Tt=`<${Ht}>`,_t=document,Gt=()=>_t.createComment(""),Yt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Vt=Array.isArray,Jt="[ \t\n\f\r]",qt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Xt=/-->/g,Qt=/>/g,to=RegExp(`>|${Jt}(?:([^\\s"'>=/]+)(${Jt}*=${Jt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),oo=/'/g,eo=/"/g,ro=/^(?:script|style|textarea|title)$/i,io=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),no=Symbol.for("lit-noChange"),ao=Symbol.for("lit-nothing"),so=new WeakMap,lo=_t.createTreeWalker(_t,129);function co(t,o){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Bt?Bt.createHTML(o):o}const po=(t,o)=>{const e=t.length-1,r=[];let i,n=2===o?"<svg>":"",a=qt;for(let o=0;o<e;o++){const e=t[o];let s,l,c=-1,p=0;for(;p<e.length&&(a.lastIndex=p,l=a.exec(e),null!==l);)p=a.lastIndex,a===qt?"!--"===l[1]?a=Xt:void 0!==l[1]?a=Qt:void 0!==l[2]?(ro.test(l[2])&&(i=RegExp("</"+l[2],"g")),a=to):void 0!==l[3]&&(a=to):a===to?">"===l[0]?(a=i??qt,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?to:'"'===l[3]?eo:oo):a===eo||a===oo?a=to:a===Xt||a===Qt?a=qt:(a=to,i=void 0);const f=a===to&&t[o+1].startsWith("/>")?" ":"";n+=a===qt?e+Tt:c>=0?(r.push(s),e.slice(0,c)+Pt+e.slice(c)+jt+f):e+jt+(-2===c?o:f)}return[co(t,n+(t[e]||"<?>")+(2===o?"</svg>":"")),r]};class fo{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let i=0,n=0;const a=t.length-1,s=this.parts,[l,c]=po(t,o);if(this.el=fo.createElement(l,e),lo.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=lo.nextNode())&&s.length<a;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(Pt)){const o=c[n++],e=r.getAttribute(t).split(jt),a=/([.?@])?(.*)/.exec(o);s.push({type:1,index:i,name:a[2],strings:e,ctor:"."===a[1]?go:"?"===a[1]?bo:"@"===a[1]?mo:yo}),r.removeAttribute(t)}else t.startsWith(jt)&&(s.push({type:6,index:i}),r.removeAttribute(t));if(ro.test(r.tagName)){const t=r.textContent.split(jt),o=t.length-1;if(o>0){r.textContent=Dt?Dt.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],Gt()),lo.nextNode(),s.push({type:2,index:++i});r.append(t[o],Gt())}}}else if(8===r.nodeType)if(r.data===Ht)s.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(jt,t+1));)s.push({type:7,index:i}),t+=jt.length-1}i++}}static createElement(t,o){const e=_t.createElement("template");return e.innerHTML=t,e}}function ho(t,o,e=t,r){if(o===no)return o;let i=void 0!==r?e._$Co?.[r]:e._$Cl;const n=Yt(o)?void 0:o._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,e,r)),void 0!==r?(e._$Co??=[])[r]=i:e._$Cl=i),void 0!==i&&(o=ho(t,i._$AS(t,o.values),i,r)),o}class uo{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,e,r){this.type=2,this._$AH=ao,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===t?.nodeType&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=ho(this,t,o),Yt(t)?t===ao||null==t||""===t?(this._$AH!==ao&&this._$AR(),this._$AH=ao):t!==this._$AH&&t!==no&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>Vt(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!==ao&&Yt(this._$AH)?this._$AA.nextSibling.data=t:this.$(_t.createTextNode(t)),this._$AH=t}g(t){const{values:o,_$litType$:e}=t,r="number"==typeof e?this._$AC(t):(void 0===e.el&&(e.el=fo.createElement(co(e.h,e.h[0]),this.options)),e);if(this._$AH?._$AD===r)this._$AH.p(o);else{const t=new class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:o},parts:e}=this._$AD,r=(t?.creationScope??_t).importNode(o,!0);lo.currentNode=r;let i=lo.nextNode(),n=0,a=0,s=e[0];for(;void 0!==s;){if(n===s.index){let o;2===s.type?o=new uo(i,i.nextSibling,this,t):1===s.type?o=new s.ctor(i,s.name,s.strings,this,t):6===s.type&&(o=new xo(i,this,t)),this._$AV.push(o),s=e[++a]}n!==s?.index&&(i=lo.nextNode(),n++)}return lo.currentNode=_t,r}p(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}}(r,this),e=t.u(this.options);t.p(o),this.$(e),this._$AH=t}}_$AC(t){let o=so.get(t.strings);return void 0===o&&so.set(t.strings,o=new fo(t)),o}T(t){Vt(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let e,r=0;for(const i of t)r===o.length?o.push(e=new uo(this.k(Gt()),this.k(Gt()),this,this.options)):e=o[r],e._$AI(i),r++;r<o.length&&(this._$AR(e&&e._$AB.nextSibling,r),o.length=r)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class yo{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,e,r,i){this.type=1,this._$AH=ao,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=ao}_$AI(t,o=this,e,r){const i=this.strings;let n=!1;if(void 0===i)t=ho(this,t,o,0),n=!Yt(t)||t!==this._$AH&&t!==no,n&&(this._$AH=t);else{const r=t;let a,s;for(t=i[0],a=0;a<i.length-1;a++)s=ho(this,r[e+a],o,a),s===no&&(s=this._$AH[a]),n||=!Yt(s)||s!==this._$AH[a],s===ao?t=ao:t!==ao&&(t+=(s??"")+i[a+1]),this._$AH[a]=s}n&&!r&&this.O(t)}O(t){t===ao?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class go extends yo{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===ao?void 0:t}}class bo extends yo{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==ao)}}class mo extends yo{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){if((t=ho(this,t,o,0)??ao)===no)return;const e=this._$AH,r=t===ao&&e!==ao||t.capture!==e.capture||t.once!==e.once||t.passive!==e.passive,i=t!==ao&&(e===ao||r);r&&this.element.removeEventListener(this.name,this,e),i&&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 xo{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){ho(this,t)}}const Oo=At.litHtmlPolyfillSupport;Oo?.(fo,uo),(At.litHtmlVersions??=[]).push("3.1.0");
|
|
75
80
|
/**
|
|
76
81
|
* @license
|
|
77
82
|
* Copyright 2017 Google LLC
|
|
78
83
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
79
84
|
*/
|
|
80
|
-
let Oo=class extends Ft{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,o,e)=>{const r=e?.renderBefore??o;let i=r._$litPart$;if(void 0===i){const t=e?.renderBefore??null;r._$litPart$=i=new ho(o.insertBefore(_t(),t),t,void 0,e??{})}return i._$AI(t),i})(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return io}};Oo._$litElement$=!0,Oo.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:Oo});const vo=globalThis.litElementPolyfillSupport;vo?.({LitElement:Oo}),(globalThis.litElementVersions??=[]).push("4.0.2");const No=t=>"string"==typeof t?Ot(t):t;class wo{static create(t,o,e,r){const i=t=>No(null!=t?t:r),n=vt`var(${No(t)}, ${i(r)})`;return n.name=t,n.description=o,n.category=e,n.defaultValue=r,n.defaultCssValue=i,n.get=o=>vt`var(${No(t)}, ${i(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>r,n}static extend(t,o,e,r){const i=t=>e.get(null!=t?t:r),n=vt`var(${No(t)}, ${i(r)})`;return n.name=t,n.description=o,n.category=e.category,n.fallbackVariable=e,n.defaultValue=r,n.defaultCssValue=i,n.get=o=>vt`var(${No(t)}, ${i(o)})`,n.breadcrumb=()=>[e.name,...e.breadcrumb()],n.lastResortDefaultValue=()=>null!=r?r:e.lastResortDefaultValue(),n}static external(t,o){const e=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):No(null!=o?o:t.lastResortDefaultValue()),r=vt`var(${No(t.name)}, ${e(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=o,r.defaultCssValue=e,r.get=o=>vt`var(${No(t.name)}, ${e(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const So={colorWhite:wo.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:wo.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:wo.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:wo.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:wo.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:wo.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:wo.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:wo.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:wo.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:wo.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:wo.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:wo.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:wo.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:wo.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:wo.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:wo.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:wo.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:wo.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:wo.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:wo.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:wo.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:wo.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:wo.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:wo.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:wo.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:wo.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:wo.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:wo.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:wo.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:wo.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:wo.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:wo.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:wo.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:wo.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:wo.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:wo.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:wo.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:wo.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:wo.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:wo.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:wo.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:wo.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:wo.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:wo.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:wo.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:wo.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:wo.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:wo.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:wo.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:wo.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:wo.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:wo.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:wo.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:wo.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:wo.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:wo.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:wo.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:wo.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:wo.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:wo.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:wo.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:wo.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:wo.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:wo.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:wo.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:wo.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:wo.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:wo.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:wo.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:wo.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:wo.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:wo.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:wo.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:wo.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:wo.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:wo.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:wo.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:wo.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:wo.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:wo.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:wo.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:wo.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:wo.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:wo.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:wo.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:wo.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:wo.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:wo.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:wo.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:wo.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:wo.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:wo.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:wo.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:wo.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:wo.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:wo.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:wo.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:wo.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:wo.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:wo.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:wo.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:wo.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:wo.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:wo.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:wo.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:wo.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:wo.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:wo.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:wo.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:wo.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:wo.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:wo.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:wo.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:wo.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:wo.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:wo.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:wo.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:wo.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:wo.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:wo.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:wo.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:wo.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:wo.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:wo.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:wo.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:wo.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:wo.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:wo.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:wo.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:wo.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:wo.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:wo.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:wo.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:wo.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:wo.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:wo.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:wo.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:wo.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:wo.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:wo.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:wo.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:wo.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:wo.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:wo.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:wo.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:wo.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:wo.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:wo.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:wo.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:wo.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:wo.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:wo.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:wo.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:wo.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:wo.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:wo.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:wo.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:wo.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:wo.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:wo.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:wo.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:wo.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:wo.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:wo.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:wo.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:wo.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:wo.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:wo.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:wo.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:wo.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:wo.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:wo.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:wo.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:wo.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:wo.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:wo.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:wo.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:wo.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:wo.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:wo.create("--ft-icon-size-6","","SIZE","48px"),opacity0:wo.create("--ft-opacity-0","","NUMBER","0"),opacity8:wo.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:wo.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:wo.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:wo.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:wo.create("--ft-opacity-80","","NUMBER","0.8")},Co={display:{fontFamily:wo.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:wo.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:wo.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:wo.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:wo.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:wo.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:wo.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:wo.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:wo.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:wo.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:wo.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:wo.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:wo.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:wo.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:wo.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:wo.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:wo.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:wo.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:wo.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:wo.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:wo.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:wo.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:wo.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:wo.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:wo.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:wo.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:wo.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:wo.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:wo.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:wo.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:wo.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:wo.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:wo.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:wo.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:wo.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:wo.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:wo.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:wo.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:wo.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:wo.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:wo.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:wo.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:wo.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:wo.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:wo.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:wo.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:wo.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:wo.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:wo.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:wo.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:wo.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:wo.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:wo.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:wo.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:wo.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:wo.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:wo.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:wo.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:wo.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:wo.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:wo.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:wo.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:wo.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:wo.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:wo.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:wo.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:wo.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:wo.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:wo.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:wo.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:wo.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:wo.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:wo.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:wo.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:wo.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:wo.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:wo.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:wo.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:wo.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:wo.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:wo.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:wo.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:wo.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:wo.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:wo.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:wo.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:wo.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:wo.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:wo.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:wo.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:wo.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:wo.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:wo.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:wo.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:wo.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:wo.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:wo.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:wo.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:wo.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:wo.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:wo.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:wo.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:wo.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:wo.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:wo.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:wo.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:wo.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:wo.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:wo.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:wo.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:wo.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:wo.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:wo.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:wo.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:wo.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:wo.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:wo.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:wo.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:wo.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:wo.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:wo.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:wo.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:wo.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:wo.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:wo.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:wo.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:wo.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:wo.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:wo.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:wo.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:wo.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:wo.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Ro={backgroundActionPrimary:wo.extend("--ft-background-action-primary","Used as backgorund of primary action components.",So.colorBrand0),backgroundErrorPrimary:wo.extend("--ft-background-error-primary","Used as background of error components.",So.colorRed0),backgroundErrorSubtle:wo.extend("--ft-background-error-subtle","Used as background of subtle error components.",So.colorRed10),backgroundInfoPrimary:wo.extend("--ft-background-info-primary","Used as background of information components.",So.colorCyan200),backgroundInfoSubtle:wo.extend("--ft-background-info-subtle","Used as background of subtle information components.",So.colorCyan10),backgroundWarningPrimary:wo.extend("--ft-background-warning-primary","Used as background of warning components.",So.colorOrange300),backgroundWarningSubtle:wo.extend("--ft-background-warning-subtle","Used as background of subtle information components.",So.colorOrange10),backgroundSuccessPrimary:wo.extend("--ft-background-success-primary","Used as background of success components.",So.colorGreen200),backgroundSuccessSubtle:wo.extend("--ft-background-success-subtle","Used as background of subtle success components.",So.colorGreen10),backgroundGlobalSurface:wo.extend("--ft-background-global-surface","Used as app background.",So.colorWhite),backgroundGlobalOnSurface:wo.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",So.colorGray10),backgroundGlobalOnSurfaceDark:wo.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",So.colorGray30),contentActionPrimary:wo.extend("--ft-content-action-primary","Used on label of primary action on light surface.",So.colorBrand0),contentWarningPrimary:wo.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",So.colorOrange300),contentWarningIconOnly:wo.extend("--ft-content-warning-icon-only","Used on warning status icons alone",So.colorOrange0),contentErrorPrimary:wo.extend("--ft-content-error-primary","Used on label of error messages on light surface.",So.colorRed0),contentErrorIconOnly:wo.extend("--ft-content-error-icon-only","Used on error status icons alone",So.colorRed0),contentInfoPrimary:wo.extend("--ft-content-info-primary","Used on label of information messages on light surface.",So.colorCyan200),contentInfoIconOnly:wo.extend("--ft-content-info-icon-only","Used on info status icons alone",So.colorCyan0),contentSuccessIconOnly:wo.extend("--ft-content-success-icon-only","Used on success status icons alone",So.colorGreen0),contentSuccessPrimary:wo.extend("--ft-content-success-primary","Used on label of success messages on light surface.",So.colorGreen200),contentGlobalPrimary:wo.extend("--ft-content-global-primary","Used for main content on the page.",So.colorGray500),contentGlobalSecondary:wo.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",So.colorGray200),contentGlobalSubtle:wo.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",So.colorGray0),contentGlobalOnColor:wo.extend("--ft-content-global-on-color","Used for content on a dominant color.",So.colorWhite),borderActionPrimary:wo.extend("--ft-border-action-primary","Used as border for primary action components.",So.colorBrand0),borderActionFocusRing:wo.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",So.colorCyan0),borderWarningPrimary:wo.extend("--ft-border-warning-primary","Used as border for warning components.",So.colorOrange30),borderSuccessPrimary:wo.extend("--ft-border-success-primary","Used as border for success components.",So.colorGreen30),borderErrorPrimary:wo.extend("--ft-border-error-primary","Used as border for error components.",So.colorRed30),borderInfoPrimary:wo.extend("--ft-border-info-primary","Used as border for information components.",So.colorCyan30),borderGlobalSubtle:wo.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",So.colorGray30),borderGlobalPrimary:wo.extend("--ft-border-global-primary","Used as border for element like input.",So.colorGray50),borderInputPrimary:wo.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",So.colorGray80)};wo.create("--ft-button-large-height","","SIZE","40px"),wo.extend("--ft-button-large-horizontal-padding","",So.spacing4),wo.extend("--ft-button-large-gap","",So.spacing2),wo.extend("--ft-button-large-border-radius","",So.borderRadiusS),wo.extend("--ft-button-large-icon-size","",So.iconSize3),wo.create("--ft-button-large-border-width","","SIZE","1px"),wo.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),wo.create("--ft-button-large-focus-outline-width","","SIZE","2px"),wo.create("--ft-button-large-icon-only-width","","SIZE","40px"),wo.create("--ft-button-small-height","","SIZE","30px"),wo.extend("--ft-button-small-horizontal-padding","",So.spacing3),wo.extend("--ft-button-small-gap","",So.spacing2),wo.extend("--ft-button-small-border-radius","",So.borderRadiusS),wo.extend("--ft-button-small-icon-size","",So.iconSize2),wo.create("--ft-button-small-border-width","","SIZE","1px"),wo.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),wo.create("--ft-button-small-focus-outline-width","","SIZE","2px"),wo.create("--ft-button-small-icon-only-width","","SIZE","30px"),wo.extend("--ft-button-primary-background-color","",Ro.backgroundActionPrimary),wo.extend("--ft-button-primary-color","",Ro.contentGlobalOnColor),wo.extend("--ft-button-primary-icon-color","",Ro.contentGlobalOnColor),wo.extend("--ft-button-primary-state-layer-color","",Ro.contentGlobalOnColor),wo.extend("--ft-button-primary-state-layer-opacity-hover","",So.opacity16),wo.extend("--ft-button-primary-state-layer-opacity-focus","",So.opacity16),wo.extend("--ft-button-primary-state-layer-opacity-active","",So.opacity24),wo.extend("--ft-button-primary-component-opacity-disabled","",So.opacity40),wo.extend("--ft-button-focus-focus-ring-color","",Ro.borderActionFocusRing),wo.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),wo.extend("--ft-button-tertiary-color","",Ro.contentActionPrimary),wo.extend("--ft-button-tertiary-icon-color","",Ro.contentActionPrimary),wo.extend("--ft-button-tertiary-state-layer-color","",Ro.contentActionPrimary),wo.extend("--ft-button-tertiary-state-layer-opacity-hover","",So.opacity8),wo.extend("--ft-button-tertiary-state-layer-opacity-focus","",So.opacity8),wo.extend("--ft-button-tertiary-state-layer-opacity-active","",So.opacity16),wo.extend("--ft-button-tertiary-component-opacity-disabled","",So.opacity40),wo.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),wo.extend("--ft-button-secondary-color","",Ro.contentActionPrimary),wo.extend("--ft-button-secondary-icon-color","",Ro.contentActionPrimary),wo.extend("--ft-button-secondary-state-layer-color","",Ro.contentActionPrimary),wo.extend("--ft-button-secondary-state-layer-opacity-hover","",So.opacity8),wo.extend("--ft-button-secondary-state-layer-opacity-focus","",So.opacity8),wo.extend("--ft-button-secondary-state-layer-opacity-active","",So.opacity16),wo.extend("--ft-button-secondary-component-opacity-disabled","",So.opacity40),wo.extend("--ft-button-secondary-border-color","",Ro.borderActionPrimary),wo.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),wo.extend("--ft-button-neutral-icon-color","",Ro.contentGlobalSecondary),wo.extend("--ft-button-neutral-color","",Ro.contentGlobalSecondary),wo.extend("--ft-button-neutral-state-layer-color","",Ro.contentGlobalSecondary),wo.extend("--ft-button-neutral-state-layer-opacity-hover","",So.opacity8),wo.extend("--ft-button-neutral-state-layer-opacity-focus","",So.opacity8),wo.extend("--ft-button-neutral-state-layer-opacity-active","",So.opacity16),wo.extend("--ft-button-neutral-component-opacity-disabled","",So.opacity40),wo.extend("--ft-tabs-top-left-border-radius","",So.borderRadiusS),wo.extend("--ft-tabs-top-right-border-radius","",So.borderRadiusS),wo.extend("--ft-tabs-label-horizontal-padding","",So.spacing4),wo.extend("--ft-tabs-label-vertical-padding","",So.spacing3),wo.extend("--ft-tabs-label-gap","",So.spacing1),wo.extend("--ft-switch-group-horizontal-padding","",So.spacing1),wo.extend("--ft-switch-group-vertical-padding","",So.spacing1),wo.extend("--ft-switch-group-gap","",So.spacing1),wo.extend("--ft-switch-group-background-color","",Ro.backgroundGlobalSurface),wo.extend("--ft-switch-group-border-color","",Ro.borderGlobalSubtle),wo.create("--ft-switch-group-border-radius","","SIZE","6px"),wo.extend("--ft-switch-label-horizontal-padding","",So.spacing2),wo.extend("--ft-switch-label-vertical-padding","",So.spacing1),wo.extend("--ft-switch-icon-horizontal-padding","",So.spacing1),wo.extend("--ft-switch-icon-vertical-padding","",So.spacing1),wo.create("--ft-switch-focus-outline-width","","SIZE","2px"),wo.extend("--ft-switch-focus-focus-ring-color","",Ro.borderActionFocusRing),wo.extend("--ft-switch-option-border-radius","",So.borderRadiusS),wo.extend("--ft-switch-off-state-layer-opacity-hover","",So.opacity8),wo.extend("--ft-switch-off-state-layer-opacity-focus","",So.opacity8),wo.extend("--ft-switch-off-state-layer-opacity-active","",So.opacity16),wo.extend("--ft-switch-off-component-opacity-disabled","",So.opacity40),wo.extend("--ft-switch-off-color","",Ro.contentGlobalSubtle),wo.extend("--ft-switch-off-state-layer-color","",Ro.contentGlobalSubtle),wo.extend("--ft-chart-1-light","for area color charts",So.colorBrand40),wo.extend("--ft-chart-1-base","for line charts",So.colorBrand0),wo.extend("--ft-chart-2-light","for area color charts",So.colorYellow60),wo.extend("--ft-chart-2-base","for line charts",So.colorYellow100),wo.extend("--ft-chart-3-light","",So.colorUltramarine40),wo.extend("--ft-chart-3-base","",So.colorUltramarine70),wo.extend("--ft-chart-4-light","",So.colorCyan50),wo.extend("--ft-chart-4-base","",So.colorCyan100),wo.extend("--ft-chart-5-light","",So.colorRed40),wo.extend("--ft-chart-5-base","",So.colorRed60),wo.extend("--ft-chart-6-light","",So.colorGreen40),wo.extend("--ft-chart-6-base","",So.colorGreen70),wo.extend("--ft-chart-7-light","",So.colorOrange70),wo.extend("--ft-chart-7-base","",So.colorOrange100),wo.extend("--ft-chart-8-light","",So.colorAvocado70),wo.extend("--ft-chart-8-base","",So.colorAvocado200),wo.extend("--ft-chart-9-light","",So.colorBrown50),wo.extend("--ft-chart-9-base","",So.colorBrown200),wo.extend("--ft-chart-10-light","",So.colorGray50),wo.extend("--ft-chart-10-base","",So.colorGray80),wo.extend("--ft-chart-monochrome-10","",So.colorBrand10),wo.extend("--ft-chart-monochrome-20","",So.colorBrand20),wo.extend("--ft-chart-monochrome-30","",So.colorBrand40),wo.extend("--ft-chart-monochrome-40","",So.colorBrand60),wo.extend("--ft-chart-monochrome-50","",So.colorBrand0),wo.extend("--ft-chart-monochrome-60","",So.colorBrand200),wo.extend("--ft-chip-large-horizontal-padding","",So.spacing4),wo.extend("--ft-chip-large-vertical-padding","",So.spacing2),wo.extend("--ft-chip-large-gap","",So.spacing1),wo.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),wo.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),wo.extend("--ft-chip-large-border-radius","",So.borderRadiusPill),wo.create("--ft-chip-large-border-width","","SIZE","1px"),wo.extend("--ft-chip-large-icon-size","",So.iconSize3),wo.extend("--ft-chip-medium-horizontal-padding","",So.spacing3),wo.extend("--ft-chip-medium-vertical-padding","",So.spacing1),wo.extend("--ft-chip-medium-gap","",So.spacing1),wo.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),wo.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),wo.extend("--ft-chip-medium-border-radius","",So.borderRadiusPill),wo.create("--ft-chip-medium-border-width","","SIZE","1px"),wo.extend("--ft-chip-medium-icon-size","",So.iconSize2),wo.extend("--ft-chip-small-horizontal-padding","",So.spacing2),wo.extend("--ft-chip-small-vertical-padding","",So.spacing05),wo.extend("--ft-chip-small-gap","",So.spacing1),wo.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),wo.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),wo.extend("--ft-chip-small-border-radius","",So.borderRadiusPill),wo.create("--ft-chip-small-border-width","","SIZE","1px"),wo.extend("--ft-chip-small-icon-size","",So.iconSize1),wo.extend("--ft-chip-neutral-background-color","",Ro.backgroundGlobalOnSurface),wo.extend("--ft-chip-neutral-color","",Ro.contentGlobalPrimary),wo.extend("--ft-chip-neutral-border-color","",Ro.borderGlobalSubtle),wo.extend("--ft-chip-info-background-color","",Ro.backgroundInfoSubtle),wo.extend("--ft-chip-info-color","",Ro.contentInfoPrimary),wo.extend("--ft-chip-info-border-color","",Ro.borderInfoPrimary),wo.extend("--ft-chip-success-background-color","",Ro.backgroundSuccessSubtle),wo.extend("--ft-chip-success-color","",Ro.contentSuccessPrimary),wo.extend("--ft-chip-success-border-color","",Ro.borderSuccessPrimary),wo.extend("--ft-chip-warning-background-color","",Ro.backgroundWarningSubtle),wo.extend("--ft-chip-warning-color","",Ro.contentWarningPrimary),wo.extend("--ft-chip-warning-border-color","",Ro.borderWarningPrimary),wo.extend("--ft-chip-error-background-color","",Ro.backgroundErrorSubtle),wo.extend("--ft-chip-error-color","",Ro.contentErrorPrimary),wo.extend("--ft-chip-error-border-color","",Ro.borderErrorPrimary),wo.create("--ft-notice-border-width","","SIZE","1px"),wo.extend("--ft-notice-horizontal-padding","",So.spacing2),wo.extend("--ft-notice-vertical-padding","",So.spacing1),wo.extend("--ft-notice-border-radius","",So.borderRadiusS),wo.extend("--ft-notice-gap","",So.spacing2),wo.extend("--ft-notice-icon-size","",So.iconSize3),wo.extend("--ft-notice-info-background-color","",Ro.backgroundInfoSubtle),wo.extend("--ft-notice-info-border-color","",Ro.borderInfoPrimary),wo.extend("--ft-notice-info-color","",Ro.contentInfoPrimary),wo.extend("--ft-notice-warning-background-color","",Ro.backgroundWarningSubtle),wo.extend("--ft-notice-warning-border-color","",Ro.borderWarningPrimary),wo.extend("--ft-notice-warning-color","",Ro.contentWarningPrimary),wo.extend("--ft-checkbox-label-color","",Ro.contentGlobalPrimary),wo.extend("--ft-checkbox-checked-background-color","",Ro.contentActionPrimary),wo.extend("--ft-checkbox-checked-state-layer-color","",Ro.contentActionPrimary),wo.extend("--ft-checkbox-checked-color","",Ro.contentGlobalOnColor),wo.extend("--ft-checkbox-checked-state-layer-opacity-hover","",So.opacity16),wo.extend("--ft-checkbox-checked-state-layer-opacity-focus","",So.opacity16),wo.extend("--ft-checkbox-checked-state-layer-opacity-active","",So.opacity24),wo.extend("--ft-checkbox-checked-component-opacity-disabled","",So.opacity40),wo.extend("--ft-checkbox-unchecked-border-color","",So.colorGray80),wo.extend("--ft-checkbox-unchecked-state-layer-color","",So.colorGray80),wo.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",So.opacity16),wo.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",So.opacity16),wo.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",So.opacity24),wo.extend("--ft-checkbox-unchecked-component-opacity-disabled","",So.opacity40),wo.extend("--ft-checkbox-focus-focus-ring-color","",Ro.borderActionFocusRing),wo.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),wo.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),wo.extend("--ft-checkbox-gap","",So.spacing3),wo.extend("--ft-toggle-off-state-layer-opacity-hover","",So.opacity16),wo.extend("--ft-toggle-off-state-layer-opacity-focus","",So.opacity16),wo.extend("--ft-toggle-off-state-layer-opacity-active","",So.opacity24),wo.extend("--ft-toggle-off-component-opacity-disabled","",So.opacity40),wo.extend("--ft-toggle-off-background-color","",Ro.contentGlobalSubtle),wo.extend("--ft-toggle-off-icon-color","",Ro.contentGlobalSubtle),wo.extend("--ft-toggle-off-state-layer-color","",Ro.contentGlobalSubtle),wo.extend("--ft-toggle-on-state-layer-opacity-hover","",So.opacity16),wo.extend("--ft-toggle-on-state-layer-opacity-focus","",So.opacity16),wo.extend("--ft-toggle-on-state-layer-opacity-active","",So.opacity24),wo.extend("--ft-toggle-on-component-opacity-disabled","",So.opacity40),wo.extend("--ft-toggle-on-background-color","",Ro.contentActionPrimary),wo.extend("--ft-toggle-on-icon-color","",Ro.contentActionPrimary),wo.extend("--ft-toggle-on-state-layer-color","",Ro.contentActionPrimary),wo.extend("--ft-toggle-label-color","",Ro.contentGlobalPrimary),wo.extend("--ft-toggle-focus-focus-ring-color","",Ro.borderActionFocusRing),wo.extend("--ft-toggle-gap","",So.spacing3),wo.extend("--ft-radio-label-color","",Ro.contentGlobalPrimary),wo.extend("--ft-radio-selected-color","",Ro.contentActionPrimary),wo.extend("--ft-radio-selected-state-layer-color","",Ro.contentActionPrimary),wo.extend("--ft-radio-selected-state-layer-opacity-hover","",So.opacity16),wo.extend("--ft-radio-selected-state-layer-opacity-focus","",So.opacity16),wo.extend("--ft-radio-selected-state-layer-opacity-active","",So.opacity24),wo.extend("--ft-radio-selected-component-opacity-disabled","",So.opacity40),wo.extend("--ft-radio-unselected-state-layer-color","",So.colorGray80),wo.extend("--ft-radio-unselected-state-layer-opacity-hover","",So.opacity16),wo.extend("--ft-radio-unselected-state-layer-opacity-focus","",So.opacity16),wo.extend("--ft-radio-unselected-state-layer-opacity-active","",So.opacity24),wo.extend("--ft-radio-unselected-component-opacity-disabled","",So.opacity40),wo.extend("--ft-radio-focus-focus-ring-color","",Ro.borderActionFocusRing),wo.create("--ft-radio-focus-outline-offset","","SIZE","3px"),wo.create("--ft-radio-focus-outline-width","","SIZE","2px"),wo.extend("--ft-radio-gap","",So.spacing3),wo.extend("--ft-notification-icon-size","",So.iconSize4),wo.extend("--ft-notification-horizontal-padding","",So.spacing4),wo.extend("--ft-notification-vertical-padding","",So.spacing4),wo.extend("--ft-notification-info-background-color","",Ro.backgroundInfoSubtle),wo.extend("--ft-notification-info-color","",Ro.contentInfoPrimary),wo.extend("--ft-notification-info-border-color","",Ro.borderInfoPrimary),wo.extend("--ft-notification-success-background-color","",Ro.backgroundSuccessSubtle),wo.extend("--ft-notification-success-color","",Ro.contentSuccessPrimary),wo.extend("--ft-notification-success-border-color","",Ro.borderSuccessPrimary),wo.extend("--ft-notification-warning-background-color","",Ro.backgroundWarningSubtle),wo.extend("--ft-notification-warning-color","",Ro.contentWarningPrimary),wo.extend("--ft-notification-warning-border-color","",Ro.borderWarningPrimary),wo.extend("--ft-notification-error-background-color","",Ro.backgroundErrorSubtle),wo.extend("--ft-notification-error-color","",Ro.contentErrorPrimary),wo.extend("--ft-notification-error-border-color","",Ro.borderErrorPrimary),wo.extend("--ft-notification-border-radius","",So.borderRadiusPill),wo.create("--ft-notification-border-width","","SIZE","1px"),wo.extend("--ft-notification-gap-leading","",So.spacing2),wo.extend("--ft-notification-gap-trailing","",So.spacing8);const Eo={colorPrimary:wo.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:wo.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:wo.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:wo.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:wo.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:wo.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:wo.create("--ft-color-error","","COLOR","#B00020"),colorOutline:wo.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:wo.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:wo.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:wo.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:wo.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:wo.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:wo.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:wo.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:wo.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:wo.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:wo.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:wo.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:wo.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:wo.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:wo.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:wo.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:wo.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:wo.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:wo.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:wo.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:wo.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:wo.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:wo.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:wo.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:wo.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:wo.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:wo.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:wo.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:wo.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:wo.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:wo.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:wo.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:wo.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:wo.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:wo.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:wo.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:wo.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:wo.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:wo.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:wo.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:wo.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:wo.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:wo.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:wo.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:wo.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:wo.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:wo.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:wo.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:wo.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:wo.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:wo.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:wo.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:wo.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:wo.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:wo.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};class Uo extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}}class $o extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}}
|
|
85
|
+
let vo=class extends Mt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,o,e)=>{const r=e?.renderBefore??o;let i=r._$litPart$;if(void 0===i){const t=e?.renderBefore??null;r._$litPart$=i=new uo(o.insertBefore(Gt(),t),t,void 0,e??{})}return i._$AI(t),i})(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return no}};vo._$litElement$=!0,vo.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:vo});const No=globalThis.litElementPolyfillSupport;No?.({LitElement:vo}),(globalThis.litElementVersions??=[]).push("4.0.2");const wo=t=>"string"==typeof t?vt(t):t;class So{static create(t,o,e,r){const i=t=>wo(null!=t?t:r),n=Nt`var(${wo(t)}, ${i(r)})`;return n.name=t,n.description=o,n.category=e,n.defaultValue=r,n.defaultCssValue=i,n.get=o=>Nt`var(${wo(t)}, ${i(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>r,n}static extend(t,o,e,r){const i=t=>e.get(null!=t?t:r),n=Nt`var(${wo(t)}, ${i(r)})`;return n.name=t,n.description=o,n.category=e.category,n.fallbackVariable=e,n.defaultValue=r,n.defaultCssValue=i,n.get=o=>Nt`var(${wo(t)}, ${i(o)})`,n.breadcrumb=()=>[e.name,...e.breadcrumb()],n.lastResortDefaultValue=()=>null!=r?r:e.lastResortDefaultValue(),n}static external(t,o){const e=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):wo(null!=o?o:t.lastResortDefaultValue()),r=Nt`var(${wo(t.name)}, ${e(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=o,r.defaultCssValue=e,r.get=o=>Nt`var(${wo(t.name)}, ${e(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const Co={colorWhite:So.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:So.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:So.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:So.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:So.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:So.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:So.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:So.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:So.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:So.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:So.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:So.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:So.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:So.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:So.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:So.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:So.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:So.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:So.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:So.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:So.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:So.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:So.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:So.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:So.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:So.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:So.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:So.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:So.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:So.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:So.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:So.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:So.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:So.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:So.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:So.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:So.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:So.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:So.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:So.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:So.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:So.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:So.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:So.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:So.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:So.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:So.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:So.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:So.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:So.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:So.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:So.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:So.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:So.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:So.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:So.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:So.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:So.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:So.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:So.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:So.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:So.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:So.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:So.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:So.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:So.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:So.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:So.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:So.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:So.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:So.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:So.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:So.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:So.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:So.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:So.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:So.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:So.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:So.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:So.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:So.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:So.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:So.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:So.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:So.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:So.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:So.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:So.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:So.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:So.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:So.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:So.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:So.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:So.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:So.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:So.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:So.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:So.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:So.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:So.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:So.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:So.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:So.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:So.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:So.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:So.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:So.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:So.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:So.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:So.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:So.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:So.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:So.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:So.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:So.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:So.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:So.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:So.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:So.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:So.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:So.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:So.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:So.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:So.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:So.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:So.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:So.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:So.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:So.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:So.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:So.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:So.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:So.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:So.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:So.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:So.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:So.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:So.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:So.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:So.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:So.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:So.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:So.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:So.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:So.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:So.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:So.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:So.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:So.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:So.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:So.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:So.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:So.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:So.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:So.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:So.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:So.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:So.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:So.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:So.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:So.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:So.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:So.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:So.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:So.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:So.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:So.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:So.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:So.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:So.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:So.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:So.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:So.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:So.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:So.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:So.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:So.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:So.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:So.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:So.create("--ft-icon-size-6","","SIZE","48px"),opacity0:So.create("--ft-opacity-0","","NUMBER","0"),opacity8:So.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:So.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:So.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:So.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:So.create("--ft-opacity-80","","NUMBER","0.8")},Ro={display:{fontFamily:So.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:So.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:So.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:So.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:So.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:So.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:So.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:So.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:So.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:So.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:So.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:So.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:So.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:So.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:So.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:So.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:So.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:So.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:So.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:So.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:So.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:So.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:So.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:So.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:So.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:So.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:So.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:So.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:So.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:So.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:So.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:So.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:So.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:So.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:So.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:So.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:So.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:So.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:So.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:So.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:So.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:So.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:So.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:So.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:So.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:So.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:So.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:So.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:So.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:So.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:So.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:So.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:So.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:So.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:So.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:So.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:So.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:So.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:So.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:So.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:So.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:So.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:So.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:So.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:So.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:So.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:So.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:So.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:So.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:So.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:So.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:So.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:So.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:So.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:So.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:So.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:So.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:So.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:So.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:So.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:So.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:So.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:So.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:So.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:So.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:So.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:So.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:So.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:So.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:So.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:So.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:So.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:So.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:So.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:So.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:So.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:So.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:So.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:So.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:So.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:So.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:So.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:So.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:So.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:So.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:So.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:So.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:So.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:So.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:So.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:So.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:So.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:So.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:So.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:So.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:So.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:So.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:So.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:So.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:So.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:So.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:So.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:So.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:So.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:So.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:So.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:So.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:So.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:So.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:So.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:So.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:So.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:So.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:So.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:So.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Eo={backgroundActionPrimary:So.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Co.colorBrand0),backgroundErrorPrimary:So.extend("--ft-background-error-primary","Used as background of error components.",Co.colorRed0),backgroundErrorSubtle:So.extend("--ft-background-error-subtle","Used as background of subtle error components.",Co.colorRed10),backgroundInfoPrimary:So.extend("--ft-background-info-primary","Used as background of information components.",Co.colorCyan200),backgroundInfoSubtle:So.extend("--ft-background-info-subtle","Used as background of subtle information components.",Co.colorCyan10),backgroundWarningPrimary:So.extend("--ft-background-warning-primary","Used as background of warning components.",Co.colorOrange300),backgroundWarningSubtle:So.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Co.colorOrange10),backgroundSuccessPrimary:So.extend("--ft-background-success-primary","Used as background of success components.",Co.colorGreen200),backgroundSuccessSubtle:So.extend("--ft-background-success-subtle","Used as background of subtle success components.",Co.colorGreen10),backgroundGlobalSurface:So.extend("--ft-background-global-surface","Used as app background.",Co.colorWhite),backgroundGlobalOnSurface:So.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Co.colorGray10),backgroundGlobalOnSurfaceDark:So.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Co.colorGray30),contentActionPrimary:So.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Co.colorBrand0),contentWarningPrimary:So.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Co.colorOrange300),contentWarningIconOnly:So.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Co.colorOrange0),contentErrorPrimary:So.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Co.colorRed0),contentErrorIconOnly:So.extend("--ft-content-error-icon-only","Used on error status icons alone",Co.colorRed0),contentInfoPrimary:So.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Co.colorCyan200),contentInfoIconOnly:So.extend("--ft-content-info-icon-only","Used on info status icons alone",Co.colorCyan0),contentSuccessIconOnly:So.extend("--ft-content-success-icon-only","Used on success status icons alone",Co.colorGreen0),contentSuccessPrimary:So.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Co.colorGreen200),contentGlobalPrimary:So.extend("--ft-content-global-primary","Used for main content on the page.",Co.colorGray500),contentGlobalSecondary:So.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Co.colorGray200),contentGlobalSubtle:So.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Co.colorGray0),contentGlobalOnColor:So.extend("--ft-content-global-on-color","Used for content on a dominant color.",Co.colorWhite),borderActionPrimary:So.extend("--ft-border-action-primary","Used as border for primary action components.",Co.colorBrand0),borderActionFocusRing:So.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Co.colorCyan0),borderWarningPrimary:So.extend("--ft-border-warning-primary","Used as border for warning components.",Co.colorOrange30),borderSuccessPrimary:So.extend("--ft-border-success-primary","Used as border for success components.",Co.colorGreen30),borderErrorPrimary:So.extend("--ft-border-error-primary","Used as border for error components.",Co.colorRed30),borderInfoPrimary:So.extend("--ft-border-info-primary","Used as border for information components.",Co.colorCyan30),borderGlobalSubtle:So.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Co.colorGray30),borderGlobalPrimary:So.extend("--ft-border-global-primary","Used as border for element like input.",Co.colorGray50),borderInputPrimary:So.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Co.colorGray80)};So.create("--ft-button-large-height","","SIZE","40px"),So.extend("--ft-button-large-horizontal-padding","",Co.spacing4),So.extend("--ft-button-large-gap","",Co.spacing2),So.extend("--ft-button-large-border-radius","",Co.borderRadiusS),So.extend("--ft-button-large-icon-size","",Co.iconSize3),So.create("--ft-button-large-border-width","","SIZE","1px"),So.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),So.create("--ft-button-large-focus-outline-width","","SIZE","2px"),So.create("--ft-button-large-icon-only-width","","SIZE","40px"),So.create("--ft-button-small-height","","SIZE","30px"),So.extend("--ft-button-small-horizontal-padding","",Co.spacing3),So.extend("--ft-button-small-gap","",Co.spacing2),So.extend("--ft-button-small-border-radius","",Co.borderRadiusS),So.extend("--ft-button-small-icon-size","",Co.iconSize2),So.create("--ft-button-small-border-width","","SIZE","1px"),So.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),So.create("--ft-button-small-focus-outline-width","","SIZE","2px"),So.create("--ft-button-small-icon-only-width","","SIZE","30px"),So.extend("--ft-button-primary-background-color","",Eo.backgroundActionPrimary),So.extend("--ft-button-primary-color","",Eo.contentGlobalOnColor),So.extend("--ft-button-primary-icon-color","",Eo.contentGlobalOnColor),So.extend("--ft-button-primary-state-layer-color","",Eo.contentGlobalOnColor),So.extend("--ft-button-primary-state-layer-opacity-hover","",Co.opacity16),So.extend("--ft-button-primary-state-layer-opacity-focus","",Co.opacity16),So.extend("--ft-button-primary-state-layer-opacity-active","",Co.opacity24),So.extend("--ft-button-primary-component-opacity-disabled","",Co.opacity40),So.extend("--ft-button-focus-focus-ring-color","",Eo.borderActionFocusRing),So.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),So.extend("--ft-button-tertiary-color","",Eo.contentActionPrimary),So.extend("--ft-button-tertiary-icon-color","",Eo.contentActionPrimary),So.extend("--ft-button-tertiary-state-layer-color","",Eo.contentActionPrimary),So.extend("--ft-button-tertiary-state-layer-opacity-hover","",Co.opacity8),So.extend("--ft-button-tertiary-state-layer-opacity-focus","",Co.opacity8),So.extend("--ft-button-tertiary-state-layer-opacity-active","",Co.opacity16),So.extend("--ft-button-tertiary-component-opacity-disabled","",Co.opacity40),So.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),So.extend("--ft-button-secondary-color","",Eo.contentActionPrimary),So.extend("--ft-button-secondary-icon-color","",Eo.contentActionPrimary),So.extend("--ft-button-secondary-state-layer-color","",Eo.contentActionPrimary),So.extend("--ft-button-secondary-state-layer-opacity-hover","",Co.opacity8),So.extend("--ft-button-secondary-state-layer-opacity-focus","",Co.opacity8),So.extend("--ft-button-secondary-state-layer-opacity-active","",Co.opacity16),So.extend("--ft-button-secondary-component-opacity-disabled","",Co.opacity40),So.extend("--ft-button-secondary-border-color","",Eo.borderActionPrimary),So.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),So.extend("--ft-button-neutral-icon-color","",Eo.contentGlobalSecondary),So.extend("--ft-button-neutral-color","",Eo.contentGlobalSecondary),So.extend("--ft-button-neutral-state-layer-color","",Eo.contentGlobalSecondary),So.extend("--ft-button-neutral-state-layer-opacity-hover","",Co.opacity8),So.extend("--ft-button-neutral-state-layer-opacity-focus","",Co.opacity8),So.extend("--ft-button-neutral-state-layer-opacity-active","",Co.opacity16),So.extend("--ft-button-neutral-component-opacity-disabled","",Co.opacity40),So.extend("--ft-tabs-top-left-border-radius","",Co.borderRadiusS),So.extend("--ft-tabs-top-right-border-radius","",Co.borderRadiusS),So.extend("--ft-tabs-label-horizontal-padding","",Co.spacing4),So.extend("--ft-tabs-label-vertical-padding","",Co.spacing3),So.extend("--ft-tabs-label-gap","",Co.spacing1),So.extend("--ft-switch-group-horizontal-padding","",Co.spacing1),So.extend("--ft-switch-group-vertical-padding","",Co.spacing1),So.extend("--ft-switch-group-gap","",Co.spacing1),So.extend("--ft-switch-group-background-color","",Eo.backgroundGlobalSurface),So.extend("--ft-switch-group-border-color","",Eo.borderGlobalSubtle),So.create("--ft-switch-group-border-radius","","SIZE","6px"),So.extend("--ft-switch-label-horizontal-padding","",Co.spacing2),So.extend("--ft-switch-label-vertical-padding","",Co.spacing1),So.extend("--ft-switch-icon-horizontal-padding","",Co.spacing1),So.extend("--ft-switch-icon-vertical-padding","",Co.spacing1),So.create("--ft-switch-focus-outline-width","","SIZE","2px"),So.extend("--ft-switch-focus-focus-ring-color","",Eo.borderActionFocusRing),So.extend("--ft-switch-option-border-radius","",Co.borderRadiusS),So.extend("--ft-switch-off-state-layer-opacity-hover","",Co.opacity8),So.extend("--ft-switch-off-state-layer-opacity-focus","",Co.opacity8),So.extend("--ft-switch-off-state-layer-opacity-active","",Co.opacity16),So.extend("--ft-switch-off-component-opacity-disabled","",Co.opacity40),So.extend("--ft-switch-off-color","",Eo.contentGlobalSubtle),So.extend("--ft-switch-off-state-layer-color","",Eo.contentGlobalSubtle),So.extend("--ft-chart-1-light","for area color charts",Co.colorBrand40),So.extend("--ft-chart-1-base","for line charts",Co.colorBrand0),So.extend("--ft-chart-2-light","for area color charts",Co.colorYellow60),So.extend("--ft-chart-2-base","for line charts",Co.colorYellow100),So.extend("--ft-chart-3-light","",Co.colorUltramarine40),So.extend("--ft-chart-3-base","",Co.colorUltramarine70),So.extend("--ft-chart-4-light","",Co.colorCyan50),So.extend("--ft-chart-4-base","",Co.colorCyan100),So.extend("--ft-chart-5-light","",Co.colorRed40),So.extend("--ft-chart-5-base","",Co.colorRed60),So.extend("--ft-chart-6-light","",Co.colorGreen40),So.extend("--ft-chart-6-base","",Co.colorGreen70),So.extend("--ft-chart-7-light","",Co.colorOrange70),So.extend("--ft-chart-7-base","",Co.colorOrange100),So.extend("--ft-chart-8-light","",Co.colorAvocado70),So.extend("--ft-chart-8-base","",Co.colorAvocado200),So.extend("--ft-chart-9-light","",Co.colorBrown50),So.extend("--ft-chart-9-base","",Co.colorBrown200),So.extend("--ft-chart-10-light","",Co.colorGray50),So.extend("--ft-chart-10-base","",Co.colorGray80),So.extend("--ft-chart-monochrome-10","",Co.colorBrand10),So.extend("--ft-chart-monochrome-20","",Co.colorBrand20),So.extend("--ft-chart-monochrome-30","",Co.colorBrand40),So.extend("--ft-chart-monochrome-40","",Co.colorBrand60),So.extend("--ft-chart-monochrome-50","",Co.colorBrand0),So.extend("--ft-chart-monochrome-60","",Co.colorBrand200),So.extend("--ft-chip-large-horizontal-padding","",Co.spacing4),So.extend("--ft-chip-large-vertical-padding","",Co.spacing2),So.extend("--ft-chip-large-gap","",Co.spacing1),So.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),So.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),So.extend("--ft-chip-large-border-radius","",Co.borderRadiusPill),So.create("--ft-chip-large-border-width","","SIZE","1px"),So.extend("--ft-chip-large-icon-size","",Co.iconSize3),So.extend("--ft-chip-medium-horizontal-padding","",Co.spacing3),So.extend("--ft-chip-medium-vertical-padding","",Co.spacing1),So.extend("--ft-chip-medium-gap","",Co.spacing1),So.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),So.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),So.extend("--ft-chip-medium-border-radius","",Co.borderRadiusPill),So.create("--ft-chip-medium-border-width","","SIZE","1px"),So.extend("--ft-chip-medium-icon-size","",Co.iconSize2),So.extend("--ft-chip-small-horizontal-padding","",Co.spacing2),So.extend("--ft-chip-small-vertical-padding","",Co.spacing05),So.extend("--ft-chip-small-gap","",Co.spacing1),So.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),So.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),So.extend("--ft-chip-small-border-radius","",Co.borderRadiusPill),So.create("--ft-chip-small-border-width","","SIZE","1px"),So.extend("--ft-chip-small-icon-size","",Co.iconSize1),So.extend("--ft-chip-neutral-background-color","",Eo.backgroundGlobalOnSurface),So.extend("--ft-chip-neutral-color","",Eo.contentGlobalPrimary),So.extend("--ft-chip-neutral-border-color","",Eo.borderGlobalSubtle),So.extend("--ft-chip-info-background-color","",Eo.backgroundInfoSubtle),So.extend("--ft-chip-info-color","",Eo.contentInfoPrimary),So.extend("--ft-chip-info-border-color","",Eo.borderInfoPrimary),So.extend("--ft-chip-success-background-color","",Eo.backgroundSuccessSubtle),So.extend("--ft-chip-success-color","",Eo.contentSuccessPrimary),So.extend("--ft-chip-success-border-color","",Eo.borderSuccessPrimary),So.extend("--ft-chip-warning-background-color","",Eo.backgroundWarningSubtle),So.extend("--ft-chip-warning-color","",Eo.contentWarningPrimary),So.extend("--ft-chip-warning-border-color","",Eo.borderWarningPrimary),So.extend("--ft-chip-error-background-color","",Eo.backgroundErrorSubtle),So.extend("--ft-chip-error-color","",Eo.contentErrorPrimary),So.extend("--ft-chip-error-border-color","",Eo.borderErrorPrimary),So.create("--ft-notice-border-width","","SIZE","1px"),So.extend("--ft-notice-horizontal-padding","",Co.spacing2),So.extend("--ft-notice-vertical-padding","",Co.spacing1),So.extend("--ft-notice-border-radius","",Co.borderRadiusS),So.extend("--ft-notice-gap","",Co.spacing2),So.extend("--ft-notice-icon-size","",Co.iconSize3),So.extend("--ft-notice-info-background-color","",Eo.backgroundInfoSubtle),So.extend("--ft-notice-info-border-color","",Eo.borderInfoPrimary),So.extend("--ft-notice-info-color","",Eo.contentInfoPrimary),So.extend("--ft-notice-warning-background-color","",Eo.backgroundWarningSubtle),So.extend("--ft-notice-warning-border-color","",Eo.borderWarningPrimary),So.extend("--ft-notice-warning-color","",Eo.contentWarningPrimary),So.extend("--ft-checkbox-label-color","",Eo.contentGlobalPrimary),So.extend("--ft-checkbox-checked-background-color","",Eo.contentActionPrimary),So.extend("--ft-checkbox-checked-state-layer-color","",Eo.contentActionPrimary),So.extend("--ft-checkbox-checked-color","",Eo.contentGlobalOnColor),So.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Co.opacity16),So.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Co.opacity16),So.extend("--ft-checkbox-checked-state-layer-opacity-active","",Co.opacity24),So.extend("--ft-checkbox-checked-component-opacity-disabled","",Co.opacity40),So.extend("--ft-checkbox-unchecked-border-color","",Co.colorGray80),So.extend("--ft-checkbox-unchecked-state-layer-color","",Co.colorGray80),So.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Co.opacity16),So.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Co.opacity16),So.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Co.opacity24),So.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Co.opacity40),So.extend("--ft-checkbox-focus-focus-ring-color","",Eo.borderActionFocusRing),So.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),So.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),So.extend("--ft-checkbox-gap","",Co.spacing3),So.extend("--ft-toggle-off-state-layer-opacity-hover","",Co.opacity16),So.extend("--ft-toggle-off-state-layer-opacity-focus","",Co.opacity16),So.extend("--ft-toggle-off-state-layer-opacity-active","",Co.opacity24),So.extend("--ft-toggle-off-component-opacity-disabled","",Co.opacity40),So.extend("--ft-toggle-off-background-color","",Eo.contentGlobalSubtle),So.extend("--ft-toggle-off-icon-color","",Eo.contentGlobalSubtle),So.extend("--ft-toggle-off-state-layer-color","",Eo.contentGlobalSubtle),So.extend("--ft-toggle-on-state-layer-opacity-hover","",Co.opacity16),So.extend("--ft-toggle-on-state-layer-opacity-focus","",Co.opacity16),So.extend("--ft-toggle-on-state-layer-opacity-active","",Co.opacity24),So.extend("--ft-toggle-on-component-opacity-disabled","",Co.opacity40),So.extend("--ft-toggle-on-background-color","",Eo.contentActionPrimary),So.extend("--ft-toggle-on-icon-color","",Eo.contentActionPrimary),So.extend("--ft-toggle-on-state-layer-color","",Eo.contentActionPrimary),So.extend("--ft-toggle-label-color","",Eo.contentGlobalPrimary),So.extend("--ft-toggle-focus-focus-ring-color","",Eo.borderActionFocusRing),So.extend("--ft-toggle-gap","",Co.spacing3),So.extend("--ft-radio-label-color","",Eo.contentGlobalPrimary),So.extend("--ft-radio-selected-color","",Eo.contentActionPrimary),So.extend("--ft-radio-selected-state-layer-color","",Eo.contentActionPrimary),So.extend("--ft-radio-selected-state-layer-opacity-hover","",Co.opacity16),So.extend("--ft-radio-selected-state-layer-opacity-focus","",Co.opacity16),So.extend("--ft-radio-selected-state-layer-opacity-active","",Co.opacity24),So.extend("--ft-radio-selected-component-opacity-disabled","",Co.opacity40),So.extend("--ft-radio-unselected-state-layer-color","",Co.colorGray80),So.extend("--ft-radio-unselected-state-layer-opacity-hover","",Co.opacity16),So.extend("--ft-radio-unselected-state-layer-opacity-focus","",Co.opacity16),So.extend("--ft-radio-unselected-state-layer-opacity-active","",Co.opacity24),So.extend("--ft-radio-unselected-component-opacity-disabled","",Co.opacity40),So.extend("--ft-radio-focus-focus-ring-color","",Eo.borderActionFocusRing),So.create("--ft-radio-focus-outline-offset","","SIZE","3px"),So.create("--ft-radio-focus-outline-width","","SIZE","2px"),So.extend("--ft-radio-gap","",Co.spacing3),So.extend("--ft-notification-icon-size","",Co.iconSize4),So.extend("--ft-notification-horizontal-padding","",Co.spacing4),So.extend("--ft-notification-vertical-padding","",Co.spacing4),So.extend("--ft-notification-info-background-color","",Eo.backgroundInfoSubtle),So.extend("--ft-notification-info-color","",Eo.contentInfoPrimary),So.extend("--ft-notification-info-border-color","",Eo.borderInfoPrimary),So.extend("--ft-notification-success-background-color","",Eo.backgroundSuccessSubtle),So.extend("--ft-notification-success-color","",Eo.contentSuccessPrimary),So.extend("--ft-notification-success-border-color","",Eo.borderSuccessPrimary),So.extend("--ft-notification-warning-background-color","",Eo.backgroundWarningSubtle),So.extend("--ft-notification-warning-color","",Eo.contentWarningPrimary),So.extend("--ft-notification-warning-border-color","",Eo.borderWarningPrimary),So.extend("--ft-notification-error-background-color","",Eo.backgroundErrorSubtle),So.extend("--ft-notification-error-color","",Eo.contentErrorPrimary),So.extend("--ft-notification-error-border-color","",Eo.borderErrorPrimary),So.extend("--ft-notification-border-radius","",Co.borderRadiusPill),So.create("--ft-notification-border-width","","SIZE","1px"),So.extend("--ft-notification-gap-leading","",Co.spacing2),So.extend("--ft-notification-gap-trailing","",Co.spacing8);const Uo={colorPrimary:So.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:So.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:So.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:So.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:So.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:So.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:So.create("--ft-color-error","","COLOR","#B00020"),colorOutline:So.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:So.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:So.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:So.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:So.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:So.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:So.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:So.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:So.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:So.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:So.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:So.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:So.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:So.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:So.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:So.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:So.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:So.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:So.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:So.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:So.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:So.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:So.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:So.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:So.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:So.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:So.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:So.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:So.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:So.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:So.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:So.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:So.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:So.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:So.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:So.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:So.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:So.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:So.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:So.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:So.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:So.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:So.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:So.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:So.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:So.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:So.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:So.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:So.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:So.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:So.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:So.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:So.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:So.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:So.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};class $o extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}}class Io extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}}
|
|
81
86
|
/**
|
|
82
87
|
* @license
|
|
83
88
|
* Copyright 2019 Google LLC
|
|
84
89
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
85
|
-
*/const
|
|
90
|
+
*/const ko=window,Wo=ko.ShadowRoot&&(void 0===ko.ShadyCSS||ko.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class Lo extends vo{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return((t,o)=>{Wo?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),r=ko.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var Ko,Zo=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const zo=Symbol("constructorPrototype"),Fo=Symbol("constructorName"),Mo=Symbol("exportpartsDebouncer");class Ao extends Lo{constructor(){super(),this[Ko]=new $(5),this[Fo]=this.constructor.name,this[zo]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Fo]&&Object.setPrototypeOf(this,this[zo])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var o,e;if((null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==e?e:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[Mo].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,e,r,i,n,a;const s=t=>null!=t&&t.trim().length>0,l=t.filter(s).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],e=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...o,...e).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const p=[...c.values()].flatMap((t=>l.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...p].join(", "))}}Ko=Mo,Zo([S()],Ao.prototype,"exportpartsPrefix",void 0),Zo([function(t,o){const e=()=>JSON.parse(JSON.stringify(t));return S({type:Object,converter:{fromAttribute:t=>{if(null==t)return e();try{return JSON.parse(t)}catch{return e()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,o)=>!I(t,o),...null!=o?o:{}})}([])],Ao.prototype,"exportpartsPrefixes",void 0),Zo([S()],Ao.prototype,"customStylesheet",void 0);const Do=So.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");var Bo,Po;Nt`
|
|
86
91
|
.highlight-html-match {
|
|
87
|
-
background: ${
|
|
92
|
+
background: ${Do};
|
|
88
93
|
}
|
|
89
|
-
`,
|
|
94
|
+
`,Nt`
|
|
90
95
|
.ft-no-text-select {
|
|
91
96
|
-webkit-touch-callout: none;
|
|
92
97
|
-webkit-user-select: none;
|
|
@@ -95,7 +100,7 @@ let Oo=class extends Ft{constructor(){super(...arguments),this.renderOptions={ho
|
|
|
95
100
|
-ms-user-select: none;
|
|
96
101
|
user-select: none;
|
|
97
102
|
}
|
|
98
|
-
`,
|
|
103
|
+
`,Nt`
|
|
99
104
|
.ft-word-wrap {
|
|
100
105
|
white-space: normal;
|
|
101
106
|
word-wrap: break-word;
|
|
@@ -107,7 +112,7 @@ let Oo=class extends Ft{constructor(){super(...arguments),this.renderOptions={ho
|
|
|
107
112
|
-webkit-hyphens: auto;
|
|
108
113
|
hyphens: auto
|
|
109
114
|
}
|
|
110
|
-
`,
|
|
115
|
+
`,Nt`
|
|
111
116
|
.ft-safari-ellipsis-fix {
|
|
112
117
|
margin-right: 0;
|
|
113
118
|
|
|
@@ -118,25 +123,25 @@ let Oo=class extends Ft{constructor(){super(...arguments),this.renderOptions={ho
|
|
|
118
123
|
display: inline-block;
|
|
119
124
|
width: 0;
|
|
120
125
|
}
|
|
121
|
-
`,window.ftReduxStores||(window.ftReduxStores={}),navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(
|
|
126
|
+
`,window.ftReduxStores||(window.ftReduxStores={}),navigator.vendor&&navigator.vendor.match(/apple/i)||(null===(Po=null===(Bo=window.safari)||void 0===Bo?void 0:Bo.pushNotification)||void 0===Po||Po.toString());var jo=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Ho extends Ao{constructor(){super(...arguments),this.label="",this.icon="",this.active=!1,this.disabled=!1,this.uniqueId=(""+Math.floor(1e5*Math.random())).padStart(5,"0")}render(){return io`
|
|
122
127
|
<style>
|
|
123
128
|
:host {
|
|
124
|
-
display: ${
|
|
129
|
+
display: ${vt(this.active?"block":"none")};
|
|
125
130
|
}
|
|
126
131
|
</style>
|
|
127
132
|
<slot></slot>
|
|
128
|
-
`}update(t){super.update(t),this.id||(this.id="tab-"+this.uniqueId),this.ariaLabelledBy=this.id+"-control"}updated(t){super.updated(t),this.dispatchEvent(new Event("updated"))}}
|
|
133
|
+
`}update(t){super.update(t),this.id||(this.id="tab-"+this.uniqueId),this.ariaLabelledBy=this.id+"-control"}updated(t){super.updated(t),this.dispatchEvent(new Event("updated"))}}Ho.elementDefinitions={},jo([S({type:String})],Ho.prototype,"label",void 0),jo([S({type:String})],Ho.prototype,"icon",void 0),jo([S()],Ho.prototype,"iconVariant",void 0),jo([S({type:Boolean,reflect:!0})],Ho.prototype,"active",void 0),jo([S({type:Boolean})],Ho.prototype,"disabled",void 0),jo([S({reflect:!0})],Ho.prototype,"id",void 0),jo([S()],Ho.prototype,"color",void 0),jo([S()],Ho.prototype,"rippleColor",void 0),jo([S({reflect:!0,attribute:"aria-labelledby"})],Ho.prototype,"ariaLabelledBy",void 0);
|
|
129
134
|
/**
|
|
130
135
|
* @license
|
|
131
136
|
* Copyright 2017 Google LLC
|
|
132
137
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
133
138
|
*/
|
|
134
|
-
const
|
|
139
|
+
const To=1,_o=2,Go=t=>(...o)=>({_$litDirective$:t,values:o});let Yo=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,e){this._$Ct=t,this._$AM=o,this._$Ci=e}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}};
|
|
135
140
|
/**
|
|
136
141
|
* @license
|
|
137
142
|
* Copyright 2020 Google LLC
|
|
138
143
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
139
|
-
*/const{D:
|
|
144
|
+
*/const{D:Vo}=ut,Jo=()=>document.createComment(""),qo=(t,o,e)=>{const r=t._$AA.parentNode,i=void 0===o?t._$AB:o._$AA;if(void 0===e){const o=r.insertBefore(Jo(),i),n=r.insertBefore(Jo(),i);e=new Vo(o,n,t,t.options)}else{const o=e._$AB.nextSibling,n=e._$AM,a=n!==t;if(a){let o;e._$AQ?.(t),e._$AM=t,void 0!==e._$AP&&(o=t._$AU)!==n._$AU&&e._$AP(o)}if(o!==i||a){let t=e._$AA;for(;t!==o;){const o=t.nextSibling;r.insertBefore(t,i),t=o}}}return e},Xo=(t,o,e=t)=>(t._$AI(o,e),t),Qo={},te=t=>{t._$AP?.(!1,!0);let o=t._$AA;const e=t._$AB.nextSibling;for(;o!==e;){const t=o.nextSibling;o.remove(),o=t}},oe=(t,o,e)=>{const r=new Map;for(let i=o;i<=e;i++)r.set(t[i],i);return r},ee=Go(class extends Yo{constructor(t){if(super(t),t.type!==_o)throw Error("repeat() can only be used in text expressions")}ht(t,o,e){let r;void 0===e?e=o:void 0!==o&&(r=o);const i=[],n=[];let a=0;for(const o of t)i[a]=r?r(o,a):a,n[a]=e(o,a),a++;return{values:n,keys:i}}render(t,o,e){return this.ht(t,o,e).values}update(t,[o,e,r]){const i=(t=>t._$AH)(t),{values:n,keys:a}=this.ht(o,e,r);if(!Array.isArray(i))return this.dt=a,n;const s=this.dt??=[],l=[];let c,p,f=0,h=i.length-1,d=0,u=n.length-1;for(;f<=h&&d<=u;)if(null===i[f])f++;else if(null===i[h])h--;else if(s[f]===a[d])l[d]=Xo(i[f],n[d]),f++,d++;else if(s[h]===a[u])l[u]=Xo(i[h],n[u]),h--,u--;else if(s[f]===a[u])l[u]=Xo(i[f],n[u]),qo(t,l[u+1],i[f]),f++,u--;else if(s[h]===a[d])l[d]=Xo(i[h],n[d]),qo(t,i[f],i[h]),h--,d++;else if(void 0===c&&(c=oe(a,d,u),p=oe(s,f,h)),c.has(s[f]))if(c.has(s[h])){const o=p.get(a[d]),e=void 0!==o?i[o]:null;if(null===e){const o=qo(t,i[f]);Xo(o,n[d]),l[d]=o}else l[d]=Xo(e,n[d]),qo(t,i[f],e),i[o]=null;d++}else te(i[h]),h--;else te(i[f]),f++;for(;d<=u;){const o=qo(t,l[u+1]);Xo(o,n[d]),l[d++]=o}for(;f<=h;){const t=i[f++];null!==t&&te(t)}return this.dt=a,((t,o=Qo)=>{t._$AH=o})(t,l),Q}}),re=Go(class extends Yo{constructor(t){if(super(t),t.type!==To||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((o=>t[o])).join(" ")+" "}update(t,[o]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in o)o[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(o)}const e=t.element.classList;for(const t of this.it)t in o||(e.remove(t),this.it.delete(t));for(const t in o){const r=!!o[t];r===this.it.has(t)||this.st?.has(t)||(r?(e.add(t),this.it.add(t)):(e.remove(t),this.it.delete(t)))}return Q}}),ie=So.extend("--ft-ripple-color","",Uo.colorContent),ne=ie,ae=So.extend("--ft-ripple-background-color","",ie),se=So.external(Uo.opacityContentOnSurfacePressed,"Design system"),le=So.external(Uo.opacityContentOnSurfaceHover,"Design system"),ce=So.external(Uo.opacityContentOnSurfaceFocused,"Design system"),pe=So.external(Uo.opacityContentOnSurfaceSelected,"Design system"),fe=So.create("--ft-ripple-border-radius","","SIZE","0px"),he=So.extend("--ft-ripple-color","",Uo.colorPrimary),de=he,ue=So.extend("--ft-ripple-background-color","",he),ye=So.extend("--ft-ripple-color","",Uo.colorSecondary),ge=ye,be=So.extend("--ft-ripple-background-color","",ye),me=Nt`
|
|
140
145
|
:host {
|
|
141
146
|
display: contents;
|
|
142
147
|
}
|
|
@@ -149,7 +154,7 @@ const Ho=1,To=2,_o=t=>(...o)=>({_$litDirective$:t,values:o});let Go=class{constr
|
|
|
149
154
|
|
|
150
155
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
151
156
|
overflow: hidden;
|
|
152
|
-
border-radius: ${
|
|
157
|
+
border-radius: ${fe};
|
|
153
158
|
}
|
|
154
159
|
|
|
155
160
|
.ft-ripple .ft-ripple--background,
|
|
@@ -183,27 +188,27 @@ const Ho=1,To=2,_o=t=>(...o)=>({_$litDirective$:t,values:o});let Go=class{constr
|
|
|
183
188
|
}
|
|
184
189
|
|
|
185
190
|
.ft-ripple .ft-ripple--background {
|
|
186
|
-
background-color: ${
|
|
191
|
+
background-color: ${ae};
|
|
187
192
|
}
|
|
188
193
|
|
|
189
194
|
.ft-ripple .ft-ripple--effect {
|
|
190
|
-
background-color: ${
|
|
195
|
+
background-color: ${ne};
|
|
191
196
|
}
|
|
192
197
|
|
|
193
198
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
194
|
-
background-color: ${
|
|
199
|
+
background-color: ${be};
|
|
195
200
|
}
|
|
196
201
|
|
|
197
202
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
198
|
-
background-color: ${
|
|
203
|
+
background-color: ${ge};
|
|
199
204
|
}
|
|
200
205
|
|
|
201
206
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
202
|
-
background-color: ${
|
|
207
|
+
background-color: ${ue};
|
|
203
208
|
}
|
|
204
209
|
|
|
205
210
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
206
|
-
background-color: ${
|
|
211
|
+
background-color: ${de};
|
|
207
212
|
}
|
|
208
213
|
|
|
209
214
|
.ft-ripple .ft-ripple--background {
|
|
@@ -233,19 +238,19 @@ const Ho=1,To=2,_o=t=>(...o)=>({_$litDirective$:t,values:o});let Go=class{constr
|
|
|
233
238
|
}
|
|
234
239
|
|
|
235
240
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
236
|
-
opacity: ${
|
|
241
|
+
opacity: ${le};
|
|
237
242
|
}
|
|
238
243
|
|
|
239
244
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
240
|
-
opacity: ${
|
|
245
|
+
opacity: ${pe};
|
|
241
246
|
}
|
|
242
247
|
|
|
243
248
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
244
|
-
opacity: ${
|
|
249
|
+
opacity: ${ce};
|
|
245
250
|
}
|
|
246
251
|
|
|
247
252
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
248
|
-
opacity: ${
|
|
253
|
+
opacity: ${se};
|
|
249
254
|
transform: translate(-50%, -50%) scale(1);
|
|
250
255
|
}
|
|
251
256
|
`;
|
|
@@ -253,120 +258,120 @@ const Ho=1,To=2,_o=t=>(...o)=>({_$litDirective$:t,values:o});let Go=class{constr
|
|
|
253
258
|
* @license
|
|
254
259
|
* Copyright 2017 Google LLC
|
|
255
260
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
256
|
-
*/var
|
|
261
|
+
*/var xe=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Oe extends Ao{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 $(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 $(10),this.moveRipple=t=>{var o,e;let{x:r,y:i}=this.getCoordinates(t),n=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=r?r-n.x:n.width/2),this.originY=Math.round(null!=i?i-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 io`
|
|
257
262
|
<style>
|
|
258
263
|
.ft-ripple .ft-ripple--effect {
|
|
259
264
|
left: ${this.originX}px;
|
|
260
265
|
top: ${this.originY}px;
|
|
261
266
|
}
|
|
262
267
|
</style>
|
|
263
|
-
<div class="${
|
|
268
|
+
<div class="${re(t)}">
|
|
264
269
|
<div class="ft-ripple--background"></div>
|
|
265
270
|
<div class="ft-ripple--effect"></div>
|
|
266
271
|
</div>
|
|
267
|
-
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),r=o("touchend","touchcancel"),i=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",r),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",i),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",r),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",i),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let r,i;return null!=o.x?({x:r,y:i}=o):null!=e.touches&&(r=e.touches[0].clientX,i=e.touches[0].clientY),{x:r,y:i}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}
|
|
272
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),r=o("touchend","touchcancel"),i=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",e,n),t.addEventListener("touchstart",r,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",i,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",e,n),t.removeEventListener("touchstart",r,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",i,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let r,i;return null!=o.x?({x:r,y:i}=o):null!=e.touches&&(r=e.touches[0].clientX,i=e.touches[0].clientY),{x:r,y:i}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Oe.elementDefinitions={},Oe.styles=me,xe([S({type:Boolean})],Oe.prototype,"primary",void 0),xe([S({type:Boolean})],Oe.prototype,"secondary",void 0),xe([S({type:Boolean})],Oe.prototype,"unbounded",void 0),xe([S({type:Boolean})],Oe.prototype,"activated",void 0),xe([S({type:Boolean})],Oe.prototype,"selected",void 0),xe([S({type:Boolean})],Oe.prototype,"disabled",void 0),xe([C()],Oe.prototype,"hovered",void 0),xe([C()],Oe.prototype,"focused",void 0),xe([C()],Oe.prototype,"pressed",void 0),xe([C()],Oe.prototype,"rippling",void 0),xe([C()],Oe.prototype,"originX",void 0),xe([C()],Oe.prototype,"originY",void 0),xe([U(".ft-ripple")],Oe.prototype,"ripple",void 0),xe([U(".ft-ripple--effect")],Oe.prototype,"rippleEffect",void 0),k("ft-ripple")(Oe);
|
|
268
273
|
/**
|
|
269
274
|
* @license
|
|
270
275
|
* Copyright 2020 Google LLC
|
|
271
276
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
272
277
|
*/
|
|
273
|
-
const
|
|
278
|
+
const ve=Symbol.for(""),Ne=t=>{if(t?.r===ve)return t?._$litStatic$},we=t=>({_$litStatic$:t,r:ve}),Se=new Map,Ce=(t=>(o,...e)=>{const r=e.length;let i,n;const a=[],s=[];let l,c=0,p=!1;for(;c<r;){for(l=o[c];c<r&&void 0!==(n=e[c],i=Ne(n));)l+=i+o[++c],p=!0;c!==r&&s.push(n),a.push(l),c++}if(c===r&&a.push(o[r]),p){const t=a.join("$$lit$$");void 0===(o=Se.get(t))&&(a.raw=a,Se.set(t,o=a)),e=s}return t(o,...e)})(X);var Re;!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"}(Re||(Re={}));const Ee=So.extend("--ft-typography-font-family","",Uo.titleFont),Ue=So.extend("--ft-typography-font-family","",Uo.contentFont),$e={fontFamily:Ue,fontSize:So.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:So.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:So.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:So.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:So.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Ie=So.extend("--ft-typography-title-font-family","",Ee),ke=So.extend("--ft-typography-title-font-size","",$e.fontSize,"20px"),We=So.extend("--ft-typography-title-font-weight","",$e.fontWeight,"normal"),Le=So.extend("--ft-typography-title-letter-spacing","",$e.letterSpacing,"0.15px"),Ke=So.extend("--ft-typography-title-line-height","",$e.lineHeight,"1.2"),Ze=So.extend("--ft-typography-title-text-transform","",$e.textTransform,"inherit"),ze=So.extend("--ft-typography-title-dense-font-family","",Ee),Fe=So.extend("--ft-typography-title-dense-font-size","",$e.fontSize,"14px"),Me=So.extend("--ft-typography-title-dense-font-weight","",$e.fontWeight,"normal"),Ae=So.extend("--ft-typography-title-dense-letter-spacing","",$e.letterSpacing,"0.105px"),De=So.extend("--ft-typography-title-dense-line-height","",$e.lineHeight,"1.7"),Be=So.extend("--ft-typography-title-dense-text-transform","",$e.textTransform,"inherit"),Pe=So.extend("--ft-typography-subtitle1-font-family","",Ue),je=So.extend("--ft-typography-subtitle1-font-size","",$e.fontSize,"16px"),He=So.extend("--ft-typography-subtitle1-font-weight","",$e.fontWeight,"600"),Te=So.extend("--ft-typography-subtitle1-letter-spacing","",$e.letterSpacing,"0.144px"),_e=So.extend("--ft-typography-subtitle1-line-height","",$e.lineHeight,"1.5"),Ge=So.extend("--ft-typography-subtitle1-text-transform","",$e.textTransform,"inherit"),Ye=So.extend("--ft-typography-subtitle2-font-family","",Ue),Ve=So.extend("--ft-typography-subtitle2-font-size","",$e.fontSize,"14px"),Je=So.extend("--ft-typography-subtitle2-font-weight","",$e.fontWeight,"normal"),qe=So.extend("--ft-typography-subtitle2-letter-spacing","",$e.letterSpacing,"0.098px"),Xe=So.extend("--ft-typography-subtitle2-line-height","",$e.lineHeight,"1.7"),Qe=So.extend("--ft-typography-subtitle2-text-transform","",$e.textTransform,"inherit"),tr=So.extend("--ft-typography-body1-font-family","",Ue),or=So.extend("--ft-typography-body1-font-size","",$e.fontSize,"16px"),er=So.extend("--ft-typography-body1-font-weight","",$e.fontWeight,"normal"),rr=So.extend("--ft-typography-body1-letter-spacing","",$e.letterSpacing,"0.496px"),ir=So.extend("--ft-typography-body1-line-height","",$e.lineHeight,"1.5"),nr=So.extend("--ft-typography-body1-text-transform","",$e.textTransform,"inherit"),ar=So.extend("--ft-typography-body2-font-family","",Ue),sr=So.extend("--ft-typography-body2-font-size","",$e.fontSize,"14px"),lr=So.extend("--ft-typography-body2-font-weight","",$e.fontWeight,"normal"),cr=So.extend("--ft-typography-body2-letter-spacing","",$e.letterSpacing,"0.252px"),pr=So.extend("--ft-typography-body2-line-height","",$e.lineHeight,"1.4"),fr=So.extend("--ft-typography-body2-text-transform","",$e.textTransform,"inherit"),hr=So.extend("--ft-typography-caption-font-family","",Ue),dr=So.extend("--ft-typography-caption-font-size","",$e.fontSize,"12px"),ur=So.extend("--ft-typography-caption-font-weight","",$e.fontWeight,"normal"),yr=So.extend("--ft-typography-caption-letter-spacing","",$e.letterSpacing,"0.396px"),gr=So.extend("--ft-typography-caption-line-height","",$e.lineHeight,"1.33"),br=So.extend("--ft-typography-caption-text-transform","",$e.textTransform,"inherit"),mr=So.extend("--ft-typography-breadcrumb-font-family","",Ue),xr=So.extend("--ft-typography-breadcrumb-font-size","",$e.fontSize,"10px"),Or=So.extend("--ft-typography-breadcrumb-font-weight","",$e.fontWeight,"normal"),vr=So.extend("--ft-typography-breadcrumb-letter-spacing","",$e.letterSpacing,"0.33px"),Nr=So.extend("--ft-typography-breadcrumb-line-height","",$e.lineHeight,"1.6"),wr=So.extend("--ft-typography-breadcrumb-text-transform","",$e.textTransform,"inherit"),Sr=So.extend("--ft-typography-overline-font-family","",Ue),Cr=So.extend("--ft-typography-overline-font-size","",$e.fontSize,"10px"),Rr=So.extend("--ft-typography-overline-font-weight","",$e.fontWeight,"normal"),Er=So.extend("--ft-typography-overline-letter-spacing","",$e.letterSpacing,"1.5px"),Ur=So.extend("--ft-typography-overline-line-height","",$e.lineHeight,"1.6"),$r=So.extend("--ft-typography-overline-text-transform","",$e.textTransform,"uppercase"),Ir=So.extend("--ft-typography-button-font-family","",Ue),kr=So.extend("--ft-typography-button-font-size","",$e.fontSize,"14px"),Wr=So.extend("--ft-typography-button-font-weight","",$e.fontWeight,"600"),Lr=So.extend("--ft-typography-button-letter-spacing","",$e.letterSpacing,"1.246px"),Kr=So.extend("--ft-typography-button-line-height","",$e.lineHeight,"1.15"),Zr=So.extend("--ft-typography-button-text-transform","",$e.textTransform,"uppercase"),zr=Nt`
|
|
274
279
|
.ft-typography--title {
|
|
275
|
-
font-family: ${
|
|
276
|
-
font-size: ${
|
|
277
|
-
font-weight: ${
|
|
278
|
-
letter-spacing: ${
|
|
279
|
-
line-height: ${
|
|
280
|
-
text-transform: ${
|
|
281
|
-
}
|
|
282
|
-
`,
|
|
280
|
+
font-family: ${Ie};
|
|
281
|
+
font-size: ${ke};
|
|
282
|
+
font-weight: ${We};
|
|
283
|
+
letter-spacing: ${Le};
|
|
284
|
+
line-height: ${Ke};
|
|
285
|
+
text-transform: ${Ze};
|
|
286
|
+
}
|
|
287
|
+
`,Fr=Nt`
|
|
283
288
|
.ft-typography--title-dense {
|
|
284
|
-
font-family: ${
|
|
285
|
-
font-size: ${
|
|
286
|
-
font-weight: ${
|
|
287
|
-
letter-spacing: ${
|
|
288
|
-
line-height: ${
|
|
289
|
-
text-transform: ${
|
|
290
|
-
}
|
|
291
|
-
`,
|
|
289
|
+
font-family: ${ze};
|
|
290
|
+
font-size: ${Fe};
|
|
291
|
+
font-weight: ${Me};
|
|
292
|
+
letter-spacing: ${Ae};
|
|
293
|
+
line-height: ${De};
|
|
294
|
+
text-transform: ${Be};
|
|
295
|
+
}
|
|
296
|
+
`,Mr=Nt`
|
|
292
297
|
.ft-typography--subtitle1 {
|
|
293
|
-
font-family: ${
|
|
294
|
-
font-size: ${
|
|
295
|
-
font-weight: ${
|
|
296
|
-
letter-spacing: ${
|
|
297
|
-
line-height: ${
|
|
298
|
-
text-transform: ${
|
|
299
|
-
}
|
|
300
|
-
`,
|
|
298
|
+
font-family: ${Pe};
|
|
299
|
+
font-size: ${je};
|
|
300
|
+
font-weight: ${He};
|
|
301
|
+
letter-spacing: ${Te};
|
|
302
|
+
line-height: ${_e};
|
|
303
|
+
text-transform: ${Ge};
|
|
304
|
+
}
|
|
305
|
+
`,Ar=Nt`
|
|
301
306
|
.ft-typography--subtitle2 {
|
|
302
|
-
font-family: ${
|
|
303
|
-
font-size: ${
|
|
304
|
-
font-weight: ${
|
|
305
|
-
letter-spacing: ${
|
|
306
|
-
line-height: ${
|
|
307
|
-
text-transform: ${
|
|
307
|
+
font-family: ${Ye};
|
|
308
|
+
font-size: ${Ve};
|
|
309
|
+
font-weight: ${Je};
|
|
310
|
+
letter-spacing: ${qe};
|
|
311
|
+
line-height: ${Xe};
|
|
312
|
+
text-transform: ${Qe};
|
|
308
313
|
}
|
|
309
314
|
|
|
310
|
-
`,
|
|
315
|
+
`,Dr=Nt`
|
|
311
316
|
.ft-typography--body1 {
|
|
312
|
-
font-family: ${
|
|
313
|
-
font-size: ${
|
|
314
|
-
font-weight: ${
|
|
315
|
-
letter-spacing: ${
|
|
316
|
-
line-height: ${
|
|
317
|
-
text-transform: ${
|
|
318
|
-
}
|
|
319
|
-
`,
|
|
317
|
+
font-family: ${tr};
|
|
318
|
+
font-size: ${or};
|
|
319
|
+
font-weight: ${er};
|
|
320
|
+
letter-spacing: ${rr};
|
|
321
|
+
line-height: ${ir};
|
|
322
|
+
text-transform: ${nr};
|
|
323
|
+
}
|
|
324
|
+
`,Br=Nt`
|
|
320
325
|
.ft-typography--body2 {
|
|
321
|
-
font-family: ${
|
|
322
|
-
font-size: ${
|
|
323
|
-
font-weight: ${
|
|
324
|
-
letter-spacing: ${
|
|
325
|
-
line-height: ${
|
|
326
|
-
text-transform: ${
|
|
327
|
-
}
|
|
328
|
-
`,
|
|
326
|
+
font-family: ${ar};
|
|
327
|
+
font-size: ${sr};
|
|
328
|
+
font-weight: ${lr};
|
|
329
|
+
letter-spacing: ${cr};
|
|
330
|
+
line-height: ${pr};
|
|
331
|
+
text-transform: ${fr};
|
|
332
|
+
}
|
|
333
|
+
`,Pr=Nt`
|
|
329
334
|
.ft-typography--caption {
|
|
330
|
-
font-family: ${
|
|
331
|
-
font-size: ${
|
|
332
|
-
font-weight: ${
|
|
333
|
-
letter-spacing: ${
|
|
334
|
-
line-height: ${
|
|
335
|
-
text-transform: ${
|
|
336
|
-
}
|
|
337
|
-
`,
|
|
335
|
+
font-family: ${hr};
|
|
336
|
+
font-size: ${dr};
|
|
337
|
+
font-weight: ${ur};
|
|
338
|
+
letter-spacing: ${yr};
|
|
339
|
+
line-height: ${gr};
|
|
340
|
+
text-transform: ${br};
|
|
341
|
+
}
|
|
342
|
+
`,jr=Nt`
|
|
338
343
|
.ft-typography--breadcrumb {
|
|
339
|
-
font-family: ${
|
|
340
|
-
font-size: ${
|
|
341
|
-
font-weight: ${
|
|
342
|
-
letter-spacing: ${
|
|
343
|
-
line-height: ${
|
|
344
|
-
text-transform: ${
|
|
345
|
-
}
|
|
346
|
-
`,
|
|
344
|
+
font-family: ${mr};
|
|
345
|
+
font-size: ${xr};
|
|
346
|
+
font-weight: ${Or};
|
|
347
|
+
letter-spacing: ${vr};
|
|
348
|
+
line-height: ${Nr};
|
|
349
|
+
text-transform: ${wr};
|
|
350
|
+
}
|
|
351
|
+
`,Hr=Nt`
|
|
347
352
|
.ft-typography--overline {
|
|
348
|
-
font-family: ${
|
|
349
|
-
font-size: ${
|
|
350
|
-
font-weight: ${
|
|
351
|
-
letter-spacing: ${
|
|
352
|
-
line-height: ${
|
|
353
|
-
text-transform: ${
|
|
354
|
-
}
|
|
355
|
-
`,
|
|
353
|
+
font-family: ${Sr};
|
|
354
|
+
font-size: ${Cr};
|
|
355
|
+
font-weight: ${Rr};
|
|
356
|
+
letter-spacing: ${Er};
|
|
357
|
+
line-height: ${Ur};
|
|
358
|
+
text-transform: ${$r};
|
|
359
|
+
}
|
|
360
|
+
`,Tr=Nt`
|
|
356
361
|
.ft-typography--button {
|
|
357
|
-
font-family: ${
|
|
358
|
-
font-size: ${
|
|
359
|
-
font-weight: ${
|
|
360
|
-
letter-spacing: ${
|
|
361
|
-
line-height: ${
|
|
362
|
-
text-transform: ${
|
|
363
|
-
}
|
|
364
|
-
`,
|
|
362
|
+
font-family: ${Ir};
|
|
363
|
+
font-size: ${kr};
|
|
364
|
+
font-weight: ${Wr};
|
|
365
|
+
letter-spacing: ${Lr};
|
|
366
|
+
line-height: ${Kr};
|
|
367
|
+
text-transform: ${Zr};
|
|
368
|
+
}
|
|
369
|
+
`,_r=Nt`
|
|
365
370
|
.ft-typography {
|
|
366
371
|
vertical-align: inherit;
|
|
367
372
|
}
|
|
368
|
-
`,
|
|
369
|
-
.ft-typography--${
|
|
373
|
+
`,Gr=[Object.keys(Ro).map((t=>function(t){const o=Ro[t];return Nt`
|
|
374
|
+
.ft-typography--${vt(t)} {
|
|
370
375
|
font-family: ${o.fontFamily};
|
|
371
376
|
font-size: ${o.fontSize};
|
|
372
377
|
font-weight: ${o.fontWeight};
|
|
@@ -374,20 +379,20 @@ const Oe=Symbol.for(""),ve=t=>{if(t?.r===Oe)return t?._$litStatic$},Ne=t=>({_$li
|
|
|
374
379
|
line-height: ${o.lineHeight};
|
|
375
380
|
text-transform: ${o.textCase};
|
|
376
381
|
}
|
|
377
|
-
`}(t)))];var
|
|
378
|
-
<${
|
|
382
|
+
`}(t)))];var Yr=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Vr extends Ao{constructor(){super(...arguments),this.variant=Re.body1}render(){return this.element?Ce`
|
|
383
|
+
<${we(this.element)}
|
|
379
384
|
class="ft-typography ft-typography--${this.variant}">
|
|
380
385
|
<slot></slot>
|
|
381
|
-
</${
|
|
382
|
-
`:
|
|
386
|
+
</${we(this.element)}>
|
|
387
|
+
`:Ce`
|
|
383
388
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
384
|
-
`}}
|
|
389
|
+
`}}Vr.styles=[zr,Fr,Mr,Ar,Dr,Br,Pr,jr,Hr,Tr,_r,...Gr],Yr([S()],Vr.prototype,"element",void 0),Yr([S()],Vr.prototype,"variant",void 0),k("ft-typography")(Vr);
|
|
385
390
|
/**
|
|
386
391
|
* @license
|
|
387
392
|
* Copyright 2017 Google LLC
|
|
388
393
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
389
394
|
*/
|
|
390
|
-
class
|
|
395
|
+
class Jr extends Yo{constructor(t){if(super(t),this.et=tt,t.type!==_o)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===tt||null==t)return this.vt=void 0,this.et=t;if(t===Q)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const o=[t];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}}Jr.directiveName="unsafeHTML",Jr.resultType=1;const qr=Go(Jr);var Xr,Qr;!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=""}(Xr||(Xr={})),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=""}(Qr||(Qr={})),new Map([...["abw"].map((t=>[t,Qr.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,Qr.AUDIO])),...["avi"].map((t=>[t,Qr.AVI])),...["chm","xhs"].map((t=>[t,Qr.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,Qr.CODE])),...["csv"].map((t=>[t,Qr.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Qr.DITA])),...["epub"].map((t=>[t,Qr.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Qr.EXCEL])),...["flac"].map((t=>[t,Qr.FLAC])),...["gif"].map((t=>[t,Qr.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Qr.GZIP])),...["html","htm","xhtml"].map((t=>[t,Qr.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,Qr.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Qr.JPEG])),...["json"].map((t=>[t,Qr.JSON])),...["m4a","m4p"].map((t=>[t,Qr.M4A])),...["mov","qt"].map((t=>[t,Qr.MOV])),...["mp3"].map((t=>[t,Qr.MP3])),...["mp4","m4v"].map((t=>[t,Qr.MP4])),...["ogg","oga"].map((t=>[t,Qr.OGG])),...["pdf","ps"].map((t=>[t,Qr.PDF])),...["png"].map((t=>[t,Qr.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Qr.POWERPOINT])),...["rar"].map((t=>[t,Qr.RAR])),...["stp"].map((t=>[t,Qr.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Qr.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,Qr.VIDEO])),...["wav"].map((t=>[t,Qr.WAV])),...["wma"].map((t=>[t,Qr.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Qr.WORD])),...["xml","xsl","rdf"].map((t=>[t,Qr.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Qr.YAML])),...["zip"].map((t=>[t,Qr.ZIP]))]);const ti=So.create("--ft-icon-font-size","","SIZE","24px"),oi=So.extend("--ft-icon-fluid-topics-font-family","",So.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),ei=So.extend("--ft-icon-file-format-font-family","",So.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),ri=So.extend("--ft-icon-material-font-family","",So.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),ii=So.create("--ft-icon-vertical-align","","UNKNOWN","unset"),ni=Nt`
|
|
391
396
|
:host, i.ft-icon {
|
|
392
397
|
display: inline-flex;
|
|
393
398
|
align-items: center;
|
|
@@ -396,14 +401,14 @@ class Vr extends Go{constructor(t){if(super(t),this.et=Q,t.type!==To)throw Error
|
|
|
396
401
|
}
|
|
397
402
|
|
|
398
403
|
:host {
|
|
399
|
-
width: ${
|
|
400
|
-
height: ${
|
|
404
|
+
width: ${ti};
|
|
405
|
+
height: ${ti};
|
|
401
406
|
}
|
|
402
407
|
|
|
403
408
|
i.ft-icon {
|
|
404
409
|
width: 100%;
|
|
405
410
|
height: 100%;
|
|
406
|
-
font-size: ${
|
|
411
|
+
font-size: ${ti};
|
|
407
412
|
line-height: 1;
|
|
408
413
|
font-weight: normal;
|
|
409
414
|
text-transform: none;
|
|
@@ -414,37 +419,37 @@ class Vr extends Go{constructor(t){if(super(t),this.et=Q,t.type!==To)throw Error
|
|
|
414
419
|
text-rendering: auto;
|
|
415
420
|
-webkit-font-smoothing: antialiased;
|
|
416
421
|
-moz-osx-font-smoothing: grayscale;
|
|
417
|
-
vertical-align: ${
|
|
422
|
+
vertical-align: ${ii};
|
|
418
423
|
}
|
|
419
424
|
|
|
420
425
|
i.ft-icon.ft-icon--fluid-topics {
|
|
421
|
-
font-family: ${
|
|
426
|
+
font-family: ${oi}, ft-icons, fticons, sans-serif;
|
|
422
427
|
|
|
423
428
|
/* Ugly fix because font is broken */
|
|
424
|
-
font-size: calc(0.75 * ${
|
|
425
|
-
line-height: ${
|
|
429
|
+
font-size: calc(0.75 * ${ti});
|
|
430
|
+
line-height: ${ti};
|
|
426
431
|
position: relative;
|
|
427
432
|
top: -4%;
|
|
428
433
|
justify-content: center;
|
|
429
434
|
}
|
|
430
435
|
|
|
431
436
|
.ft-icon--file-format {
|
|
432
|
-
font-family: ${
|
|
437
|
+
font-family: ${ei}, ft-mime, sans-serif;
|
|
433
438
|
}
|
|
434
439
|
|
|
435
440
|
.ft-icon--material {
|
|
436
|
-
font-family: ${
|
|
441
|
+
font-family: ${ri}, "Material Icons", sans-serif;
|
|
437
442
|
}
|
|
438
|
-
`;var
|
|
443
|
+
`;var ai;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(ai||(ai={}));var si,li=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ci extends Ao{constructor(){super(...arguments),this.resolvedIcon=ao}render(){const t=this.variant&&Object.values(ai).includes(this.variant)?this.variant:ai.fluid_topics,o=t!==ai.material||!!this.value;return io`
|
|
439
444
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
440
|
-
${
|
|
445
|
+
${qr(this.resolvedIcon)}
|
|
441
446
|
<slot ?hidden=${o}></slot>
|
|
442
447
|
</i>
|
|
443
|
-
`}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let e=this.value||this.textContent;switch(this.variant){case
|
|
448
|
+
`}get textContent(){var t,o;return null!==(o=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==o?o:""}update(t){super.update(t),["value","variant"].some((o=>t.has(o)))&&this.resolveIcon()}resolveIcon(){var t,o;let e=this.value||this.textContent;switch(this.variant){case ai.file_format:this.resolvedIcon=null!==(t=Qr[e.replace("-","_").toUpperCase()])&&void 0!==t?t:e;break;case ai.material:this.resolvedIcon=this.value||ao;break;default:this.resolvedIcon=null!==(o=Xr[e.replace("-","_").toUpperCase()])&&void 0!==o?o:e}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}ci.elementDefinitions={},ci.styles=ni,li([S()],ci.prototype,"variant",void 0),li([S()],ci.prototype,"value",void 0),li([C()],ci.prototype,"resolvedIcon",void 0),li([U("slot")],ci.prototype,"slottedContent",void 0),k("ft-icon")(ci),t.FtTabsAlignment=void 0,(si=t.FtTabsAlignment||(t.FtTabsAlignment={})).left="left",si.right="right",si.justify="justify";const pi={colorSurface:So.external(Uo.colorSurface,"Design system"),colorPrimary:So.external(Uo.colorPrimary,"Design system"),colorOnSurfaceMedium:So.external(Uo.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:So.external(Uo.colorOnSurfaceDisabled,"Design system")},fi=Nt`
|
|
444
449
|
.ft-tabs {
|
|
445
450
|
display: flex;
|
|
446
451
|
flex-direction: column;
|
|
447
|
-
background-color: ${
|
|
452
|
+
background-color: ${pi.colorSurface};
|
|
448
453
|
height: 100%;
|
|
449
454
|
}
|
|
450
455
|
|
|
@@ -484,15 +489,15 @@ class Vr extends Go{constructor(t){if(super(t),this.et=Q,t.type!==To)throw Error
|
|
|
484
489
|
outline: none;
|
|
485
490
|
font-size: 16px;
|
|
486
491
|
line-height: 1;
|
|
487
|
-
color: ${
|
|
492
|
+
color: ${pi.colorOnSurfaceMedium};
|
|
488
493
|
}
|
|
489
494
|
|
|
490
495
|
[role='tab'][aria-selected='true'] {
|
|
491
|
-
color: ${
|
|
496
|
+
color: ${pi.colorPrimary};
|
|
492
497
|
}
|
|
493
498
|
|
|
494
499
|
[role='tab'][disabled] {
|
|
495
|
-
color: ${
|
|
500
|
+
color: ${pi.colorOnSurfaceDisabled};
|
|
496
501
|
}
|
|
497
502
|
|
|
498
503
|
.ft-tabs--align-justify [role='tab'],
|
|
@@ -524,7 +529,7 @@ class Vr extends Go{constructor(t){if(super(t),this.et=Q,t.type!==To)throw Error
|
|
|
524
529
|
position: absolute;
|
|
525
530
|
height: 3px;
|
|
526
531
|
border-radius: 2px;
|
|
527
|
-
background-color: ${
|
|
532
|
+
background-color: ${pi.colorPrimary};
|
|
528
533
|
transition: width 200ms ease, left 200ms ease, top 200ms ease;
|
|
529
534
|
}
|
|
530
535
|
|
|
@@ -533,7 +538,7 @@ class Vr extends Go{constructor(t){if(super(t),this.et=Q,t.type!==To)throw Error
|
|
|
533
538
|
flex-grow: 1;
|
|
534
539
|
overflow: auto;
|
|
535
540
|
}
|
|
536
|
-
`,
|
|
541
|
+
`,hi=So.create("--ft-tooltip-distance","","SIZE","4px"),di=So.create("--ft-tooltip-color","","COLOR","#FFFFFF"),ui=So.create("--ft-tooltip-background-color","","COLOR","#666666"),yi=So.create("--ft-tooltip-z-index","","NUMBER","100"),gi=So.external(Uo.borderRadiusS,"Design system"),bi=So.create("--ft-tooltip-max-width","","SIZE","150px"),mi=Nt`
|
|
537
542
|
.ft-tooltip--container {
|
|
538
543
|
display: block;
|
|
539
544
|
}
|
|
@@ -548,21 +553,21 @@ class Vr extends Go{constructor(t){if(super(t),this.et=Q,t.type!==To)throw Error
|
|
|
548
553
|
box-sizing: border-box;
|
|
549
554
|
overflow: hidden;
|
|
550
555
|
width: max-content;
|
|
551
|
-
max-width: ${
|
|
556
|
+
max-width: ${bi};
|
|
552
557
|
text-align: center;
|
|
553
|
-
padding: ${
|
|
554
|
-
z-index: ${
|
|
558
|
+
padding: ${hi};
|
|
559
|
+
z-index: ${yi};
|
|
555
560
|
}
|
|
556
561
|
|
|
557
562
|
.ft-tooltip--content {
|
|
558
563
|
padding: 4px 8px;
|
|
559
|
-
border-radius: ${
|
|
560
|
-
background-color: ${
|
|
561
|
-
color: ${
|
|
564
|
+
border-radius: ${gi};
|
|
565
|
+
background-color: ${ui};
|
|
566
|
+
color: ${di};
|
|
562
567
|
position: relative;
|
|
563
568
|
word-break: break-word;
|
|
564
569
|
}
|
|
565
|
-
`,mi=["start","end"],xi=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+mi[0],o+"-"+mi[1])),[]),Oi=Math.min,vi=Math.max,Ni=Math.round,wi=t=>({x:t,y:t}),Si={left:"right",right:"left",bottom:"top",top:"bottom"},Ci={start:"end",end:"start"};function Ri(t,o,e){return vi(t,Oi(o,e))}function Ei(t,o){return"function"==typeof t?t(o):t}function Ui(t){return t.split("-")[0]}function $i(t){return t.split("-")[1]}function Ii(t){return"x"===t?"y":"x"}function ki(t){return"y"===t?"height":"width"}function Wi(t){return["top","bottom"].includes(Ui(t))?"y":"x"}function Li(t){return Ii(Wi(t))}function Ki(t){return t.replace(/left|right|bottom|top/g,(t=>Si[t]))}function Zi(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function zi(t,o,e){let{reference:r,floating:i}=t;const n=Wi(o),a=Li(o),s=ki(a),l=Ui(o),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($i(o)){case"start":d[a]-=h*(e&&c?-1:1);break;case"end":d[a]+=h*(e&&c?-1:1)}return d}async function Fi(t,o){var e;void 0===o&&(o={});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}=Ei(o,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(d),y=s[h?"floating"===f?"reference":"floating":f],g=Zi(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(y)))||e?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:p,strategy:l})),b="floating"===f?{...a.floating,x: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},O=Zi(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(g.top-O.top+u.top)/x.y,bottom:(O.bottom-g.bottom+u.bottom)/x.y,left:(g.left-O.left+u.left)/x.x,right:(O.right-g.right+u.right)/x.x}}function Mi(t,o,e){return(t?[...e.filter((o=>$i(o)===t)),...e.filter((o=>$i(o)!==t))]:e.filter((t=>Ui(t)===t))).filter((e=>!t||($i(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>Ci[t]))}(e)!==e)))}const Ai=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,r,i;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=o,{crossAxis:p=!1,alignment:f,allowedPlacements:h=xi,autoAlignment:d=!0,...u}=Ei(t,o),y=void 0!==f||h===xi?Mi(f||null,d,h):h,g=await Fi(o,u),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=y[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const r=$i(t),i=Li(t),n=ki(i);let a="x"===i?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=Ki(a)),[a,Ki(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const O=[g[Ui(m)],g[x[0]],g[x[1]]],v=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:O}],N=y[b+1];if(N)return{data:{index:b+1,overflows:v},reset:{placement:N}};const w=v.map((t=>{const o=$i(t.placement);return[t.placement,o&&p?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),S=w.filter((t=>t[2].slice(0,$i(t[0])?2:3).every((t=>t<=0)))),C=(null==(i=S[0])?void 0:i[0])||w[0][0];return C!==s?{data:{index:b+1,overflows:v},reset:{placement:C}}:{}}}};function Di(t){return ji(t)?(t.nodeName||"").toLowerCase():"#document"}function Bi(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function Pi(t){var o;return null==(o=(ji(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function ji(t){return t instanceof Node||t instanceof Bi(t).Node}function Hi(t){return t instanceof Element||t instanceof Bi(t).Element}function Ti(t){return t instanceof HTMLElement||t instanceof Bi(t).HTMLElement}function _i(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Bi(t).ShadowRoot)}function Gi(t){const{overflow:o,overflowX:e,overflowY:r,display:i}=Xi(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(i)}function Yi(t){return["table","td","th"].includes(Di(t))}function Vi(t){const o=Ji(),e=Xi(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function Ji(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function qi(t){return["html","body","#document"].includes(Di(t))}function Xi(t){return Bi(t).getComputedStyle(t)}function Qi(t){return Hi(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function tn(t){if("html"===Di(t))return t;const o=t.assignedSlot||t.parentNode||_i(t)&&t.host||Pi(t);return _i(o)?o.host:o}function on(t){const o=tn(t);return qi(o)?t.ownerDocument?t.ownerDocument.body:t.body:Ti(o)&&Gi(o)?o:on(o)}function en(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const i=on(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=Bi(i);return n?o.concat(a,a.visualViewport||[],Gi(i)?i:[],a.frameElement&&e?en(a.frameElement):[]):o.concat(i,en(i,[],e))}function rn(t){const o=Xi(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const i=Ti(t),n=i?t.offsetWidth:e,a=i?t.offsetHeight:r,s=Ni(e)!==n||Ni(r)!==a;return s&&(e=n,r=a),{width:e,height:r,$:s}}function nn(t){return Hi(t)?t:t.contextElement}function an(t){const o=nn(t);if(!Ti(o))return wi(1);const e=o.getBoundingClientRect(),{width:r,height:i,$:n}=rn(o);let a=(n?Ni(e.width):e.width)/r,s=(n?Ni(e.height):e.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const sn=wi(0);function ln(t){const o=Bi(t);return Ji()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:sn}function cn(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),n=nn(t);let a=wi(1);o&&(r?Hi(r)&&(a=an(r)):a=an(t));const s=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==Bi(t))&&o}(n,e,r)?ln(n):wi(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=Bi(n),o=r&&Hi(r)?Bi(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=an(e),o=e.getBoundingClientRect(),r=Xi(e),i=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;l*=t.x,c*=t.y,p*=t.x,f*=t.y,l+=i,c+=n,e=Bi(e).frameElement}}return Zi({width:p,height:f,x:l,y:c})}function pn(t){return cn(Pi(t)).left+Qi(t).scrollLeft}function fn(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=Bi(t),r=Pi(t),i=e.visualViewport;let n=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){n=i.width,a=i.height;const t=Ji();(!t||t&&"fixed"===o)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,e);else if("document"===o)r=function(t){const o=Pi(t),e=Qi(t),r=t.ownerDocument.body,i=vi(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),n=vi(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let a=-e.scrollLeft+pn(t);const s=-e.scrollTop;return"rtl"===Xi(r).direction&&(a+=vi(o.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:s}}(Pi(t));else if(Hi(o))r=function(t,o){const e=cn(t,!0,"fixed"===o),r=e.top+t.clientTop,i=e.left+t.clientLeft,n=Ti(t)?an(t):wi(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:i*n.x,y:r*n.y}}(o,e);else{const e=ln(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return Zi(r)}function hn(t,o){const e=tn(t);return!(e===o||!Hi(e)||qi(e))&&("fixed"===Xi(e).position||hn(e,o))}function dn(t,o,e){const r=Ti(o),i=Pi(o),n="fixed"===e,a=cn(t,!0,n,o);let s={scrollLeft:0,scrollTop:0};const l=wi(0);if(r||!r&&!n)if(("body"!==Di(o)||Gi(i))&&(s=Qi(o)),r){const t=cn(o,!0,n,o);l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}else i&&(l.x=pn(i));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function un(t,o){return Ti(t)&&"fixed"!==Xi(t).position?o?o(t):t.offsetParent:null}function yn(t,o){const e=Bi(t);if(!Ti(t))return e;let r=un(t,o);for(;r&&Yi(r)&&"static"===Xi(r).position;)r=un(r,o);return r&&("html"===Di(r)||"body"===Di(r)&&"static"===Xi(r).position&&!Vi(r))?e:r||function(t){let o=tn(t);for(;Ti(o)&&!qi(o);){if(Vi(o))return o;o=tn(o)}return null}(t)||e}const gn={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const i=Ti(e),n=Pi(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},s=wi(1);const l=wi(0);if((i||!i&&"fixed"!==r)&&(("body"!==Di(e)||Gi(n))&&(a=Qi(e)),Ti(e))){const t=cn(e);s=an(e),l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}return{width:o.width*s.x,height:o.height*s.y,x:o.x*s.x-a.scrollLeft*s.x+l.x,y:o.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:Pi,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:r,strategy:i}=t;const n=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let r=en(t,[],!1).filter((t=>Hi(t)&&"body"!==Di(t))),i=null;const n="fixed"===Xi(t).position;let a=n?tn(t):t;for(;Hi(a)&&!qi(a);){const o=Xi(a),e=Vi(a);e||"fixed"!==o.position||(i=null),(n?!e&&!i:!e&&"static"===o.position&&i&&["absolute","fixed"].includes(i.position)||Gi(a)&&!e&&hn(t,a))?r=r.filter((t=>t!==a)):i=o,a=tn(a)}return o.set(t,r),r}(o,this._c):[].concat(e),r],a=n[0],s=n.reduce(((t,e)=>{const r=fn(o,e,i);return t.top=vi(r.top,t.top),t.right=Oi(r.right,t.right),t.bottom=Oi(r.bottom,t.bottom),t.left=vi(r.left,t.left),t}),fn(o,a,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:yn,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const i=this.getOffsetParent||yn,n=this.getDimensions;return{reference:dn(o,await i(e),r),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return rn(t)},getScale:an,isElement:Hi,isRTL:function(t){return"rtl"===Xi(t).direction}},bn=(t,o,e)=>{const r=new Map,i={platform:gn,...e},n={...i.platform,_c:r};return(async(t,o,e)=>{const{placement:r="bottom",strategy:i="absolute",middleware:n=[],platform:a}=e,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:i}),{x:p,y:f}=zi(c,r,l),h=r,d={},u=0;for(let e=0;e<s.length;e++){const{name:n,fn:y}=s[e],{x:g,y:b,data:m,reset:x}=await y({x:p,y:f,initialPlacement:r,placement:h,strategy:i,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:o}});p=null!=g?g:p,f=null!=b?b:f,d={...d,[n]:{...d[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(h=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:i}):x.rects),({x:p,y:f}=zi(c,h,l))),e=-1)}return{x:p,y:f,placement:h,strategy:i,middlewareData:d}})(t,o,{...i,platform:n})};var mn=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class xn extends Mo{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new U,this.revealDebouncer=new U}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return ro`
|
|
570
|
+
`,xi=["start","end"],Oi=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+xi[0],o+"-"+xi[1])),[]),vi=Math.min,Ni=Math.max,wi=Math.round,Si=t=>({x:t,y:t}),Ci={left:"right",right:"left",bottom:"top",top:"bottom"},Ri={start:"end",end:"start"};function Ei(t,o,e){return Ni(t,vi(o,e))}function Ui(t,o){return"function"==typeof t?t(o):t}function $i(t){return t.split("-")[0]}function Ii(t){return t.split("-")[1]}function ki(t){return"x"===t?"y":"x"}function Wi(t){return"y"===t?"height":"width"}function Li(t){return["top","bottom"].includes($i(t))?"y":"x"}function Ki(t){return ki(Li(t))}function Zi(t){return t.replace(/left|right|bottom|top/g,(t=>Ci[t]))}function zi(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Fi(t,o,e){let{reference:r,floating:i}=t;const n=Li(o),a=Ki(o),s=Wi(a),l=$i(o),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(Ii(o)){case"start":d[a]-=h*(e&&c?-1:1);break;case"end":d[a]+=h*(e&&c?-1:1)}return d}async function Mi(t,o){var e;void 0===o&&(o={});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}=Ui(o,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(d),y=s[h?"floating"===f?"reference":"floating":f],g=zi(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(y)))||e?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:p,strategy:l})),b="floating"===f?{...a.floating,x: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},O=zi(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(g.top-O.top+u.top)/x.y,bottom:(O.bottom-g.bottom+u.bottom)/x.y,left:(g.left-O.left+u.left)/x.x,right:(O.right-g.right+u.right)/x.x}}function Ai(t,o,e){return(t?[...e.filter((o=>Ii(o)===t)),...e.filter((o=>Ii(o)!==t))]:e.filter((t=>$i(t)===t))).filter((e=>!t||(Ii(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>Ri[t]))}(e)!==e)))}const Di=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,r,i;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=o,{crossAxis:p=!1,alignment:f,allowedPlacements:h=Oi,autoAlignment:d=!0,...u}=Ui(t,o),y=void 0!==f||h===Oi?Ai(f||null,d,h):h,g=await Mi(o,u),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=y[b];if(null==m)return{};const x=function(t,o,e){void 0===e&&(e=!1);const r=Ii(t),i=Ki(t),n=Wi(i);let a="x"===i?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=Zi(a)),[a,Zi(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const O=[g[$i(m)],g[x[0]],g[x[1]]],v=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:O}],N=y[b+1];if(N)return{data:{index:b+1,overflows:v},reset:{placement:N}};const w=v.map((t=>{const o=Ii(t.placement);return[t.placement,o&&p?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),S=w.filter((t=>t[2].slice(0,Ii(t[0])?2:3).every((t=>t<=0)))),C=(null==(i=S[0])?void 0:i[0])||w[0][0];return C!==s?{data:{index:b+1,overflows:v},reset:{placement:C}}:{}}}};function Bi(t){return Hi(t)?(t.nodeName||"").toLowerCase():"#document"}function Pi(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function ji(t){var o;return null==(o=(Hi(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function Hi(t){return t instanceof Node||t instanceof Pi(t).Node}function Ti(t){return t instanceof Element||t instanceof Pi(t).Element}function _i(t){return t instanceof HTMLElement||t instanceof Pi(t).HTMLElement}function Gi(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Pi(t).ShadowRoot)}function Yi(t){const{overflow:o,overflowX:e,overflowY:r,display:i}=Qi(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(i)}function Vi(t){return["table","td","th"].includes(Bi(t))}function Ji(t){const o=qi(),e=Qi(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function qi(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Xi(t){return["html","body","#document"].includes(Bi(t))}function Qi(t){return Pi(t).getComputedStyle(t)}function tn(t){return Ti(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function on(t){if("html"===Bi(t))return t;const o=t.assignedSlot||t.parentNode||Gi(t)&&t.host||ji(t);return Gi(o)?o.host:o}function en(t){const o=on(t);return Xi(o)?t.ownerDocument?t.ownerDocument.body:t.body:_i(o)&&Yi(o)?o:en(o)}function rn(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const i=en(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=Pi(i);return n?o.concat(a,a.visualViewport||[],Yi(i)?i:[],a.frameElement&&e?rn(a.frameElement):[]):o.concat(i,rn(i,[],e))}function nn(t){const o=Qi(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const i=_i(t),n=i?t.offsetWidth:e,a=i?t.offsetHeight:r,s=wi(e)!==n||wi(r)!==a;return s&&(e=n,r=a),{width:e,height:r,$:s}}function an(t){return Ti(t)?t:t.contextElement}function sn(t){const o=an(t);if(!_i(o))return Si(1);const e=o.getBoundingClientRect(),{width:r,height:i,$:n}=nn(o);let a=(n?wi(e.width):e.width)/r,s=(n?wi(e.height):e.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const ln=Si(0);function cn(t){const o=Pi(t);return qi()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:ln}function pn(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),n=an(t);let a=Si(1);o&&(r?Ti(r)&&(a=sn(r)):a=sn(t));const s=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==Pi(t))&&o}(n,e,r)?cn(n):Si(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=Pi(n),o=r&&Ti(r)?Pi(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=sn(e),o=e.getBoundingClientRect(),r=Qi(e),i=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;l*=t.x,c*=t.y,p*=t.x,f*=t.y,l+=i,c+=n,e=Pi(e).frameElement}}return zi({width:p,height:f,x:l,y:c})}function fn(t){return pn(ji(t)).left+tn(t).scrollLeft}function hn(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=Pi(t),r=ji(t),i=e.visualViewport;let n=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){n=i.width,a=i.height;const t=qi();(!t||t&&"fixed"===o)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,e);else if("document"===o)r=function(t){const o=ji(t),e=tn(t),r=t.ownerDocument.body,i=Ni(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),n=Ni(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let a=-e.scrollLeft+fn(t);const s=-e.scrollTop;return"rtl"===Qi(r).direction&&(a+=Ni(o.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:s}}(ji(t));else if(Ti(o))r=function(t,o){const e=pn(t,!0,"fixed"===o),r=e.top+t.clientTop,i=e.left+t.clientLeft,n=_i(t)?sn(t):Si(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:i*n.x,y:r*n.y}}(o,e);else{const e=cn(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return zi(r)}function dn(t,o){const e=on(t);return!(e===o||!Ti(e)||Xi(e))&&("fixed"===Qi(e).position||dn(e,o))}function un(t,o,e){const r=_i(o),i=ji(o),n="fixed"===e,a=pn(t,!0,n,o);let s={scrollLeft:0,scrollTop:0};const l=Si(0);if(r||!r&&!n)if(("body"!==Bi(o)||Yi(i))&&(s=tn(o)),r){const t=pn(o,!0,n,o);l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}else i&&(l.x=fn(i));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function yn(t,o){return _i(t)&&"fixed"!==Qi(t).position?o?o(t):t.offsetParent:null}function gn(t,o){const e=Pi(t);if(!_i(t))return e;let r=yn(t,o);for(;r&&Vi(r)&&"static"===Qi(r).position;)r=yn(r,o);return r&&("html"===Bi(r)||"body"===Bi(r)&&"static"===Qi(r).position&&!Ji(r))?e:r||function(t){let o=on(t);for(;_i(o)&&!Xi(o);){if(Ji(o))return o;o=on(o)}return null}(t)||e}const bn={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const i=_i(e),n=ji(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},s=Si(1);const l=Si(0);if((i||!i&&"fixed"!==r)&&(("body"!==Bi(e)||Yi(n))&&(a=tn(e)),_i(e))){const t=pn(e);s=sn(e),l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}return{width:o.width*s.x,height:o.height*s.y,x:o.x*s.x-a.scrollLeft*s.x+l.x,y:o.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:ji,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:r,strategy:i}=t;const n=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let r=rn(t,[],!1).filter((t=>Ti(t)&&"body"!==Bi(t))),i=null;const n="fixed"===Qi(t).position;let a=n?on(t):t;for(;Ti(a)&&!Xi(a);){const o=Qi(a),e=Ji(a);e||"fixed"!==o.position||(i=null),(n?!e&&!i:!e&&"static"===o.position&&i&&["absolute","fixed"].includes(i.position)||Yi(a)&&!e&&dn(t,a))?r=r.filter((t=>t!==a)):i=o,a=on(a)}return o.set(t,r),r}(o,this._c):[].concat(e),r],a=n[0],s=n.reduce(((t,e)=>{const r=hn(o,e,i);return t.top=Ni(r.top,t.top),t.right=vi(r.right,t.right),t.bottom=vi(r.bottom,t.bottom),t.left=Ni(r.left,t.left),t}),hn(o,a,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:gn,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const i=this.getOffsetParent||gn,n=this.getDimensions;return{reference:un(o,await i(e),r),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return nn(t)},getScale:sn,isElement:Ti,isRTL:function(t){return"rtl"===Qi(t).direction}},mn=(t,o,e)=>{const r=new Map,i={platform:bn,...e},n={...i.platform,_c:r};return(async(t,o,e)=>{const{placement:r="bottom",strategy:i="absolute",middleware:n=[],platform:a}=e,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(o));let c=await a.getElementRects({reference:t,floating:o,strategy:i}),{x:p,y:f}=Fi(c,r,l),h=r,d={},u=0;for(let e=0;e<s.length;e++){const{name:n,fn:y}=s[e],{x:g,y:b,data:m,reset:x}=await y({x:p,y:f,initialPlacement:r,placement:h,strategy:i,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:o}});p=null!=g?g:p,f=null!=b?b:f,d={...d,[n]:{...d[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(h=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:o,strategy:i}):x.rects),({x:p,y:f}=Fi(c,h,l))),e=-1)}return{x:p,y:f,placement:h,strategy:i,middlewareData:d}})(t,o,{...i,platform:n})};var xn=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class On extends Ao{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 $,this.revealDebouncer=new $}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return io`
|
|
566
571
|
<div part="container"
|
|
567
572
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
568
573
|
@mouseenter=${this.onHover}
|
|
@@ -580,11 +585,11 @@ class Vr extends Go{constructor(t){if(super(t),this.et=Q,t.type!==To)throw Error
|
|
|
580
585
|
</div>
|
|
581
586
|
</div>
|
|
582
587
|
</div>
|
|
583
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",
|
|
584
|
-
<div class="${
|
|
588
|
+
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",mn(this.slottedElement,this.tooltip,{middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(o){const{x:e,y:r,placement:i}=o,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...l}=Ui(t,o),c={x:e,y:r},p=await Mi(o,l),f=Li($i(i)),h=ki(f);let d=c[h],u=c[f];if(n){const t="y"===h?"bottom":"right";d=Ei(d+p["y"===h?"top":"left"],d,d-p[t])}if(a){const t="y"===f?"bottom":"right";u=Ei(u+p["y"===f?"top":"left"],u,u-p[t])}const y=s.fn({...o,[h]:d,[f]:u});return{...y,data:{x:y.x-e,y:y.y-r}}}}),Di({allowedPlacements:[this.position]})]}).then((({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}On.elementDefinitions={"ft-typography":Vr},On.styles=mi,xn([S()],On.prototype,"text",void 0),xn([S({type:Boolean})],On.prototype,"manual",void 0),xn([S({type:Boolean})],On.prototype,"inline",void 0),xn([S({type:Number})],On.prototype,"delay",void 0),xn([S()],On.prototype,"position",void 0),xn([function(t){return(o,e)=>{const{slot:r}=t??{},i="slot"+(r?`[name=${r}]`:":not([name])");return E(0,0,{get(){const o=this.renderRoot?.querySelector(i);return o?.assignedNodes(t)??[]}})}}()],On.prototype,"slotNodes",void 0),xn([U(".ft-tooltip--container")],On.prototype,"container",void 0),xn([U(".ft-tooltip")],On.prototype,"tooltip",void 0),xn([U(".ft-tooltip--content")],On.prototype,"tooltipContent",void 0),xn([C()],On.prototype,"visible",void 0),xn([R({passive:!0})],On.prototype,"onTouch",null),xn([R({passive:!0})],On.prototype,"onHover",null),xn([R({passive:!0})],On.prototype,"onOut",null),k("ft-tooltip")(On);var vn=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Nn extends CustomEvent{constructor(t){super("index-change",{detail:t})}}class wn extends Ao{constructor(){super(...arguments),this.dense=!1,this.contentBefore=!1,this.alignTabs=t.FtTabsAlignment.justify,this.ftTabs=[],this.activeIndex=0,this.updateDebouncer=new $(2),this.onTabUpdated=()=>this.updateDebouncer.run((()=>{this.requestUpdate(),this.dispatchEvent(new Io)})),this.resizeObserver=new ResizeObserver((()=>this.placeIndicator()))}render(){var t;const o={"ft-tabs":!0,"ft-tabs--reverse":this.contentBefore,"ft-tabs--dense":this.dense},e=null===(t=this.ftTabs[this.activeIndex])||void 0===t?void 0:t.color;return io`
|
|
589
|
+
<div class="${re(o)}" part="container">
|
|
585
590
|
<div class="ft-tabs--align-${this.alignTabs}" role="tablist" part="tablist">
|
|
586
|
-
${
|
|
587
|
-
<button class="${
|
|
591
|
+
${ee(this.ftTabs,((t,o)=>this.addTooltipIfNecessary(t,io`
|
|
592
|
+
<button class="${re({"ft-tabs--tab-with-icon":!!t.icon,"ft-tabs--tab-with-label":!!t.label})}"
|
|
588
593
|
?disabled=${t.disabled}
|
|
589
594
|
@click=${()=>this.activeIndex=o}
|
|
590
595
|
role="tab"
|
|
@@ -606,7 +611,7 @@ class Vr extends Go{constructor(t){if(super(t),this.et=Q,t.type!==To)throw Error
|
|
|
606
611
|
</ft-icon>
|
|
607
612
|
<ft-typography class="ft-tabs--tab-label"
|
|
608
613
|
part="tab-label${t.active?" active-tab-label":""}"
|
|
609
|
-
variant="${
|
|
614
|
+
variant="${Re.body2}">
|
|
610
615
|
${t.label}
|
|
611
616
|
</ft-typography>
|
|
612
617
|
</button>
|
|
@@ -620,11 +625,11 @@ class Vr extends Go{constructor(t){if(super(t),this.et=Q,t.type!==To)throw Error
|
|
|
620
625
|
<slot @slotchange=${this.onContentChange}></slot>
|
|
621
626
|
</div>
|
|
622
627
|
</div>
|
|
623
|
-
`}onContentChange(t){const o=t.composedPath()[0];this.ftTabs=o.assignedElements().map((t=>t)),this.ftTabs.forEach((t=>{t.removeEventListener("updated",this.onTabUpdated),t.addEventListener("updated",this.onTabUpdated)})),this.updateTabs()}update(t){super.update(t),t.has("activeIndex")&&this.dispatchEvent(new
|
|
628
|
+
`}onContentChange(t){const o=t.composedPath()[0];this.ftTabs=o.assignedElements().map((t=>t)),this.ftTabs.forEach((t=>{t.removeEventListener("updated",this.onTabUpdated),t.addEventListener("updated",this.onTabUpdated)})),this.updateTabs()}update(t){super.update(t),t.has("activeIndex")&&this.dispatchEvent(new $o),(t.has("ftTabs")||t.has("activeIndex"))&&this.updateTabs(),t.has("activeIndex")&&this.dispatchEvent(new Nn(this.activeIndex))}contentAvailableCallback(t){super.contentAvailableCallback(t),this.tabsContainer&&this.resizeObserver.observe(this.tabsContainer),this.placeIndicator()}placeIndicator(){var t,o,e,r,i,n,a;if(this.activeTabIndicator){const s=null!==(o=null===(t=this.activeTab)||void 0===t?void 0:t.closest(".ft-tabs--tab-tooltip"))&&void 0!==o?o:this.activeTab;this.activeTabIndicator.style.width=(null!==(e=null==s?void 0:s.clientWidth)&&void 0!==e?e:0)+"px",this.activeTabIndicator.style.left=(null!==(r=null==s?void 0:s.offsetLeft)&&void 0!==r?r:0)+"px",this.contentBefore?this.activeTabIndicator.style.top=(null!==(i=null==s?void 0:s.offsetTop)&&void 0!==i?i:0)+"px":this.activeTabIndicator.style.top=(null!==(n=null==s?void 0:s.offsetTop)&&void 0!==n?n:0)+(null!==(a=null==s?void 0:s.clientHeight)&&void 0!==a?a:0)-this.activeTabIndicator.clientHeight+"px"}}updateTabs(){this.ftTabs.forEach(((t,o)=>{t.active=o==this.activeIndex}))}addTooltipIfNecessary(t,o){return this.dense&&t.label&&t.icon?io`
|
|
624
629
|
<ft-tooltip class="ft-tabs--tab-tooltip"
|
|
625
630
|
part="tab-tooltip"
|
|
626
631
|
text="${t.label}"
|
|
627
632
|
position="${this.contentBefore?"top":"bottom"}">
|
|
628
633
|
${o}
|
|
629
634
|
</ft-tooltip>
|
|
630
|
-
`:o}}
|
|
635
|
+
`:o}}wn.elementDefinitions={"ft-tab":Ho,"ft-ripple":Oe,"ft-tooltip":On,"ft-typography":Vr,"ft-icon":ci},wn.styles=fi,vn([S({type:Boolean})],wn.prototype,"dense",void 0),vn([S({type:Boolean})],wn.prototype,"contentBefore",void 0),vn([S()],wn.prototype,"alignTabs",void 0),vn([C()],wn.prototype,"ftTabs",void 0),vn([U("[role='tablist']")],wn.prototype,"tabsContainer",void 0),vn([U("[aria-selected='true']")],wn.prototype,"activeTab",void 0),vn([U(".ft-tabs--active-tab-indicator")],wn.prototype,"activeTabIndicator",void 0),vn([S({type:Number,reflect:!0})],wn.prototype,"activeIndex",void 0);k("ft-tab")(Ho),k("ft-tabs")(wn),t.FtTab=Ho,t.FtTabCssVariables={},t.FtTabs=wn,t.FtTabsCssVariables=pi,t.IndexChangeEvent=Nn,t.styles=fi}({});
|