@fluid-topics/ft-search-load-more-button 1.1.41 → 1.1.42
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-search-load-more-button.js +1 -1
- package/build/ft-search-load-more-button.min.js +306 -267
- package/build/index.d.ts +1 -1
- package/build/index.js +1 -1
- package/package.json +5 -5
- /package/build/{ft-search-load-more-button.css.d.ts → ft-search-load-more-button.styles.d.ts} +0 -0
- /package/build/{ft-search-load-more-button.css.js → ft-search-load-more-button.styles.js} +0 -0
|
@@ -12,86 +12,136 @@
|
|
|
12
12
|
* subject to an additional IP rights grant found at
|
|
13
13
|
* http://polymer.github.io/PATENTS.txt
|
|
14
14
|
*/
|
|
15
|
-
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,r=window.customElements,i=new WeakMap,n=new WeakMap,a=new WeakMap,s=new WeakMap;let c;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,c=new Set(i.observedAttributes||[]);h(i,c,s);const l={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:c};this._definitionsByTag.set(t,l),this._definitionsByClass.set(i,l);let f=o.call(r,t);f||(f=p(t),e.call(r,t,f)),this===window.customElements&&(a.set(i,l),l.standInClass=f);const u=this._awaitingUpgrade.get(t);if(u){this._awaitingUpgrade.delete(t);for(const t of u)n.delete(t),d(t,l,!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 e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let o=this._whenDefinedPromises.get(t);return void 0===o&&(o={},o.promise=new Promise((t=>o.resolve=t)),this._whenDefinedPromises.set(t,o)),o.promise}_upgradeWhenDefined(t,e,o){let r=this._awaitingUpgrade.get(e);r||this._awaitingUpgrade.set(e,r=new Set),o?r.add(t):r.delete(t)}},window.HTMLElement=function(){let e=c;if(e)return c=void 0,e;const o=a.get(this.constructor);if(!o)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],o.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),i.set(e,o),e},window.HTMLElement.prototype=t.prototype;const l=t=>t===document||t instanceof ShadowRoot,f=t=>{let e=t.getRootNode();if(!l(e)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),l(e)||(e=s.get(e)?.getRootNode()||document)}return e.customElements},p=e=>class{static get formAssociated(){return!0}constructor(){const o=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(o,HTMLElement.prototype);const r=f(o)||window.customElements,i=r._getDefinition(e);return i?d(o,i):n.set(o,r),o}connectedCallback(){const t=i.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=i.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!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,e,o)=>{if(0===e.size||void 0===o)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,i){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);r.call(this,n,i),o.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(e.has(r)){const t=this.getAttribute(r);i.call(this,r),o.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(e.has(i)){const t=this.getAttribute(i);n.call(this,i,r);const e=this.getAttribute(i);o.call(this,i,t,e)}else n.call(this,i,r)})},u=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t?Object.setPrototypeOf(e,window.HTMLElement):u(o)},d=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),i.set(t,e),c=t;try{new e.elementClass}catch(t){u(e.elementClass),new e.elementClass}e.attributeChangedCallback&&e.observedAttributes.forEach((o=>{t.hasAttribute(o)&&e.attributeChangedCallback.call(t,o,null,t.getAttribute(o))})),o&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let g=[document];const b=(t,e,o=void 0)=>{const r=(o?Object.getPrototypeOf(o):t.prototype)[e];t.prototype[e]=function(){g.push(this);const t=r.apply(o||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,e)=>{const o=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...o,set(t){g.push(this),o.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,o=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...o){const r=e.call(this,...o);return t.set(r,this),r},o.forEach((e=>{const o=window.ElementInternals.prototype,r=o[e];o[e]=function(...e){const o=t.get(this);if(!0===i.get(o).formAssociated)return r?.call(this,...e);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 e=new Map;t.forEach(((t,o)=>{const r=t.getAttribute("name"),i=e.get(r)||[];this[+o]=t,i.push(t),e.set(r,i)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=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,[]),e=[];for(const o of t){const t=i.get(o);t&&!0!==t.formAssociated||e.push(o)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(rs){const t=window.customElements.define;window.customElements.define=(e,o,r)=>{if(null!==o)try{t.bind(window.customElements)(e,o,r)}catch(t){console.info(e,o,r,t)}}}class e extends Error{constructor(t,e,o){super(t),this.canceledPromiseResult=e,this.canceledPromiseError=o}}class o extends Promise{constructor(t){super(((o,r)=>t((t=>{this.isCanceled?r(new e("Promise has been canceled",t)):o(t)}),(t=>{this.isCanceled?r(new e("Promise has been canceled",void 0,t)):r(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}class r{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,e){this.loaders[t]=e,this.finalContent.delete(t)}registerFinal(t,e){this.loaders[t]=e,this.finalContent.add(t)}clearAll(){for(let t in this.content)this.clear(t)}clear(t){this.finalContent.has(t)||this.forceClear(t)}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof o&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){null!=this.clearTimeouts[t]&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,e){this.forceClear(t),this.register(t,(async()=>e)),this.content[t]=e}setFinal(t,e){this.forceClear(t),this.registerFinal(t,(async()=>e)),this.content[t]=e}async get(t,e,r){if(void 0===this.content[t]){if(null==(e=null!=e?e:this.loaders[t]))throw new Error("Unknown cache key "+t);const i=(t=>new o(((e,o)=>t.then(e).catch(o))))(e());return this.content[t]=i,i.then((e=>(this.content[t]=e,null!=r&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout((()=>this.clear(t)),r)),e)))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return!(null==t||t instanceof Promise||t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return null!=this.content[t]}resolvedKeys(){return Object.keys(this.content).filter((t=>this.isResolvedValue(this.content[t])))}resolvedValues(){return Object.values(this.content).filter((t=>this.isResolvedValue(t)))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}}class i{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const o=[...this.callbacks];this.callbacks=[];const r=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,i=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of o)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}}
|
|
15
|
+
if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,o=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 f=o.call(r,t);f||(f=u(t),e.call(r,t,f)),this===window.customElements&&(a.set(i,c),c.standInClass=f);const p=this._awaitingUpgrade.get(t);if(p){this._awaitingUpgrade.delete(t);for(const t of p)n.delete(t),d(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 e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let o=this._whenDefinedPromises.get(t);return void 0===o&&(o={},o.promise=new Promise((t=>o.resolve=t)),this._whenDefinedPromises.set(t,o)),o.promise}_upgradeWhenDefined(t,e,o){let r=this._awaitingUpgrade.get(e);r||this._awaitingUpgrade.set(e,r=new Set),o?r.add(t):r.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const o=a.get(this.constructor);if(!o)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],o.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),i.set(e,o),e},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,f=t=>{let e=t.getRootNode();if(!c(e)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),c(e)||(e=s.get(e)?.getRootNode()||document)}return e.customElements},u=e=>class{static get formAssociated(){return!0}constructor(){const o=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(o,HTMLElement.prototype);const r=f(o)||window.customElements,i=r._getDefinition(e);return i?d(o,i):n.set(o,r),o}connectedCallback(){const t=i.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=i.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!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,e,o)=>{if(0===e.size||void 0===o)return;const r=t.prototype.setAttribute;r&&(t.prototype.setAttribute=function(t,i){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);r.call(this,n,i),o.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(e.has(r)){const t=this.getAttribute(r);i.call(this,r),o.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(e.has(i)){const t=this.getAttribute(i);n.call(this,i,r);const e=this.getAttribute(i);o.call(this,i,t,e)}else n.call(this,i,r)})},p=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t?Object.setPrototypeOf(e,window.HTMLElement):p(o)},d=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),i.set(t,e),l=t;try{new e.elementClass}catch(t){p(e.elementClass),new e.elementClass}e.attributeChangedCallback&&e.observedAttributes.forEach((o=>{t.hasAttribute(o)&&e.attributeChangedCallback.call(t,o,null,t.getAttribute(o))})),o&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let g=[document];const b=(t,e,o=void 0)=>{const r=(o?Object.getPrototypeOf(o):t.prototype)[e];t.prototype[e]=function(){g.push(this);const t=r.apply(o||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,e)=>{const o=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...o,set(t){g.push(this),o.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,o=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...o){const r=e.call(this,...o);return t.set(r,this),r},o.forEach((e=>{const o=window.ElementInternals.prototype,r=o[e];o[e]=function(...e){const o=t.get(this);if(!0===i.get(o).formAssociated)return r?.call(this,...e);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 e=new Map;t.forEach(((t,o)=>{const r=t.getAttribute("name"),i=e.get(r)||[];this[+o]=t,i.push(t),e.set(r,i)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=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,[]),e=[];for(const o of t){const t=i.get(o);t&&!0!==t.formAssociated||e.push(o)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(Ml){const t=window.customElements.define;window.customElements.define=(e,o,r)=>{if(null!==o)try{t.bind(window.customElements)(e,o,r)}catch(t){console.info(e,o,r,t)}}}
|
|
16
16
|
/**
|
|
17
17
|
* @license
|
|
18
18
|
* Copyright 2019 Google LLC
|
|
19
19
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
20
|
-
*/const
|
|
20
|
+
*/const e=globalThis,o=e.ShadowRoot&&(void 0===e.ShadyCSS||e.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,r=Symbol(),i=new WeakMap;const n=t=>new class{constructor(t,e,o){if(this._$cssResult$=!0,o!==r)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(o&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=i.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&i.set(e,t))}return t}toString(){return this.cssText}}("string"==typeof t?t:t+"",void 0,r),a=o?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return n(e)})(t):t
|
|
21
21
|
/**
|
|
22
22
|
* @license
|
|
23
23
|
* Copyright 2017 Google LLC
|
|
24
24
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
25
|
-
*/,{is:
|
|
25
|
+
*/,{is:s,defineProperty:l,getOwnPropertyDescriptor:c,getOwnPropertyNames:f,getOwnPropertySymbols:u,getPrototypeOf:h}=Object,p=globalThis,d=p.trustedTypes,y=d?d.emptyScript:"",g=p.reactiveElementPolyfillSupport,b=(t,e)=>t,m={toAttribute(t,e){switch(e){case Boolean:t=t?y:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=null!==t;break;case Number:o=null===t?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch(t){o=null}}return o}},v=(t,e)=>!s(t,e),x={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:v};Symbol.metadata??=Symbol("metadata"),p.litPropertyMetadata??=new WeakMap;let O=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=x){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),r=this.getPropertyDescriptor(t,o,e);void 0!==r&&l(this.prototype,t,r)}}static getPropertyDescriptor(t,e,o){const{get:r,set:i}=c(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return r?.call(this)},set(e){const n=r?.call(this);i.call(this,e),this.requestUpdate(t,n,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??x}static _$Ei(){if(this.hasOwnProperty(b("elementProperties")))return;const t=h(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(b("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(b("properties"))){const t=this.properties,e=[...f(t),...u(t)];for(const o of e)this.createProperty(o,t[o])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,o]of e)this.elementProperties.set(t,o)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const o=this._$Eu(t,e);void 0!==o&&this._$Eh.set(o,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const o=new Set(t.flat(1/0).reverse());for(const t of o)e.unshift(a(t))}else void 0!==t&&e.push(a(t));return e}static _$Eu(t,e){const o=e.attribute;return!1===o?void 0:"string"==typeof o?o:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,e=this.constructor.elementProperties;for(const o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,r)=>{if(o)t.adoptedStyleSheets=r.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of r){const r=document.createElement("style"),i=e.litNonce;void 0!==i&&r.setAttribute("nonce",i),r.textContent=o.cssText,t.appendChild(r)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,o){this._$AK(t,o)}_$EO(t,e){const o=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,o);if(void 0!==r&&!0===o.reflect){const i=(void 0!==o.converter?.toAttribute?o.converter:m).toAttribute(e,o.type);this._$Em=t,null==i?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,e){const o=this.constructor,r=o._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=o.getPropertyOptions(r),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:m;this._$Em=r,this[r]=i.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,r=!1,i){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??v)(r?i:this[t],e))return;this.C(t,e,o)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,e,o){this._$AL.has(t)||this._$AL.set(t,e),!0===o.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,o]of t)!0!==o.wrapped||this._$AL.has(e)||void 0===this[e]||this.C(e,this[e],o)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$ET()}catch(e){throw t=!1,this._$ET(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};O.elementStyles=[],O.shadowRootOptions={mode:"open"},O[b("elementProperties")]=new Map,O[b("finalized")]=new Map,g?.({ReactiveElement:O}),(p.reactiveElementVersions??=[]).push("2.0.2");
|
|
26
26
|
/**
|
|
27
27
|
* @license
|
|
28
28
|
* Copyright 2017 Google LLC
|
|
29
29
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
30
30
|
*/
|
|
31
|
-
const
|
|
31
|
+
const w=globalThis,S=w.trustedTypes,N=S?S.createPolicy("lit-html",{createHTML:t=>t}):void 0,C="$lit$",E=`lit$${(Math.random()+"").slice(9)}$`,R="?"+E,$=`<${R}>`,I=document,L=()=>I.createComment(""),U=t=>null===t||"object"!=typeof t&&"function"!=typeof t,k=Array.isArray,A=t=>k(t)||"function"==typeof t?.[Symbol.iterator],W="[ \t\n\f\r]",_=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,F=/-->/g,j=/>/g,P=RegExp(`>|${W}(?:([^\\s"'>=/]+)(${W}*=${W}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),B=/'/g,M=/"/g,D=/^(?:script|style|textarea|title)$/i,K=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),z=Symbol.for("lit-noChange"),T=Symbol.for("lit-nothing"),Z=new WeakMap,H=I.createTreeWalker(I,129);function G(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==N?N.createHTML(e):e}const V=(t,e)=>{const o=t.length-1,r=[];let i,n=2===e?"<svg>":"",a=_;for(let e=0;e<o;e++){const o=t[e];let s,l,c=-1,f=0;for(;f<o.length&&(a.lastIndex=f,l=a.exec(o),null!==l);)f=a.lastIndex,a===_?"!--"===l[1]?a=F:void 0!==l[1]?a=j:void 0!==l[2]?(D.test(l[2])&&(i=RegExp("</"+l[2],"g")),a=P):void 0!==l[3]&&(a=P):a===P?">"===l[0]?(a=i??_,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?P:'"'===l[3]?M:B):a===M||a===B?a=P:a===F||a===j?a=_:(a=P,i=void 0);const u=a===P&&t[e+1].startsWith("/>")?" ":"";n+=a===_?o+$:c>=0?(r.push(s),o.slice(0,c)+C+o.slice(c)+E+u):o+E+(-2===c?e:u)}return[G(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),r]};let q=class t{constructor({strings:e,_$litType$:o},r){let i;this.parts=[];let n=0,a=0;const s=e.length-1,l=this.parts,[c,f]=V(e,o);if(this.el=t.createElement(c,r),H.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=H.nextNode())&&l.length<s;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(C)){const e=f[a++],o=i.getAttribute(t).split(E),r=/([.?@])?(.*)/.exec(e);l.push({type:1,index:n,name:r[2],strings:o,ctor:"."===r[1]?tt:"?"===r[1]?et:"@"===r[1]?ot:Q}),i.removeAttribute(t)}else t.startsWith(E)&&(l.push({type:6,index:n}),i.removeAttribute(t));if(D.test(i.tagName)){const t=i.textContent.split(E),e=t.length-1;if(e>0){i.textContent=S?S.emptyScript:"";for(let o=0;o<e;o++)i.append(t[o],L()),H.nextNode(),l.push({type:2,index:++n});i.append(t[e],L())}}}else if(8===i.nodeType)if(i.data===R)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=i.data.indexOf(E,t+1));)l.push({type:7,index:n}),t+=E.length-1}n++}}static createElement(t,e){const o=I.createElement("template");return o.innerHTML=t,o}};function Y(t,e,o=t,r){if(e===z)return e;let i=void 0!==r?o._$Co?.[r]:o._$Cl;const n=U(e)?void 0:e._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,o,r)),void 0!==r?(o._$Co??=[])[r]=i:o._$Cl=i),void 0!==i&&(e=Y(t,i._$AS(t,e.values),i,r)),e}let J=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,r=(t?.creationScope??I).importNode(e,!0);H.currentNode=r;let i=H.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new X(i,i.nextSibling,this,t):1===s.type?e=new s.ctor(i,s.name,s.strings,this,t):6===s.type&&(e=new rt(i,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(i=H.nextNode(),n++)}return H.currentNode=I,r}p(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}},X=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,r){this.type=2,this._$AH=T,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=Y(this,t,e),U(t)?t===T||null==t||""===t?(this._$AH!==T&&this._$AR(),this._$AH=T):t!==this._$AH&&t!==z&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):A(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!==T&&U(this._$AH)?this._$AA.nextSibling.data=t:this.$(I.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,r="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=q.createElement(G(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===r)this._$AH.p(e);else{const t=new J(r,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=Z.get(t.strings);return void 0===e&&Z.set(t.strings,e=new q(t)),e}T(e){k(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let r,i=0;for(const n of e)i===o.length?o.push(r=new t(this.k(L()),this.k(L()),this,this.options)):r=o[i],r._$AI(n),i++;i<o.length&&(this._$AR(r&&r._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},Q=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,r,i){this.type=1,this._$AH=T,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=i,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=T}_$AI(t,e=this,o,r){const i=this.strings;let n=!1;if(void 0===i)t=Y(this,t,e,0),n=!U(t)||t!==this._$AH&&t!==z,n&&(this._$AH=t);else{const r=t;let a,s;for(t=i[0],a=0;a<i.length-1;a++)s=Y(this,r[o+a],e,a),s===z&&(s=this._$AH[a]),n||=!U(s)||s!==this._$AH[a],s===T?t=T:t!==T&&(t+=(s??"")+i[a+1]),this._$AH[a]=s}n&&!r&&this.O(t)}O(t){t===T?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},tt=class extends Q{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===T?void 0:t}},et=class extends Q{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==T)}},ot=class extends Q{constructor(t,e,o,r,i){super(t,e,o,r,i),this.type=5}_$AI(t,e=this){if((t=Y(this,t,e,0)??T)===z)return;const o=this._$AH,r=t===T&&o!==T||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,i=t!==T&&(o===T||r);r&&this.element.removeEventListener(this.name,this,o),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)}},rt=class{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){Y(this,t)}};const it={j:C,P:E,A:R,C:1,M:V,L:J,R:A,V:Y,D:X,I:Q,H:et,N:ot,U:tt,B:rt},nt=w.litHtmlPolyfillSupport;nt?.(q,X),(w.litHtmlVersions??=[]).push("3.1.0");
|
|
32
|
+
/**
|
|
33
|
+
* @license
|
|
34
|
+
* Copyright 2019 Google LLC
|
|
35
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
36
|
+
*/
|
|
37
|
+
const at=globalThis,st=at.ShadowRoot&&(void 0===at.ShadyCSS||at.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,lt=Symbol(),ct=new WeakMap;let ft=class{constructor(t,e,o){if(this._$cssResult$=!0,o!==lt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(st&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=ct.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&ct.set(e,t))}return t}toString(){return this.cssText}};const ut=t=>new ft("string"==typeof t?t:t+"",void 0,lt),ht=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,o,r)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(o)+t[r+1]),t[0]);return new ft(o,t,lt)},pt=(t,e)=>{if(st)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of e){const e=document.createElement("style"),r=at.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}},dt=st?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return ut(e)})(t):t
|
|
32
38
|
/**
|
|
33
39
|
* @license
|
|
34
40
|
* Copyright 2017 Google LLC
|
|
35
41
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
36
|
-
|
|
42
|
+
*/,{is:yt,defineProperty:gt,getOwnPropertyDescriptor:bt,getOwnPropertyNames:mt,getOwnPropertySymbols:vt,getPrototypeOf:xt}=Object,Ot=globalThis,wt=Ot.trustedTypes,St=wt?wt.emptyScript:"",Nt=Ot.reactiveElementPolyfillSupport,Ct=(t,e)=>t,Et={toAttribute(t,e){switch(e){case Boolean:t=t?St:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=null!==t;break;case Number:o=null===t?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch(t){o=null}}return o}},Rt=(t,e)=>!yt(t,e),$t={attribute:!0,type:String,converter:Et,reflect:!1,hasChanged:Rt};Symbol.metadata??=Symbol("metadata"),Ot.litPropertyMetadata??=new WeakMap;let It=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=$t){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),r=this.getPropertyDescriptor(t,o,e);void 0!==r&>(this.prototype,t,r)}}static getPropertyDescriptor(t,e,o){const{get:r,set:i}=bt(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return r?.call(this)},set(e){const n=r?.call(this);i.call(this,e),this.requestUpdate(t,n,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??$t}static _$Ei(){if(this.hasOwnProperty(Ct("elementProperties")))return;const t=xt(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Ct("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ct("properties"))){const t=this.properties,e=[...mt(t),...vt(t)];for(const o of e)this.createProperty(o,t[o])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,o]of e)this.elementProperties.set(t,o)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const o=this._$Eu(t,e);void 0!==o&&this._$Eh.set(o,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const o=new Set(t.flat(1/0).reverse());for(const t of o)e.unshift(dt(t))}else void 0!==t&&e.push(dt(t));return e}static _$Eu(t,e){const o=e.attribute;return!1===o?void 0:"string"==typeof o?o:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,e=this.constructor.elementProperties;for(const o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return pt(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,o){this._$AK(t,o)}_$EO(t,e){const o=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,o);if(void 0!==r&&!0===o.reflect){const i=(void 0!==o.converter?.toAttribute?o.converter:Et).toAttribute(e,o.type);this._$Em=t,null==i?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,e){const o=this.constructor,r=o._$Eh.get(t);if(void 0!==r&&this._$Em!==r){const t=o.getPropertyOptions(r),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:Et;this._$Em=r,this[r]=i.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,r=!1,i){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??Rt)(r?i:this[t],e))return;this.C(t,e,o)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,e,o){this._$AL.has(t)||this._$AL.set(t,e),!0===o.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,o]of t)!0!==o.wrapped||this._$AL.has(e)||void 0===this[e]||this.C(e,this[e],o)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$ET()}catch(e){throw t=!1,this._$ET(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};It.elementStyles=[],It.shadowRootOptions={mode:"open"},It[Ct("elementProperties")]=new Map,It[Ct("finalized")]=new Map,Nt?.({ReactiveElement:It}),(Ot.reactiveElementVersions??=[]).push("2.0.2");
|
|
37
43
|
/**
|
|
38
44
|
* @license
|
|
39
45
|
* Copyright 2017 Google LLC
|
|
40
46
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
41
|
-
*/
|
|
47
|
+
*/
|
|
48
|
+
const Lt=globalThis,Ut=Lt.trustedTypes,kt=Ut?Ut.createPolicy("lit-html",{createHTML:t=>t}):void 0,At="$lit$",Wt=`lit$${(Math.random()+"").slice(9)}$`,_t="?"+Wt,Ft=`<${_t}>`,jt=document,Pt=()=>jt.createComment(""),Bt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Mt=Array.isArray,Dt=t=>Mt(t)||"function"==typeof t?.[Symbol.iterator],Kt="[ \t\n\f\r]",zt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Tt=/-->/g,Zt=/>/g,Ht=RegExp(`>|${Kt}(?:([^\\s"'>=/]+)(${Kt}*=${Kt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Gt=/'/g,Vt=/"/g,qt=/^(?:script|style|textarea|title)$/i,Yt=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),Jt=Yt(1),Xt=Yt(2),Qt=Symbol.for("lit-noChange"),te=Symbol.for("lit-nothing"),ee=new WeakMap,oe=jt.createTreeWalker(jt,129);function re(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==kt?kt.createHTML(e):e}const ie=(t,e)=>{const o=t.length-1,r=[];let i,n=2===e?"<svg>":"",a=zt;for(let e=0;e<o;e++){const o=t[e];let s,l,c=-1,f=0;for(;f<o.length&&(a.lastIndex=f,l=a.exec(o),null!==l);)f=a.lastIndex,a===zt?"!--"===l[1]?a=Tt:void 0!==l[1]?a=Zt:void 0!==l[2]?(qt.test(l[2])&&(i=RegExp("</"+l[2],"g")),a=Ht):void 0!==l[3]&&(a=Ht):a===Ht?">"===l[0]?(a=i??zt,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?Ht:'"'===l[3]?Vt:Gt):a===Vt||a===Gt?a=Ht:a===Tt||a===Zt?a=zt:(a=Ht,i=void 0);const u=a===Ht&&t[e+1].startsWith("/>")?" ":"";n+=a===zt?o+Ft:c>=0?(r.push(s),o.slice(0,c)+At+o.slice(c)+Wt+u):o+Wt+(-2===c?e:u)}return[re(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),r]};class ne{constructor({strings:t,_$litType$:e},o){let r;this.parts=[];let i=0,n=0;const a=t.length-1,s=this.parts,[l,c]=ie(t,e);if(this.el=ne.createElement(l,o),oe.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=oe.nextNode())&&s.length<a;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(At)){const e=c[n++],o=r.getAttribute(t).split(Wt),a=/([.?@])?(.*)/.exec(e);s.push({type:1,index:i,name:a[2],strings:o,ctor:"."===a[1]?fe:"?"===a[1]?ue:"@"===a[1]?he:ce}),r.removeAttribute(t)}else t.startsWith(Wt)&&(s.push({type:6,index:i}),r.removeAttribute(t));if(qt.test(r.tagName)){const t=r.textContent.split(Wt),e=t.length-1;if(e>0){r.textContent=Ut?Ut.emptyScript:"";for(let o=0;o<e;o++)r.append(t[o],Pt()),oe.nextNode(),s.push({type:2,index:++i});r.append(t[e],Pt())}}}else if(8===r.nodeType)if(r.data===_t)s.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(Wt,t+1));)s.push({type:7,index:i}),t+=Wt.length-1}i++}}static createElement(t,e){const o=jt.createElement("template");return o.innerHTML=t,o}}function ae(t,e,o=t,r){if(e===Qt)return e;let i=void 0!==r?o._$Co?.[r]:o._$Cl;const n=Bt(e)?void 0:e._$litDirective$;return i?.constructor!==n&&(i?._$AO?.(!1),void 0===n?i=void 0:(i=new n(t),i._$AT(t,o,r)),void 0!==r?(o._$Co??=[])[r]=i:o._$Cl=i),void 0!==i&&(e=ae(t,i._$AS(t,e.values),i,r)),e}let se=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,r=(t?.creationScope??jt).importNode(e,!0);oe.currentNode=r;let i=oe.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new le(i,i.nextSibling,this,t):1===s.type?e=new s.ctor(i,s.name,s.strings,this,t):6===s.type&&(e=new pe(i,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(i=oe.nextNode(),n++)}return oe.currentNode=jt,r}p(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}},le=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,r){this.type=2,this._$AH=te,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=ae(this,t,e),Bt(t)?t===te||null==t||""===t?(this._$AH!==te&&this._$AR(),this._$AH=te):t!==this._$AH&&t!==Qt&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):Dt(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!==te&&Bt(this._$AH)?this._$AA.nextSibling.data=t:this.$(jt.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,r="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=ne.createElement(re(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===r)this._$AH.p(e);else{const t=new se(r,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=ee.get(t.strings);return void 0===e&&ee.set(t.strings,e=new ne(t)),e}T(e){Mt(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let r,i=0;for(const n of e)i===o.length?o.push(r=new t(this.k(Pt()),this.k(Pt()),this,this.options)):r=o[i],r._$AI(n),i++;i<o.length&&(this._$AR(r&&r._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},ce=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,r,i){this.type=1,this._$AH=te,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=i,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=te}_$AI(t,e=this,o,r){const i=this.strings;let n=!1;if(void 0===i)t=ae(this,t,e,0),n=!Bt(t)||t!==this._$AH&&t!==Qt,n&&(this._$AH=t);else{const r=t;let a,s;for(t=i[0],a=0;a<i.length-1;a++)s=ae(this,r[o+a],e,a),s===Qt&&(s=this._$AH[a]),n||=!Bt(s)||s!==this._$AH[a],s===te?t=te:t!==te&&(t+=(s??"")+i[a+1]),this._$AH[a]=s}n&&!r&&this.O(t)}O(t){t===te?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},fe=class extends ce{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===te?void 0:t}},ue=class extends ce{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==te)}},he=class extends ce{constructor(t,e,o,r,i){super(t,e,o,r,i),this.type=5}_$AI(t,e=this){if((t=ae(this,t,e,0)??te)===Qt)return;const o=this._$AH,r=t===te&&o!==te||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,i=t!==te&&(o===te||r);r&&this.element.removeEventListener(this.name,this,o),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)}},pe=class{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){ae(this,t)}};const de={j:At,P:Wt,A:_t,C:1,M:ie,L:se,R:Dt,V:ae,D:le,I:ce,H:ue,N:he,U:fe,B:pe},ye=Lt.litHtmlPolyfillSupport;ye?.(ne,le),(Lt.litHtmlVersions??=[]).push("3.1.0");const ge=(t,e,o)=>{const r=o?.renderBefore??e;let i=r._$litPart$;if(void 0===i){const t=o?.renderBefore??null;r._$litPart$=i=new le(e.insertBefore(Pt(),t),t,void 0,o??{})}return i._$AI(t),i
|
|
42
49
|
/**
|
|
43
50
|
* @license
|
|
44
51
|
* Copyright 2017 Google LLC
|
|
45
52
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
46
|
-
*/const
|
|
53
|
+
*/};let be=class extends It{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=ge(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Qt}};be._$litElement$=!0,be.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:be});const me=globalThis.litElementPolyfillSupport;me?.({LitElement:be});(globalThis.litElementVersions??=[]).push("4.0.2");var ve=Object.freeze({__proto__:null,CSSResult:ft,LitElement:be,ReactiveElement:It,_$LE:{_$AK:(t,e,o)=>{t._$AK(e,o)},_$AL:t=>t._$AL},_$LH:de,adoptStyles:pt,css:ht,defaultConverter:Et,getCompatibleStyle:dt,html:Jt,isServer:!1,noChange:Qt,notEqual:Rt,nothing:te,render:ge,supportsAdoptingStyleSheets:st,svg:Xt,unsafeCSS:ut});
|
|
47
54
|
/**
|
|
48
55
|
* @license
|
|
49
56
|
* Copyright 2017 Google LLC
|
|
50
57
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
51
|
-
|
|
58
|
+
*/const xe={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:v},Oe=(t=xe,e,o)=>{const{kind:r,metadata:i}=o;let n=globalThis.litPropertyMetadata.get(i);if(void 0===n&&globalThis.litPropertyMetadata.set(i,n=new Map),n.set(o.name,t),"accessor"===r){const{name:r}=o;return{set(o){const i=e.get.call(this);e.set.call(this,o),this.requestUpdate(r,i,t)},init(e){return void 0!==e&&this.C(r,void 0,t),e}}}if("setter"===r){const{name:r}=o;return function(o){const i=this[r];e.call(this,o),this.requestUpdate(r,i,t)}}throw Error("Unsupported decorator location: "+r)};
|
|
52
59
|
/**
|
|
53
60
|
* @license
|
|
54
61
|
* Copyright 2017 Google LLC
|
|
55
62
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
56
|
-
*/function
|
|
63
|
+
*/function we(t){return(e,o)=>"object"==typeof o?Oe(t,e,o):((t,e,o)=>{const r=e.hasOwnProperty(o);return e.constructor.createProperty(o,r?{...t,wrapped:!0}:t),r?Object.getOwnPropertyDescriptor(e,o):void 0})(t,e,o)
|
|
57
64
|
/**
|
|
58
65
|
* @license
|
|
59
66
|
* Copyright 2017 Google LLC
|
|
60
67
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
61
|
-
*/
|
|
68
|
+
*/}function Se(t){return we({...t,state:!0,attribute:!1})}
|
|
62
69
|
/**
|
|
63
70
|
* @license
|
|
64
|
-
* Copyright
|
|
71
|
+
* Copyright 2017 Google LLC
|
|
65
72
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
66
|
-
*/
|
|
67
|
-
const gt=globalThis,bt=gt.ShadowRoot&&(void 0===gt.ShadyCSS||gt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,mt=Symbol(),vt=new WeakMap;let xt=class{constructor(t,e,o){if(this._$cssResult$=!0,o!==mt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(bt&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=vt.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&vt.set(e,t))}return t}toString(){return this.cssText}};const Ot=t=>new xt("string"==typeof t?t:t+"",void 0,mt),wt=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,o,r)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(o)+t[r+1]),t[0]);return new xt(o,t,mt)},St=bt?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return Ot(e)})(t):t
|
|
73
|
+
*/function Ne(t){return(e,o)=>{const r="function"==typeof e?e:e[o];Object.assign(r,t)}}
|
|
68
74
|
/**
|
|
69
75
|
* @license
|
|
70
76
|
* Copyright 2017 Google LLC
|
|
71
77
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
72
|
-
|
|
78
|
+
*/const Ce=(t,e,o)=>(o.configurable=!0,o.enumerable=!0,o)
|
|
79
|
+
/**
|
|
80
|
+
* @license
|
|
81
|
+
* Copyright 2017 Google LLC
|
|
82
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
83
|
+
*/;function Ee(t,e){return(o,r,i)=>{const n=e=>e.renderRoot?.querySelector(t)??null;if(e){const{get:t,set:e}="object"==typeof r?o:i??(()=>{const t=Symbol();return{get(){return this[t]},set(e){this[t]=e}}})();return Ce(0,0,{get(){let o=t.call(this);return void 0===o&&(o=n(this),(null!==o||this.hasUpdated)&&e.call(this,o)),o}})}return Ce(0,0,{get(){return n(this)}})}}
|
|
84
|
+
/**
|
|
85
|
+
* @license
|
|
86
|
+
* Copyright 2017 Google LLC
|
|
87
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
88
|
+
*/let Re;
|
|
73
89
|
/**
|
|
74
90
|
* @license
|
|
75
91
|
* Copyright 2017 Google LLC
|
|
76
92
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
77
93
|
*/
|
|
78
|
-
|
|
94
|
+
function $e(t){return(e,o)=>{const{slot:r}=t??{},i="slot"+(r?`[name=${r}]`:":not([name])");return Ce(0,0,{get(){const e=this.renderRoot?.querySelector(i);return e?.assignedNodes(t)??[]}})}}var Ie=Object.freeze({__proto__:null,customElement:t=>(e,o)=>{void 0!==o?o.addInitializer((()=>{customElements.define(t,e)})):customElements.define(t,e)},eventOptions:Ne,property:we,query:Ee,queryAll:function(t){return(e,o)=>Ce(0,0,{get(){return(this.renderRoot??(Re??=document.createDocumentFragment())).querySelectorAll(t)}})
|
|
79
95
|
/**
|
|
80
96
|
* @license
|
|
81
97
|
* Copyright 2017 Google LLC
|
|
82
98
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
99
|
+
*/},queryAssignedElements:
|
|
100
|
+
/**
|
|
101
|
+
* @license
|
|
102
|
+
* Copyright 2021 Google LLC
|
|
103
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
83
104
|
*/
|
|
84
|
-
let ve=class extends Pt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,o)=>{const r=o?.renderBefore??e;let i=r._$litPart$;if(void 0===i){const t=o?.renderBefore??null;r._$litPart$=i=new he(e.insertBefore(Gt(),t),t,void 0,o??{})}return i._$AI(t),i})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return ne}};ve._$litElement$=!0,ve.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:ve});const xe=globalThis.litElementPolyfillSupport;xe?.({LitElement:ve}),(globalThis.litElementVersions??=[]).push("4.0.2");const Oe=t=>"string"==typeof t?Ot(t):t;class we{static create(t,e,o,r){const i=t=>Oe(null!=t?t:r),n=wt`var(${Oe(t)}, ${i(r)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=r,n.defaultCssValue=i,n.get=e=>wt`var(${Oe(t)}, ${i(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>r,n}static extend(t,e,o,r){const i=t=>o.get(null!=t?t:r),n=wt`var(${Oe(t)}, ${i(r)})`;return n.name=t,n.description=e,n.category=o.category,n.fallbackVariable=o,n.defaultValue=r,n.defaultCssValue=i,n.get=e=>wt`var(${Oe(t)}, ${i(e)})`,n.breadcrumb=()=>[o.name,...o.breadcrumb()],n.lastResortDefaultValue=()=>null!=r?r:o.lastResortDefaultValue(),n}static external(t,e){const o=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):Oe(null!=e?e:t.lastResortDefaultValue()),r=wt`var(${Oe(t.name)}, ${o(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=e,r.defaultCssValue=o,r.get=e=>wt`var(${Oe(t.name)}, ${o(e)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}function Se(t,e){return Oe(`${t.name}: ${e}`)}const Ne={colorWhite:we.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:we.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:we.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:we.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:we.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:we.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:we.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:we.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:we.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:we.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:we.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:we.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:we.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:we.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:we.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:we.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:we.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:we.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:we.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:we.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:we.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:we.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:we.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:we.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:we.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:we.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:we.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:we.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:we.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:we.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:we.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:we.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:we.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:we.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:we.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:we.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:we.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:we.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:we.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:we.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:we.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:we.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:we.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:we.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:we.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:we.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:we.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:we.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:we.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:we.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:we.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:we.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:we.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:we.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:we.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:we.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:we.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:we.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:we.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:we.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:we.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:we.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:we.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:we.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:we.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:we.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:we.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:we.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:we.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:we.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:we.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:we.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:we.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:we.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:we.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:we.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:we.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:we.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:we.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:we.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:we.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:we.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:we.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:we.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:we.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:we.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:we.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:we.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:we.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:we.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:we.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:we.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:we.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:we.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:we.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:we.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:we.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:we.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:we.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:we.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:we.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:we.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:we.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:we.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:we.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:we.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:we.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:we.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:we.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:we.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:we.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:we.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:we.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:we.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:we.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:we.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:we.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:we.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:we.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:we.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:we.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:we.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:we.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:we.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:we.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:we.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:we.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:we.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:we.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:we.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:we.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:we.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:we.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:we.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:we.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:we.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:we.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:we.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:we.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:we.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:we.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:we.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:we.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:we.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:we.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:we.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:we.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:we.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:we.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:we.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:we.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:we.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:we.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:we.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:we.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:we.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:we.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:we.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:we.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:we.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:we.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:we.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:we.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:we.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:we.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:we.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:we.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:we.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:we.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:we.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:we.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:we.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:we.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:we.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:we.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:we.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:we.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:we.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:we.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:we.create("--ft-icon-size-6","","SIZE","48px"),opacity0:we.create("--ft-opacity-0","","NUMBER","0"),opacity8:we.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:we.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:we.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:we.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:we.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:we.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:we.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:we.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:we.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:we.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:we.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:we.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:we.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:we.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},Ce={display:{fontFamily:we.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:we.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:we.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:we.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:we.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:we.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:we.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:we.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:we.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:we.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:we.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:we.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:we.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:we.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:we.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:we.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:we.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:we.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:we.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:we.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:we.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:we.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:we.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:we.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:we.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:we.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:we.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:we.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:we.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:we.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:we.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:we.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:we.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:we.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:we.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:we.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:we.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:we.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:we.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:we.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:we.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:we.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:we.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:we.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:we.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:we.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:we.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:we.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:we.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:we.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:we.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:we.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:we.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:we.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:we.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:we.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:we.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:we.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:we.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:we.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:we.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:we.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:we.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:we.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:we.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:we.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:we.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:we.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:we.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:we.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:we.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:we.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:we.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:we.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:we.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:we.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:we.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:we.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:we.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:we.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:we.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:we.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:we.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:we.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:we.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:we.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:we.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:we.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:we.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:we.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:we.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:we.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:we.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:we.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:we.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:we.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:we.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:we.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:we.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:we.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:we.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:we.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:we.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:we.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:we.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:we.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:we.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:we.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:we.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:we.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:we.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:we.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:we.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:we.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},"caption-3-medium":{fontFamily:we.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:we.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:we.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:we.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:we.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:we.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},"caption-3-semibold":{fontFamily:we.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:we.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:we.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:we.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:we.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},"caption-3-bold":{fontFamily:we.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:we.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:we.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:we.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:we.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:we.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")}},Ee={backgroundActionPrimary:we.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Ne.colorBrand0),backgroundErrorPrimary:we.extend("--ft-background-error-primary","Used as background of error components.",Ne.colorRed0),backgroundErrorSubtle:we.extend("--ft-background-error-subtle","Used as background of subtle error components.",Ne.colorRed10),backgroundInfoPrimary:we.extend("--ft-background-info-primary","Used as background of information components.",Ne.colorCyan200),backgroundInfoSubtle:we.extend("--ft-background-info-subtle","Used as background of subtle information components.",Ne.colorCyan10),backgroundWarningPrimary:we.extend("--ft-background-warning-primary","Used as background of warning components.",Ne.colorOrange300),backgroundWarningSubtle:we.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Ne.colorOrange10),backgroundSuccessPrimary:we.extend("--ft-background-success-primary","Used as background of success components.",Ne.colorGreen200),backgroundSuccessSubtle:we.extend("--ft-background-success-subtle","Used as background of subtle success components.",Ne.colorGreen10),backgroundGlobalSurface:we.extend("--ft-background-global-surface","Used as app background.",Ne.colorWhite),backgroundGlobalOnSurface:we.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Ne.colorGray10),backgroundGlobalOnSurfaceDark:we.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Ne.colorGray30),contentActionPrimary:we.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Ne.colorBrand0),contentWarningPrimary:we.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Ne.colorOrange300),contentWarningIconOnly:we.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Ne.colorOrange0),contentErrorPrimary:we.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Ne.colorRed0),contentErrorIconOnly:we.extend("--ft-content-error-icon-only","Used on error status icons alone",Ne.colorRed0),contentInfoPrimary:we.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Ne.colorCyan200),contentInfoIconOnly:we.extend("--ft-content-info-icon-only","Used on info status icons alone",Ne.colorCyan0),contentSuccessPrimary:we.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Ne.colorGreen200),contentSuccessIconOnly:we.extend("--ft-content-success-icon-only","Used on success status icons alone",Ne.colorGreen0),contentGlobalPrimary:we.extend("--ft-content-global-primary","Used for main content on the page.",Ne.colorGray500),contentGlobalSecondary:we.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Ne.colorGray200),contentGlobalSubtle:we.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Ne.colorGray0),contentGlobalOnColor:we.extend("--ft-content-global-on-color","Used for content on a dominant color.",Ne.colorWhite),borderActionPrimary:we.extend("--ft-border-action-primary","Used as border for primary action components.",Ne.colorBrand0),borderActionFocusRing:we.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Ne.colorCyan0),borderWarningPrimary:we.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",Ne.colorOrange300),borderWarningSubtle:we.extend("--ft-border-warning-subtle","Used as border for warning components.",Ne.colorOrange30),borderSuccessPrimary:we.extend("--ft-border-success-primary","Used as border for success buttons.",Ne.colorGreen200),borderSuccessSubtle:we.extend("--ft-border-success-subtle","Used as border for success components.",Ne.colorGreen30),borderErrorPrimary:we.extend("--ft-border-error-primary","Used as border for text fields in error states.",Ne.colorRed0),borderErrorSubtle:we.extend("--ft-border-error-subtle","Used as border for error components.",Ne.colorRed30),borderInfoPrimary:we.extend("--ft-border-info-primary","Used as border for buttons in info color.",Ne.colorCyan200),borderInfoSubtle:we.extend("--ft-border-info-subtle","Used as border for information components.",Ne.colorCyan30),borderGlobalPrimary:we.extend("--ft-border-global-primary","Used as border for element like input.",Ne.colorGray50),borderGlobalSubtle:we.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Ne.colorGray30),borderInputPrimary:we.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Ne.colorGray80)},Re={largeHeight:we.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:we.extend("--ft-button-large-horizontal-padding","",Ne.spacing4),largeGap:we.extend("--ft-button-large-gap","",Ne.spacing2),largeBorderRadius:we.extend("--ft-button-large-border-radius","",Ne.borderRadiusS),largeIconSize:we.extend("--ft-button-large-icon-size","",Ne.iconSize3),largeBorderWidth:we.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:we.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:we.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:we.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:we.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:we.extend("--ft-button-small-horizontal-padding","",Ne.spacing3),smallGap:we.extend("--ft-button-small-gap","",Ne.spacing2),smallBorderRadius:we.extend("--ft-button-small-border-radius","",Ne.borderRadiusS),smallIconSize:we.extend("--ft-button-small-icon-size","",Ne.iconSize2),smallBorderWidth:we.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:we.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:we.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:we.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:we.extend("--ft-button-primary-background-color","",Ee.backgroundActionPrimary),primaryColor:we.extend("--ft-button-primary-color","",Ee.contentGlobalOnColor),primaryIconColor:we.extend("--ft-button-primary-icon-color","",Ee.contentGlobalOnColor),primaryStateLayerColor:we.extend("--ft-button-primary-state-layer-color","",Ee.contentGlobalOnColor),primaryStateLayerOpacityHover:we.extend("--ft-button-primary-state-layer-opacity-hover","",Ne.opacity16),primaryStateLayerOpacityFocus:we.extend("--ft-button-primary-state-layer-opacity-focus","",Ne.opacity16),primaryStateLayerOpacityActive:we.extend("--ft-button-primary-state-layer-opacity-active","",Ne.opacity24),primaryComponentOpacityDisabled:we.extend("--ft-button-primary-component-opacity-disabled","",Ne.opacity40),focusFocusRingColor:we.extend("--ft-button-focus-focus-ring-color","",Ee.borderActionFocusRing),tertiaryBackgroundColor:we.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:we.extend("--ft-button-tertiary-color","",Ee.contentActionPrimary),tertiaryIconColor:we.extend("--ft-button-tertiary-icon-color","",Ee.contentActionPrimary),tertiaryStateLayerColor:we.extend("--ft-button-tertiary-state-layer-color","",Ee.contentActionPrimary),tertiaryStateLayerOpacityHover:we.extend("--ft-button-tertiary-state-layer-opacity-hover","",Ne.opacity8),tertiaryStateLayerOpacityFocus:we.extend("--ft-button-tertiary-state-layer-opacity-focus","",Ne.opacity8),tertiaryStateLayerOpacityActive:we.extend("--ft-button-tertiary-state-layer-opacity-active","",Ne.opacity16),tertiaryComponentOpacityDisabled:we.extend("--ft-button-tertiary-component-opacity-disabled","",Ne.opacity40),secondaryBackgroundColor:we.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:we.extend("--ft-button-secondary-color","",Ee.contentActionPrimary),secondaryIconColor:we.extend("--ft-button-secondary-icon-color","",Ee.contentActionPrimary),secondaryStateLayerColor:we.extend("--ft-button-secondary-state-layer-color","",Ee.contentActionPrimary),secondaryStateLayerOpacityHover:we.extend("--ft-button-secondary-state-layer-opacity-hover","",Ne.opacity8),secondaryStateLayerOpacityFocus:we.extend("--ft-button-secondary-state-layer-opacity-focus","",Ne.opacity8),secondaryStateLayerOpacityActive:we.extend("--ft-button-secondary-state-layer-opacity-active","",Ne.opacity16),secondaryComponentOpacityDisabled:we.extend("--ft-button-secondary-component-opacity-disabled","",Ne.opacity40),secondaryBorderColor:we.extend("--ft-button-secondary-border-color","",Ee.borderActionPrimary),neutralBackgroundColor:we.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:we.extend("--ft-button-neutral-icon-color","",Ee.contentGlobalSecondary),neutralColor:we.extend("--ft-button-neutral-color","",Ee.contentGlobalSecondary),neutralStateLayerColor:we.extend("--ft-button-neutral-state-layer-color","",Ee.contentGlobalSecondary),neutralStateLayerOpacityHover:we.extend("--ft-button-neutral-state-layer-opacity-hover","",Ne.opacity8),neutralStateLayerOpacityFocus:we.extend("--ft-button-neutral-state-layer-opacity-focus","",Ne.opacity8),neutralStateLayerOpacityActive:we.extend("--ft-button-neutral-state-layer-opacity-active","",Ne.opacity16),neutralComponentOpacityDisabled:we.extend("--ft-button-neutral-component-opacity-disabled","",Ne.opacity40)};we.extend("--ft-floating-menu-horizontal-padding","",Ne.spacing4),we.extend("--ft-floating-menu-vertical-padding","",Ne.spacing4),we.extend("--ft-floating-menu-off-icon-color","",Ee.contentGlobalPrimary),we.extend("--ft-floating-menu-off-color","",Ee.contentGlobalPrimary),we.extend("--ft-floating-menu-on-color","",Ee.contentActionPrimary),we.extend("--ft-floating-menu-on-icon-color","",Ee.contentActionPrimary),we.extend("--ft-floating-menu-on-state-layer-color","",Ee.contentActionPrimary),we.extend("--ft-floating-menu-gap","",Ne.spacing3),we.extend("--ft-floating-menu-focus-focus-ring-color","",Ee.borderActionFocusRing),we.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),we.extend("--ft-floating-menu-state-layer-opacity-hover","",Ne.opacity8),we.extend("--ft-floating-menu-state-layer-opacity-active","",Ne.opacity16),we.extend("--ft-floating-menu-state-layer-opacity-focus","",Ne.opacity8),we.extend("--ft-floating-menu-component-opacity-disabled","",Ne.opacity40),we.extend("--ft-floating-menu-icon-size","",Ne.iconSize3),we.extend("--ft-floating-menu-background-color","",Ee.backgroundGlobalOnSurface),we.extend("--ft-tabs-top-left-border-radius","",Ne.borderRadiusS),we.extend("--ft-tabs-top-right-border-radius","",Ne.borderRadiusS),we.extend("--ft-tabs-label-horizontal-padding","",Ne.spacing4),we.extend("--ft-tabs-label-vertical-padding","",Ne.spacing3),we.extend("--ft-tabs-label-gap","",Ne.spacing1),we.extend("--ft-tabs-icon-horizontal-padding","",Ne.spacing1),we.extend("--ft-tabs-icon-vertical-padding","",Ne.spacing4),we.create("--ft-tabs-focus-outline-width","","SIZE","2px"),we.extend("--ft-tabs-focus-focus-ring-color","",Ee.borderActionFocusRing),we.extend("--ft-tabs-off-state-layer-opacity-hover","",Ne.opacity8),we.extend("--ft-tabs-off-state-layer-opacity-focus","",Ne.opacity8),we.extend("--ft-tabs-off-state-layer-opacity-active","",Ne.opacity16),we.extend("--ft-tabs-off-component-opacity-disabled","",Ne.opacity40),we.extend("--ft-tabs-off-color","",Ee.contentGlobalSubtle),we.extend("--ft-tabs-off-state-layer-color","",Ee.contentGlobalSubtle),we.extend("--ft-tabs-on-state-layer-opacity-hover","",Ne.opacity8),we.extend("--ft-tabs-on-state-layer-opacity-focus","",Ne.opacity8),we.extend("--ft-tabs-on-state-layer-opacity-active","",Ne.opacity16),we.extend("--ft-tabs-on-component-opacity-disabled","",Ne.opacity40),we.extend("--ft-tabs-on-color","",Ee.contentActionPrimary),we.extend("--ft-tabs-on-state-layer-color","",Ee.contentActionPrimary),we.extend("--ft-collapsible-state-layer-opacity-hover","",Ne.opacity8),we.extend("--ft-collapsible-state-layer-opacity-focus","",Ne.opacity8),we.extend("--ft-collapsible-state-layer-opacity-active","",Ne.opacity16),we.extend("--ft-collapsible-component-opacity-disabled","",Ne.opacity40),we.extend("--ft-collapsible-horizontal-padding","",Ne.spacing4),we.extend("--ft-collapsible-vertical-padding","",Ne.spacing3),we.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),we.extend("--ft-collapsible-focus-focus-ring-color","",Ee.borderActionFocusRing),we.extend("--ft-collapsible-color","",Ee.contentGlobalPrimary),we.extend("--ft-collapsible-state-layer-color","",Ee.contentGlobalPrimary),we.extend("--ft-collapsible-background-color","",Ee.backgroundGlobalOnSurface),we.extend("--ft-collapsible-border-color","",Ee.borderGlobalSubtle),we.extend("--ft-collapsible-icon-size","",Ne.iconSize3),we.extend("--ft-switch-group-horizontal-padding","",Ne.spacing1),we.extend("--ft-switch-group-vertical-padding","",Ne.spacing1),we.extend("--ft-switch-group-gap","",Ne.spacing1),we.extend("--ft-switch-group-background-color","",Ee.backgroundGlobalSurface),we.extend("--ft-switch-group-border-color","",Ee.borderGlobalSubtle),we.create("--ft-switch-group-border-radius","","SIZE","6px"),we.extend("--ft-switch-label-horizontal-padding","",Ne.spacing2),we.extend("--ft-switch-label-vertical-padding","",Ne.spacing1),we.extend("--ft-switch-icon-horizontal-padding","",Ne.spacing1),we.extend("--ft-switch-icon-vertical-padding","",Ne.spacing1),we.create("--ft-switch-focus-outline-width","","SIZE","2px"),we.extend("--ft-switch-focus-focus-ring-color","",Ee.borderActionFocusRing),we.extend("--ft-switch-option-border-radius","",Ne.borderRadiusS),we.extend("--ft-switch-off-state-layer-opacity-hover","",Ne.opacity8),we.extend("--ft-switch-off-state-layer-opacity-focus","",Ne.opacity8),we.extend("--ft-switch-off-state-layer-opacity-active","",Ne.opacity16),we.extend("--ft-switch-off-component-opacity-disabled","",Ne.opacity40),we.extend("--ft-switch-off-color","",Ee.contentGlobalSubtle),we.extend("--ft-switch-off-state-layer-color","",Ee.contentGlobalSubtle),we.extend("--ft-switch-on-state-layer-opacity-hover","",Ne.opacity8),we.extend("--ft-switch-on-state-layer-opacity-focus","",Ne.opacity8),we.extend("--ft-switch-on-state-layer-opacity-active","",Ne.opacity16),we.extend("--ft-switch-on-component-opacity-disabled","",Ne.opacity40),we.extend("--ft-switch-on-color","",Ee.contentActionPrimary),we.extend("--ft-switch-on-state-layer-color","",Ee.contentActionPrimary),we.extend("--ft-chart-1-light","for area color charts",Ne.colorBrand40),we.extend("--ft-chart-1-base","for line charts",Ne.colorBrand0),we.extend("--ft-chart-2-light","for area color charts",Ne.colorYellow60),we.extend("--ft-chart-2-base","for line charts",Ne.colorYellow100),we.extend("--ft-chart-3-light","",Ne.colorUltramarine40),we.extend("--ft-chart-3-base","",Ne.colorUltramarine70),we.extend("--ft-chart-4-light","",Ne.colorCyan50),we.extend("--ft-chart-4-base","",Ne.colorCyan100),we.extend("--ft-chart-5-light","",Ne.colorRed40),we.extend("--ft-chart-5-base","",Ne.colorRed60),we.extend("--ft-chart-6-light","",Ne.colorGreen40),we.extend("--ft-chart-6-base","",Ne.colorGreen70),we.extend("--ft-chart-7-light","",Ne.colorOrange70),we.extend("--ft-chart-7-base","",Ne.colorOrange100),we.extend("--ft-chart-8-light","",Ne.colorAvocado70),we.extend("--ft-chart-8-base","",Ne.colorAvocado200),we.extend("--ft-chart-9-light","",Ne.colorBrown50),we.extend("--ft-chart-9-base","",Ne.colorBrown200),we.extend("--ft-chart-10-light","",Ne.colorGray50),we.extend("--ft-chart-10-base","",Ne.colorGray80),we.extend("--ft-chart-monochrome-10","",Ne.colorBrand10),we.extend("--ft-chart-monochrome-20","",Ne.colorBrand20),we.extend("--ft-chart-monochrome-30","",Ne.colorBrand40),we.extend("--ft-chart-monochrome-40","",Ne.colorBrand60),we.extend("--ft-chart-monochrome-50","",Ne.colorBrand0),we.extend("--ft-chart-monochrome-60","",Ne.colorBrand200),we.extend("--ft-chip-large-horizontal-padding","",Ne.spacing4),we.extend("--ft-chip-large-vertical-padding","",Ne.spacing2),we.extend("--ft-chip-large-gap","",Ne.spacing1),we.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),we.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),we.extend("--ft-chip-large-border-radius","",Ne.borderRadiusPill),we.create("--ft-chip-large-border-width","","SIZE","1px"),we.extend("--ft-chip-large-icon-size","",Ne.iconSize3),we.extend("--ft-chip-medium-horizontal-padding","",Ne.spacing3),we.extend("--ft-chip-medium-vertical-padding","",Ne.spacing1),we.extend("--ft-chip-medium-gap","",Ne.spacing1),we.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),we.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),we.extend("--ft-chip-medium-border-radius","",Ne.borderRadiusPill),we.create("--ft-chip-medium-border-width","","SIZE","1px"),we.extend("--ft-chip-medium-icon-size","",Ne.iconSize2),we.extend("--ft-chip-small-horizontal-padding","",Ne.spacing2),we.extend("--ft-chip-small-vertical-padding","",Ne.spacing05),we.extend("--ft-chip-small-gap","",Ne.spacing1),we.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),we.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),we.extend("--ft-chip-small-border-radius","",Ne.borderRadiusPill),we.create("--ft-chip-small-border-width","","SIZE","1px"),we.extend("--ft-chip-small-icon-size","",Ne.iconSize1),we.extend("--ft-chip-neutral-background-color","",Ee.backgroundGlobalOnSurface),we.extend("--ft-chip-neutral-color","",Ee.contentGlobalPrimary),we.extend("--ft-chip-neutral-border-color","",Ee.borderGlobalSubtle),we.extend("--ft-chip-info-background-color","",Ee.backgroundInfoSubtle),we.extend("--ft-chip-info-color","",Ee.contentInfoPrimary),we.extend("--ft-chip-info-border-color","",Ee.borderInfoSubtle),we.extend("--ft-chip-success-background-color","",Ee.backgroundSuccessSubtle),we.extend("--ft-chip-success-color","",Ee.contentSuccessPrimary),we.extend("--ft-chip-success-border-color","",Ee.borderSuccessSubtle),we.extend("--ft-chip-warning-background-color","",Ee.backgroundWarningSubtle),we.extend("--ft-chip-warning-color","",Ee.contentWarningPrimary),we.extend("--ft-chip-warning-border-color","",Ee.borderWarningSubtle),we.extend("--ft-chip-error-background-color","",Ee.backgroundErrorSubtle),we.extend("--ft-chip-error-color","",Ee.contentErrorPrimary),we.extend("--ft-chip-error-border-color","",Ee.borderErrorSubtle),we.create("--ft-notice-border-width","","SIZE","1px"),we.extend("--ft-notice-horizontal-padding","",Ne.spacing2),we.extend("--ft-notice-vertical-padding","",Ne.spacing1),we.extend("--ft-notice-border-radius","",Ne.borderRadiusS),we.extend("--ft-notice-gap","",Ne.spacing2),we.extend("--ft-notice-icon-size","",Ne.iconSize3),we.extend("--ft-notice-info-background-color","",Ee.backgroundInfoSubtle),we.extend("--ft-notice-info-border-color","",Ee.borderInfoSubtle),we.extend("--ft-notice-info-color","",Ee.contentInfoPrimary),we.extend("--ft-notice-warning-background-color","",Ee.backgroundWarningSubtle),we.extend("--ft-notice-warning-border-color","",Ee.borderWarningSubtle),we.extend("--ft-notice-warning-color","",Ee.contentWarningPrimary),we.extend("--ft-checkbox-label-color","",Ee.contentGlobalPrimary),we.extend("--ft-checkbox-checked-background-color","",Ee.contentActionPrimary),we.extend("--ft-checkbox-checked-state-layer-color","",Ee.contentActionPrimary),we.extend("--ft-checkbox-checked-color","",Ee.contentGlobalOnColor),we.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Ne.opacity16),we.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Ne.opacity16),we.extend("--ft-checkbox-checked-state-layer-opacity-active","",Ne.opacity24),we.extend("--ft-checkbox-checked-component-opacity-disabled","",Ne.opacity40),we.extend("--ft-checkbox-unchecked-border-color","",Ne.colorGray80),we.extend("--ft-checkbox-unchecked-state-layer-color","",Ne.colorGray80),we.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Ne.opacity16),we.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Ne.opacity16),we.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Ne.opacity24),we.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Ne.opacity40),we.extend("--ft-checkbox-focus-focus-ring-color","",Ee.borderActionFocusRing),we.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),we.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),we.extend("--ft-checkbox-gap","",Ne.spacing3),we.extend("--ft-toggle-off-state-layer-opacity-hover","",Ne.opacity16),we.extend("--ft-toggle-off-state-layer-opacity-focus","",Ne.opacity16),we.extend("--ft-toggle-off-state-layer-opacity-active","",Ne.opacity24),we.extend("--ft-toggle-off-component-opacity-disabled","",Ne.opacity40),we.extend("--ft-toggle-off-background-color","",Ee.contentGlobalSubtle),we.extend("--ft-toggle-off-icon-color","",Ee.contentGlobalSubtle),we.extend("--ft-toggle-off-state-layer-color","",Ee.contentGlobalSubtle),we.extend("--ft-toggle-on-state-layer-opacity-hover","",Ne.opacity16),we.extend("--ft-toggle-on-state-layer-opacity-focus","",Ne.opacity16),we.extend("--ft-toggle-on-state-layer-opacity-active","",Ne.opacity24),we.extend("--ft-toggle-on-component-opacity-disabled","",Ne.opacity40),we.extend("--ft-toggle-on-background-color","",Ee.contentActionPrimary),we.extend("--ft-toggle-on-icon-color","",Ee.contentActionPrimary),we.extend("--ft-toggle-on-state-layer-color","",Ee.contentActionPrimary),we.extend("--ft-toggle-label-color","",Ee.contentGlobalPrimary),we.extend("--ft-toggle-focus-focus-ring-color","",Ee.borderActionFocusRing),we.extend("--ft-toggle-gap","",Ne.spacing3),we.extend("--ft-radio-label-color","",Ee.contentGlobalPrimary),we.extend("--ft-radio-selected-color","",Ee.contentActionPrimary),we.extend("--ft-radio-selected-state-layer-color","",Ee.contentActionPrimary),we.extend("--ft-radio-selected-state-layer-opacity-hover","",Ne.opacity16),we.extend("--ft-radio-selected-state-layer-opacity-focus","",Ne.opacity16),we.extend("--ft-radio-selected-state-layer-opacity-active","",Ne.opacity24),we.extend("--ft-radio-selected-component-opacity-disabled","",Ne.opacity40),we.extend("--ft-radio-unselected-state-layer-color","",Ne.colorGray80),we.extend("--ft-radio-unselected-state-layer-opacity-hover","",Ne.opacity16),we.extend("--ft-radio-unselected-state-layer-opacity-focus","",Ne.opacity16),we.extend("--ft-radio-unselected-state-layer-opacity-active","",Ne.opacity24),we.extend("--ft-radio-unselected-component-opacity-disabled","",Ne.opacity40),we.extend("--ft-radio-focus-focus-ring-color","",Ee.borderActionFocusRing),we.create("--ft-radio-focus-outline-offset","","SIZE","3px"),we.create("--ft-radio-focus-outline-width","","SIZE","2px"),we.extend("--ft-radio-gap","",Ne.spacing3),we.extend("--ft-notification-icon-size","",Ne.iconSize4),we.extend("--ft-notification-horizontal-padding","",Ne.spacing4),we.extend("--ft-notification-vertical-padding","",Ne.spacing4),we.extend("--ft-notification-info-background-color","",Ee.backgroundInfoSubtle),we.extend("--ft-notification-info-color","",Ee.contentInfoPrimary),we.extend("--ft-notification-info-border-color","",Ee.borderInfoSubtle),we.extend("--ft-notification-success-background-color","",Ee.backgroundSuccessSubtle),we.extend("--ft-notification-success-color","",Ee.contentSuccessPrimary),we.extend("--ft-notification-success-border-color","",Ee.borderSuccessSubtle),we.extend("--ft-notification-warning-background-color","",Ee.backgroundWarningSubtle),we.extend("--ft-notification-warning-color","",Ee.contentWarningPrimary),we.extend("--ft-notification-warning-border-color","",Ee.borderWarningSubtle),we.extend("--ft-notification-error-background-color","",Ee.backgroundErrorSubtle),we.extend("--ft-notification-error-color","",Ee.contentErrorPrimary),we.extend("--ft-notification-error-border-color","",Ee.borderErrorSubtle),we.extend("--ft-notification-border-radius","",Ne.borderRadiusPill),we.create("--ft-notification-border-width","","SIZE","1px"),we.extend("--ft-notification-gap-leading","",Ne.spacing2),we.extend("--ft-notification-gap-trailing","",Ne.spacing8),we.extend("--ft-tooltip-horizontal-padding","",Ne.spacing2),we.extend("--ft-tooltip-vertical-padding","",Ne.spacing2),we.extend("--ft-tooltip-border-radius","",Ne.borderRadiusS),we.extend("--ft-tooltip-label","",Ee.contentGlobalOnColor),we.extend("--ft-tooltip-background","",Ee.contentGlobalPrimary),we.extend("--ft-tooltip-background-opacity","",Ne.opacity80),we.extend("--ft-tooltip-shadow","",Ne.shadowElevation03);const Ue={colorPrimary:we.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:we.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:we.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:we.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:we.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:we.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:we.create("--ft-color-error","","COLOR","#B00020"),colorOutline:we.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:we.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:we.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:we.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:we.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:we.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:we.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:we.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:we.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:we.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:we.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:we.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:we.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:we.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:we.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:we.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:we.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:we.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:we.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:we.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:we.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:we.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:we.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:we.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:we.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:we.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:we.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:we.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:we.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:we.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:we.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:we.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:we.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:we.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:we.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:we.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:we.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:we.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:we.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:we.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:we.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:we.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:we.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:we.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:we.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:we.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:we.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:we.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:we.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:we.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:we.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:we.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:we.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:we.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:we.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},$e=["start","end"],Ie=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+$e[0],e+"-"+$e[1])),[]),ke=Math.min,Le=Math.max,We=Math.round,Ae=t=>({x:t,y:t}),Ke={left:"right",right:"left",bottom:"top",top:"bottom"},Fe={start:"end",end:"start"};function je(t,e,o){return Le(t,ke(e,o))}function Pe(t,e){return"function"==typeof t?t(e):t}function De(t){return t.split("-")[0]}function Me(t){return t.split("-")[1]}function ze(t){return"x"===t?"y":"x"}function Te(t){return"y"===t?"height":"width"}function Be(t){return["top","bottom"].includes(De(t))?"y":"x"}function Ze(t){return ze(Be(t))}function _e(t){return t.replace(/left|right|bottom|top/g,(t=>Ke[t]))}function He(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Ge(t,e,o){let{reference:r,floating:i}=t;const n=Be(e),a=Ze(e),s=Te(a),c=De(e),l="y"===n,f=r.x+r.width/2-i.width/2,p=r.y+r.height/2-i.height/2,h=r[s]/2-i[s]/2;let u;switch(c){case"top":u={x:f,y:r.y-i.height};break;case"bottom":u={x:f,y:r.y+r.height};break;case"right":u={x:r.x+r.width,y:p};break;case"left":u={x:r.x-i.width,y:p};break;default:u={x:r.x,y:r.y}}switch(Me(e)){case"start":u[a]-=h*(o&&l?-1:1);break;case"end":u[a]+=h*(o&&l?-1:1)}return u}async function Ve(t,e){var o;void 0===e&&(e={});const{x:r,y:i,platform:n,rects:a,elements:s,strategy:c}=t,{boundary:l="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:h=!1,padding:u=0}=Pe(e,t),d=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}}(u),y=s[h?"floating"===p?"reference":"floating":p],g=He(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(y)))||o?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:l,rootBoundary:f,strategy:c})),b="floating"===p?{...a.floating,x:r,y:i}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),v=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},x=He(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:c}):b);return{top:(g.top-x.top+d.top)/v.y,bottom:(x.bottom-g.bottom+d.bottom)/v.y,left:(g.left-x.left+d.left)/v.x,right:(x.right-g.right+d.right)/v.x}}function qe(t,e,o){return(t?[...o.filter((e=>Me(e)===t)),...o.filter((e=>Me(e)!==t))]:o.filter((t=>De(t)===t))).filter((o=>!t||(Me(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>Fe[t]))}(o)!==o)))}const Ye=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,r,i;const{rects:n,middlewareData:a,placement:s,platform:c,elements:l}=e,{crossAxis:f=!1,alignment:p,allowedPlacements:h=Ie,autoAlignment:u=!0,...d}=Pe(t,e),y=void 0!==p||h===Ie?qe(p||null,u,h):h,g=await Ve(e,d),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=y[b];if(null==m)return{};const v=function(t,e,o){void 0===o&&(o=!1);const r=Me(t),i=Ze(t),n=Te(i);let a="x"===i?r===(o?"end":"start")?"right":"left":"start"===r?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=_e(a)),[a,_e(a)]}(m,n,await(null==c.isRTL?void 0:c.isRTL(l.floating)));if(s!==m)return{reset:{placement:y[0]}};const x=[g[De(m)],g[v[0]],g[v[1]]],O=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:x}],w=y[b+1];if(w)return{data:{index:b+1,overflows:O},reset:{placement:w}};const S=O.map((t=>{const e=Me(t.placement);return[t.placement,e&&f?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),N=S.filter((t=>t[2].slice(0,Me(t[0])?2:3).every((t=>t<=0)))),C=(null==(i=N[0])?void 0:i[0])||S[0][0];return C!==s?{data:{index:b+1,overflows:O},reset:{placement:C}}:{}}}};function Xe(t){return to(t)?(t.nodeName||"").toLowerCase():"#document"}function Je(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function Qe(t){var e;return null==(e=(to(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function to(t){return t instanceof Node||t instanceof Je(t).Node}function eo(t){return t instanceof Element||t instanceof Je(t).Element}function oo(t){return t instanceof HTMLElement||t instanceof Je(t).HTMLElement}function ro(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Je(t).ShadowRoot)}function io(t){const{overflow:e,overflowX:o,overflowY:r,display:i}=lo(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+o)&&!["inline","contents"].includes(i)}function no(t){return["table","td","th"].includes(Xe(t))}function ao(t){const e=so(),o=lo(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function so(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function co(t){return["html","body","#document"].includes(Xe(t))}function lo(t){return Je(t).getComputedStyle(t)}function fo(t){return eo(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function po(t){if("html"===Xe(t))return t;const e=t.assignedSlot||t.parentNode||ro(t)&&t.host||Qe(t);return ro(e)?e.host:e}function ho(t){const e=po(t);return co(e)?t.ownerDocument?t.ownerDocument.body:t.body:oo(e)&&io(e)?e:ho(e)}function uo(t,e,o){var r;void 0===e&&(e=[]),void 0===o&&(o=!0);const i=ho(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=Je(i);return n?e.concat(a,a.visualViewport||[],io(i)?i:[],a.frameElement&&o?uo(a.frameElement):[]):e.concat(i,uo(i,[],o))}function yo(t){const e=lo(t);let o=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const i=oo(t),n=i?t.offsetWidth:o,a=i?t.offsetHeight:r,s=We(o)!==n||We(r)!==a;return s&&(o=n,r=a),{width:o,height:r,$:s}}function go(t){return eo(t)?t:t.contextElement}function bo(t){const e=go(t);if(!oo(e))return Ae(1);const o=e.getBoundingClientRect(),{width:r,height:i,$:n}=yo(e);let a=(n?We(o.width):o.width)/r,s=(n?We(o.height):o.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const mo=Ae(0);function vo(t){const e=Je(t);return so()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:mo}function xo(t,e,o,r){void 0===e&&(e=!1),void 0===o&&(o=!1);const i=t.getBoundingClientRect(),n=go(t);let a=Ae(1);e&&(r?eo(r)&&(a=bo(r)):a=bo(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==Je(t))&&e}(n,o,r)?vo(n):Ae(0);let c=(i.left+s.x)/a.x,l=(i.top+s.y)/a.y,f=i.width/a.x,p=i.height/a.y;if(n){const t=Je(n),e=r&&eo(r)?Je(r):r;let o=t.frameElement;for(;o&&r&&e!==t;){const t=bo(o),e=o.getBoundingClientRect(),r=lo(o),i=e.left+(o.clientLeft+parseFloat(r.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(r.paddingTop))*t.y;c*=t.x,l*=t.y,f*=t.x,p*=t.y,c+=i,l+=n,o=Je(o).frameElement}}return He({width:f,height:p,x:c,y:l})}function Oo(t){return xo(Qe(t)).left+fo(t).scrollLeft}function wo(t,e,o){let r;if("viewport"===e)r=function(t,e){const o=Je(t),r=Qe(t),i=o.visualViewport;let n=r.clientWidth,a=r.clientHeight,s=0,c=0;if(i){n=i.width,a=i.height;const t=so();(!t||t&&"fixed"===e)&&(s=i.offsetLeft,c=i.offsetTop)}return{width:n,height:a,x:s,y:c}}(t,o);else if("document"===e)r=function(t){const e=Qe(t),o=fo(t),r=t.ownerDocument.body,i=Le(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),n=Le(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let a=-o.scrollLeft+Oo(t);const s=-o.scrollTop;return"rtl"===lo(r).direction&&(a+=Le(e.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:s}}(Qe(t));else if(eo(e))r=function(t,e){const o=xo(t,!0,"fixed"===e),r=o.top+t.clientTop,i=o.left+t.clientLeft,n=oo(t)?bo(t):Ae(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:i*n.x,y:r*n.y}}(e,o);else{const o=vo(t);r={...e,x:e.x-o.x,y:e.y-o.y}}return He(r)}function So(t,e){const o=po(t);return!(o===e||!eo(o)||co(o))&&("fixed"===lo(o).position||So(o,e))}function No(t,e,o){const r=oo(e),i=Qe(e),n="fixed"===o,a=xo(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const c=Ae(0);if(r||!r&&!n)if(("body"!==Xe(e)||io(i))&&(s=fo(e)),r){const t=xo(e,!0,n,e);c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}else i&&(c.x=Oo(i));return{x:a.left+s.scrollLeft-c.x,y:a.top+s.scrollTop-c.y,width:a.width,height:a.height}}function Co(t,e){return oo(t)&&"fixed"!==lo(t).position?e?e(t):t.offsetParent:null}function Eo(t,e){const o=Je(t);if(!oo(t))return o;let r=Co(t,e);for(;r&&no(r)&&"static"===lo(r).position;)r=Co(r,e);return r&&("html"===Xe(r)||"body"===Xe(r)&&"static"===lo(r).position&&!ao(r))?o:r||function(t){let e=po(t);for(;oo(e)&&!co(e);){if(ao(e))return e;e=po(e)}return null}(t)||o}const Ro={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:r}=t;const i=oo(o),n=Qe(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=Ae(1);const c=Ae(0);if((i||!i&&"fixed"!==r)&&(("body"!==Xe(o)||io(n))&&(a=fo(o)),oo(o))){const t=xo(o);s=bo(o),c.x=t.x+o.clientLeft,c.y=t.y+o.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-a.scrollLeft*s.x+c.x,y:e.y*s.y-a.scrollTop*s.y+c.y}},getDocumentElement:Qe,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:r,strategy:i}=t;const n=[..."clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let r=uo(t,[],!1).filter((t=>eo(t)&&"body"!==Xe(t))),i=null;const n="fixed"===lo(t).position;let a=n?po(t):t;for(;eo(a)&&!co(a);){const e=lo(a),o=ao(a);o||"fixed"!==e.position||(i=null),(n?!o&&!i:!o&&"static"===e.position&&i&&["absolute","fixed"].includes(i.position)||io(a)&&!o&&So(t,a))?r=r.filter((t=>t!==a)):i=e,a=po(a)}return e.set(t,r),r}(e,this._c):[].concat(o),r],a=n[0],s=n.reduce(((t,o)=>{const r=wo(e,o,i);return t.top=Le(r.top,t.top),t.right=ke(r.right,t.right),t.bottom=ke(r.bottom,t.bottom),t.left=Le(r.left,t.left),t}),wo(e,a,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:Eo,getElementRects:async function(t){let{reference:e,floating:o,strategy:r}=t;const i=this.getOffsetParent||Eo,n=this.getDimensions;return{reference:No(e,await i(o),r),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return yo(t)},getScale:bo,isElement:eo,isRTL:function(t){return"rtl"===lo(t).direction}},Uo=(t,e,o)=>{const r=new Map,i={platform:Ro,...o},n={...i.platform,_c:r};return(async(t,e,o)=>{const{placement:r="bottom",strategy:i="absolute",middleware:n=[],platform:a}=o,s=n.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(e));let l=await a.getElementRects({reference:t,floating:e,strategy:i}),{x:f,y:p}=Ge(l,r,c),h=r,u={},d=0;for(let o=0;o<s.length;o++){const{name:n,fn:y}=s[o],{x:g,y:b,data:m,reset:v}=await y({x:f,y:p,initialPlacement:r,placement:h,strategy:i,middlewareData:u,rects:l,platform:a,elements:{reference:t,floating:e}});f=null!=g?g:f,p=null!=b?b:p,u={...u,[n]:{...u[n],...m}},v&&d<=50&&(d++,"object"==typeof v&&(v.placement&&(h=v.placement),v.rects&&(l=!0===v.rects?await a.getElementRects({reference:t,floating:e,strategy:i}):v.rects),({x:f,y:p}=Ge(l,h,c))),o=-1)}return{x:f,y:p,placement:h,strategy:i,middlewareData:u}})(t,e,{...i,platform:n})};function $o(t){return function(t){for(let e=t;e;e=Io(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=Io(t);e;e=Io(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}(t)}function Io(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}
|
|
105
|
+
function(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}]`:":not([name])");return Ce(0,0,{get(){const e=this.renderRoot?.querySelector(n),o=e?.assignedElements(t)??[];return void 0===i?o:o.filter((t=>t.matches(i)))}})}},queryAssignedNodes:$e,queryAsync:function(t){return(e,o)=>Ce(0,0,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})},standardProperty:Oe,state:Se});
|
|
106
|
+
/**
|
|
107
|
+
* @license
|
|
108
|
+
* Copyright 2017 Google LLC
|
|
109
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
110
|
+
*/const Le=1,Ue=2,ke=t=>(...e)=>({_$litDirective$:t,values:e});let Ae=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,o){this._$Ct=t,this._$AM=e,this._$Ci=o}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};
|
|
111
|
+
/**
|
|
112
|
+
* @license
|
|
113
|
+
* Copyright 2020 Google LLC
|
|
114
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
115
|
+
*/const{D:We}=it,_e=()=>document.createComment(""),Fe=(t,e,o)=>{const r=t._$AA.parentNode,i=void 0===e?t._$AB:e._$AA;if(void 0===o){const e=r.insertBefore(_e(),i),n=r.insertBefore(_e(),i);o=new We(e,n,t,t.options)}else{const e=o._$AB.nextSibling,n=o._$AM,a=n!==t;if(a){let e;o._$AQ?.(t),o._$AM=t,void 0!==o._$AP&&(e=t._$AU)!==n._$AU&&o._$AP(e)}if(e!==i||a){let t=o._$AA;for(;t!==e;){const e=t.nextSibling;r.insertBefore(t,i),t=e}}}return o},je=(t,e,o=t)=>(t._$AI(e,o),t),Pe={},Be=t=>{t._$AP?.(!1,!0);let e=t._$AA;const o=t._$AB.nextSibling;for(;e!==o;){const t=e.nextSibling;e.remove(),e=t}},Me=(t,e,o)=>{const r=new Map;for(let i=e;i<=o;i++)r.set(t[i],i);return r},De=ke(class extends Ae{constructor(t){if(super(t),t.type!==Ue)throw Error("repeat() can only be used in text expressions")}ht(t,e,o){let r;void 0===o?o=e:void 0!==e&&(r=e);const i=[],n=[];let a=0;for(const e of t)i[a]=r?r(e,a):a,n[a]=o(e,a),a++;return{values:n,keys:i}}render(t,e,o){return this.ht(t,e,o).values}update(t,[e,o,r]){const i=(t=>t._$AH)(t),{values:n,keys:a}=this.ht(e,o,r);if(!Array.isArray(i))return this.dt=a,n;const s=this.dt??=[],l=[];let c,f,u=0,h=i.length-1,p=0,d=n.length-1;for(;u<=h&&p<=d;)if(null===i[u])u++;else if(null===i[h])h--;else if(s[u]===a[p])l[p]=je(i[u],n[p]),u++,p++;else if(s[h]===a[d])l[d]=je(i[h],n[d]),h--,d--;else if(s[u]===a[d])l[d]=je(i[u],n[d]),Fe(t,l[d+1],i[u]),u++,d--;else if(s[h]===a[p])l[p]=je(i[h],n[p]),Fe(t,i[u],i[h]),h--,p++;else if(void 0===c&&(c=Me(a,p,d),f=Me(s,u,h)),c.has(s[u]))if(c.has(s[h])){const e=f.get(a[p]),o=void 0!==e?i[e]:null;if(null===o){const e=Fe(t,i[u]);je(e,n[p]),l[p]=e}else l[p]=je(o,n[p]),Fe(t,i[u],o),i[e]=null;p++}else Be(i[h]),h--;else Be(i[u]),u++;for(;p<=d;){const e=Fe(t,l[d+1]);je(e,n[p]),l[p++]=e}for(;u<=h;){const t=i[u++];null!==t&&Be(t)}return this.dt=a,((t,e=Pe)=>{t._$AH=e})(t,l),z}});
|
|
116
|
+
/**
|
|
117
|
+
* @license
|
|
118
|
+
* Copyright 2017 Google LLC
|
|
119
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
120
|
+
*/var Ke=Object.freeze({__proto__:null,repeat:De});
|
|
121
|
+
/**
|
|
122
|
+
* @license
|
|
123
|
+
* Copyright 2018 Google LLC
|
|
124
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
125
|
+
*/const ze=ke(class extends Ae{constructor(t){if(super(t),t.type!==Le||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(e)}const o=t.element.classList;for(const t of this.it)t in e||(o.remove(t),this.it.delete(t));for(const t in e){const r=!!e[t];r===this.it.has(t)||this.st?.has(t)||(r?(o.add(t),this.it.add(t)):(o.remove(t),this.it.delete(t)))}return z}});var Te=Object.freeze({__proto__:null,classMap:ze});
|
|
126
|
+
/**
|
|
127
|
+
* @license
|
|
128
|
+
* Copyright 2018 Google LLC
|
|
129
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
130
|
+
*/const Ze="important",He=" !"+Ze,Ge=ke(class extends Ae{constructor(t){if(super(t),t.type!==Le||"style"!==t.name||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((e,o)=>{const r=t[o];return null==r?e:e+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${r};`}),"")}update(t,[e]){const{style:o}=t.element;if(void 0===this.ut)return this.ut=new Set(Object.keys(e)),this.render(e);for(const t of this.ut)null==e[t]&&(this.ut.delete(t),t.includes("-")?o.removeProperty(t):o[t]=null);for(const t in e){const r=e[t];if(null!=r){this.ut.add(t);const e="string"==typeof r&&r.endsWith(He);t.includes("-")||e?o.setProperty(t,e?r.slice(0,-11):r,e?Ze:""):o[t]=r}}return z}});var Ve=Object.freeze({__proto__:null,styleMap:Ge});
|
|
131
|
+
/**
|
|
132
|
+
* @license
|
|
133
|
+
* Copyright 2017 Google LLC
|
|
134
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
135
|
+
*/let qe=class extends Ae{constructor(t){if(super(t),this.et=T,t.type!==Ue)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===T||null==t)return this.vt=void 0,this.et=t;if(t===z)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const e=[t];return e.raw=e,this.vt={_$litType$:this.constructor.resultType,strings:e,values:[]}}};qe.directiveName="unsafeHTML",qe.resultType=1;const Ye=ke(qe);var Je=Object.freeze({__proto__:null,UnsafeHTMLDirective:qe,unsafeHTML:Ye});class Xe extends Error{constructor(t,e,o){super(t),this.canceledPromiseResult=e,this.canceledPromiseError=o}}class Qe extends Promise{constructor(t){super(((e,o)=>t((t=>{this.isCanceled?o(new Xe("Promise has been canceled",t)):e(t)}),(t=>{this.isCanceled?o(new Xe("Promise has been canceled",void 0,t)):o(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}const to=t=>new Qe(((e,o)=>t.then(e).catch(o)));var eo=Object.freeze({__proto__:null,CancelablePromise:Qe,CanceledPromiseError:Xe,cancelable:to});class oo{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,e){this.loaders[t]=e,this.finalContent.delete(t)}registerFinal(t,e){this.loaders[t]=e,this.finalContent.add(t)}clearAll(){for(let t in this.content)this.clear(t)}clear(t){this.finalContent.has(t)||this.forceClear(t)}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof Qe&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){null!=this.clearTimeouts[t]&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,e){this.forceClear(t),this.register(t,(async()=>e)),this.content[t]=e}setFinal(t,e){this.forceClear(t),this.registerFinal(t,(async()=>e)),this.content[t]=e}async get(t,e,o){if(void 0===this.content[t]){if(null==(e=null!=e?e:this.loaders[t]))throw new Error("Unknown cache key "+t);const r=to(e());return this.content[t]=r,r.then((e=>(this.content[t]=e,null!=o&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout((()=>this.clear(t)),o)),e)))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return!(null==t||t instanceof Promise||t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return null!=this.content[t]}resolvedKeys(){return Object.keys(this.content).filter((t=>this.isResolvedValue(this.content[t])))}resolvedValues(){return Object.values(this.content).filter((t=>this.isResolvedValue(t)))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}}var ro=Object.freeze({__proto__:null,CacheRegistry:oo});class io{constructor(t,e,o,r){this.allResults=t,this.selectedResult=e,this.clusteringMetadata=o,this.metadataDescriptors=r}static extractResultMetadata(t){var e,o;return(null!==(o=null!==(e=null==t?void 0:t.map)&&void 0!==e?e:null==t?void 0:t.document)&&void 0!==o?o:null==t?void 0:t.topic).metadata.map((t=>io.flattenMetadata(t)))}static flattenMetadata(t){if(t.hierarchicalValues){const e=[],o=[];return t.hierarchicalValues.forEach((t=>{e.push(t.join(" > ")),t.length>2?o.push(`... > ${t[t.length-1]}`):o.push(t.join(" > "))})),{key:t.key,value:e.join(", "),displayValue:o.join(", ")}}{const e=t.values.join(", ");return{key:t.key,value:e,displayValue:e}}}computeClustersItemsForMetadata(t,e){let o=io.extractResultMetadata(this.selectedResult).find((e=>e.key===t));const r=this.allResults.flatMap((e=>io.extractResultMetadata(e).filter((e=>e.key===t)))).filter((t=>!(t.key===(null==o?void 0:o.key)&&t.value===(null==o?void 0:o.value)))).filter(((t,e,o)=>o.findIndex((e=>e.value===t.value))===e));return r.map((e=>({result:this.findBestResultForMetadataValue(t,e.value),metadata:e}))).sort(((o,r)=>this.compareMetadata(o.metadata.value,r.metadata.value,t,e)))}compareMetadata(t,e,o,r){let i=this.metadataDescriptors.find((t=>o==t.key)),n=(null==i?void 0:i.sortRule)||"NONE",a=(null==i?void 0:i.reverseSort)||!1;if("ALPHABET"==n||"VERSION"==n){let o=t.localeCompare(e,r,{numeric:!0});return a?-1*o:o}return 0}findBestResultForMetadataValue(t,e){const o=this.allResults.filter((o=>io.extractResultMetadata(o).find((o=>o.key===t&&o.value===e))));let r,i=io.extractResultMetadata(this.selectedResult).filter((t=>this.clusteringMetadata.has(t.key))),n=[...i.filter((e=>e.key!==t))],a=-1;for(let t of o){let e=this.countMatchingMetadata(t,n);if(e>a&&(a=e,r=t,e===n.length))break}return r}countMatchingMetadata(t,e){return io.extractResultMetadata(t).filter((t=>e.some((e=>e.key===t.key&&e.value===t.value)))).length}}var no=Object.freeze({__proto__:null,ClusteringHelper:io});class ao{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const o=[...this.callbacks];this.callbacks=[];const r=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,i=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of o)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}}var so=Object.freeze({__proto__:null,Debouncer:ao});const lo=t=>new Promise((e=>setTimeout(e,t)));async function co(t,e=10,o=2e4){let r,i,n=await t();for(r=i=performance.now();null==n&&(!o||i-r<o);)await lo(e),n=await t(),i=performance.now();if(null==n)throw new Error("Timeout exceeded");return n}function fo(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,((t,e,o,r)=>e+o+":"+r)),new Date(t)}function uo(t,e){try{return function(t,e){if(t===e)return!0;if(t&&e&&"object"==typeof t&&"object"==typeof e){if(t.constructor!==e.constructor)return!1;var o,r,i;if(Array.isArray(t)){if((o=t.length)!=e.length)return!1;for(r=o;0!=r--;)if(!uo(t[r],e[r]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(r of t.entries())if(!e.has(r[0]))return!1;for(r of t.entries())if(!uo(r[1],e.get(r[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(r of t.entries())if(!e.has(r[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if((o=(i=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(r=o;0!=r--;)if(!Object.prototype.hasOwnProperty.call(e,i[r]))return!1;for(r=o;0!=r--;){var n=i[r];if(!uo(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}var ho=Object.freeze({__proto__:null,dateReviver:function(...t){return function(e,o){return t.includes(e)?fo(o):o}},deepEqual:uo,delay:lo,eventPathContainsMatchingElement:function(t,e,o=window.document.body){if(e.length>0){const r=t.composedPath();for(let t of r){if(t===o)return!1;if(t.matches&&e.some((e=>t.matches(e))))return!0}}return!1},flatDeep:function t(e,o){return e.flatMap((e=>[e,...t(o(e),o)]))},last:function(t){return t[t.length-1]},minmax:function(t,e,o){return Math.min(Math.max(t,e),o)},parseDate:fo,waitFor:co,waitUntil:async function(t,e=10,o=2e4){await co((async()=>await t()||void 0),e,o)}});const po=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function yo(t,e){const o=()=>JSON.parse(JSON.stringify(t));return we({type:Object,converter:{fromAttribute:t=>{if(null==t)return o();try{return JSON.parse(t)}catch{return o()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,e)=>!uo(t,e),...null!=e?e:{}})}function go(t){return!isNaN(parseFloat(t))}var bo=Object.freeze({__proto__:null,customElement:po,isNumber:go,jsonProperty:yo,optionalNumberProperty:function(t){return we({type:Object,converter:{fromAttribute:t=>{if(null!=t)return go(t)?+t:void 0},toAttribute:t=>""+t},...null!=t?t:{}})}});const mo=t=>"string"==typeof t?ut(t):t;class vo{static create(t,e,o,r){const i=t=>mo(null!=t?t:r),n=ht`var(${mo(t)}, ${i(r)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=r,n.defaultCssValue=i,n.get=e=>ht`var(${mo(t)}, ${i(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>r,n}static extend(t,e,o,r){const i=t=>o.get(null!=t?t:r),n=ht`var(${mo(t)}, ${i(r)})`;return n.name=t,n.description=e,n.category=o.category,n.fallbackVariable=o,n.defaultValue=r,n.defaultCssValue=i,n.get=e=>ht`var(${mo(t)}, ${i(e)})`,n.breadcrumb=()=>[o.name,...o.breadcrumb()],n.lastResortDefaultValue=()=>null!=r?r:o.lastResortDefaultValue(),n}static external(t,e){const o=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):mo(null!=e?e:t.lastResortDefaultValue()),r=ht`var(${mo(t.name)}, ${o(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=e,r.defaultCssValue=o,r.get=e=>ht`var(${mo(t.name)}, ${o(e)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}function xo(t,e){return mo(`${t.name}: ${e}`)}const Oo={colorWhite:vo.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:vo.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:vo.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:vo.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:vo.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:vo.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:vo.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:vo.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:vo.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:vo.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:vo.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:vo.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:vo.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:vo.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:vo.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:vo.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:vo.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:vo.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:vo.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:vo.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:vo.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:vo.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:vo.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:vo.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:vo.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:vo.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:vo.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:vo.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:vo.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:vo.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:vo.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:vo.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:vo.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:vo.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:vo.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:vo.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:vo.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:vo.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:vo.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:vo.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:vo.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:vo.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:vo.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:vo.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:vo.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:vo.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:vo.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:vo.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:vo.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:vo.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:vo.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:vo.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:vo.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:vo.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:vo.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:vo.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:vo.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:vo.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:vo.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:vo.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:vo.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:vo.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:vo.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:vo.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:vo.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:vo.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:vo.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:vo.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:vo.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:vo.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:vo.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:vo.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:vo.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:vo.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:vo.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:vo.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:vo.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:vo.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:vo.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:vo.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:vo.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:vo.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:vo.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:vo.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:vo.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:vo.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:vo.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:vo.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:vo.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:vo.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:vo.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:vo.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:vo.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:vo.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:vo.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:vo.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:vo.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:vo.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:vo.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:vo.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:vo.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:vo.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:vo.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:vo.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:vo.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:vo.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:vo.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:vo.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:vo.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:vo.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:vo.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:vo.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:vo.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:vo.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:vo.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:vo.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:vo.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:vo.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:vo.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:vo.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:vo.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:vo.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:vo.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:vo.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:vo.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:vo.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:vo.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:vo.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:vo.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:vo.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:vo.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:vo.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:vo.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:vo.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:vo.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:vo.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:vo.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:vo.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:vo.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:vo.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:vo.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:vo.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:vo.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:vo.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:vo.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:vo.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:vo.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:vo.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:vo.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:vo.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:vo.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:vo.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:vo.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:vo.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:vo.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:vo.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:vo.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:vo.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:vo.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:vo.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:vo.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:vo.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:vo.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:vo.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:vo.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:vo.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:vo.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:vo.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:vo.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:vo.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:vo.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:vo.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:vo.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:vo.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:vo.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:vo.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:vo.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:vo.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:vo.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:vo.create("--ft-icon-size-6","","SIZE","48px"),opacity0:vo.create("--ft-opacity-0","","NUMBER","0"),opacity8:vo.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:vo.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:vo.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:vo.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:vo.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:vo.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:vo.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:vo.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:vo.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:vo.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:vo.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:vo.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:vo.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:vo.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},wo={fontFamily:vo.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:vo.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:vo.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:vo.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:vo.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-display-textCase","","UNKNOWN","none")},So={fontFamily:vo.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:vo.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:vo.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:vo.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:vo.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},No={fontFamily:vo.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:vo.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:vo.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:vo.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:vo.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Co={fontFamily:vo.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:vo.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:vo.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:vo.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:vo.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Eo={fontFamily:vo.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:vo.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:vo.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:vo.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:vo.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Ro={fontFamily:vo.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:vo.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:vo.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:vo.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:vo.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},$o={fontFamily:vo.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:vo.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:vo.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:vo.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:vo.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Io={fontFamily:vo.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:vo.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:vo.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:vo.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:vo.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Lo={fontFamily:vo.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:vo.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:vo.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:vo.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:vo.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Uo={fontFamily:vo.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:vo.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:vo.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:vo.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:vo.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:vo.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},ko={fontFamily:vo.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:vo.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:vo.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:vo.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:vo.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:vo.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Ao={fontFamily:vo.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:vo.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:vo.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:vo.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:vo.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:vo.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Wo={fontFamily:vo.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:vo.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:vo.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:vo.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:vo.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:vo.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},_o={fontFamily:vo.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:vo.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:vo.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:vo.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:vo.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:vo.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Fo={fontFamily:vo.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:vo.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:vo.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:vo.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:vo.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:vo.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},jo={fontFamily:vo.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:vo.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:vo.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:vo.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:vo.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:vo.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Po={fontFamily:vo.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:vo.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:vo.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:vo.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:vo.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:vo.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Bo={fontFamily:vo.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:vo.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:vo.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:vo.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:vo.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:vo.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Mo={fontFamily:vo.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:vo.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:vo.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:vo.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:vo.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:vo.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Do={fontFamily:vo.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:vo.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:vo.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:vo.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:vo.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:vo.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Ko={fontFamily:vo.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:vo.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:vo.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:vo.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:vo.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:vo.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},zo={fontFamily:vo.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:vo.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:vo.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:vo.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:vo.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:vo.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},To={fontFamily:vo.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:vo.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:vo.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:vo.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:vo.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:vo.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Zo={fontFamily:vo.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:vo.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:vo.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:vo.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:vo.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:vo.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Ho={fontFamily:vo.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:vo.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:vo.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:vo.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:vo.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:vo.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:vo.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:vo.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:vo.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Go={display:wo,"title-1":So,"title-2":No,"title-3":Co,"body-1-regular":Eo,"body-1-medium":Ro,"body-1-semibold":$o,"body-2-regular":Io,"body-2-medium":Lo,"body-2-semibold":Uo,"label-1-medium":ko,"label-1-semibold":Ao,"label-1-bold":Wo,"label-2-medium":_o,"label-2-semibold":Fo,"label-2-bold":jo,"caption-1-medium":Po,"caption-1-semibold":Bo,"caption-1-bold":Mo,"caption-2-medium":Do,"caption-2-semibold":Ko,"caption-2-bold":zo,"caption-3-medium":To,"caption-3-semibold":Zo,"caption-3-bold":Ho},Vo={backgroundActionPrimary:vo.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Oo.colorBrand0),backgroundErrorPrimary:vo.extend("--ft-background-error-primary","Used as background of error components.",Oo.colorRed0),backgroundErrorSubtle:vo.extend("--ft-background-error-subtle","Used as background of subtle error components.",Oo.colorRed10),backgroundInfoPrimary:vo.extend("--ft-background-info-primary","Used as background of information components.",Oo.colorCyan200),backgroundInfoSubtle:vo.extend("--ft-background-info-subtle","Used as background of subtle information components.",Oo.colorCyan10),backgroundWarningPrimary:vo.extend("--ft-background-warning-primary","Used as background of warning components.",Oo.colorOrange300),backgroundWarningSubtle:vo.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Oo.colorOrange10),backgroundSuccessPrimary:vo.extend("--ft-background-success-primary","Used as background of success components.",Oo.colorGreen200),backgroundSuccessSubtle:vo.extend("--ft-background-success-subtle","Used as background of subtle success components.",Oo.colorGreen10),backgroundGlobalSurface:vo.extend("--ft-background-global-surface","Used as app background.",Oo.colorWhite),backgroundGlobalOnSurface:vo.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Oo.colorGray10),backgroundGlobalOnSurfaceDark:vo.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Oo.colorGray30),contentActionPrimary:vo.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Oo.colorBrand0),contentWarningPrimary:vo.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Oo.colorOrange300),contentWarningIconOnly:vo.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Oo.colorOrange0),contentErrorPrimary:vo.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Oo.colorRed0),contentErrorIconOnly:vo.extend("--ft-content-error-icon-only","Used on error status icons alone",Oo.colorRed0),contentInfoPrimary:vo.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Oo.colorCyan200),contentInfoIconOnly:vo.extend("--ft-content-info-icon-only","Used on info status icons alone",Oo.colorCyan0),contentSuccessPrimary:vo.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Oo.colorGreen200),contentSuccessIconOnly:vo.extend("--ft-content-success-icon-only","Used on success status icons alone",Oo.colorGreen0),contentGlobalPrimary:vo.extend("--ft-content-global-primary","Used for main content on the page.",Oo.colorGray500),contentGlobalSecondary:vo.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Oo.colorGray200),contentGlobalSubtle:vo.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Oo.colorGray0),contentGlobalOnColor:vo.extend("--ft-content-global-on-color","Used for content on a dominant color.",Oo.colorWhite),borderActionPrimary:vo.extend("--ft-border-action-primary","Used as border for primary action components.",Oo.colorBrand0),borderActionFocusRing:vo.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Oo.colorCyan0),borderWarningPrimary:vo.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",Oo.colorOrange300),borderWarningSubtle:vo.extend("--ft-border-warning-subtle","Used as border for warning components.",Oo.colorOrange30),borderSuccessPrimary:vo.extend("--ft-border-success-primary","Used as border for success buttons.",Oo.colorGreen200),borderSuccessSubtle:vo.extend("--ft-border-success-subtle","Used as border for success components.",Oo.colorGreen30),borderErrorPrimary:vo.extend("--ft-border-error-primary","Used as border for text fields in error states.",Oo.colorRed0),borderErrorSubtle:vo.extend("--ft-border-error-subtle","Used as border for error components.",Oo.colorRed30),borderInfoPrimary:vo.extend("--ft-border-info-primary","Used as border for buttons in info color.",Oo.colorCyan200),borderInfoSubtle:vo.extend("--ft-border-info-subtle","Used as border for information components.",Oo.colorCyan30),borderGlobalPrimary:vo.extend("--ft-border-global-primary","Used as border for element like input.",Oo.colorGray50),borderGlobalSubtle:vo.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Oo.colorGray30),borderInputPrimary:vo.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Oo.colorGray80)},qo={largeHeight:vo.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:vo.extend("--ft-button-large-horizontal-padding","",Oo.spacing4),largeGap:vo.extend("--ft-button-large-gap","",Oo.spacing2),largeBorderRadius:vo.extend("--ft-button-large-border-radius","",Oo.borderRadiusS),largeIconSize:vo.extend("--ft-button-large-icon-size","",Oo.iconSize3),largeBorderWidth:vo.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:vo.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:vo.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:vo.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:vo.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:vo.extend("--ft-button-small-horizontal-padding","",Oo.spacing3),smallGap:vo.extend("--ft-button-small-gap","",Oo.spacing2),smallBorderRadius:vo.extend("--ft-button-small-border-radius","",Oo.borderRadiusS),smallIconSize:vo.extend("--ft-button-small-icon-size","",Oo.iconSize2),smallBorderWidth:vo.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:vo.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:vo.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:vo.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:vo.extend("--ft-button-primary-background-color","",Vo.backgroundActionPrimary),primaryColor:vo.extend("--ft-button-primary-color","",Vo.contentGlobalOnColor),primaryIconColor:vo.extend("--ft-button-primary-icon-color","",Vo.contentGlobalOnColor),primaryStateLayerColor:vo.extend("--ft-button-primary-state-layer-color","",Vo.contentGlobalOnColor),primaryStateLayerOpacityHover:vo.extend("--ft-button-primary-state-layer-opacity-hover","",Oo.opacity16),primaryStateLayerOpacityFocus:vo.extend("--ft-button-primary-state-layer-opacity-focus","",Oo.opacity16),primaryStateLayerOpacityActive:vo.extend("--ft-button-primary-state-layer-opacity-active","",Oo.opacity24),primaryComponentOpacityDisabled:vo.extend("--ft-button-primary-component-opacity-disabled","",Oo.opacity40),focusFocusRingColor:vo.extend("--ft-button-focus-focus-ring-color","",Vo.borderActionFocusRing),tertiaryBackgroundColor:vo.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:vo.extend("--ft-button-tertiary-color","",Vo.contentActionPrimary),tertiaryIconColor:vo.extend("--ft-button-tertiary-icon-color","",Vo.contentActionPrimary),tertiaryStateLayerColor:vo.extend("--ft-button-tertiary-state-layer-color","",Vo.contentActionPrimary),tertiaryStateLayerOpacityHover:vo.extend("--ft-button-tertiary-state-layer-opacity-hover","",Oo.opacity8),tertiaryStateLayerOpacityFocus:vo.extend("--ft-button-tertiary-state-layer-opacity-focus","",Oo.opacity8),tertiaryStateLayerOpacityActive:vo.extend("--ft-button-tertiary-state-layer-opacity-active","",Oo.opacity16),tertiaryComponentOpacityDisabled:vo.extend("--ft-button-tertiary-component-opacity-disabled","",Oo.opacity40),secondaryBackgroundColor:vo.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:vo.extend("--ft-button-secondary-color","",Vo.contentActionPrimary),secondaryIconColor:vo.extend("--ft-button-secondary-icon-color","",Vo.contentActionPrimary),secondaryStateLayerColor:vo.extend("--ft-button-secondary-state-layer-color","",Vo.contentActionPrimary),secondaryStateLayerOpacityHover:vo.extend("--ft-button-secondary-state-layer-opacity-hover","",Oo.opacity8),secondaryStateLayerOpacityFocus:vo.extend("--ft-button-secondary-state-layer-opacity-focus","",Oo.opacity8),secondaryStateLayerOpacityActive:vo.extend("--ft-button-secondary-state-layer-opacity-active","",Oo.opacity16),secondaryComponentOpacityDisabled:vo.extend("--ft-button-secondary-component-opacity-disabled","",Oo.opacity40),secondaryBorderColor:vo.extend("--ft-button-secondary-border-color","",Vo.borderActionPrimary),neutralBackgroundColor:vo.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:vo.extend("--ft-button-neutral-icon-color","",Vo.contentGlobalSecondary),neutralColor:vo.extend("--ft-button-neutral-color","",Vo.contentGlobalSecondary),neutralStateLayerColor:vo.extend("--ft-button-neutral-state-layer-color","",Vo.contentGlobalSecondary),neutralStateLayerOpacityHover:vo.extend("--ft-button-neutral-state-layer-opacity-hover","",Oo.opacity8),neutralStateLayerOpacityFocus:vo.extend("--ft-button-neutral-state-layer-opacity-focus","",Oo.opacity8),neutralStateLayerOpacityActive:vo.extend("--ft-button-neutral-state-layer-opacity-active","",Oo.opacity16),neutralComponentOpacityDisabled:vo.extend("--ft-button-neutral-component-opacity-disabled","",Oo.opacity40)},Yo={horizontalPadding:vo.extend("--ft-floating-menu-horizontal-padding","",Oo.spacing4),verticalPadding:vo.extend("--ft-floating-menu-vertical-padding","",Oo.spacing4),offIconColor:vo.extend("--ft-floating-menu-off-icon-color","",Vo.contentGlobalPrimary),offColor:vo.extend("--ft-floating-menu-off-color","",Vo.contentGlobalPrimary),onColor:vo.extend("--ft-floating-menu-on-color","",Vo.contentActionPrimary),onIconColor:vo.extend("--ft-floating-menu-on-icon-color","",Vo.contentActionPrimary),onStateLayerColor:vo.extend("--ft-floating-menu-on-state-layer-color","",Vo.contentActionPrimary),gap:vo.extend("--ft-floating-menu-gap","",Oo.spacing3),focusFocusRingColor:vo.extend("--ft-floating-menu-focus-focus-ring-color","",Vo.borderActionFocusRing),focusOutlineWidth:vo.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),stateLayerOpacityHover:vo.extend("--ft-floating-menu-state-layer-opacity-hover","",Oo.opacity8),stateLayerOpacityActive:vo.extend("--ft-floating-menu-state-layer-opacity-active","",Oo.opacity16),stateLayerOpacityFocus:vo.extend("--ft-floating-menu-state-layer-opacity-focus","",Oo.opacity8),componentOpacityDisabled:vo.extend("--ft-floating-menu-component-opacity-disabled","",Oo.opacity40),iconSize:vo.extend("--ft-floating-menu-icon-size","",Oo.iconSize3),backgroundColor:vo.extend("--ft-floating-menu-background-color","",Vo.backgroundGlobalOnSurface)},Jo={topLeftBorderRadius:vo.extend("--ft-tabs-top-left-border-radius","",Oo.borderRadiusS),topRightBorderRadius:vo.extend("--ft-tabs-top-right-border-radius","",Oo.borderRadiusS),labelHorizontalPadding:vo.extend("--ft-tabs-label-horizontal-padding","",Oo.spacing4),labelVerticalPadding:vo.extend("--ft-tabs-label-vertical-padding","",Oo.spacing3),labelGap:vo.extend("--ft-tabs-label-gap","",Oo.spacing1),iconHorizontalPadding:vo.extend("--ft-tabs-icon-horizontal-padding","",Oo.spacing1),iconVerticalPadding:vo.extend("--ft-tabs-icon-vertical-padding","",Oo.spacing4),focusOutlineWidth:vo.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:vo.extend("--ft-tabs-focus-focus-ring-color","",Vo.borderActionFocusRing),offStateLayerOpacityHover:vo.extend("--ft-tabs-off-state-layer-opacity-hover","",Oo.opacity8),offStateLayerOpacityFocus:vo.extend("--ft-tabs-off-state-layer-opacity-focus","",Oo.opacity8),offStateLayerOpacityActive:vo.extend("--ft-tabs-off-state-layer-opacity-active","",Oo.opacity16),offComponentOpacityDisabled:vo.extend("--ft-tabs-off-component-opacity-disabled","",Oo.opacity40),offColor:vo.extend("--ft-tabs-off-color","",Vo.contentGlobalSubtle),offStateLayerColor:vo.extend("--ft-tabs-off-state-layer-color","",Vo.contentGlobalSubtle),onStateLayerOpacityHover:vo.extend("--ft-tabs-on-state-layer-opacity-hover","",Oo.opacity8),onStateLayerOpacityFocus:vo.extend("--ft-tabs-on-state-layer-opacity-focus","",Oo.opacity8),onStateLayerOpacityActive:vo.extend("--ft-tabs-on-state-layer-opacity-active","",Oo.opacity16),onComponentOpacityDisabled:vo.extend("--ft-tabs-on-component-opacity-disabled","",Oo.opacity40),onColor:vo.extend("--ft-tabs-on-color","",Vo.contentActionPrimary),onStateLayerColor:vo.extend("--ft-tabs-on-state-layer-color","",Vo.contentActionPrimary)},Xo={stateLayerOpacityHover:vo.extend("--ft-collapsible-state-layer-opacity-hover","",Oo.opacity8),stateLayerOpacityFocus:vo.extend("--ft-collapsible-state-layer-opacity-focus","",Oo.opacity8),stateLayerOpacityActive:vo.extend("--ft-collapsible-state-layer-opacity-active","",Oo.opacity16),componentOpacityDisabled:vo.extend("--ft-collapsible-component-opacity-disabled","",Oo.opacity40),horizontalPadding:vo.extend("--ft-collapsible-horizontal-padding","",Oo.spacing4),verticalPadding:vo.extend("--ft-collapsible-vertical-padding","",Oo.spacing3),focusOutlineWidth:vo.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:vo.extend("--ft-collapsible-focus-focus-ring-color","",Vo.borderActionFocusRing),color:vo.extend("--ft-collapsible-color","",Vo.contentGlobalPrimary),stateLayerColor:vo.extend("--ft-collapsible-state-layer-color","",Vo.contentGlobalPrimary),backgroundColor:vo.extend("--ft-collapsible-background-color","",Vo.backgroundGlobalOnSurface),borderColor:vo.extend("--ft-collapsible-border-color","",Vo.borderGlobalSubtle),iconSize:vo.extend("--ft-collapsible-icon-size","",Oo.iconSize3)},Qo={groupHorizontalPadding:vo.extend("--ft-switch-group-horizontal-padding","",Oo.spacing1),groupVerticalPadding:vo.extend("--ft-switch-group-vertical-padding","",Oo.spacing1),groupGap:vo.extend("--ft-switch-group-gap","",Oo.spacing1),groupBackgroundColor:vo.extend("--ft-switch-group-background-color","",Vo.backgroundGlobalSurface),groupBorderColor:vo.extend("--ft-switch-group-border-color","",Vo.borderGlobalSubtle),groupBorderRadius:vo.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:vo.extend("--ft-switch-label-horizontal-padding","",Oo.spacing2),labelVerticalPadding:vo.extend("--ft-switch-label-vertical-padding","",Oo.spacing1),iconHorizontalPadding:vo.extend("--ft-switch-icon-horizontal-padding","",Oo.spacing1),iconVerticalPadding:vo.extend("--ft-switch-icon-vertical-padding","",Oo.spacing1),focusOutlineWidth:vo.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:vo.extend("--ft-switch-focus-focus-ring-color","",Vo.borderActionFocusRing),optionBorderRadius:vo.extend("--ft-switch-option-border-radius","",Oo.borderRadiusS),offStateLayerOpacityHover:vo.extend("--ft-switch-off-state-layer-opacity-hover","",Oo.opacity8),offStateLayerOpacityFocus:vo.extend("--ft-switch-off-state-layer-opacity-focus","",Oo.opacity8),offStateLayerOpacityActive:vo.extend("--ft-switch-off-state-layer-opacity-active","",Oo.opacity16),offComponentOpacityDisabled:vo.extend("--ft-switch-off-component-opacity-disabled","",Oo.opacity40),offColor:vo.extend("--ft-switch-off-color","",Vo.contentGlobalSubtle),offStateLayerColor:vo.extend("--ft-switch-off-state-layer-color","",Vo.contentGlobalSubtle),onStateLayerOpacityHover:vo.extend("--ft-switch-on-state-layer-opacity-hover","",Oo.opacity8),onStateLayerOpacityFocus:vo.extend("--ft-switch-on-state-layer-opacity-focus","",Oo.opacity8),onStateLayerOpacityActive:vo.extend("--ft-switch-on-state-layer-opacity-active","",Oo.opacity16),onComponentOpacityDisabled:vo.extend("--ft-switch-on-component-opacity-disabled","",Oo.opacity40),onColor:vo.extend("--ft-switch-on-color","",Vo.contentActionPrimary),onStateLayerColor:vo.extend("--ft-switch-on-state-layer-color","",Vo.contentActionPrimary)},tr={color1Light:vo.extend("--ft-chart-1-light","for area color charts",Oo.colorBrand40),color1Base:vo.extend("--ft-chart-1-base","for line charts",Oo.colorBrand0),color2Light:vo.extend("--ft-chart-2-light","for area color charts",Oo.colorYellow60),color2Base:vo.extend("--ft-chart-2-base","for line charts",Oo.colorYellow100),color3Light:vo.extend("--ft-chart-3-light","",Oo.colorUltramarine40),color3Base:vo.extend("--ft-chart-3-base","",Oo.colorUltramarine70),color4Light:vo.extend("--ft-chart-4-light","",Oo.colorCyan50),color4Base:vo.extend("--ft-chart-4-base","",Oo.colorCyan100),color5Light:vo.extend("--ft-chart-5-light","",Oo.colorRed40),color5Base:vo.extend("--ft-chart-5-base","",Oo.colorRed60),color6Light:vo.extend("--ft-chart-6-light","",Oo.colorGreen40),color6Base:vo.extend("--ft-chart-6-base","",Oo.colorGreen70),color7Light:vo.extend("--ft-chart-7-light","",Oo.colorOrange70),color7Base:vo.extend("--ft-chart-7-base","",Oo.colorOrange100),color8Light:vo.extend("--ft-chart-8-light","",Oo.colorAvocado70),color8Base:vo.extend("--ft-chart-8-base","",Oo.colorAvocado200),color9Light:vo.extend("--ft-chart-9-light","",Oo.colorBrown50),color9Base:vo.extend("--ft-chart-9-base","",Oo.colorBrown200),color10Light:vo.extend("--ft-chart-10-light","",Oo.colorGray50),color10Base:vo.extend("--ft-chart-10-base","",Oo.colorGray80),monochrome10:vo.extend("--ft-chart-monochrome-10","",Oo.colorBrand10),monochrome20:vo.extend("--ft-chart-monochrome-20","",Oo.colorBrand20),monochrome30:vo.extend("--ft-chart-monochrome-30","",Oo.colorBrand40),monochrome40:vo.extend("--ft-chart-monochrome-40","",Oo.colorBrand60),monochrome50:vo.extend("--ft-chart-monochrome-50","",Oo.colorBrand0),monochrome60:vo.extend("--ft-chart-monochrome-60","",Oo.colorBrand200)},er={largeHorizontalPadding:vo.extend("--ft-chip-large-horizontal-padding","",Oo.spacing4),largeVerticalPadding:vo.extend("--ft-chip-large-vertical-padding","",Oo.spacing2),largeGap:vo.extend("--ft-chip-large-gap","",Oo.spacing1),largeFocusOutlineOffset:vo.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:vo.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:vo.extend("--ft-chip-large-border-radius","",Oo.borderRadiusPill),largeBorderWidth:vo.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:vo.extend("--ft-chip-large-icon-size","",Oo.iconSize3),mediumHorizontalPadding:vo.extend("--ft-chip-medium-horizontal-padding","",Oo.spacing3),mediumVerticalPadding:vo.extend("--ft-chip-medium-vertical-padding","",Oo.spacing1),mediumGap:vo.extend("--ft-chip-medium-gap","",Oo.spacing1),mediumFocusOutlineOffset:vo.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:vo.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:vo.extend("--ft-chip-medium-border-radius","",Oo.borderRadiusPill),mediumBorderWidth:vo.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:vo.extend("--ft-chip-medium-icon-size","",Oo.iconSize2),smallHorizontalPadding:vo.extend("--ft-chip-small-horizontal-padding","",Oo.spacing2),smallVerticalPadding:vo.extend("--ft-chip-small-vertical-padding","",Oo.spacing05),smallGap:vo.extend("--ft-chip-small-gap","",Oo.spacing1),smallFocusOutlineOffset:vo.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:vo.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:vo.extend("--ft-chip-small-border-radius","",Oo.borderRadiusPill),smallBorderWidth:vo.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:vo.extend("--ft-chip-small-icon-size","",Oo.iconSize1),neutralBackgroundColor:vo.extend("--ft-chip-neutral-background-color","",Vo.backgroundGlobalOnSurface),neutralColor:vo.extend("--ft-chip-neutral-color","",Vo.contentGlobalPrimary),neutralBorderColor:vo.extend("--ft-chip-neutral-border-color","",Vo.borderGlobalSubtle),infoBackgroundColor:vo.extend("--ft-chip-info-background-color","",Vo.backgroundInfoSubtle),infoColor:vo.extend("--ft-chip-info-color","",Vo.contentInfoPrimary),infoBorderColor:vo.extend("--ft-chip-info-border-color","",Vo.borderInfoSubtle),successBackgroundColor:vo.extend("--ft-chip-success-background-color","",Vo.backgroundSuccessSubtle),successColor:vo.extend("--ft-chip-success-color","",Vo.contentSuccessPrimary),successBorderColor:vo.extend("--ft-chip-success-border-color","",Vo.borderSuccessSubtle),warningBackgroundColor:vo.extend("--ft-chip-warning-background-color","",Vo.backgroundWarningSubtle),warningColor:vo.extend("--ft-chip-warning-color","",Vo.contentWarningPrimary),warningBorderColor:vo.extend("--ft-chip-warning-border-color","",Vo.borderWarningSubtle),errorBackgroundColor:vo.extend("--ft-chip-error-background-color","",Vo.backgroundErrorSubtle),errorColor:vo.extend("--ft-chip-error-color","",Vo.contentErrorPrimary),errorBorderColor:vo.extend("--ft-chip-error-border-color","",Vo.borderErrorSubtle)},or={borderWidth:vo.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:vo.extend("--ft-notice-horizontal-padding","",Oo.spacing2),verticalPadding:vo.extend("--ft-notice-vertical-padding","",Oo.spacing1),borderRadius:vo.extend("--ft-notice-border-radius","",Oo.borderRadiusS),gap:vo.extend("--ft-notice-gap","",Oo.spacing2),iconSize:vo.extend("--ft-notice-icon-size","",Oo.iconSize3),infoBackgroundColor:vo.extend("--ft-notice-info-background-color","",Vo.backgroundInfoSubtle),infoBorderColor:vo.extend("--ft-notice-info-border-color","",Vo.borderInfoSubtle),infoColor:vo.extend("--ft-notice-info-color","",Vo.contentInfoPrimary),warningBackgroundColor:vo.extend("--ft-notice-warning-background-color","",Vo.backgroundWarningSubtle),warningBorderColor:vo.extend("--ft-notice-warning-border-color","",Vo.borderWarningSubtle),warningColor:vo.extend("--ft-notice-warning-color","",Vo.contentWarningPrimary)},rr={labelColor:vo.extend("--ft-checkbox-label-color","",Vo.contentGlobalPrimary),checkedBackgroundColor:vo.extend("--ft-checkbox-checked-background-color","",Vo.contentActionPrimary),checkedStateLayerColor:vo.extend("--ft-checkbox-checked-state-layer-color","",Vo.contentActionPrimary),checkedColor:vo.extend("--ft-checkbox-checked-color","",Vo.contentGlobalOnColor),checkedStateLayerOpacityHover:vo.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Oo.opacity16),checkedStateLayerOpacityFocus:vo.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Oo.opacity16),checkedStateLayerOpacityActive:vo.extend("--ft-checkbox-checked-state-layer-opacity-active","",Oo.opacity24),checkedComponentOpacityDisabled:vo.extend("--ft-checkbox-checked-component-opacity-disabled","",Oo.opacity40),uncheckedBorderColor:vo.extend("--ft-checkbox-unchecked-border-color","",Oo.colorGray80),uncheckedStateLayerColor:vo.extend("--ft-checkbox-unchecked-state-layer-color","",Oo.colorGray80),uncheckedStateLayerOpacityHover:vo.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Oo.opacity16),uncheckedStateLayerOpacityFocus:vo.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Oo.opacity16),uncheckedStateLayerOpacityActive:vo.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Oo.opacity24),uncheckedComponentOpacityDisabled:vo.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Oo.opacity40),focusFocusRingColor:vo.extend("--ft-checkbox-focus-focus-ring-color","",Vo.borderActionFocusRing),focusOutlineOffset:vo.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:vo.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:vo.extend("--ft-checkbox-gap","",Oo.spacing3)},ir={offStateLayerOpacityHover:vo.extend("--ft-toggle-off-state-layer-opacity-hover","",Oo.opacity16),offStateLayerOpacityFocus:vo.extend("--ft-toggle-off-state-layer-opacity-focus","",Oo.opacity16),offStateLayerOpacityActive:vo.extend("--ft-toggle-off-state-layer-opacity-active","",Oo.opacity24),offComponentOpacityDisabled:vo.extend("--ft-toggle-off-component-opacity-disabled","",Oo.opacity40),offBackgroundColor:vo.extend("--ft-toggle-off-background-color","",Vo.contentGlobalSubtle),offIconColor:vo.extend("--ft-toggle-off-icon-color","",Vo.contentGlobalSubtle),offStateLayerColor:vo.extend("--ft-toggle-off-state-layer-color","",Vo.contentGlobalSubtle),onStateLayerOpacityHover:vo.extend("--ft-toggle-on-state-layer-opacity-hover","",Oo.opacity16),onStateLayerOpacityFocus:vo.extend("--ft-toggle-on-state-layer-opacity-focus","",Oo.opacity16),onStateLayerOpacityActive:vo.extend("--ft-toggle-on-state-layer-opacity-active","",Oo.opacity24),onComponentOpacityDisabled:vo.extend("--ft-toggle-on-component-opacity-disabled","",Oo.opacity40),onBackgroundColor:vo.extend("--ft-toggle-on-background-color","",Vo.contentActionPrimary),onIconColor:vo.extend("--ft-toggle-on-icon-color","",Vo.contentActionPrimary),onStateLayerColor:vo.extend("--ft-toggle-on-state-layer-color","",Vo.contentActionPrimary),labelColor:vo.extend("--ft-toggle-label-color","",Vo.contentGlobalPrimary),focusFocusRingColor:vo.extend("--ft-toggle-focus-focus-ring-color","",Vo.borderActionFocusRing),gap:vo.extend("--ft-toggle-gap","",Oo.spacing3)},nr={labelColor:vo.extend("--ft-radio-label-color","",Vo.contentGlobalPrimary),selectedColor:vo.extend("--ft-radio-selected-color","",Vo.contentActionPrimary),selectedStateLayerColor:vo.extend("--ft-radio-selected-state-layer-color","",Vo.contentActionPrimary),selectedStateLayerOpacityHover:vo.extend("--ft-radio-selected-state-layer-opacity-hover","",Oo.opacity16),selectedStateLayerOpacityFocus:vo.extend("--ft-radio-selected-state-layer-opacity-focus","",Oo.opacity16),selectedStateLayerOpacityActive:vo.extend("--ft-radio-selected-state-layer-opacity-active","",Oo.opacity24),selectedComponentOpacityDisabled:vo.extend("--ft-radio-selected-component-opacity-disabled","",Oo.opacity40),unselectedStateLayerColor:vo.extend("--ft-radio-unselected-state-layer-color","",Oo.colorGray80),unselectedStateLayerOpacityHover:vo.extend("--ft-radio-unselected-state-layer-opacity-hover","",Oo.opacity16),unselectedStateLayerOpacityFocus:vo.extend("--ft-radio-unselected-state-layer-opacity-focus","",Oo.opacity16),unselectedStateLayerOpacityActive:vo.extend("--ft-radio-unselected-state-layer-opacity-active","",Oo.opacity24),unselectedComponentOpacityDisabled:vo.extend("--ft-radio-unselected-component-opacity-disabled","",Oo.opacity40),focusFocusRingColor:vo.extend("--ft-radio-focus-focus-ring-color","",Vo.borderActionFocusRing),focusOutlineOffset:vo.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:vo.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:vo.extend("--ft-radio-gap","",Oo.spacing3)},ar={iconSize:vo.extend("--ft-notification-icon-size","",Oo.iconSize4),horizontalPadding:vo.extend("--ft-notification-horizontal-padding","",Oo.spacing4),verticalPadding:vo.extend("--ft-notification-vertical-padding","",Oo.spacing4),infoBackgroundColor:vo.extend("--ft-notification-info-background-color","",Vo.backgroundInfoSubtle),infoColor:vo.extend("--ft-notification-info-color","",Vo.contentInfoPrimary),infoBorderColor:vo.extend("--ft-notification-info-border-color","",Vo.borderInfoSubtle),successBackgroundColor:vo.extend("--ft-notification-success-background-color","",Vo.backgroundSuccessSubtle),successColor:vo.extend("--ft-notification-success-color","",Vo.contentSuccessPrimary),successBorderColor:vo.extend("--ft-notification-success-border-color","",Vo.borderSuccessSubtle),warningBackgroundColor:vo.extend("--ft-notification-warning-background-color","",Vo.backgroundWarningSubtle),warningColor:vo.extend("--ft-notification-warning-color","",Vo.contentWarningPrimary),warningBorderColor:vo.extend("--ft-notification-warning-border-color","",Vo.borderWarningSubtle),errorBackgroundColor:vo.extend("--ft-notification-error-background-color","",Vo.backgroundErrorSubtle),errorColor:vo.extend("--ft-notification-error-color","",Vo.contentErrorPrimary),errorBorderColor:vo.extend("--ft-notification-error-border-color","",Vo.borderErrorSubtle),borderRadius:vo.extend("--ft-notification-border-radius","",Oo.borderRadiusPill),borderWidth:vo.create("--ft-notification-border-width","","SIZE","1px"),gapLeading:vo.extend("--ft-notification-gap-leading","",Oo.spacing2),gapTrailing:vo.extend("--ft-notification-gap-trailing","",Oo.spacing8)},sr={horizontalPadding:vo.extend("--ft-tooltip-horizontal-padding","",Oo.spacing2),verticalPadding:vo.extend("--ft-tooltip-vertical-padding","",Oo.spacing2),borderRadius:vo.extend("--ft-tooltip-border-radius","",Oo.borderRadiusS),label:vo.extend("--ft-tooltip-label","",Vo.contentGlobalOnColor),background:vo.extend("--ft-tooltip-background","",Vo.contentGlobalPrimary),backgroundOpacity:vo.extend("--ft-tooltip-background-opacity","",Oo.opacity80),shadow:vo.extend("--ft-tooltip-shadow","",Oo.shadowElevation03)};var lr=Object.freeze({__proto__:null,FtCssVariableFactory:vo,button:qo,chart:tr,checkbox:rr,chip:er,collapsible:Xo,floatingMenu:Yo,foundation:Oo,notice:or,notification:ar,radio:nr,semantic:Vo,setVariable:xo,switch_:Qo,tabs:Jo,toggle:ir,tooltip:sr,typographies:Go,typographyBody1Medium:Ro,typographyBody1Regular:Eo,typographyBody1Semibold:$o,typographyBody2Medium:Lo,typographyBody2Regular:Io,typographyBody2Semibold:Uo,typographyCaption1Bold:Mo,typographyCaption1Medium:Po,typographyCaption1Semibold:Bo,typographyCaption2Bold:zo,typographyCaption2Medium:Do,typographyCaption2Semibold:Ko,typographyCaption3Bold:Ho,typographyCaption3Medium:To,typographyCaption3Semibold:Zo,typographyDisplay:wo,typographyLabel1Bold:Wo,typographyLabel1Medium:ko,typographyLabel1Semibold:Ao,typographyLabel2Bold:jo,typographyLabel2Medium:_o,typographyLabel2Semibold:Fo,typographyTitle1:So,typographyTitle2:No,typographyTitle3:Co,typographyVariants:["display","title-1","title-2","title-3","body-1","body-2","label-1","label-2","caption-1","caption-2","caption-3"]});const cr={colorPrimary:vo.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:vo.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:vo.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:vo.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:vo.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:vo.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:vo.create("--ft-color-error","","COLOR","#B00020"),colorOutline:vo.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:vo.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:vo.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:vo.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:vo.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:vo.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:vo.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:vo.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:vo.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:vo.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:vo.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:vo.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:vo.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:vo.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:vo.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:vo.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:vo.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:vo.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:vo.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:vo.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:vo.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:vo.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:vo.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:vo.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:vo.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:vo.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:vo.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:vo.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:vo.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:vo.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:vo.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:vo.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:vo.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:vo.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:vo.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:vo.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:vo.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:vo.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:vo.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:vo.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:vo.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:vo.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:vo.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:vo.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:vo.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:vo.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:vo.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:vo.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:vo.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:vo.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:vo.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:vo.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:vo.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:vo.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:vo.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var fr=Object.freeze({__proto__:null,designSystemVariables:cr});class ur extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}}class hr extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}}class pr extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}}var dr=Object.freeze({__proto__:null,FtNotificationEvent:ur,PostResizeEvent:pr,PreResizeEvent:hr});const yr=["start","end"],gr=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+yr[0],e+"-"+yr[1])),[]),br=Math.min,mr=Math.max,vr=Math.round,xr=t=>({x:t,y:t}),Or={left:"right",right:"left",bottom:"top",top:"bottom"},wr={start:"end",end:"start"};function Sr(t,e,o){return mr(t,br(e,o))}function Nr(t,e){return"function"==typeof t?t(e):t}function Cr(t){return t.split("-")[0]}function Er(t){return t.split("-")[1]}function Rr(t){return"x"===t?"y":"x"}function $r(t){return"y"===t?"height":"width"}function Ir(t){return["top","bottom"].includes(Cr(t))?"y":"x"}function Lr(t){return Rr(Ir(t))}function Ur(t){return t.replace(/left|right|bottom|top/g,(t=>Or[t]))}function kr(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Ar(t,e,o){let{reference:r,floating:i}=t;const n=Ir(e),a=Lr(e),s=$r(a),l=Cr(e),c="y"===n,f=r.x+r.width/2-i.width/2,u=r.y+r.height/2-i.height/2,h=r[s]/2-i[s]/2;let p;switch(l){case"top":p={x:f,y:r.y-i.height};break;case"bottom":p={x:f,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:u};break;case"left":p={x:r.x-i.width,y:u};break;default:p={x:r.x,y:r.y}}switch(Er(e)){case"start":p[a]-=h*(o&&c?-1:1);break;case"end":p[a]+=h*(o&&c?-1:1)}return p}async function Wr(t,e){var o;void 0===e&&(e={});const{x:r,y:i,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:h=!1,padding:p=0}=Nr(e,t),d=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}}(p),y=s[h?"floating"===u?"reference":"floating":u],g=kr(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(y)))||o?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:f,strategy:l})),b="floating"===u?{...a.floating,x:r,y:i}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),v=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},x=kr(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(g.top-x.top+d.top)/v.y,bottom:(x.bottom-g.bottom+d.bottom)/v.y,left:(g.left-x.left+d.left)/v.x,right:(x.right-g.right+d.right)/v.x}}function _r(t,e,o){return(t?[...o.filter((e=>Er(e)===t)),...o.filter((e=>Er(e)!==t))]:o.filter((t=>Cr(t)===t))).filter((o=>!t||(Er(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>wr[t]))}(o)!==o)))}const Fr=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,r,i;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=e,{crossAxis:f=!1,alignment:u,allowedPlacements:h=gr,autoAlignment:p=!0,...d}=Nr(t,e),y=void 0!==u||h===gr?_r(u||null,p,h):h,g=await Wr(e,d),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=y[b];if(null==m)return{};const v=function(t,e,o){void 0===o&&(o=!1);const r=Er(t),i=Lr(t),n=$r(i);let a="x"===i?r===(o?"end":"start")?"right":"left":"start"===r?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=Ur(a)),[a,Ur(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const x=[g[Cr(m)],g[v[0]],g[v[1]]],O=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:x}],w=y[b+1];if(w)return{data:{index:b+1,overflows:O},reset:{placement:w}};const S=O.map((t=>{const e=Er(t.placement);return[t.placement,e&&f?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),N=S.filter((t=>t[2].slice(0,Er(t[0])?2:3).every((t=>t<=0)))),C=(null==(i=N[0])?void 0:i[0])||S[0][0];return C!==s?{data:{index:b+1,overflows:O},reset:{placement:C}}:{}}}};function jr(t){return Mr(t)?(t.nodeName||"").toLowerCase():"#document"}function Pr(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function Br(t){var e;return null==(e=(Mr(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function Mr(t){return t instanceof Node||t instanceof Pr(t).Node}function Dr(t){return t instanceof Element||t instanceof Pr(t).Element}function Kr(t){return t instanceof HTMLElement||t instanceof Pr(t).HTMLElement}function zr(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Pr(t).ShadowRoot)}function Tr(t){const{overflow:e,overflowX:o,overflowY:r,display:i}=qr(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+o)&&!["inline","contents"].includes(i)}function Zr(t){return["table","td","th"].includes(jr(t))}function Hr(t){const e=Gr(),o=qr(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function Gr(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Vr(t){return["html","body","#document"].includes(jr(t))}function qr(t){return Pr(t).getComputedStyle(t)}function Yr(t){return Dr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Jr(t){if("html"===jr(t))return t;const e=t.assignedSlot||t.parentNode||zr(t)&&t.host||Br(t);return zr(e)?e.host:e}function Xr(t){const e=Jr(t);return Vr(e)?t.ownerDocument?t.ownerDocument.body:t.body:Kr(e)&&Tr(e)?e:Xr(e)}function Qr(t,e,o){var r;void 0===e&&(e=[]),void 0===o&&(o=!0);const i=Xr(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=Pr(i);return n?e.concat(a,a.visualViewport||[],Tr(i)?i:[],a.frameElement&&o?Qr(a.frameElement):[]):e.concat(i,Qr(i,[],o))}function ti(t){const e=qr(t);let o=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const i=Kr(t),n=i?t.offsetWidth:o,a=i?t.offsetHeight:r,s=vr(o)!==n||vr(r)!==a;return s&&(o=n,r=a),{width:o,height:r,$:s}}function ei(t){return Dr(t)?t:t.contextElement}function oi(t){const e=ei(t);if(!Kr(e))return xr(1);const o=e.getBoundingClientRect(),{width:r,height:i,$:n}=ti(e);let a=(n?vr(o.width):o.width)/r,s=(n?vr(o.height):o.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const ri=xr(0);function ii(t){const e=Pr(t);return Gr()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:ri}function ni(t,e,o,r){void 0===e&&(e=!1),void 0===o&&(o=!1);const i=t.getBoundingClientRect(),n=ei(t);let a=xr(1);e&&(r?Dr(r)&&(a=oi(r)):a=oi(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==Pr(t))&&e}(n,o,r)?ii(n):xr(0);let l=(i.left+s.x)/a.x,c=(i.top+s.y)/a.y,f=i.width/a.x,u=i.height/a.y;if(n){const t=Pr(n),e=r&&Dr(r)?Pr(r):r;let o=t.frameElement;for(;o&&r&&e!==t;){const t=oi(o),e=o.getBoundingClientRect(),r=qr(o),i=e.left+(o.clientLeft+parseFloat(r.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(r.paddingTop))*t.y;l*=t.x,c*=t.y,f*=t.x,u*=t.y,l+=i,c+=n,o=Pr(o).frameElement}}return kr({width:f,height:u,x:l,y:c})}function ai(t){return ni(Br(t)).left+Yr(t).scrollLeft}function si(t,e,o){let r;if("viewport"===e)r=function(t,e){const o=Pr(t),r=Br(t),i=o.visualViewport;let n=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){n=i.width,a=i.height;const t=Gr();(!t||t&&"fixed"===e)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,o);else if("document"===e)r=function(t){const e=Br(t),o=Yr(t),r=t.ownerDocument.body,i=mr(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),n=mr(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let a=-o.scrollLeft+ai(t);const s=-o.scrollTop;return"rtl"===qr(r).direction&&(a+=mr(e.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:s}}(Br(t));else if(Dr(e))r=function(t,e){const o=ni(t,!0,"fixed"===e),r=o.top+t.clientTop,i=o.left+t.clientLeft,n=Kr(t)?oi(t):xr(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:i*n.x,y:r*n.y}}(e,o);else{const o=ii(t);r={...e,x:e.x-o.x,y:e.y-o.y}}return kr(r)}function li(t,e){const o=Jr(t);return!(o===e||!Dr(o)||Vr(o))&&("fixed"===qr(o).position||li(o,e))}function ci(t,e,o){const r=Kr(e),i=Br(e),n="fixed"===o,a=ni(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const l=xr(0);if(r||!r&&!n)if(("body"!==jr(e)||Tr(i))&&(s=Yr(e)),r){const t=ni(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else i&&(l.x=ai(i));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function fi(t,e){return Kr(t)&&"fixed"!==qr(t).position?e?e(t):t.offsetParent:null}function ui(t,e){const o=Pr(t);if(!Kr(t))return o;let r=fi(t,e);for(;r&&Zr(r)&&"static"===qr(r).position;)r=fi(r,e);return r&&("html"===jr(r)||"body"===jr(r)&&"static"===qr(r).position&&!Hr(r))?o:r||function(t){let e=Jr(t);for(;Kr(e)&&!Vr(e);){if(Hr(e))return e;e=Jr(e)}return null}(t)||o}const hi={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:r}=t;const i=Kr(o),n=Br(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=xr(1);const l=xr(0);if((i||!i&&"fixed"!==r)&&(("body"!==jr(o)||Tr(n))&&(a=Yr(o)),Kr(o))){const t=ni(o);s=oi(o),l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-a.scrollLeft*s.x+l.x,y:e.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:Br,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:r,strategy:i}=t;const n=[..."clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let r=Qr(t,[],!1).filter((t=>Dr(t)&&"body"!==jr(t))),i=null;const n="fixed"===qr(t).position;let a=n?Jr(t):t;for(;Dr(a)&&!Vr(a);){const e=qr(a),o=Hr(a);o||"fixed"!==e.position||(i=null),(n?!o&&!i:!o&&"static"===e.position&&i&&["absolute","fixed"].includes(i.position)||Tr(a)&&!o&&li(t,a))?r=r.filter((t=>t!==a)):i=e,a=Jr(a)}return e.set(t,r),r}(e,this._c):[].concat(o),r],a=n[0],s=n.reduce(((t,o)=>{const r=si(e,o,i);return t.top=mr(r.top,t.top),t.right=br(r.right,t.right),t.bottom=br(r.bottom,t.bottom),t.left=mr(r.left,t.left),t}),si(e,a,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:ui,getElementRects:async function(t){let{reference:e,floating:o,strategy:r}=t;const i=this.getOffsetParent||ui,n=this.getDimensions;return{reference:ci(e,await i(o),r),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return ti(t)},getScale:oi,isElement:Dr,isRTL:function(t){return"rtl"===qr(t).direction}},pi=(t,e,o)=>{const r=new Map,i={platform:hi,...o},n={...i.platform,_c:r};return(async(t,e,o)=>{const{placement:r="bottom",strategy:i="absolute",middleware:n=[],platform:a}=o,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(e));let c=await a.getElementRects({reference:t,floating:e,strategy:i}),{x:f,y:u}=Ar(c,r,l),h=r,p={},d=0;for(let o=0;o<s.length;o++){const{name:n,fn:y}=s[o],{x:g,y:b,data:m,reset:v}=await y({x:f,y:u,initialPlacement:r,placement:h,strategy:i,middlewareData:p,rects:c,platform:a,elements:{reference:t,floating:e}});f=null!=g?g:f,u=null!=b?b:u,p={...p,[n]:{...p[n],...m}},v&&d<=50&&(d++,"object"==typeof v&&(v.placement&&(h=v.placement),v.rects&&(c=!0===v.rects?await a.getElementRects({reference:t,floating:e,strategy:i}):v.rects),({x:f,y:u}=Ar(c,h,l))),o=-1)}return{x:f,y:u,placement:h,strategy:i,middlewareData:p}})(t,e,{...i,platform:n})};function di(t){return function(t){for(let e=t;e;e=yi(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=yi(t);e;e=yi(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}(t)}function yi(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}async function gi(t,e,o){return pi(t,e,{platform:{...hi,getOffsetParent:t=>hi.getOffsetParent(t,di)},middleware:[(r={crossAxis:!0},void 0===r&&(r={}),{name:"shift",options:r,async fn(t){const{x:e,y:o,placement:i}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...l}=Nr(r,t),c={x:e,y:o},f=await Wr(t,l),u=Ir(Cr(i)),h=Rr(u);let p=c[h],d=c[u];if(n){const t="y"===h?"bottom":"right";p=Sr(p+f["y"===h?"top":"left"],p,p-f[t])}if(a){const t="y"===u?"bottom":"right";d=Sr(d+f["y"===u?"top":"left"],d,d-f[t])}const y=s.fn({...t,[h]:p,[u]:d});return{...y,data:{x:y.x-e,y:y.y-o}}}}),Fr({allowedPlacements:[o]})]});var r}var bi=Object.freeze({__proto__:null,computeOffsetPosition:gi});
|
|
85
136
|
/**
|
|
86
137
|
* @license
|
|
87
138
|
* Copyright 2019 Google LLC
|
|
88
139
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
89
|
-
*/
|
|
90
|
-
const ko=window,Lo=ko.ShadowRoot&&(void 0===ko.ShadyCSS||ko.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class Wo extends ve{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,o])=>t.registry.define(e,o))));const e={...t.shadowRootOptions,customElements:t.registry},o=this.renderOptions.creationScope=this.attachShadow(e);return((t,e)=>{Lo?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),r=ko.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var Ao,Ko=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const Fo=Symbol("constructorPrototype"),jo=Symbol("constructorName"),Po=Symbol("exportpartsDebouncer");class Do extends Wo{constructor(){super(),this[Ao]=new i(5),this[jo]=this.constructor.name,this[Fo]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[jo]&&Object.setPrototypeOf(this,this[Fo])}updated(t){super.updated(t),this.updateComplete.then((()=>{this.contentAvailableCallback(t),this.insertCustomStylesheet(),this.scheduleExportpartsUpdate()}))}contentAvailableCallback(t){}insertCustomStylesheet(){var t,e;if((null!==(e=null===(t=this.shadowRoot)||void 0===t?void 0:t.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(){var t,e,o;((null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())||null!==(o=null===(e=this.exportpartsPrefixes)||void 0===e?void 0:e.length)&&void 0!==o&&o)&&this[Po].run((()=>{var t,e;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&(null===(e=this.exportpartsPrefixes)||void 0===e?void 0:e.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,o,r,i,n,a;const s=t=>null!=t&&t.trim().length>0,c=t.filter(s).map((t=>t.trim()));if(0===c.length)return void this.removeAttribute("exportparts");const l=new Set;for(let t of null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==o?o:[]){const e=null!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],o=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...e,...o).filter(s).map((t=>t.trim())).forEach((t=>l.add(t)))}if(0===l.size)return void this.removeAttribute("exportparts");const f=[...l.values()].flatMap((t=>c.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}Ao=Po,Ko([U()],Do.prototype,"exportpartsPrefix",void 0),Ko([K([])],Do.prototype,"exportpartsPrefixes",void 0),Ko([U()],Do.prototype,"customStylesheet",void 0);const Mo=we.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");wt`
|
|
140
|
+
*/const mi=window,vi=mi.ShadowRoot&&(void 0===mi.ShadyCSS||mi.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class xi extends be{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,o])=>t.registry.define(e,o))));const e={...t.shadowRootOptions,customElements:t.registry},o=this.renderOptions.creationScope=this.attachShadow(e);return((t,e)=>{vi?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),r=mi.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var Oi,wi=Object.freeze({__proto__:null,ScopedRegistryLitElement:xi}),Si=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const Ni=Symbol("constructorPrototype"),Ci=Symbol("constructorName"),Ei=Symbol("exportpartsDebouncer");class Ri extends xi{constructor(){super(),this[Oi]=new ao(5),this[Ci]=this.constructor.name,this[Ni]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ci]&&Object.setPrototypeOf(this,this[Ni])}updated(t){super.updated(t),this.updateComplete.then((()=>{this.contentAvailableCallback(t),this.insertCustomStylesheet(),this.scheduleExportpartsUpdate()}))}contentAvailableCallback(t){}insertCustomStylesheet(){var t,e;if((null!==(e=null===(t=this.shadowRoot)||void 0===t?void 0:t.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(){var t,e,o;((null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())||null!==(o=null===(e=this.exportpartsPrefixes)||void 0===e?void 0:e.length)&&void 0!==o&&o)&&this[Ei].run((()=>{var t,e;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&(null===(e=this.exportpartsPrefixes)||void 0===e?void 0:e.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,o,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!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==o?o:[]){const e=null!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],o=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...e,...o).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const f=[...c.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}Oi=Ei,Si([we()],Ri.prototype,"exportpartsPrefix",void 0),Si([yo([])],Ri.prototype,"exportpartsPrefixes",void 0),Si([we()],Ri.prototype,"customStylesheet",void 0);var $i=Object.freeze({__proto__:null,FtLitElement:Ri}),Ii=Object.freeze({__proto__:null});class Li{constructor(t,e=!0,o=[],r=5e3){this.ctx=t,this.iframes=e,this.exclude=o,this.iframesTimeout=r}static matches(t,e){const o="string"==typeof e?[e]:e,r=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(r){let e=!1;return o.every((o=>!r.call(t,o)||(e=!0,!1))),e}return!1}getContexts(){let t,e=[];return t=void 0!==this.ctx&&this.ctx?NodeList.prototype.isPrototypeOf(this.ctx)?Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?this.ctx:"string"==typeof this.ctx?Array.prototype.slice.call(document.querySelectorAll(this.ctx)):[this.ctx]:[],t.forEach((t=>{const o=e.filter((e=>e.contains(t))).length>0;-1!==e.indexOf(t)||o||e.push(t)})),e}getIframeContents(t,e,o=(()=>{})){let r;try{const e=t.contentWindow;if(r=e.document,!e||!r)throw new Error("iframe inaccessible")}catch(t){o()}r&&e(r)}isIframeBlank(t){const e="about:blank",o=t.getAttribute("src").trim();return t.contentWindow.location.href===e&&o!==e&&o}observeIframeLoad(t,e,o){let r=!1,i=null;const n=()=>{if(!r){r=!0,clearTimeout(i);try{this.isIframeBlank(t)||(t.removeEventListener("load",n),this.getIframeContents(t,e,o))}catch(t){o()}}};t.addEventListener("load",n),i=setTimeout(n,this.iframesTimeout)}onIframeReady(t,e,o){try{"complete"===t.contentWindow.document.readyState?this.isIframeBlank(t)?this.observeIframeLoad(t,e,o):this.getIframeContents(t,e,o):this.observeIframeLoad(t,e,o)}catch(t){o()}}waitForIframes(t,e){let o=0;this.forEachIframe(t,(()=>!0),(t=>{o++,this.waitForIframes(t.querySelector("html"),(()=>{--o||e()}))}),(t=>{t||e()}))}forEachIframe(t,e,o,r=(()=>{})){let i=t.querySelectorAll("iframe"),n=i.length,a=0;i=Array.prototype.slice.call(i);const s=()=>{--n<=0&&r(a)};n||s(),i.forEach((t=>{Li.matches(t,this.exclude)?s():this.onIframeReady(t,(r=>{e(t)&&(a++,o(r)),s()}),s)}))}createIterator(t,e,o){return document.createNodeIterator(t,e,o,!1)}createInstanceOnIframe(t){return new Li(t.querySelector("html"),this.iframes)}compareNodeIframe(t,e,o){if(t.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_PRECEDING){if(null===e)return!0;if(e.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_FOLLOWING)return!0}return!1}getIteratorNode(t){const e=t.previousNode();let o;return o=(null===e||t.nextNode())&&t.nextNode(),{prevNode:e,node:o}}checkIframeFilter(t,e,o,r){let i=!1,n=!1;return r.forEach(((t,e)=>{t.val===o&&(i=e,n=t.handled)})),this.compareNodeIframe(t,e,o)?(!1!==i||n?!1===i||n||(r[i].handled=!0):r.push({val:o,handled:!0}),!0):(!1===i&&r.push({val:o,handled:!1}),!1)}handleOpenIframes(t,e,o,r){t.forEach((t=>{t.handled||this.getIframeContents(t.val,(t=>{this.createInstanceOnIframe(t).forEachNode(e,o,r)}))}))}iterateThroughNodes(t,e,o,r,i){const n=this.createIterator(e,t,r);let a,s,l=[],c=[],f=()=>(({prevNode:s,node:a}=this.getIteratorNode(n)),a);for(;f();)this.iframes&&this.forEachIframe(e,(t=>this.checkIframeFilter(a,s,t,l)),(e=>{this.createInstanceOnIframe(e).forEachNode(t,(t=>c.push(t)),r)})),c.push(a);c.forEach((t=>{o(t)})),this.iframes&&this.handleOpenIframes(l,t,o,r),i()}forEachNode(t,e,o,r=(()=>{})){const i=this.getContexts();let n=i.length;n||r(),i.forEach((i=>{const a=()=>{this.iterateThroughNodes(t,i,e,o,(()=>{--n<=0&&r()}))};this.iframes?this.waitForIframes(i,a):a()}))}}const Ui=function(t){const e=new class{constructor(t){this.ctx=t,this.ie=!1;const e=window.navigator.userAgent;(e.indexOf("MSIE")>-1||e.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(t){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},t)}get opt(){return this._opt}get iterator(){return new Li(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,e="debug"){const o=this.opt.log;this.opt.debug&&"object"==typeof o&&"function"==typeof o[e]&&o[e](`mark.js: ${t}`)}escapeStr(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(t){return"disabled"!==this.opt.wildcards&&(t=this.setupWildcardsRegExp(t)),t=this.escapeStr(t),Object.keys(this.opt.synonyms).length&&(t=this.createSynonymsRegExp(t)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),this.opt.diacritics&&(t=this.createDiacriticsRegExp(t)),t=this.createMergedBlanksRegExp(t),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.createJoinersRegExp(t)),"disabled"!==this.opt.wildcards&&(t=this.createWildcardsRegExp(t)),this.createAccuracyRegExp(t)}createSynonymsRegExp(t){const e=this.opt.synonyms,o=this.opt.caseSensitive?"":"i",r=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let i in e)if(e.hasOwnProperty(i)){const n=e[i],a="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(i):this.escapeStr(i),s="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(n):this.escapeStr(n);""!==a&&""!==s&&(t=t.replace(new RegExp(`(${this.escapeStr(a)}|${this.escapeStr(s)})`,`gm${o}`),r+`(${this.processSynomyms(a)}|`+`${this.processSynomyms(s)})`+r))}return t}processSynomyms(t){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),t}setupWildcardsRegExp(t){return(t=t.replace(/(?:\\)*\?/g,(t=>"\\"===t.charAt(0)?"?":""))).replace(/(?:\\)*\*/g,(t=>"\\"===t.charAt(0)?"*":""))}createWildcardsRegExp(t){let e="withSpaces"===this.opt.wildcards;return t.replace(/\u0001/g,e?"[\\S\\s]?":"\\S?").replace(/\u0002/g,e?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,((t,e,o)=>{let r=o.charAt(e+1);return/[(|)\\]/.test(r)||""===r?t:t+"\0"}))}createJoinersRegExp(t){let e=[];const o=this.opt.ignorePunctuation;return Array.isArray(o)&&o.length&&e.push(this.escapeStr(o.join(""))),this.opt.ignoreJoiners&&e.push("\\u00ad\\u200b\\u200c\\u200d"),e.length?t.split(/\u0000+/).join(`[${e.join("")}]*`):t}createDiacriticsRegExp(t){const e=this.opt.caseSensitive?"":"i",o=this.opt.caseSensitive?["aàáảãạăằắẳẵặâầấẩẫậäåāą","AÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćč","CÇĆČ","dđď","DĐĎ","eèéẻẽẹêềếểễệëěēę","EÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïī","IÌÍỈĨỊÎÏĪ","lł","LŁ","nñňń","NÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøō","OÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rř","RŘ","sšśșş","SŠŚȘŞ","tťțţ","TŤȚŢ","uùúủũụưừứửữựûüůū","UÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿ","YÝỲỶỸỴŸ","zžżź","ZŽŻŹ"]:["aàáảãạăằắẳẵặâầấẩẫậäåāąAÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćčCÇĆČ","dđďDĐĎ","eèéẻẽẹêềếểễệëěēęEÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïīIÌÍỈĨỊÎÏĪ","lłLŁ","nñňńNÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøōOÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rřRŘ","sšśșşSŠŚȘŞ","tťțţTŤȚŢ","uùúủũụưừứửữựûüůūUÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿYÝỲỶỸỴŸ","zžżźZŽŻŹ"];let r=[];return t.split("").forEach((i=>{o.every((o=>{if(-1!==o.indexOf(i)){if(r.indexOf(o)>-1)return!1;t=t.replace(new RegExp(`[${o}]`,`gm${e}`),`[${o}]`),r.push(o)}return!0}))})),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gim,"[\\s]+")}createAccuracyRegExp(t){let e=this.opt.accuracy,o="string"==typeof e?e:e.value,r="string"==typeof e?[]:e.limiters,i="";switch(r.forEach((t=>{i+=`|${this.escapeStr(t)}`})),o){case"partially":default:return`()(${t})`;case"complementary":return i="\\s"+(i||this.escapeStr("!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~¡¿")),`()([^${i}]*${t}[^${i}]*)`;case"exactly":return`(^|\\s${i})(${t})(?=$|\\s${i})`}}getSeparatedKeywords(t){let e=[];return t.forEach((t=>{this.opt.separateWordSearch?t.split(" ").forEach((t=>{t.trim()&&-1===e.indexOf(t)&&e.push(t)})):t.trim()&&-1===e.indexOf(t)&&e.push(t)})),{keywords:e.sort(((t,e)=>e.length-t.length)),length:e.length}}isNumeric(t){return Number(parseFloat(t))==t}checkRanges(t){if(!Array.isArray(t)||"[object Object]"!==Object.prototype.toString.call(t[0]))return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(t),[];const e=[];let o=0;return t.sort(((t,e)=>t.start-e.start)).forEach((t=>{let{start:r,end:i,valid:n}=this.callNoMatchOnInvalidRanges(t,o);n&&(t.start=r,t.length=i-r,e.push(t),o=i)})),e}callNoMatchOnInvalidRanges(t,e){let o,r,i=!1;return t&&void 0!==t.start?(o=parseInt(t.start,10),r=o+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&r-e>0&&r-o>0?i=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(t)}`),this.opt.noMatch(t))):(this.log(`Ignoring invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)),{start:o,end:r,valid:i}}checkWhitespaceRanges(t,e,o){let r,i=!0,n=o.length,a=e-n,s=parseInt(t.start,10)-a;return s=s>n?n:s,r=s+parseInt(t.length,10),r>n&&(r=n,this.log(`End range automatically set to the max value of ${n}`)),s<0||r-s<0||s>n||r>n?(i=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):""===o.substring(s,r).replace(/\s+/g,"")&&(i=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:s,end:r,valid:i}}getTextNodes(t){let e="",o=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,(t=>{o.push({start:e.length,end:(e+=t.textContent).length,node:t})}),(t=>this.matchesExclude(t.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT),(()=>{t({value:e,nodes:o})}))}matchesExclude(t){return Li.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,e,o){const r=this.opt.element?this.opt.element:"mark",i=t.splitText(e),n=i.splitText(o-e);let a=document.createElement(r);return a.setAttribute("data-markjs","true"),this.opt.className&&a.setAttribute("class",this.opt.className),a.textContent=i.textContent,i.parentNode.replaceChild(a,i),n}wrapRangeInMappedTextNode(t,e,o,r,i){t.nodes.every(((n,a)=>{const s=t.nodes[a+1];if(void 0===s||s.start>e){if(!r(n.node))return!1;const s=e-n.start,l=(o>n.end?n.end:o)-n.start,c=t.value.substr(0,n.start),f=t.value.substr(l+n.start);if(n.node=this.wrapRangeInTextNode(n.node,s,l),t.value=c+f,t.nodes.forEach(((e,o)=>{o>=a&&(t.nodes[o].start>0&&o!==a&&(t.nodes[o].start-=l),t.nodes[o].end-=l)})),o-=l,i(n.node.previousSibling,n.start),!(o>n.end))return!1;e=n.end}return!0}))}wrapMatches(t,e,o,r,i){const n=0===e?0:e+1;this.getTextNodes((e=>{e.nodes.forEach((e=>{let i;for(e=e.node;null!==(i=t.exec(e.textContent))&&""!==i[n];){if(!o(i[n],e))continue;let a=i.index;if(0!==n)for(let t=1;t<n;t++)a+=i[t].length;e=this.wrapRangeInTextNode(e,a,a+i[n].length),r(e.previousSibling),t.lastIndex=0}})),i()}))}wrapMatchesAcrossElements(t,e,o,r,i){const n=0===e?0:e+1;this.getTextNodes((e=>{let a;for(;null!==(a=t.exec(e.value))&&""!==a[n];){let i=a.index;if(0!==n)for(let t=1;t<n;t++)i+=a[t].length;const s=i+a[n].length;this.wrapRangeInMappedTextNode(e,i,s,(t=>o(a[n],t)),((e,o)=>{t.lastIndex=o,r(e)}))}i()}))}wrapRangeFromIndex(t,e,o,r){this.getTextNodes((i=>{const n=i.value.length;t.forEach(((t,r)=>{let{start:a,end:s,valid:l}=this.checkWhitespaceRanges(t,n,i.value);l&&this.wrapRangeInMappedTextNode(i,a,s,(o=>e(o,t,i.value.substring(a,s),r)),(e=>{o(e,t)}))})),r()}))}unwrapMatches(t){const e=t.parentNode;let o=document.createDocumentFragment();for(;t.firstChild;)o.appendChild(t.removeChild(t.firstChild));e.replaceChild(o,t),this.ie?this.normalizeTextNode(e):e.normalize()}normalizeTextNode(t){if(t){if(3===t.nodeType)for(;t.nextSibling&&3===t.nextSibling.nodeType;)t.nodeValue+=t.nextSibling.nodeValue,t.parentNode.removeChild(t.nextSibling);else this.normalizeTextNode(t.firstChild);this.normalizeTextNode(t.nextSibling)}}markRegExp(t,e){this.opt=e,this.log(`Searching with expression "${t}"`);let o=0,r="wrapMatches";this.opt.acrossElements&&(r="wrapMatchesAcrossElements"),this[r](t,this.opt.ignoreGroups,((t,e)=>this.opt.filter(e,t,o)),(t=>{o++,this.opt.each(t)}),(()=>{0===o&&this.opt.noMatch(t),this.opt.done(o)}))}mark(t,e){this.opt=e;let o=0,r="wrapMatches";const{keywords:i,length:n}=this.getSeparatedKeywords("string"==typeof t?[t]:t),a=this.opt.caseSensitive?"":"i",s=t=>{let e=new RegExp(this.createRegExp(t),`gm${a}`),l=0;this.log(`Searching with expression "${e}"`),this[r](e,1,((e,r)=>this.opt.filter(r,t,o,l)),(t=>{l++,o++,this.opt.each(t)}),(()=>{0===l&&this.opt.noMatch(t),i[n-1]===t?this.opt.done(o):s(i[i.indexOf(t)+1])}))};this.opt.acrossElements&&(r="wrapMatchesAcrossElements"),0===n?this.opt.done(o):s(i[0])}markRanges(t,e){this.opt=e;let o=0,r=this.checkRanges(t);r&&r.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(r)),this.wrapRangeFromIndex(r,((t,e,o,r)=>this.opt.filter(t,e,o,r)),((t,e)=>{o++,this.opt.each(t,e)}),(()=>{this.opt.done(o)}))):this.opt.done(o)}unmark(t){this.opt=t;let e=this.opt.element?this.opt.element:"*";e+="[data-markjs]",this.opt.className&&(e+=`.${this.opt.className}`),this.log(`Removal selector "${e}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,(t=>{this.unwrapMatches(t)}),(t=>{const o=Li.matches(t,e),r=this.matchesExclude(t);return!o||r?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}),this.opt.done)}}(t);return this.mark=(t,o)=>(e.mark(t,o),this),this.markRegExp=(t,o)=>(e.markRegExp(t,o),this),this.markRanges=(t,o)=>(e.markRanges(t,o),this),this.unmark=t=>(e.unmark(t),this),this},ki=vo.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Ai=ht`
|
|
91
141
|
.highlight-html-match {
|
|
92
|
-
background: ${
|
|
142
|
+
background: ${ki};
|
|
93
143
|
}
|
|
94
|
-
|
|
144
|
+
`,Wi={className:"highlight-html-match"};var _i=Object.freeze({__proto__:null,highlightHtml:function(t,e){var o;let r=t.getAttribute("data-highlight-html-query");if((null!=r?r:"")!==(null!=e?e:"")){const r=new Ui(t);if(r.unmark(Wi),e&&e.trim()){r.mark(e.replace(/"[^"]+"/g,""),{...Wi,separateWordSearch:!0});(null!==(o=e.match(/"[^"]+"/g))&&void 0!==o?o:[]).forEach((t=>r.mark(t.replace(/"/g,""),{...Wi,separateWordSearch:!1})))}}t.setAttribute("data-highlight-html-query",null!=e?e:"")},highlightHtmlColorCssVariable:ki,highlightHtmlStyles:Ai});const Fi=ht`
|
|
95
145
|
.ft-no-text-select {
|
|
96
146
|
-webkit-touch-callout: none;
|
|
97
147
|
-webkit-user-select: none;
|
|
@@ -100,7 +150,7 @@ const ko=window,Lo=ko.ShadowRoot&&(void 0===ko.ShadyCSS||ko.ShadyCSS.nativeShado
|
|
|
100
150
|
-ms-user-select: none;
|
|
101
151
|
user-select: none;
|
|
102
152
|
}
|
|
103
|
-
|
|
153
|
+
`,ji=ht`
|
|
104
154
|
.ft-word-wrap {
|
|
105
155
|
white-space: normal;
|
|
106
156
|
word-wrap: break-word;
|
|
@@ -112,7 +162,7 @@ const ko=window,Lo=ko.ShadowRoot&&(void 0===ko.ShadyCSS||ko.ShadyCSS.nativeShado
|
|
|
112
162
|
-webkit-hyphens: auto;
|
|
113
163
|
hyphens: auto
|
|
114
164
|
}
|
|
115
|
-
|
|
165
|
+
`,Pi=ht`
|
|
116
166
|
.ft-safari-ellipsis-fix {
|
|
117
167
|
margin-right: 0;
|
|
118
168
|
|
|
@@ -123,8 +173,8 @@ const ko=window,Lo=ko.ShadowRoot&&(void 0===ko.ShadyCSS||ko.ShadyCSS.nativeShado
|
|
|
123
173
|
display: inline-block;
|
|
124
174
|
width: 0;
|
|
125
175
|
}
|
|
126
|
-
`;class Bo{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var o,r;t=this.resolvePluralKey(t,e);let i=null!==(r=null!==(o=this.labels[t])&&void 0!==o?o:this.defaultLabels[t])&&void 0!==r?r:"";return e.forEach(((t,e)=>i=i.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,o)=>this.formatValue(t,o))))),i}resolvePluralKey(t,e){for(let o of e)if("number"==typeof o){const e=`${String(t)}[\\=${o}]`;if(e in this.labels||e in this.defaultLabels)return e}return t}formatValue(t,e){return t instanceof Date?this.formatDate(t,e):null!=t?t:""}formatDate(t,e){const o=o=>(null==e?void 0:e.includes("date"))?t.toLocaleDateString(o):(null==e?void 0:e.includes("time"))?t.toLocaleTimeString(o):t.toLocaleString(o);try{return o(document.documentElement.lang)}catch(t){return o()}}}const Zo=t=>{const e=null!=t?t:{};return(t,o)=>{var r;const i={hasChanged:(t,e)=>!W(t,e),attribute:!1,...e};U(i)(t,o);const n=t.constructor;n.reduxProperties=new Map(n.reduxProperties),n.reduxProperties.set(o,{selector:null!==(r=e.selector)&&void 0!==r?r:t=>t[o],store:e.store})}};class _o{constructor(){this.queue=[]}add(t,e=!1){e&&(this.queue=this.queue.filter((e=>e.type!==t.type))),this.queue.push(t)}consume(t){const e=this.queue.find((e=>e.type===t));return e&&(this.queue=this.queue.filter((t=>t!==e))),e}}function Ho(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var Go,Vo,qo;const Yo=Symbol("internalReduxEventsUnsubscribers"),Xo=Symbol("internalStoresUnsubscribers"),Jo=Symbol("internalStores");class Qo extends Do{constructor(){super(...arguments),this[Go]=new Map,this[Vo]=new Map,this[qo]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((e=>t.has(e)))&&this.updateFromStores()}getUnnamedStore(){if(this[Jo].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Jo].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Jo].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:Ho(t)?t.name:void 0)&&void 0!==o?o:"default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[Jo].delete(e)}setupStore(t,e){this[Jo].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Jo].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,e)=>{const o=this.constructor.getPropertyOptions(e);if(!(null==o?void 0:o.attribute)||!this.hasAttribute("string"==typeof(null==o?void 0:o.attribute)?o.attribute:e)){const o=this.getStore(t.store);o&&(t.store?this[Xo].has(t.store):this[Xo].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[Xo].set(t,e.subscribe((()=>this.updateFromStores()))),Ho(e)&&e.eventBus&&(null===(o=this.reduxConstructor.reduxEventListeners)||void 0===o||o.forEach(((t,o)=>{if("function"==typeof this[o]&&(!t.store||e.name===t.store)){const r=t=>this[o](t);e.eventBus.addEventListener(t.eventName,r),this[Yo].push((()=>e.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Xo].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[Yo].forEach((t=>t())),this[Yo]=[]}unsubscribeFromStore(t){this[Xo].has(t)&&this[Xo].get(t)(),this[Xo].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function tr(t){for(var e=arguments.length,o=Array(e>1?e-1:0),r=1;r<e;r++)o[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function er(t){return!!t&&!!t[zr]}function or(t){var e;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;var o=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return o===Object||"function"==typeof o&&Function.toString.call(o)===Tr}(t)||Array.isArray(t)||!!t[Mr]||!!(null===(e=t.constructor)||void 0===e?void 0:e[Mr])||cr(t)||lr(t))}function rr(t,e,o){void 0===o&&(o=!1),0===ir(t)?(o?Object.keys:Br)(t).forEach((function(r){o&&"symbol"==typeof r||e(r,t[r],t)})):t.forEach((function(o,r){return e(r,o,t)}))}function ir(t){var e=t[zr];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:cr(t)?2:lr(t)?3:0}function nr(t,e){return 2===ir(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function ar(t,e,o){var r=ir(t);2===r?t.set(e,o):3===r?t.add(o):t[e]=o}function sr(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function cr(t){return Fr&&t instanceof Map}function lr(t){return jr&&t instanceof Set}function fr(t){return t.o||t.t}function pr(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Zr(t);delete e[zr];for(var o=Br(e),r=0;r<o.length;r++){var i=o[r],n=e[i];!1===n.writable&&(n.writable=!0,n.configurable=!0),(n.get||n.set)&&(e[i]={configurable:!0,writable:!0,enumerable:n.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function hr(t,e){return void 0===e&&(e=!1),dr(t)||er(t)||!or(t)||(ir(t)>1&&(t.set=t.add=t.clear=t.delete=ur),Object.freeze(t),e&&rr(t,(function(t,e){return hr(e,!0)}),!0)),t}function ur(){tr(2)}function dr(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function yr(t){var e=_r[t];return e||tr(18,t),e}function gr(){return Ar}function br(t,e){e&&(yr("Patches"),t.u=[],t.s=[],t.v=e)}function mr(t){vr(t),t.p.forEach(Or),t.p=null}function vr(t){t===Ar&&(Ar=t.l)}function xr(t){return Ar={p:[],l:Ar,h:t,m:!0,_:0}}function Or(t){var e=t[zr];0===e.i||1===e.i?e.j():e.g=!0}function wr(t,e){e._=e.p.length;var o=e.p[0],r=void 0!==t&&t!==o;return e.h.O||yr("ES5").S(e,t,r),r?(o[zr].P&&(mr(e),tr(4)),or(t)&&(t=Sr(e,t),e.l||Cr(e,t)),e.u&&yr("Patches").M(o[zr].t,t,e.u,e.s)):t=Sr(e,o,[]),mr(e),e.u&&e.v(e.u,e.s),t!==Dr?t:void 0}function Sr(t,e,o){if(dr(e))return e;var r=e[zr];if(!r)return rr(e,(function(i,n){return Nr(t,r,e,i,n,o)}),!0),e;if(r.A!==t)return e;if(!r.P)return Cr(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=pr(r.k):r.o,n=i,a=!1;3===r.i&&(n=new Set(i),i.clear(),a=!0),rr(n,(function(e,n){return Nr(t,r,i,e,n,o,a)})),Cr(t,i,!1),o&&t.u&&yr("Patches").N(r,o,t.u,t.s)}return r.o}function Nr(t,e,o,r,i,n,a){if(er(i)){var s=Sr(t,i,n&&e&&3!==e.i&&!nr(e.R,r)?n.concat(r):void 0);if(ar(o,r,s),!er(s))return;t.m=!1}else a&&o.add(i);if(or(i)&&!dr(i)){if(!t.h.D&&t._<1)return;Sr(t,i),e&&e.A.l||Cr(t,i)}}function Cr(t,e,o){void 0===o&&(o=!1),!t.l&&t.h.D&&t.m&&hr(e,o)}function Er(t,e){var o=t[zr];return(o?fr(o):t)[e]}function Rr(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var r=Object.getOwnPropertyDescriptor(o,e);if(r)return r;o=Object.getPrototypeOf(o)}}function Ur(t){t.P||(t.P=!0,t.l&&Ur(t.l))}function $r(t){t.o||(t.o=pr(t.t))}function Ir(t,e,o){var r=cr(e)?yr("MapSet").F(e,o):lr(e)?yr("MapSet").T(e,o):t.O?function(t,e){var o=Array.isArray(t),r={i:o?1:0,A:e?e.A:gr(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},i=r,n=Hr;o&&(i=[r],n=Gr);var a=Proxy.revocable(i,n),s=a.revoke,c=a.proxy;return r.k=c,r.j=s,c}(e,o):yr("ES5").J(e,o);return(o?o.A:gr()).p.push(r),r}function kr(t){return er(t)||tr(22,t),function t(e){if(!or(e))return e;var o,r=e[zr],i=ir(e);if(r){if(!r.P&&(r.i<4||!yr("ES5").K(r)))return r.t;r.I=!0,o=Lr(e,i),r.I=!1}else o=Lr(e,i);return rr(o,(function(e,i){r&&function(t,e){return 2===ir(t)?t.get(e):t[e]}(r.t,e)===i||ar(o,e,t(i))})),3===i?new Set(o):o}(t)}function Lr(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return pr(t)}Go=Xo,Vo=Jo,qo=Yo,Qo.reduxProperties=new Map,Qo.reduxReactiveProperties=new Set,Qo.reduxEventListeners=new Map;var Wr,Ar,Kr="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Fr="undefined"!=typeof Map,jr="undefined"!=typeof Set,Pr="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Dr=Kr?Symbol.for("immer-nothing"):((Wr={})["immer-nothing"]=!0,Wr),Mr=Kr?Symbol.for("immer-draftable"):"__$immer_draftable",zr=Kr?Symbol.for("immer-state"):"__$immer_state",Tr=""+Object.prototype.constructor,Br="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Zr=Object.getOwnPropertyDescriptors||function(t){var e={};return Br(t).forEach((function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)})),e},_r={},Hr={get:function(t,e){if(e===zr)return t;var o=fr(t);if(!nr(o,e))return function(t,e,o){var r,i=Rr(e,o);return i?"value"in i?i.value:null===(r=i.get)||void 0===r?void 0:r.call(t.k):void 0}(t,o,e);var r=o[e];return t.I||!or(r)?r:r===Er(t.t,e)?($r(t),t.o[e]=Ir(t.A.h,r,t)):r},has:function(t,e){return e in fr(t)},ownKeys:function(t){return Reflect.ownKeys(fr(t))},set:function(t,e,o){var r=Rr(fr(t),e);if(null==r?void 0:r.set)return r.set.call(t.k,o),!0;if(!t.P){var i=Er(fr(t),e),n=null==i?void 0:i[zr];if(n&&n.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(sr(o,i)&&(void 0!==o||nr(t.t,e)))return!0;$r(t),Ur(t)}return t.o[e]===o&&(void 0!==o||e in t.o)||Number.isNaN(o)&&Number.isNaN(t.o[e])||(t.o[e]=o,t.R[e]=!0),!0},deleteProperty:function(t,e){return void 0!==Er(t.t,e)||e in t.t?(t.R[e]=!1,$r(t),Ur(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=fr(t),r=Reflect.getOwnPropertyDescriptor(o,e);return r?{writable:!0,configurable:1!==t.i||"length"!==e,enumerable:r.enumerable,value:o[e]}:r},defineProperty:function(){tr(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){tr(12)}},Gr={};rr(Hr,(function(t,e){Gr[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),Gr.deleteProperty=function(t,e){return Gr.set.call(this,t,e,void 0)},Gr.set=function(t,e,o){return Hr.set.call(this,t[0],e,o,t[0])};var Vr=function(){function t(t){var e=this;this.O=Pr,this.D=!0,this.produce=function(t,o,r){if("function"==typeof t&&"function"!=typeof o){var i=o;o=t;var n=e;return function(t){var e=this;void 0===t&&(t=i);for(var r=arguments.length,a=Array(r>1?r-1:0),s=1;s<r;s++)a[s-1]=arguments[s];return n.produce(t,(function(t){var r;return(r=o).call.apply(r,[e,t].concat(a))}))}}var a;if("function"!=typeof o&&tr(6),void 0!==r&&"function"!=typeof r&&tr(7),or(t)){var s=xr(e),c=Ir(e,t,void 0),l=!0;try{a=o(c),l=!1}finally{l?mr(s):vr(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return br(s,r),wr(t,s)}),(function(t){throw mr(s),t})):(br(s,r),wr(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=o(t))&&(a=t),a===Dr&&(a=void 0),e.D&&hr(a,!0),r){var f=[],p=[];yr("Patches").M(t,a,f,p),r(f,p)}return a}tr(21,t)},this.produceWithPatches=function(t,o){if("function"==typeof t)return function(o){for(var r=arguments.length,i=Array(r>1?r-1:0),n=1;n<r;n++)i[n-1]=arguments[n];return e.produceWithPatches(o,(function(e){return t.apply(void 0,[e].concat(i))}))};var r,i,n=e.produce(t,o,(function(t,e){r=t,i=e}));return"undefined"!=typeof Promise&&n instanceof Promise?n.then((function(t){return[t,r,i]})):[n,r,i]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var e=t.prototype;return e.createDraft=function(t){or(t)||tr(8),er(t)&&(t=kr(t));var e=xr(this),o=Ir(this,t,void 0);return o[zr].C=!0,vr(e),o},e.finishDraft=function(t,e){var o=(t&&t[zr]).A;return br(o,e),wr(void 0,o)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!Pr&&tr(20),this.O=t},e.applyPatches=function(t,e){var o;for(o=e.length-1;o>=0;o--){var r=e[o];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}o>-1&&(e=e.slice(o+1));var i=yr("Patches").$;return er(t)?i(t,e):this.produce(t,(function(t){return i(t,e)}))},t}(),qr=new Vr,Yr=qr.produce;function Xr(t){return Xr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Xr(t)}function Jr(t){var e=function(t,e){if("object"!==Xr(t)||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var r=o.call(t,e||"default");if("object"!==Xr(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Xr(e)?e:String(e)}function Qr(t,e,o){return(e=Jr(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function ti(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,r)}return o}function ei(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?ti(Object(o),!0).forEach((function(e){Qr(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):ti(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function oi(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}qr.produceWithPatches.bind(qr),qr.setAutoFreeze.bind(qr),qr.setUseProxies.bind(qr),qr.applyPatches.bind(qr),qr.createDraft.bind(qr),qr.finishDraft.bind(qr);var ri="function"==typeof Symbol&&Symbol.observable||"@@observable",ii=function(){return Math.random().toString(36).substring(7).split("").join(".")},ni={INIT:"@@redux/INIT"+ii(),REPLACE:"@@redux/REPLACE"+ii(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ii()}};function ai(t,e,o){var r;if("function"==typeof e&&"function"==typeof o||"function"==typeof o&&"function"==typeof arguments[3])throw new Error(oi(0));if("function"==typeof e&&void 0===o&&(o=e,e=void 0),void 0!==o){if("function"!=typeof o)throw new Error(oi(1));return o(ai)(t,e)}if("function"!=typeof t)throw new Error(oi(2));var i=t,n=e,a=[],s=a,c=!1;function l(){s===a&&(s=a.slice())}function f(){if(c)throw new Error(oi(3));return n}function p(t){if("function"!=typeof t)throw new Error(oi(4));if(c)throw new Error(oi(5));var e=!0;return l(),s.push(t),function(){if(e){if(c)throw new Error(oi(6));e=!1,l();var o=s.indexOf(t);s.splice(o,1),a=null}}}function h(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}(t))throw new Error(oi(7));if(void 0===t.type)throw new Error(oi(8));if(c)throw new Error(oi(9));try{c=!0,n=i(n,t)}finally{c=!1}for(var e=a=s,o=0;o<e.length;o++){(0,e[o])()}return t}return h({type:ni.INIT}),(r={dispatch:h,subscribe:p,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(oi(10));i=t,h({type:ni.REPLACE})}})[ri]=function(){var t,e=p;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(oi(11));function o(){t.next&&t.next(f())}return o(),{unsubscribe:e(o)}}})[ri]=function(){return this},t},r}function si(t){for(var e=Object.keys(t),o={},r=0;r<e.length;r++){var i=e[r];"function"==typeof t[i]&&(o[i]=t[i])}var n,a=Object.keys(o);try{!function(t){Object.keys(t).forEach((function(e){var o=t[e];if(void 0===o(void 0,{type:ni.INIT}))throw new Error(oi(12));if(void 0===o(void 0,{type:ni.PROBE_UNKNOWN_ACTION()}))throw new Error(oi(13))}))}(o)}catch(t){n=t}return function(t,e){if(void 0===t&&(t={}),n)throw n;for(var r=!1,i={},s=0;s<a.length;s++){var c=a[s],l=o[c],f=t[c],p=l(f,e);if(void 0===p)throw e&&e.type,new Error(oi(14));i[c]=p,r=r||p!==f}return(r=r||a.length!==Object.keys(t).length)?i:t}}function ci(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce((function(t,e){return function(){return t(e.apply(void 0,arguments))}}))}function li(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(t){return function(){var o=t.apply(void 0,arguments),r=function(){throw new Error(oi(15))},i={getState:o.getState,dispatch:function(){return r.apply(void 0,arguments)}},n=e.map((function(t){return t(i)}));return r=ci.apply(void 0,n)(o.dispatch),ei(ei({},o),{},{dispatch:r})}}}function fi(t){return function(e){var o=e.dispatch,r=e.getState;return function(e){return function(i){return"function"==typeof i?i(o,r,t):e(i)}}}}var pi=fi();pi.withExtraArgument=fi;var hi,ui=pi,di=(hi=function(t,e){return hi=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])},hi(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function o(){this.constructor=t}hi(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),yi=function(t,e){var o,r,i,n,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return n={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function s(n){return function(s){return function(n){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,r&&(i=2&n[0]?r.return:n[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,n[1])).done)return i;switch(r=0,i&&(n=[2&n[0],i.value]),n[0]){case 0:case 1:i=n;break;case 4:return a.label++,{value:n[1],done:!1};case 5:a.label++,r=n[1],n=[0];continue;case 7:n=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==n[0]&&2!==n[0])){a=0;continue}if(3===n[0]&&(!i||n[1]>i[0]&&n[1]<i[3])){a.label=n[1];break}if(6===n[0]&&a.label<i[1]){a.label=i[1],i=n;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(n);break}i[2]&&a.ops.pop(),a.trys.pop();continue}n=e.call(t,a)}catch(t){n=[6,t],r=0}finally{o=i=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,s])}}},gi=function(t,e){for(var o=0,r=e.length,i=t.length;o<r;o++,i++)t[i]=e[o];return t},bi=Object.defineProperty,mi=Object.defineProperties,vi=Object.getOwnPropertyDescriptors,xi=Object.getOwnPropertySymbols,Oi=Object.prototype.hasOwnProperty,wi=Object.prototype.propertyIsEnumerable,Si=function(t,e,o){return e in t?bi(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},Ni=function(t,e){for(var o in e||(e={}))Oi.call(e,o)&&Si(t,o,e[o]);if(xi)for(var r=0,i=xi(e);r<i.length;r++){o=i[r];wi.call(e,o)&&Si(t,o,e[o])}return t},Ci=function(t,e){return mi(t,vi(e))},Ei="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?ci:ci.apply(null,arguments)};var Ri=function(t){function e(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return di(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,gi([void 0],t[0].concat(this)))):new(e.bind.apply(e,gi([void 0],t.concat(this))))},e}(Array),Ui=function(t){function e(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return di(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,gi([void 0],t[0].concat(this)))):new(e.bind.apply(e,gi([void 0],t.concat(this))))},e}(Array);function $i(t){return or(t)?Yr(t,(function(){})):t}function Ii(){return function(t){return function(t){void 0===t&&(t={});var e=t.thunk,o=void 0===e||e;t.immutableCheck,t.serializableCheck;var r=new Ri;o&&(!function(t){return"boolean"==typeof t}(o)?r.push(ui.withExtraArgument(o.extraArgument)):r.push(ui));return r}(t)}}function ki(t){var e,o=Ii(),r=t||{},i=r.reducer,n=void 0===i?void 0:i,a=r.middleware,s=void 0===a?o():a,c=r.devTools,l=void 0===c||c,f=r.preloadedState,p=void 0===f?void 0:f,h=r.enhancers,u=void 0===h?void 0:h;if("function"==typeof n)e=n;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var o=e;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return e===o}(n))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');e=si(n)}var d=s;"function"==typeof d&&(d=d(o));var y=li.apply(void 0,d),g=ci;l&&(g=Ei(Ni({trace:!1},"object"==typeof l&&l)));var b=new Ui(y),m=b;return Array.isArray(u)?m=gi([y],u):"function"==typeof u&&(m=u(b)),ai(e,p,g.apply(void 0,m))}function Li(t,e){function o(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];if(e){var i=e.apply(void 0,o);if(!i)throw new Error("prepareAction did not return an object");return Ni(Ni({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:o[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(e){return e.type===t},o}function Wi(t){var e,o={},r=[],i={addCase:function(t,e){var r="string"==typeof t?t:t.type;if(r in o)throw new Error("addCase cannot be called with two reducers for the same action type");return o[r]=e,i},addMatcher:function(t,e){return r.push({matcher:t,reducer:e}),i},addDefaultCase:function(t){return e=t,i}};return t(i),[o,r,e]}function Ai(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");var o,r="function"==typeof t.initialState?t.initialState:$i(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},s={},c={};function l(){var e="function"==typeof t.extraReducers?Wi(t.extraReducers):[t.extraReducers],o=e[0],i=void 0===o?{}:o,n=e[1],a=void 0===n?[]:n,c=e[2],l=void 0===c?void 0:c,f=Ni(Ni({},i),s);return function(t,e,o,r){void 0===o&&(o=[]);var i,n="function"==typeof e?Wi(e):[e,o,r],a=n[0],s=n[1],c=n[2];if(function(t){return"function"==typeof t}(t))i=function(){return $i(t())};else{var l=$i(t);i=function(){return l}}function f(t,e){void 0===t&&(t=i());var o=gi([a[e.type]],s.filter((function(t){return(0,t.matcher)(e)})).map((function(t){return t.reducer})));return 0===o.filter((function(t){return!!t})).length&&(o=[c]),o.reduce((function(t,o){if(o){var r;if(er(t))return void 0===(r=o(t,e))?t:r;if(or(t))return Yr(t,(function(t){return o(t,e)}));if(void 0===(r=o(t,e))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}return t}),t)}return f.getInitialState=i,f}(r,(function(t){for(var e in f)t.addCase(e,f[e]);for(var o=0,r=a;o<r.length;o++){var i=r[o];t.addMatcher(i.matcher,i.reducer)}l&&t.addDefaultCase(l)}))}return n.forEach((function(t){var o,r,n=i[t],l=e+"/"+t;"reducer"in n?(o=n.reducer,r=n.prepare):o=n,a[t]=o,s[l]=o,c[t]=r?Li(l,r):Li(l)})),{name:e,reducer:function(t,e){return o||(o=l()),o(t,e)},actions:c,caseReducers:a,getInitialState:function(){return o||(o=l()),o.getInitialState()}}}var Ki=["name","message","stack","code"],Fi=function(t,e){this.payload=t,this.meta=e},ji=function(t,e){this.payload=t,this.meta=e},Pi=function(t){if("object"==typeof t&&null!==t){for(var e={},o=0,r=Ki;o<r.length;o++){var i=r[o];"string"==typeof t[i]&&(e[i]=t[i])}return e}return{message:String(t)}};function Di(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,e,o){var r=Li(t+"/fulfilled",(function(t,e,o,r){return{payload:t,meta:Ci(Ni({},r||{}),{arg:o,requestId:e,requestStatus:"fulfilled"})}})),i=Li(t+"/pending",(function(t,e,o){return{payload:void 0,meta:Ci(Ni({},o||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),n=Li(t+"/rejected",(function(t,e,r,i,n){return{payload:i,error:(o&&o.serializeError||Pi)(t||"Rejected"),meta:Ci(Ni({},n||{}),{arg:r,requestId:e,rejectedWithValue:!!i,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),a="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(s,c,l){var f,p=(null==o?void 0:o.idGenerator)?o.idGenerator(t):function(t){void 0===t&&(t=21);for(var e="",o=t;o--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e}(),h=new a;function u(t){f=t,h.abort()}var d=function(){return a=this,d=null,y=function(){var a,d,y,g,b,m;return yi(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),g=null==(a=null==o?void 0:o.condition)?void 0:a.call(o,t,{getState:c,extra:l}),null===(x=g)||"object"!=typeof x||"function"!=typeof x.then?[3,2]:[4,g];case 1:g=v.sent(),v.label=2;case 2:if(!1===g||h.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,e){return h.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:f||"Aborted"})}))})),s(i(p,t,null==(d=null==o?void 0:o.getPendingMeta)?void 0:d.call(o,{requestId:p,arg:t},{getState:c,extra:l}))),[4,Promise.race([b,Promise.resolve(e(t,{dispatch:s,getState:c,extra:l,requestId:p,signal:h.signal,abort:u,rejectWithValue:function(t,e){return new Fi(t,e)},fulfillWithValue:function(t,e){return new ji(t,e)}})).then((function(e){if(e instanceof Fi)throw e;return e instanceof ji?r(e.payload,p,t,e.meta):r(e,p,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof Fi?n(null,p,t,m.payload,m.meta):n(m,p,t),[3,5];case 5:return o&&!o.dispatchConditionRejection&&n.match(y)&&y.meta.condition||s(y),[2,y]}var x}))},new Promise((function(t,e){var o=function(t){try{i(y.next(t))}catch(t){e(t)}},r=function(t){try{i(y.throw(t))}catch(t){e(t)}},i=function(e){return e.done?t(e.value):Promise.resolve(e.value).then(o,r)};i((y=y.apply(a,d)).next())}));var a,d,y}();return Object.assign(d,{abort:u,requestId:p,arg:t,unwrap:function(){return d.then(Di)}})}}),{pending:i,rejected:n,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var Mi="listenerMiddleware";Li(Mi+"/add"),Li(Mi+"/removeAll"),Li(Mi+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,e){var o=i[t];return o?o.enumerable=e:i[t]=o={configurable:!0,enumerable:e,get:function(){var e=this[zr];return Hr.get(e,t)},set:function(e){var o=this[zr];Hr.set(o,t,e)}},o}function e(t){for(var e=t.length-1;e>=0;e--){var i=t[e][zr];if(!i.P)switch(i.i){case 5:r(i)&&Ur(i);break;case 4:o(i)&&Ur(i)}}}function o(t){for(var e=t.t,o=t.k,r=Br(o),i=r.length-1;i>=0;i--){var n=r[i];if(n!==zr){var a=e[n];if(void 0===a&&!nr(e,n))return!0;var s=o[n],c=s&&s[zr];if(c?c.t!==a:!sr(s,a))return!0}}var l=!!e[zr];return r.length!==Br(e).length+(l?0:1)}function r(t){var e=t.k;if(e.length!==t.t.length)return!0;var o=Object.getOwnPropertyDescriptor(e,e.length-1);if(o&&!o.get)return!0;for(var r=0;r<e.length;r++)if(!e.hasOwnProperty(r))return!0;return!1}var i={};!function(t,e){_r[t]||(_r[t]=e)}("ES5",{J:function(e,o){var r=Array.isArray(e),i=function(e,o){if(e){for(var r=Array(o.length),i=0;i<o.length;i++)Object.defineProperty(r,""+i,t(i,!0));return r}var n=Zr(o);delete n[zr];for(var a=Br(n),s=0;s<a.length;s++){var c=a[s];n[c]=t(c,e||!!n[c].enumerable)}return Object.create(Object.getPrototypeOf(o),n)}(r,e),n={i:r?5:4,A:o?o.A:gr(),P:!1,I:!1,R:{},l:o,t:e,k:i,o:null,g:!1,C:!1};return Object.defineProperty(i,zr,{value:n,writable:!0}),i},S:function(t,o,i){i?er(o)&&o[zr].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var o=e[zr];if(o){var i=o.t,n=o.k,a=o.R,s=o.i;if(4===s)rr(n,(function(e){e!==zr&&(void 0!==i[e]||nr(i,e)?a[e]||t(n[e]):(a[e]=!0,Ur(o)))})),rr(i,(function(t){void 0!==n[t]||nr(n,t)||(a[t]=!1,Ur(o))}));else if(5===s){if(r(o)&&(Ur(o),a.length=!0),n.length<i.length)for(var c=n.length;c<i.length;c++)a[c]=!1;else for(var l=i.length;l<n.length;l++)a[l]=!0;for(var f=Math.min(n.length,i.length),p=0;p<f;p++)n.hasOwnProperty(p)||(a[p]=!0),void 0===a[p]&&t(n[p])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?o(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class zi{static get(t){var e;const o="string"==typeof t?t:t.name,r="string"==typeof t?void 0:t,i=window.ftReduxStores[o];if(Ho(i))return i;if(null==r)return;const n=Ai({...r,reducers:null!==(e=r.reducers)&&void 0!==e?e:{}}),a=ki({reducer:(t,e)=>{var o;switch(e.type){case"CLEAR_FT_REDUX_STORE":return n.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(o=e.overwrites)&&void 0!==o?o:{}};default:return n.reducer(t,e)}}});return window.ftReduxStores[r.name]=new zi(n,a)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new _o,this.actions=new Proxy(this.reduxSlice.actions,{get:(t,e,o)=>{const r=e,i=t[r];return i?(...t)=>{const e=i(...t);return this.reduxStore.dispatch(e),e}:t=>{this.setState({[r]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_STATE_FIELDS_VALUES_SETTER",overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}const Ti=Symbol("elementInternals");var Bi,Zi,_i;const Hi=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(_i=null===(Zi=null===(Bi=window.safari)||void 0===Bi?void 0:Bi.pushNotification)||void 0===Zi?void 0:Zi.toString())&&void 0!==_i?_i:""),Gi=wt`
|
|
127
|
-
`,
|
|
176
|
+
`;var Bi=Object.freeze({__proto__:null,noTextSelect:Fi,safariEllipsisFix:Pi,wordWrap:ji}),Mi=Object.freeze({__proto__:null});class Di{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var o,r;t=this.resolvePluralKey(t,e);let i=null!==(r=null!==(o=this.labels[t])&&void 0!==o?o:this.defaultLabels[t])&&void 0!==r?r:"";return e.forEach(((t,e)=>i=i.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,o)=>this.formatValue(t,o))))),i}resolvePluralKey(t,e){for(let o of e)if("number"==typeof o){const e=`${String(t)}[\\=${o}]`;if(e in this.labels||e in this.defaultLabels)return e}return t}formatValue(t,e){return t instanceof Date?this.formatDate(t,e):null!=t?t:""}formatDate(t,e){const o=o=>(null==e?void 0:e.includes("date"))?t.toLocaleDateString(o):(null==e?void 0:e.includes("time"))?t.toLocaleTimeString(o):t.toLocaleString(o);try{return o(document.documentElement.lang)}catch(t){return o()}}}var Ki=Object.freeze({__proto__:null,ParametrizedLabelResolver:Di});const zi=t=>{const e=null!=t?t:{};return(t,o)=>{var r;const i={hasChanged:(t,e)=>!uo(t,e),attribute:!1,...e};we(i)(t,o);const n=t.constructor;n.reduxProperties=new Map(n.reduxProperties),n.reduxProperties.set(o,{selector:null!==(r=e.selector)&&void 0!==r?r:t=>t[o],store:e.store})}};class Ti{constructor(){this.queue=[]}add(t,e=!1){e&&(this.queue=this.queue.filter((e=>e.type!==t.type))),this.queue.push(t)}consume(t){const e=this.queue.find((e=>e.type===t));return e&&(this.queue=this.queue.filter((t=>t!==e))),e}}function Zi(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var Hi,Gi,Vi;const qi=Symbol("internalReduxEventsUnsubscribers"),Yi=Symbol("internalStoresUnsubscribers"),Ji=Symbol("internalStores");class Xi extends Ri{constructor(){super(...arguments),this[Hi]=new Map,this[Gi]=new Map,this[Vi]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((e=>t.has(e)))&&this.updateFromStores()}getUnnamedStore(){if(this[Ji].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Ji].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Ji].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:Zi(t)?t.name:void 0)&&void 0!==o?o:"default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[Ji].delete(e)}setupStore(t,e){this[Ji].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Ji].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,e)=>{const o=this.constructor.getPropertyOptions(e);if(!(null==o?void 0:o.attribute)||!this.hasAttribute("string"==typeof(null==o?void 0:o.attribute)?o.attribute:e)){const o=this.getStore(t.store);o&&(t.store?this[Yi].has(t.store):this[Yi].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[Yi].set(t,e.subscribe((()=>this.updateFromStores()))),Zi(e)&&e.eventBus&&(null===(o=this.reduxConstructor.reduxEventListeners)||void 0===o||o.forEach(((t,o)=>{if("function"==typeof this[o]&&(!t.store||e.name===t.store)){const r=t=>this[o](t);e.eventBus.addEventListener(t.eventName,r),this[qi].push((()=>e.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Yi].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[qi].forEach((t=>t())),this[qi]=[]}unsubscribeFromStore(t){this[Yi].has(t)&&this[Yi].get(t)(),this[Yi].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function Qi(t){for(var e=arguments.length,o=Array(e>1?e-1:0),r=1;r<e;r++)o[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function tn(t){return!!t&&!!t[Dn]}function en(t){var e;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;var o=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return o===Object||"function"==typeof o&&Function.toString.call(o)===Kn}(t)||Array.isArray(t)||!!t[Mn]||!!(null===(e=t.constructor)||void 0===e?void 0:e[Mn])||ln(t)||cn(t))}function on(t,e,o){void 0===o&&(o=!1),0===rn(t)?(o?Object.keys:zn)(t).forEach((function(r){o&&"symbol"==typeof r||e(r,t[r],t)})):t.forEach((function(o,r){return e(r,o,t)}))}function rn(t){var e=t[Dn];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:ln(t)?2:cn(t)?3:0}function nn(t,e){return 2===rn(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function an(t,e,o){var r=rn(t);2===r?t.set(e,o):3===r?t.add(o):t[e]=o}function sn(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function ln(t){return Fn&&t instanceof Map}function cn(t){return jn&&t instanceof Set}function fn(t){return t.o||t.t}function un(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Tn(t);delete e[Dn];for(var o=zn(e),r=0;r<o.length;r++){var i=o[r],n=e[i];!1===n.writable&&(n.writable=!0,n.configurable=!0),(n.get||n.set)&&(e[i]={configurable:!0,writable:!0,enumerable:n.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function hn(t,e){return void 0===e&&(e=!1),dn(t)||tn(t)||!en(t)||(rn(t)>1&&(t.set=t.add=t.clear=t.delete=pn),Object.freeze(t),e&&on(t,(function(t,e){return hn(e,!0)}),!0)),t}function pn(){Qi(2)}function dn(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function yn(t){var e=Zn[t];return e||Qi(18,t),e}function gn(){return Wn}function bn(t,e){e&&(yn("Patches"),t.u=[],t.s=[],t.v=e)}function mn(t){vn(t),t.p.forEach(On),t.p=null}function vn(t){t===Wn&&(Wn=t.l)}function xn(t){return Wn={p:[],l:Wn,h:t,m:!0,_:0}}function On(t){var e=t[Dn];0===e.i||1===e.i?e.j():e.g=!0}function wn(t,e){e._=e.p.length;var o=e.p[0],r=void 0!==t&&t!==o;return e.h.O||yn("ES5").S(e,t,r),r?(o[Dn].P&&(mn(e),Qi(4)),en(t)&&(t=Sn(e,t),e.l||Cn(e,t)),e.u&&yn("Patches").M(o[Dn].t,t,e.u,e.s)):t=Sn(e,o,[]),mn(e),e.u&&e.v(e.u,e.s),t!==Bn?t:void 0}function Sn(t,e,o){if(dn(e))return e;var r=e[Dn];if(!r)return on(e,(function(i,n){return Nn(t,r,e,i,n,o)}),!0),e;if(r.A!==t)return e;if(!r.P)return Cn(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=un(r.k):r.o,n=i,a=!1;3===r.i&&(n=new Set(i),i.clear(),a=!0),on(n,(function(e,n){return Nn(t,r,i,e,n,o,a)})),Cn(t,i,!1),o&&t.u&&yn("Patches").N(r,o,t.u,t.s)}return r.o}function Nn(t,e,o,r,i,n,a){if(tn(i)){var s=Sn(t,i,n&&e&&3!==e.i&&!nn(e.R,r)?n.concat(r):void 0);if(an(o,r,s),!tn(s))return;t.m=!1}else a&&o.add(i);if(en(i)&&!dn(i)){if(!t.h.D&&t._<1)return;Sn(t,i),e&&e.A.l||Cn(t,i)}}function Cn(t,e,o){void 0===o&&(o=!1),!t.l&&t.h.D&&t.m&&hn(e,o)}function En(t,e){var o=t[Dn];return(o?fn(o):t)[e]}function Rn(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var r=Object.getOwnPropertyDescriptor(o,e);if(r)return r;o=Object.getPrototypeOf(o)}}function $n(t){t.P||(t.P=!0,t.l&&$n(t.l))}function In(t){t.o||(t.o=un(t.t))}function Ln(t,e,o){var r=ln(e)?yn("MapSet").F(e,o):cn(e)?yn("MapSet").T(e,o):t.O?function(t,e){var o=Array.isArray(t),r={i:o?1:0,A:e?e.A:gn(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},i=r,n=Hn;o&&(i=[r],n=Gn);var a=Proxy.revocable(i,n),s=a.revoke,l=a.proxy;return r.k=l,r.j=s,l}(e,o):yn("ES5").J(e,o);return(o?o.A:gn()).p.push(r),r}function Un(t){return tn(t)||Qi(22,t),function t(e){if(!en(e))return e;var o,r=e[Dn],i=rn(e);if(r){if(!r.P&&(r.i<4||!yn("ES5").K(r)))return r.t;r.I=!0,o=kn(e,i),r.I=!1}else o=kn(e,i);return on(o,(function(e,i){r&&function(t,e){return 2===rn(t)?t.get(e):t[e]}(r.t,e)===i||an(o,e,t(i))})),3===i?new Set(o):o}(t)}function kn(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return un(t)}Hi=Yi,Gi=Ji,Vi=qi,Xi.reduxProperties=new Map,Xi.reduxReactiveProperties=new Set,Xi.reduxEventListeners=new Map;var An,Wn,_n="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Fn="undefined"!=typeof Map,jn="undefined"!=typeof Set,Pn="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Bn=_n?Symbol.for("immer-nothing"):((An={})["immer-nothing"]=!0,An),Mn=_n?Symbol.for("immer-draftable"):"__$immer_draftable",Dn=_n?Symbol.for("immer-state"):"__$immer_state",Kn=""+Object.prototype.constructor,zn="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Tn=Object.getOwnPropertyDescriptors||function(t){var e={};return zn(t).forEach((function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)})),e},Zn={},Hn={get:function(t,e){if(e===Dn)return t;var o=fn(t);if(!nn(o,e))return function(t,e,o){var r,i=Rn(e,o);return i?"value"in i?i.value:null===(r=i.get)||void 0===r?void 0:r.call(t.k):void 0}(t,o,e);var r=o[e];return t.I||!en(r)?r:r===En(t.t,e)?(In(t),t.o[e]=Ln(t.A.h,r,t)):r},has:function(t,e){return e in fn(t)},ownKeys:function(t){return Reflect.ownKeys(fn(t))},set:function(t,e,o){var r=Rn(fn(t),e);if(null==r?void 0:r.set)return r.set.call(t.k,o),!0;if(!t.P){var i=En(fn(t),e),n=null==i?void 0:i[Dn];if(n&&n.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(sn(o,i)&&(void 0!==o||nn(t.t,e)))return!0;In(t),$n(t)}return t.o[e]===o&&(void 0!==o||e in t.o)||Number.isNaN(o)&&Number.isNaN(t.o[e])||(t.o[e]=o,t.R[e]=!0),!0},deleteProperty:function(t,e){return void 0!==En(t.t,e)||e in t.t?(t.R[e]=!1,In(t),$n(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=fn(t),r=Reflect.getOwnPropertyDescriptor(o,e);return r?{writable:!0,configurable:1!==t.i||"length"!==e,enumerable:r.enumerable,value:o[e]}:r},defineProperty:function(){Qi(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Qi(12)}},Gn={};on(Hn,(function(t,e){Gn[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),Gn.deleteProperty=function(t,e){return Gn.set.call(this,t,e,void 0)},Gn.set=function(t,e,o){return Hn.set.call(this,t[0],e,o,t[0])};var Vn=function(){function t(t){var e=this;this.O=Pn,this.D=!0,this.produce=function(t,o,r){if("function"==typeof t&&"function"!=typeof o){var i=o;o=t;var n=e;return function(t){var e=this;void 0===t&&(t=i);for(var r=arguments.length,a=Array(r>1?r-1:0),s=1;s<r;s++)a[s-1]=arguments[s];return n.produce(t,(function(t){var r;return(r=o).call.apply(r,[e,t].concat(a))}))}}var a;if("function"!=typeof o&&Qi(6),void 0!==r&&"function"!=typeof r&&Qi(7),en(t)){var s=xn(e),l=Ln(e,t,void 0),c=!0;try{a=o(l),c=!1}finally{c?mn(s):vn(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return bn(s,r),wn(t,s)}),(function(t){throw mn(s),t})):(bn(s,r),wn(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=o(t))&&(a=t),a===Bn&&(a=void 0),e.D&&hn(a,!0),r){var f=[],u=[];yn("Patches").M(t,a,f,u),r(f,u)}return a}Qi(21,t)},this.produceWithPatches=function(t,o){if("function"==typeof t)return function(o){for(var r=arguments.length,i=Array(r>1?r-1:0),n=1;n<r;n++)i[n-1]=arguments[n];return e.produceWithPatches(o,(function(e){return t.apply(void 0,[e].concat(i))}))};var r,i,n=e.produce(t,o,(function(t,e){r=t,i=e}));return"undefined"!=typeof Promise&&n instanceof Promise?n.then((function(t){return[t,r,i]})):[n,r,i]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var e=t.prototype;return e.createDraft=function(t){en(t)||Qi(8),tn(t)&&(t=Un(t));var e=xn(this),o=Ln(this,t,void 0);return o[Dn].C=!0,vn(e),o},e.finishDraft=function(t,e){var o=(t&&t[Dn]).A;return bn(o,e),wn(void 0,o)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!Pn&&Qi(20),this.O=t},e.applyPatches=function(t,e){var o;for(o=e.length-1;o>=0;o--){var r=e[o];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}o>-1&&(e=e.slice(o+1));var i=yn("Patches").$;return tn(t)?i(t,e):this.produce(t,(function(t){return i(t,e)}))},t}(),qn=new Vn,Yn=qn.produce;function Jn(t){return Jn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Jn(t)}function Xn(t){var e=function(t,e){if("object"!==Jn(t)||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var r=o.call(t,e||"default");if("object"!==Jn(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Jn(e)?e:String(e)}function Qn(t,e,o){return(e=Xn(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function ta(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,r)}return o}function ea(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?ta(Object(o),!0).forEach((function(e){Qn(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):ta(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function oa(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}qn.produceWithPatches.bind(qn),qn.setAutoFreeze.bind(qn),qn.setUseProxies.bind(qn),qn.applyPatches.bind(qn),qn.createDraft.bind(qn),qn.finishDraft.bind(qn);var ra="function"==typeof Symbol&&Symbol.observable||"@@observable",ia=function(){return Math.random().toString(36).substring(7).split("").join(".")},na={INIT:"@@redux/INIT"+ia(),REPLACE:"@@redux/REPLACE"+ia(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ia()}};function aa(t,e,o){var r;if("function"==typeof e&&"function"==typeof o||"function"==typeof o&&"function"==typeof arguments[3])throw new Error(oa(0));if("function"==typeof e&&void 0===o&&(o=e,e=void 0),void 0!==o){if("function"!=typeof o)throw new Error(oa(1));return o(aa)(t,e)}if("function"!=typeof t)throw new Error(oa(2));var i=t,n=e,a=[],s=a,l=!1;function c(){s===a&&(s=a.slice())}function f(){if(l)throw new Error(oa(3));return n}function u(t){if("function"!=typeof t)throw new Error(oa(4));if(l)throw new Error(oa(5));var e=!0;return c(),s.push(t),function(){if(e){if(l)throw new Error(oa(6));e=!1,c();var o=s.indexOf(t);s.splice(o,1),a=null}}}function h(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}(t))throw new Error(oa(7));if(void 0===t.type)throw new Error(oa(8));if(l)throw new Error(oa(9));try{l=!0,n=i(n,t)}finally{l=!1}for(var e=a=s,o=0;o<e.length;o++){(0,e[o])()}return t}return h({type:na.INIT}),(r={dispatch:h,subscribe:u,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(oa(10));i=t,h({type:na.REPLACE})}})[ra]=function(){var t,e=u;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(oa(11));function o(){t.next&&t.next(f())}return o(),{unsubscribe:e(o)}}})[ra]=function(){return this},t},r}function sa(t){for(var e=Object.keys(t),o={},r=0;r<e.length;r++){var i=e[r];"function"==typeof t[i]&&(o[i]=t[i])}var n,a=Object.keys(o);try{!function(t){Object.keys(t).forEach((function(e){var o=t[e];if(void 0===o(void 0,{type:na.INIT}))throw new Error(oa(12));if(void 0===o(void 0,{type:na.PROBE_UNKNOWN_ACTION()}))throw new Error(oa(13))}))}(o)}catch(t){n=t}return function(t,e){if(void 0===t&&(t={}),n)throw n;for(var r=!1,i={},s=0;s<a.length;s++){var l=a[s],c=o[l],f=t[l],u=c(f,e);if(void 0===u)throw e&&e.type,new Error(oa(14));i[l]=u,r=r||u!==f}return(r=r||a.length!==Object.keys(t).length)?i:t}}function la(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce((function(t,e){return function(){return t(e.apply(void 0,arguments))}}))}function ca(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(t){return function(){var o=t.apply(void 0,arguments),r=function(){throw new Error(oa(15))},i={getState:o.getState,dispatch:function(){return r.apply(void 0,arguments)}},n=e.map((function(t){return t(i)}));return r=la.apply(void 0,n)(o.dispatch),ea(ea({},o),{},{dispatch:r})}}}function fa(t){return function(e){var o=e.dispatch,r=e.getState;return function(e){return function(i){return"function"==typeof i?i(o,r,t):e(i)}}}}var ua=fa();ua.withExtraArgument=fa;var ha,pa=ua,da=(ha=function(t,e){return ha=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])},ha(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function o(){this.constructor=t}ha(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),ya=function(t,e){var o,r,i,n,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return n={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function s(n){return function(s){return function(n){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,r&&(i=2&n[0]?r.return:n[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,n[1])).done)return i;switch(r=0,i&&(n=[2&n[0],i.value]),n[0]){case 0:case 1:i=n;break;case 4:return a.label++,{value:n[1],done:!1};case 5:a.label++,r=n[1],n=[0];continue;case 7:n=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==n[0]&&2!==n[0])){a=0;continue}if(3===n[0]&&(!i||n[1]>i[0]&&n[1]<i[3])){a.label=n[1];break}if(6===n[0]&&a.label<i[1]){a.label=i[1],i=n;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(n);break}i[2]&&a.ops.pop(),a.trys.pop();continue}n=e.call(t,a)}catch(t){n=[6,t],r=0}finally{o=i=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,s])}}},ga=function(t,e){for(var o=0,r=e.length,i=t.length;o<r;o++,i++)t[i]=e[o];return t},ba=Object.defineProperty,ma=Object.defineProperties,va=Object.getOwnPropertyDescriptors,xa=Object.getOwnPropertySymbols,Oa=Object.prototype.hasOwnProperty,wa=Object.prototype.propertyIsEnumerable,Sa=function(t,e,o){return e in t?ba(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},Na=function(t,e){for(var o in e||(e={}))Oa.call(e,o)&&Sa(t,o,e[o]);if(xa)for(var r=0,i=xa(e);r<i.length;r++){o=i[r];wa.call(e,o)&&Sa(t,o,e[o])}return t},Ca=function(t,e){return ma(t,va(e))},Ea="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?la:la.apply(null,arguments)};var Ra=function(t){function e(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return da(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,ga([void 0],t[0].concat(this)))):new(e.bind.apply(e,ga([void 0],t.concat(this))))},e}(Array),$a=function(t){function e(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return da(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,ga([void 0],t[0].concat(this)))):new(e.bind.apply(e,ga([void 0],t.concat(this))))},e}(Array);function Ia(t){return en(t)?Yn(t,(function(){})):t}function La(){return function(t){return function(t){void 0===t&&(t={});var e=t.thunk,o=void 0===e||e;t.immutableCheck,t.serializableCheck;var r=new Ra;o&&(!function(t){return"boolean"==typeof t}(o)?r.push(pa.withExtraArgument(o.extraArgument)):r.push(pa));return r}(t)}}function Ua(t){var e,o=La(),r=t||{},i=r.reducer,n=void 0===i?void 0:i,a=r.middleware,s=void 0===a?o():a,l=r.devTools,c=void 0===l||l,f=r.preloadedState,u=void 0===f?void 0:f,h=r.enhancers,p=void 0===h?void 0:h;if("function"==typeof n)e=n;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var o=e;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return e===o}(n))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');e=sa(n)}var d=s;"function"==typeof d&&(d=d(o));var y=ca.apply(void 0,d),g=la;c&&(g=Ea(Na({trace:!1},"object"==typeof c&&c)));var b=new $a(y),m=b;return Array.isArray(p)?m=ga([y],p):"function"==typeof p&&(m=p(b)),aa(e,u,g.apply(void 0,m))}function ka(t,e){function o(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];if(e){var i=e.apply(void 0,o);if(!i)throw new Error("prepareAction did not return an object");return Na(Na({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:o[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(e){return e.type===t},o}function Aa(t){var e,o={},r=[],i={addCase:function(t,e){var r="string"==typeof t?t:t.type;if(r in o)throw new Error("addCase cannot be called with two reducers for the same action type");return o[r]=e,i},addMatcher:function(t,e){return r.push({matcher:t,reducer:e}),i},addDefaultCase:function(t){return e=t,i}};return t(i),[o,r,e]}function Wa(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");var o,r="function"==typeof t.initialState?t.initialState:Ia(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},s={},l={};function c(){var e="function"==typeof t.extraReducers?Aa(t.extraReducers):[t.extraReducers],o=e[0],i=void 0===o?{}:o,n=e[1],a=void 0===n?[]:n,l=e[2],c=void 0===l?void 0:l,f=Na(Na({},i),s);return function(t,e,o,r){void 0===o&&(o=[]);var i,n="function"==typeof e?Aa(e):[e,o,r],a=n[0],s=n[1],l=n[2];if(function(t){return"function"==typeof t}(t))i=function(){return Ia(t())};else{var c=Ia(t);i=function(){return c}}function f(t,e){void 0===t&&(t=i());var o=ga([a[e.type]],s.filter((function(t){return(0,t.matcher)(e)})).map((function(t){return t.reducer})));return 0===o.filter((function(t){return!!t})).length&&(o=[l]),o.reduce((function(t,o){if(o){var r;if(tn(t))return void 0===(r=o(t,e))?t:r;if(en(t))return Yn(t,(function(t){return o(t,e)}));if(void 0===(r=o(t,e))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}return t}),t)}return f.getInitialState=i,f}(r,(function(t){for(var e in f)t.addCase(e,f[e]);for(var o=0,r=a;o<r.length;o++){var i=r[o];t.addMatcher(i.matcher,i.reducer)}c&&t.addDefaultCase(c)}))}return n.forEach((function(t){var o,r,n=i[t],c=e+"/"+t;"reducer"in n?(o=n.reducer,r=n.prepare):o=n,a[t]=o,s[c]=o,l[t]=r?ka(c,r):ka(c)})),{name:e,reducer:function(t,e){return o||(o=c()),o(t,e)},actions:l,caseReducers:a,getInitialState:function(){return o||(o=c()),o.getInitialState()}}}var _a=["name","message","stack","code"],Fa=function(t,e){this.payload=t,this.meta=e},ja=function(t,e){this.payload=t,this.meta=e},Pa=function(t){if("object"==typeof t&&null!==t){for(var e={},o=0,r=_a;o<r.length;o++){var i=r[o];"string"==typeof t[i]&&(e[i]=t[i])}return e}return{message:String(t)}};function Ba(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,e,o){var r=ka(t+"/fulfilled",(function(t,e,o,r){return{payload:t,meta:Ca(Na({},r||{}),{arg:o,requestId:e,requestStatus:"fulfilled"})}})),i=ka(t+"/pending",(function(t,e,o){return{payload:void 0,meta:Ca(Na({},o||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),n=ka(t+"/rejected",(function(t,e,r,i,n){return{payload:i,error:(o&&o.serializeError||Pa)(t||"Rejected"),meta:Ca(Na({},n||{}),{arg:r,requestId:e,rejectedWithValue:!!i,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),a="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(s,l,c){var f,u=(null==o?void 0:o.idGenerator)?o.idGenerator(t):function(t){void 0===t&&(t=21);for(var e="",o=t;o--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e}(),h=new a;function p(t){f=t,h.abort()}var d=function(){return a=this,d=null,y=function(){var a,d,y,g,b,m;return ya(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),g=null==(a=null==o?void 0:o.condition)?void 0:a.call(o,t,{getState:l,extra:c}),null===(x=g)||"object"!=typeof x||"function"!=typeof x.then?[3,2]:[4,g];case 1:g=v.sent(),v.label=2;case 2:if(!1===g||h.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,e){return h.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:f||"Aborted"})}))})),s(i(u,t,null==(d=null==o?void 0:o.getPendingMeta)?void 0:d.call(o,{requestId:u,arg:t},{getState:l,extra:c}))),[4,Promise.race([b,Promise.resolve(e(t,{dispatch:s,getState:l,extra:c,requestId:u,signal:h.signal,abort:p,rejectWithValue:function(t,e){return new Fa(t,e)},fulfillWithValue:function(t,e){return new ja(t,e)}})).then((function(e){if(e instanceof Fa)throw e;return e instanceof ja?r(e.payload,u,t,e.meta):r(e,u,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof Fa?n(null,u,t,m.payload,m.meta):n(m,u,t),[3,5];case 5:return o&&!o.dispatchConditionRejection&&n.match(y)&&y.meta.condition||s(y),[2,y]}var x}))},new Promise((function(t,e){var o=function(t){try{i(y.next(t))}catch(t){e(t)}},r=function(t){try{i(y.throw(t))}catch(t){e(t)}},i=function(e){return e.done?t(e.value):Promise.resolve(e.value).then(o,r)};i((y=y.apply(a,d)).next())}));var a,d,y}();return Object.assign(d,{abort:p,requestId:u,arg:t,unwrap:function(){return d.then(Ba)}})}}),{pending:i,rejected:n,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var Ma="listenerMiddleware";ka(Ma+"/add"),ka(Ma+"/removeAll"),ka(Ma+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,e){var o=i[t];return o?o.enumerable=e:i[t]=o={configurable:!0,enumerable:e,get:function(){var e=this[Dn];return Hn.get(e,t)},set:function(e){var o=this[Dn];Hn.set(o,t,e)}},o}function e(t){for(var e=t.length-1;e>=0;e--){var i=t[e][Dn];if(!i.P)switch(i.i){case 5:r(i)&&$n(i);break;case 4:o(i)&&$n(i)}}}function o(t){for(var e=t.t,o=t.k,r=zn(o),i=r.length-1;i>=0;i--){var n=r[i];if(n!==Dn){var a=e[n];if(void 0===a&&!nn(e,n))return!0;var s=o[n],l=s&&s[Dn];if(l?l.t!==a:!sn(s,a))return!0}}var c=!!e[Dn];return r.length!==zn(e).length+(c?0:1)}function r(t){var e=t.k;if(e.length!==t.t.length)return!0;var o=Object.getOwnPropertyDescriptor(e,e.length-1);if(o&&!o.get)return!0;for(var r=0;r<e.length;r++)if(!e.hasOwnProperty(r))return!0;return!1}var i={};!function(t,e){Zn[t]||(Zn[t]=e)}("ES5",{J:function(e,o){var r=Array.isArray(e),i=function(e,o){if(e){for(var r=Array(o.length),i=0;i<o.length;i++)Object.defineProperty(r,""+i,t(i,!0));return r}var n=Tn(o);delete n[Dn];for(var a=zn(n),s=0;s<a.length;s++){var l=a[s];n[l]=t(l,e||!!n[l].enumerable)}return Object.create(Object.getPrototypeOf(o),n)}(r,e),n={i:r?5:4,A:o?o.A:gn(),P:!1,I:!1,R:{},l:o,t:e,k:i,o:null,g:!1,C:!1};return Object.defineProperty(i,Dn,{value:n,writable:!0}),i},S:function(t,o,i){i?tn(o)&&o[Dn].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var o=e[Dn];if(o){var i=o.t,n=o.k,a=o.R,s=o.i;if(4===s)on(n,(function(e){e!==Dn&&(void 0!==i[e]||nn(i,e)?a[e]||t(n[e]):(a[e]=!0,$n(o)))})),on(i,(function(t){void 0!==n[t]||nn(n,t)||(a[t]=!1,$n(o))}));else if(5===s){if(r(o)&&($n(o),a.length=!0),n.length<i.length)for(var l=n.length;l<i.length;l++)a[l]=!1;else for(var c=i.length;c<n.length;c++)a[c]=!0;for(var f=Math.min(n.length,i.length),u=0;u<f;u++)n.hasOwnProperty(u)||(a[u]=!0),void 0===a[u]&&t(n[u])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?o(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Da{static get(t){var e;const o="string"==typeof t?t:t.name,r="string"==typeof t?void 0:t,i=window.ftReduxStores[o];if(Zi(i))return i;if(null==r)return;const n=Wa({...r,reducers:null!==(e=r.reducers)&&void 0!==e?e:{}}),a=Ua({reducer:(t,e)=>{var o;switch(e.type){case"CLEAR_FT_REDUX_STORE":return n.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(o=e.overwrites)&&void 0!==o?o:{}};default:return n.reducer(t,e)}}});return window.ftReduxStores[r.name]=new Da(n,a)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Ti,this.actions=new Proxy(this.reduxSlice.actions,{get:(t,e,o)=>{const r=e,i=t[r];return i?(...t)=>{const e=i(...t);return this.reduxStore.dispatch(e),e}:t=>{this.setState({[r]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_STATE_FIELDS_VALUES_SETTER",overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}var Ka=Object.freeze({__proto__:null,FtCommandQueue:Ti,FtLitElementRedux:Xi,FtReduxStore:Da,clearAllStores:function(){var t;for(let e of Object.values(null!==(t=window.ftReduxStores)&&void 0!==t?t:{}))Zi(e)&&e.clear()},isFtReduxStore:Zi,redux:zi,reduxEventListener:t=>(e,o)=>{const r=e.constructor;r.reduxEventListeners=new Map(r.reduxEventListeners),r.reduxEventListeners.set(o,t)},reduxReactive:()=>(t,e)=>{var o;const r=t.constructor;r.reduxReactiveProperties=new Set(r.reduxReactiveProperties),null===(o=r.reduxReactiveProperties)||void 0===o||o.add(e)}});var za=Object.freeze({__proto__:null,serializeRequest:function(t,e){var o;const r=new URLSearchParams({"content-lang":null!==(o=e.contentLocale)&&void 0!==o?o:"all",query:e.query});if(e.filters.length>0){const t=e.filters.map((t=>{const e=t.values.map((t=>t.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*"))).map((t=>encodeURIComponent(function(t){return`"${t}"`}(t)))).join("_");return`${t.key}~${e}`})).join("*");r.append("filters",t)}return new URL(`${t.replace(/\/+$/,"")}/search?${r.toString()}`).href}});const Ta=Symbol("elementInternals");function Za(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[Ta].form}constructor(...t){super(t),this[Ta]=this.attachInternals(),this[Ta].role=e}setFormValue(t){this[Ta].setFormValue(t)}}}var Ha,Ga,Va,qa,Ya=Object.freeze({__proto__:null,toFtFormComponent:Za});const Ja=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Va=null===(Ga=null===(Ha=window.safari)||void 0===Ha?void 0:Ha.pushNotification)||void 0===Ga?void 0:Ga.toString())&&void 0!==Va?Va:""),Xa="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=null!==(qa=window.ftGlobals)&&void 0!==qa?qa:{lit:ve,litDecorators:Ie,litRepeat:Ke,litClassMap:Te,litStyleMap:Ve,litUnsafeHTML:Je,wcUtils:{...ro,...eo,...no,...so,...bo,...fr,...dr,...bi,...lr,...$i,...Ii,...ho,..._i,...Bi,...Mi,...Ki,...Ka,...wi,...za,...Ya,isSafari:Ja,isTouchScreen:Xa}};const Qa=ht`
|
|
177
|
+
`,ts=vo.extend("--ft-ripple-color","",cr.colorContent),es={color:ts,backgroundColor:vo.extend("--ft-ripple-background-color","",ts),opacityContentOnSurfacePressed:vo.external(cr.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:vo.external(cr.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:vo.external(cr.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:vo.external(cr.opacityContentOnSurfaceSelected,"Design system"),borderRadius:vo.create("--ft-ripple-border-radius","","SIZE","0px")},os=vo.extend("--ft-ripple-color","",cr.colorPrimary),rs=os,is=vo.extend("--ft-ripple-background-color","",os),ns=vo.extend("--ft-ripple-color","",cr.colorSecondary),as=ns,ss=vo.extend("--ft-ripple-background-color","",ns),ls=ht`
|
|
128
178
|
:host {
|
|
129
179
|
display: contents;
|
|
130
180
|
}
|
|
@@ -137,7 +187,7 @@ const ko=window,Lo=ko.ShadowRoot&&(void 0===ko.ShadyCSS||ko.ShadyCSS.nativeShado
|
|
|
137
187
|
|
|
138
188
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
139
189
|
overflow: hidden;
|
|
140
|
-
border-radius: ${
|
|
190
|
+
border-radius: ${es.borderRadius};
|
|
141
191
|
}
|
|
142
192
|
|
|
143
193
|
.ft-ripple .ft-ripple--background,
|
|
@@ -171,27 +221,27 @@ const ko=window,Lo=ko.ShadowRoot&&(void 0===ko.ShadyCSS||ko.ShadyCSS.nativeShado
|
|
|
171
221
|
}
|
|
172
222
|
|
|
173
223
|
.ft-ripple .ft-ripple--background {
|
|
174
|
-
background-color: ${
|
|
224
|
+
background-color: ${es.backgroundColor};
|
|
175
225
|
}
|
|
176
226
|
|
|
177
227
|
.ft-ripple .ft-ripple--effect {
|
|
178
|
-
background-color: ${
|
|
228
|
+
background-color: ${es.color};
|
|
179
229
|
}
|
|
180
230
|
|
|
181
231
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
182
|
-
background-color: ${
|
|
232
|
+
background-color: ${ss};
|
|
183
233
|
}
|
|
184
234
|
|
|
185
235
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
186
|
-
background-color: ${
|
|
236
|
+
background-color: ${as};
|
|
187
237
|
}
|
|
188
238
|
|
|
189
239
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
190
|
-
background-color: ${
|
|
240
|
+
background-color: ${is};
|
|
191
241
|
}
|
|
192
242
|
|
|
193
243
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
194
|
-
background-color: ${
|
|
244
|
+
background-color: ${rs};
|
|
195
245
|
}
|
|
196
246
|
|
|
197
247
|
.ft-ripple .ft-ripple--background {
|
|
@@ -221,118 +271,118 @@ const ko=window,Lo=ko.ShadowRoot&&(void 0===ko.ShadyCSS||ko.ShadyCSS.nativeShado
|
|
|
221
271
|
}
|
|
222
272
|
|
|
223
273
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
224
|
-
opacity: ${
|
|
274
|
+
opacity: ${es.opacityContentOnSurfaceHover};
|
|
225
275
|
}
|
|
226
276
|
|
|
227
277
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
228
|
-
opacity: ${
|
|
278
|
+
opacity: ${es.opacityContentOnSurfaceSelected};
|
|
229
279
|
}
|
|
230
280
|
|
|
231
281
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
232
|
-
opacity: ${
|
|
282
|
+
opacity: ${es.opacityContentOnSurfaceFocused};
|
|
233
283
|
}
|
|
234
284
|
|
|
235
285
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
236
|
-
opacity: ${
|
|
286
|
+
opacity: ${es.opacityContentOnSurfacePressed};
|
|
237
287
|
transform: translate(-50%, -50%) scale(1);
|
|
238
288
|
}
|
|
239
|
-
`;const
|
|
289
|
+
`;const cs=vo.extend("--ft-typography-font-family","",cr.titleFont),fs=vo.extend("--ft-typography-font-family","",cr.contentFont),us={fontFamily:fs,fontSize:vo.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:vo.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:vo.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:vo.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:vo.create("--ft-typography-text-transform","","UNKNOWN","inherit")},hs=vo.extend("--ft-typography-title-font-family","",cs),ps=vo.extend("--ft-typography-title-font-size","",us.fontSize,"20px"),ds=vo.extend("--ft-typography-title-font-weight","",us.fontWeight,"normal"),ys=vo.extend("--ft-typography-title-letter-spacing","",us.letterSpacing,"0.15px"),gs=vo.extend("--ft-typography-title-line-height","",us.lineHeight,"1.2"),bs=vo.extend("--ft-typography-title-text-transform","",us.textTransform,"inherit"),ms=vo.extend("--ft-typography-title-dense-font-family","",cs),vs=vo.extend("--ft-typography-title-dense-font-size","",us.fontSize,"14px"),xs=vo.extend("--ft-typography-title-dense-font-weight","",us.fontWeight,"normal"),Os=vo.extend("--ft-typography-title-dense-letter-spacing","",us.letterSpacing,"0.105px"),ws=vo.extend("--ft-typography-title-dense-line-height","",us.lineHeight,"1.7"),Ss=vo.extend("--ft-typography-title-dense-text-transform","",us.textTransform,"inherit"),Ns=vo.extend("--ft-typography-subtitle1-font-family","",fs),Cs=vo.extend("--ft-typography-subtitle1-font-size","",us.fontSize,"16px"),Es=vo.extend("--ft-typography-subtitle1-font-weight","",us.fontWeight,"600"),Rs=vo.extend("--ft-typography-subtitle1-letter-spacing","",us.letterSpacing,"0.144px"),$s=vo.extend("--ft-typography-subtitle1-line-height","",us.lineHeight,"1.5"),Is=vo.extend("--ft-typography-subtitle1-text-transform","",us.textTransform,"inherit"),Ls=vo.extend("--ft-typography-subtitle2-font-family","",fs),Us=vo.extend("--ft-typography-subtitle2-font-size","",us.fontSize,"14px"),ks=vo.extend("--ft-typography-subtitle2-font-weight","",us.fontWeight,"normal"),As=vo.extend("--ft-typography-subtitle2-letter-spacing","",us.letterSpacing,"0.098px"),Ws=vo.extend("--ft-typography-subtitle2-line-height","",us.lineHeight,"1.7"),_s=vo.extend("--ft-typography-subtitle2-text-transform","",us.textTransform,"inherit"),Fs=vo.extend("--ft-typography-body1-font-family","",fs),js=vo.extend("--ft-typography-body1-font-size","",us.fontSize,"16px"),Ps=vo.extend("--ft-typography-body1-font-weight","",us.fontWeight,"normal"),Bs=vo.extend("--ft-typography-body1-letter-spacing","",us.letterSpacing,"0.496px"),Ms=vo.extend("--ft-typography-body1-line-height","",us.lineHeight,"1.5"),Ds=vo.extend("--ft-typography-body1-text-transform","",us.textTransform,"inherit"),Ks=vo.extend("--ft-typography-body2-font-family","",fs),zs=vo.extend("--ft-typography-body2-font-size","",us.fontSize,"14px"),Ts=vo.extend("--ft-typography-body2-font-weight","",us.fontWeight,"normal"),Zs=vo.extend("--ft-typography-body2-letter-spacing","",us.letterSpacing,"0.252px"),Hs=vo.extend("--ft-typography-body2-line-height","",us.lineHeight,"1.4"),Gs=vo.extend("--ft-typography-body2-text-transform","",us.textTransform,"inherit"),Vs=vo.extend("--ft-typography-caption-font-family","",fs),qs=vo.extend("--ft-typography-caption-font-size","",us.fontSize,"12px"),Ys=vo.extend("--ft-typography-caption-font-weight","",us.fontWeight,"normal"),Js=vo.extend("--ft-typography-caption-letter-spacing","",us.letterSpacing,"0.396px"),Xs=vo.extend("--ft-typography-caption-line-height","",us.lineHeight,"1.33"),Qs=vo.extend("--ft-typography-caption-text-transform","",us.textTransform,"inherit"),tl=vo.extend("--ft-typography-breadcrumb-font-family","",fs),el=vo.extend("--ft-typography-breadcrumb-font-size","",us.fontSize,"10px"),ol=vo.extend("--ft-typography-breadcrumb-font-weight","",us.fontWeight,"normal"),rl=vo.extend("--ft-typography-breadcrumb-letter-spacing","",us.letterSpacing,"0.33px"),il=vo.extend("--ft-typography-breadcrumb-line-height","",us.lineHeight,"1.6"),nl=vo.extend("--ft-typography-breadcrumb-text-transform","",us.textTransform,"inherit"),al=vo.extend("--ft-typography-overline-font-family","",fs),sl=vo.extend("--ft-typography-overline-font-size","",us.fontSize,"10px"),ll=vo.extend("--ft-typography-overline-font-weight","",us.fontWeight,"normal"),cl=vo.extend("--ft-typography-overline-letter-spacing","",us.letterSpacing,"1.5px"),fl=vo.extend("--ft-typography-overline-line-height","",us.lineHeight,"1.6"),ul=vo.extend("--ft-typography-overline-text-transform","",us.textTransform,"uppercase"),hl={fontFamily:vo.extend("--ft-typography-button-font-family","",fs),fontSize:vo.extend("--ft-typography-button-font-size","",us.fontSize,"14px"),fontWeight:vo.extend("--ft-typography-button-font-weight","",us.fontWeight,"600"),letterSpacing:vo.extend("--ft-typography-button-letter-spacing","",us.letterSpacing,"1.246px"),lineHeight:vo.extend("--ft-typography-button-line-height","",us.lineHeight,"1.15"),textTransform:vo.extend("--ft-typography-button-text-transform","",us.textTransform,"uppercase")},pl=ht`
|
|
240
290
|
.ft-typography--title {
|
|
241
|
-
font-family: ${
|
|
242
|
-
font-size: ${
|
|
243
|
-
font-weight: ${
|
|
244
|
-
letter-spacing: ${
|
|
245
|
-
line-height: ${
|
|
246
|
-
text-transform: ${
|
|
247
|
-
}
|
|
248
|
-
`,
|
|
291
|
+
font-family: ${hs};
|
|
292
|
+
font-size: ${ps};
|
|
293
|
+
font-weight: ${ds};
|
|
294
|
+
letter-spacing: ${ys};
|
|
295
|
+
line-height: ${gs};
|
|
296
|
+
text-transform: ${bs};
|
|
297
|
+
}
|
|
298
|
+
`,dl=ht`
|
|
249
299
|
.ft-typography--title-dense {
|
|
250
|
-
font-family: ${
|
|
251
|
-
font-size: ${
|
|
252
|
-
font-weight: ${
|
|
253
|
-
letter-spacing: ${
|
|
254
|
-
line-height: ${
|
|
255
|
-
text-transform: ${
|
|
256
|
-
}
|
|
257
|
-
`,
|
|
300
|
+
font-family: ${ms};
|
|
301
|
+
font-size: ${vs};
|
|
302
|
+
font-weight: ${xs};
|
|
303
|
+
letter-spacing: ${Os};
|
|
304
|
+
line-height: ${ws};
|
|
305
|
+
text-transform: ${Ss};
|
|
306
|
+
}
|
|
307
|
+
`,yl=ht`
|
|
258
308
|
.ft-typography--subtitle1 {
|
|
259
|
-
font-family: ${
|
|
260
|
-
font-size: ${
|
|
261
|
-
font-weight: ${
|
|
262
|
-
letter-spacing: ${
|
|
263
|
-
line-height: ${
|
|
264
|
-
text-transform: ${
|
|
265
|
-
}
|
|
266
|
-
`,
|
|
309
|
+
font-family: ${Ns};
|
|
310
|
+
font-size: ${Cs};
|
|
311
|
+
font-weight: ${Es};
|
|
312
|
+
letter-spacing: ${Rs};
|
|
313
|
+
line-height: ${$s};
|
|
314
|
+
text-transform: ${Is};
|
|
315
|
+
}
|
|
316
|
+
`,gl=ht`
|
|
267
317
|
.ft-typography--subtitle2 {
|
|
268
|
-
font-family: ${
|
|
269
|
-
font-size: ${
|
|
270
|
-
font-weight: ${
|
|
271
|
-
letter-spacing: ${
|
|
272
|
-
line-height: ${
|
|
273
|
-
text-transform: ${
|
|
318
|
+
font-family: ${Ls};
|
|
319
|
+
font-size: ${Us};
|
|
320
|
+
font-weight: ${ks};
|
|
321
|
+
letter-spacing: ${As};
|
|
322
|
+
line-height: ${Ws};
|
|
323
|
+
text-transform: ${_s};
|
|
274
324
|
}
|
|
275
325
|
|
|
276
|
-
`,
|
|
326
|
+
`,bl=ht`
|
|
277
327
|
.ft-typography--body1 {
|
|
278
|
-
font-family: ${
|
|
279
|
-
font-size: ${
|
|
280
|
-
font-weight: ${
|
|
281
|
-
letter-spacing: ${
|
|
282
|
-
line-height: ${
|
|
283
|
-
text-transform: ${
|
|
284
|
-
}
|
|
285
|
-
`,
|
|
328
|
+
font-family: ${Fs};
|
|
329
|
+
font-size: ${js};
|
|
330
|
+
font-weight: ${Ps};
|
|
331
|
+
letter-spacing: ${Bs};
|
|
332
|
+
line-height: ${Ms};
|
|
333
|
+
text-transform: ${Ds};
|
|
334
|
+
}
|
|
335
|
+
`,ml=ht`
|
|
286
336
|
.ft-typography--body2 {
|
|
287
|
-
font-family: ${
|
|
288
|
-
font-size: ${
|
|
289
|
-
font-weight: ${
|
|
290
|
-
letter-spacing: ${
|
|
291
|
-
line-height: ${
|
|
292
|
-
text-transform: ${
|
|
293
|
-
}
|
|
294
|
-
`,
|
|
337
|
+
font-family: ${Ks};
|
|
338
|
+
font-size: ${zs};
|
|
339
|
+
font-weight: ${Ts};
|
|
340
|
+
letter-spacing: ${Zs};
|
|
341
|
+
line-height: ${Hs};
|
|
342
|
+
text-transform: ${Gs};
|
|
343
|
+
}
|
|
344
|
+
`,vl=ht`
|
|
295
345
|
.ft-typography--caption {
|
|
296
|
-
font-family: ${
|
|
297
|
-
font-size: ${
|
|
298
|
-
font-weight: ${
|
|
299
|
-
letter-spacing: ${
|
|
300
|
-
line-height: ${
|
|
301
|
-
text-transform: ${
|
|
302
|
-
}
|
|
303
|
-
`,
|
|
346
|
+
font-family: ${Vs};
|
|
347
|
+
font-size: ${qs};
|
|
348
|
+
font-weight: ${Ys};
|
|
349
|
+
letter-spacing: ${Js};
|
|
350
|
+
line-height: ${Xs};
|
|
351
|
+
text-transform: ${Qs};
|
|
352
|
+
}
|
|
353
|
+
`,xl=ht`
|
|
304
354
|
.ft-typography--breadcrumb {
|
|
305
|
-
font-family: ${
|
|
306
|
-
font-size: ${
|
|
307
|
-
font-weight: ${
|
|
308
|
-
letter-spacing: ${
|
|
309
|
-
line-height: ${
|
|
310
|
-
text-transform: ${
|
|
311
|
-
}
|
|
312
|
-
`,
|
|
355
|
+
font-family: ${tl};
|
|
356
|
+
font-size: ${el};
|
|
357
|
+
font-weight: ${ol};
|
|
358
|
+
letter-spacing: ${rl};
|
|
359
|
+
line-height: ${il};
|
|
360
|
+
text-transform: ${nl};
|
|
361
|
+
}
|
|
362
|
+
`,Ol=ht`
|
|
313
363
|
.ft-typography--overline {
|
|
314
|
-
font-family: ${
|
|
315
|
-
font-size: ${
|
|
316
|
-
font-weight: ${
|
|
317
|
-
letter-spacing: ${
|
|
318
|
-
line-height: ${
|
|
319
|
-
text-transform: ${
|
|
320
|
-
}
|
|
321
|
-
`,
|
|
364
|
+
font-family: ${al};
|
|
365
|
+
font-size: ${sl};
|
|
366
|
+
font-weight: ${ll};
|
|
367
|
+
letter-spacing: ${cl};
|
|
368
|
+
line-height: ${fl};
|
|
369
|
+
text-transform: ${ul};
|
|
370
|
+
}
|
|
371
|
+
`,wl=ht`
|
|
322
372
|
.ft-typography--button {
|
|
323
|
-
font-family: ${
|
|
324
|
-
font-size: ${
|
|
325
|
-
font-weight: ${
|
|
326
|
-
letter-spacing: ${
|
|
327
|
-
line-height: ${
|
|
328
|
-
text-transform: ${
|
|
329
|
-
}
|
|
330
|
-
`,
|
|
373
|
+
font-family: ${hl.fontFamily};
|
|
374
|
+
font-size: ${hl.fontSize};
|
|
375
|
+
font-weight: ${hl.fontWeight};
|
|
376
|
+
letter-spacing: ${hl.letterSpacing};
|
|
377
|
+
line-height: ${hl.lineHeight};
|
|
378
|
+
text-transform: ${hl.textTransform};
|
|
379
|
+
}
|
|
380
|
+
`,Sl=ht`
|
|
331
381
|
.ft-typography {
|
|
332
382
|
vertical-align: inherit;
|
|
333
383
|
}
|
|
334
|
-
`,
|
|
335
|
-
.ft-typography--${
|
|
384
|
+
`,Nl=[Object.keys(Go).map((t=>function(t){const e=Go[t];return ht`
|
|
385
|
+
.ft-typography--${ut(t)} {
|
|
336
386
|
font-family: ${e.fontFamily};
|
|
337
387
|
font-size: ${e.fontSize};
|
|
338
388
|
font-weight: ${e.fontWeight};
|
|
@@ -340,7 +390,7 @@ const ko=window,Lo=ko.ShadowRoot&&(void 0===ko.ShadyCSS||ko.ShadyCSS.nativeShado
|
|
|
340
390
|
line-height: ${e.lineHeight};
|
|
341
391
|
text-transform: ${e.textCase};
|
|
342
392
|
}
|
|
343
|
-
`}(t)))],
|
|
393
|
+
`}(t)))],Cl={color:vo.extend("--ft-loader-color","",cr.colorPrimary),size:vo.create("--ft-loader-size","","SIZE","80px")},El=ht`
|
|
344
394
|
:host {
|
|
345
395
|
line-height: 0;
|
|
346
396
|
}
|
|
@@ -349,8 +399,8 @@ const ko=window,Lo=ko.ShadowRoot&&(void 0===ko.ShadyCSS||ko.ShadyCSS.nativeShado
|
|
|
349
399
|
display: inline-block;
|
|
350
400
|
position: relative;
|
|
351
401
|
|
|
352
|
-
width: ${
|
|
353
|
-
height: ${
|
|
402
|
+
width: ${Cl.size};
|
|
403
|
+
height: ${Cl.size};
|
|
354
404
|
}
|
|
355
405
|
|
|
356
406
|
.ft-loader div {
|
|
@@ -359,7 +409,7 @@ const ko=window,Lo=ko.ShadowRoot&&(void 0===ko.ShadyCSS||ko.ShadyCSS.nativeShado
|
|
|
359
409
|
width: 25%;
|
|
360
410
|
height: 25%;
|
|
361
411
|
border-radius: 50%;
|
|
362
|
-
background: ${
|
|
412
|
+
background: ${Cl.color};
|
|
363
413
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
364
414
|
}
|
|
365
415
|
|
|
@@ -406,10 +456,10 @@ const ko=window,Lo=ko.ShadowRoot&&(void 0===ko.ShadyCSS||ko.ShadyCSS.nativeShado
|
|
|
406
456
|
transform: translate(0, 0);
|
|
407
457
|
}
|
|
408
458
|
100% {
|
|
409
|
-
transform: translate(calc(0.35 * ${
|
|
459
|
+
transform: translate(calc(0.35 * ${Cl.size}), 0);
|
|
410
460
|
}
|
|
411
461
|
}
|
|
412
|
-
`,
|
|
462
|
+
`,Rl={size:vo.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:vo.extend("--ft-icon-fluid-topics-font-family","",vo.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:vo.extend("--ft-icon-file-format-font-family","",vo.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:vo.extend("--ft-icon-material-font-family","",vo.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:vo.create("--ft-icon-vertical-align","","UNKNOWN","unset")},$l=ht`
|
|
413
463
|
:host, i.ft-icon {
|
|
414
464
|
display: inline-flex;
|
|
415
465
|
align-items: center;
|
|
@@ -418,14 +468,14 @@ const ko=window,Lo=ko.ShadowRoot&&(void 0===ko.ShadyCSS||ko.ShadyCSS.nativeShado
|
|
|
418
468
|
}
|
|
419
469
|
|
|
420
470
|
:host {
|
|
421
|
-
width: ${
|
|
422
|
-
height: ${
|
|
471
|
+
width: ${Rl.size};
|
|
472
|
+
height: ${Rl.size};
|
|
423
473
|
}
|
|
424
474
|
|
|
425
475
|
i.ft-icon {
|
|
426
476
|
width: 100%;
|
|
427
477
|
height: 100%;
|
|
428
|
-
font-size: ${
|
|
478
|
+
font-size: ${Rl.size};
|
|
429
479
|
line-height: 1;
|
|
430
480
|
font-weight: normal;
|
|
431
481
|
text-transform: none;
|
|
@@ -436,28 +486,28 @@ const ko=window,Lo=ko.ShadowRoot&&(void 0===ko.ShadyCSS||ko.ShadyCSS.nativeShado
|
|
|
436
486
|
text-rendering: auto;
|
|
437
487
|
-webkit-font-smoothing: antialiased;
|
|
438
488
|
-moz-osx-font-smoothing: grayscale;
|
|
439
|
-
vertical-align: ${
|
|
489
|
+
vertical-align: ${Rl.verticalAlign};
|
|
440
490
|
}
|
|
441
491
|
|
|
442
492
|
i.ft-icon.ft-icon--fluid-topics {
|
|
443
|
-
font-family: ${
|
|
493
|
+
font-family: ${Rl.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
444
494
|
|
|
445
495
|
/* Ugly fix because font is broken */
|
|
446
|
-
font-size: calc(0.75 * ${
|
|
447
|
-
line-height: ${
|
|
496
|
+
font-size: calc(0.75 * ${Rl.size});
|
|
497
|
+
line-height: ${Rl.size};
|
|
448
498
|
position: relative;
|
|
449
499
|
top: -4%;
|
|
450
500
|
justify-content: center;
|
|
451
501
|
}
|
|
452
502
|
|
|
453
503
|
.ft-icon--file-format {
|
|
454
|
-
font-family: ${
|
|
504
|
+
font-family: ${Rl.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
455
505
|
}
|
|
456
506
|
|
|
457
507
|
.ft-icon--material {
|
|
458
|
-
font-family: ${
|
|
508
|
+
font-family: ${Rl.materialFontFamily}, "Material Icons", sans-serif;
|
|
459
509
|
}
|
|
460
|
-
`,
|
|
510
|
+
`,Il=vo.extend("--ft-button-color","",cr.colorPrimary),Ll={backgroundColor:vo.extend("--ft-button-background-color","",cr.colorSurface),borderRadius:vo.extend("--ft-button-border-radius","",cr.borderRadiusL),color:Il,fontSize:vo.extend("--ft-button-font-size","",hl.fontSize),iconSize:vo.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:vo.extend("--ft-button-ripple-color","",Il),verticalPadding:vo.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:vo.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:vo.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:vo.external(cr.colorOpacityDisabled,"Design system")},Ul=vo.extend("--ft-button-primary-color","",vo.extend("--ft-button-color","",cr.colorOnPrimary)),kl={backgroundColor:vo.extend("--ft-button-primary-background-color","",vo.extend("--ft-button-background-color","",cr.colorPrimary)),color:Ul,rippleColor:vo.extend("--ft-button-primary-ripple-color","",Ul)},Al=vo.extend("--ft-button-dense-border-radius","",vo.extend("--ft-button-border-radius","",cr.borderRadiusM)),Wl=vo.create("--ft-button-dense-vertical-padding","","SIZE","2px"),_l=vo.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Fl=vo.create("--ft-button-dense-icon-padding","","SIZE","4px"),jl=[ht`
|
|
461
511
|
:host {
|
|
462
512
|
display: inline-block;
|
|
463
513
|
max-width: 100%;
|
|
@@ -468,7 +518,7 @@ const ko=window,Lo=ko.ShadowRoot&&(void 0===ko.ShadyCSS||ko.ShadyCSS.nativeShado
|
|
|
468
518
|
box-shadow: 0px 0px 0px transparent;
|
|
469
519
|
border: 0px solid transparent;
|
|
470
520
|
text-shadow: 0px 0px 0px transparent;
|
|
471
|
-
font-size: ${
|
|
521
|
+
font-size: ${Ll.fontSize};
|
|
472
522
|
}
|
|
473
523
|
|
|
474
524
|
button:hover {
|
|
@@ -497,31 +547,31 @@ const ko=window,Lo=ko.ShadowRoot&&(void 0===ko.ShadyCSS||ko.ShadyCSS.nativeShado
|
|
|
497
547
|
border: none;
|
|
498
548
|
pointer-events: auto;
|
|
499
549
|
|
|
500
|
-
--ft-button-internal-line-height: max(calc(${
|
|
501
|
-
--ft-button-internal-color: ${
|
|
502
|
-
${
|
|
503
|
-
${
|
|
550
|
+
--ft-button-internal-line-height: max(calc(${Ll.fontSize} + 2px), ${Ll.iconSize});
|
|
551
|
+
--ft-button-internal-color: ${Ll.color};
|
|
552
|
+
${xo(Rl.size,Ll.iconSize)};
|
|
553
|
+
${xo(es.color,Ll.rippleColor)};
|
|
504
554
|
|
|
505
|
-
border-radius: ${
|
|
506
|
-
padding: ${
|
|
507
|
-
background-color: ${
|
|
555
|
+
border-radius: ${Ll.borderRadius};
|
|
556
|
+
padding: ${Ll.verticalPadding} ${Ll.horizontalPadding};
|
|
557
|
+
background-color: ${Ll.backgroundColor};
|
|
508
558
|
color: var(--ft-button-internal-color);
|
|
509
559
|
-webkit-mask-image: radial-gradient(white, black);
|
|
510
560
|
}
|
|
511
561
|
|
|
512
562
|
.ft-button.ft-button--outlined {
|
|
513
563
|
border: 1px solid var(--ft-button-internal-color);
|
|
514
|
-
padding: calc(${
|
|
564
|
+
padding: calc(${Ll.verticalPadding} - 1px) calc(${Ll.horizontalPadding} - 1px);
|
|
515
565
|
}
|
|
516
566
|
|
|
517
567
|
.ft-button.ft-button--dense {
|
|
518
|
-
padding: ${
|
|
519
|
-
border-radius: ${
|
|
520
|
-
gap: ${
|
|
568
|
+
padding: ${Wl} ${_l};
|
|
569
|
+
border-radius: ${Al};
|
|
570
|
+
gap: ${Fl};
|
|
521
571
|
}
|
|
522
572
|
|
|
523
573
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
524
|
-
padding: calc(${
|
|
574
|
+
padding: calc(${Wl} - 1px) calc(${_l} - 1px);
|
|
525
575
|
}
|
|
526
576
|
|
|
527
577
|
.ft-button:not([disabled]):hover {
|
|
@@ -529,22 +579,22 @@ const ko=window,Lo=ko.ShadowRoot&&(void 0===ko.ShadyCSS||ko.ShadyCSS.nativeShado
|
|
|
529
579
|
}
|
|
530
580
|
|
|
531
581
|
.ft-button--round {
|
|
532
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
582
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Ll.verticalPadding});
|
|
533
583
|
}
|
|
534
584
|
|
|
535
585
|
.ft-button--round.ft-button--dense {
|
|
536
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
586
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Wl});
|
|
537
587
|
}
|
|
538
588
|
|
|
539
589
|
.ft-button[disabled] {
|
|
540
590
|
filter: grayscale(1);
|
|
541
|
-
opacity: ${
|
|
591
|
+
opacity: ${Ll.opacityDisabled};
|
|
542
592
|
}
|
|
543
593
|
|
|
544
594
|
.ft-button.ft-button--primary {
|
|
545
|
-
background-color: ${
|
|
546
|
-
--ft-button-internal-color: ${
|
|
547
|
-
${
|
|
595
|
+
background-color: ${kl.backgroundColor};
|
|
596
|
+
--ft-button-internal-color: ${kl.color};
|
|
597
|
+
${xo(es.color,kl.rippleColor)};
|
|
548
598
|
}
|
|
549
599
|
|
|
550
600
|
.ft-button:focus {
|
|
@@ -557,13 +607,13 @@ const ko=window,Lo=ko.ShadowRoot&&(void 0===ko.ShadyCSS||ko.ShadyCSS.nativeShado
|
|
|
557
607
|
white-space: nowrap;
|
|
558
608
|
text-overflow: ellipsis;
|
|
559
609
|
display: block;
|
|
560
|
-
margin: 0 ${
|
|
561
|
-
${
|
|
562
|
-
${
|
|
610
|
+
margin: 0 ${Ll.iconPadding};
|
|
611
|
+
${xo(hl.fontSize,"1em")};
|
|
612
|
+
${xo(hl.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
563
613
|
}
|
|
564
614
|
|
|
565
615
|
.ft-button--dense .ft-button--label {
|
|
566
|
-
margin: 0 ${
|
|
616
|
+
margin: 0 ${Fl};
|
|
567
617
|
}
|
|
568
618
|
|
|
569
619
|
.ft-button--label[hidden] {
|
|
@@ -576,13 +626,13 @@ const ko=window,Lo=ko.ShadowRoot&&(void 0===ko.ShadyCSS||ko.ShadyCSS.nativeShado
|
|
|
576
626
|
}
|
|
577
627
|
|
|
578
628
|
.ft-button--label[hidden] + ft-icon {
|
|
579
|
-
margin: 0 calc(${
|
|
580
|
-
padding: 0 ${
|
|
629
|
+
margin: 0 calc(${Ll.horizontalPadding} * -1);
|
|
630
|
+
padding: 0 ${Ll.verticalPadding};
|
|
581
631
|
}
|
|
582
632
|
|
|
583
633
|
.ft-button--dense .ft-button--label[hidden] + ft-icon {
|
|
584
|
-
margin: 0 calc(${
|
|
585
|
-
padding: 0 ${
|
|
634
|
+
margin: 0 calc(${_l} * -1);
|
|
635
|
+
padding: 0 ${Wl};
|
|
586
636
|
}
|
|
587
637
|
|
|
588
638
|
.ft-button:not(.ft-button--trailing-icon) ft-icon,
|
|
@@ -591,39 +641,34 @@ const ko=window,Lo=ko.ShadowRoot&&(void 0===ko.ShadyCSS||ko.ShadyCSS.nativeShado
|
|
|
591
641
|
}
|
|
592
642
|
|
|
593
643
|
ft-loader {
|
|
594
|
-
${
|
|
595
|
-
${
|
|
644
|
+
${xo(Cl.size,Ll.iconSize)};
|
|
645
|
+
${xo(Cl.color,"var(--ft-button-internal-color)")};
|
|
596
646
|
}
|
|
597
|
-
`,
|
|
598
|
-
/**
|
|
599
|
-
* @license
|
|
600
|
-
* Copyright 2018 Google LLC
|
|
601
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
602
|
-
*/const ja=Ka(class extends Fa{constructor(t){if(super(t),t.type!==Wa||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(e)}const o=t.element.classList;for(const t of this.it)t in e||(o.remove(t),this.it.delete(t));for(const t in e){const r=!!e[t];r===this.it.has(t)||this.st?.has(t)||(r?(o.add(t),this.it.add(t)):(o.remove(t),this.it.delete(t)))}return ot}});var Pa=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Da extends Do{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 i(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 i(10),this.moveRipple=t=>{var e,o;let{x:r,y:i}=this.getCoordinates(t),n=null!==(o=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==o?o:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=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 ie`
|
|
647
|
+
`,Fi];var Pl=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Bl extends Ri{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 ao(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 ao(10),this.moveRipple=t=>{var e,o;let{x:r,y:i}=this.getCoordinates(t),n=null!==(o=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==o?o:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=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 Jt`
|
|
603
648
|
<style>
|
|
604
649
|
.ft-ripple .ft-ripple--effect {
|
|
605
650
|
left: ${this.originX}px;
|
|
606
651
|
top: ${this.originY}px;
|
|
607
652
|
}
|
|
608
653
|
</style>
|
|
609
|
-
<div class="${
|
|
654
|
+
<div class="${ze(t)}">
|
|
610
655
|
<div class="ft-ripple--background"></div>
|
|
611
656
|
<div class="ft-ripple--effect"></div>
|
|
612
657
|
</div>
|
|
613
|
-
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var e,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(o=this.target)||void 0===o||o.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,e;const o=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;o&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:o)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},o=e("mouseup","contextmenu"),r=e("touchend","touchcancel"),i=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",o,n),t.addEventListener("touchstart",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",o,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 e=t,o=t;let r,i;return null!=e.x?({x:r,y:i}=e):null!=o.touches&&(r=o.touches[0].clientX,i=o.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 e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}
|
|
658
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var e,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(o=this.target)||void 0===o||o.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,e;const o=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;o&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:o)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},o=e("mouseup","contextmenu"),r=e("touchend","touchcancel"),i=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",o,n),t.addEventListener("touchstart",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",o,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 e=t,o=t;let r,i;return null!=e.x?({x:r,y:i}=e):null!=o.touches&&(r=o.touches[0].clientX,i=o.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 e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Bl.elementDefinitions={},Bl.styles=ls,Pl([we({type:Boolean})],Bl.prototype,"primary",void 0),Pl([we({type:Boolean})],Bl.prototype,"secondary",void 0),Pl([we({type:Boolean})],Bl.prototype,"unbounded",void 0),Pl([we({type:Boolean})],Bl.prototype,"activated",void 0),Pl([we({type:Boolean})],Bl.prototype,"selected",void 0),Pl([we({type:Boolean})],Bl.prototype,"disabled",void 0),Pl([Se()],Bl.prototype,"hovered",void 0),Pl([Se()],Bl.prototype,"focused",void 0),Pl([Se()],Bl.prototype,"pressed",void 0),Pl([Se()],Bl.prototype,"rippling",void 0),Pl([Se()],Bl.prototype,"originX",void 0),Pl([Se()],Bl.prototype,"originY",void 0),Pl([Ee(".ft-ripple")],Bl.prototype,"ripple",void 0),Pl([Ee(".ft-ripple--effect")],Bl.prototype,"rippleEffect",void 0),po("ft-ripple")(Bl);
|
|
614
659
|
/**
|
|
615
660
|
* @license
|
|
616
661
|
* Copyright 2020 Google LLC
|
|
617
662
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
618
663
|
*/
|
|
619
|
-
const
|
|
620
|
-
<${
|
|
664
|
+
const Ml=Symbol.for(""),Dl=t=>{if(t?.r===Ml)return t?._$litStatic$},Kl=t=>({_$litStatic$:t,r:Ml}),zl=new Map,Tl=(t=>(e,...o)=>{const r=o.length;let i,n;const a=[],s=[];let l,c=0,f=!1;for(;c<r;){for(l=e[c];c<r&&void 0!==(n=o[c],i=Dl(n));)l+=i+e[++c],f=!0;c!==r&&s.push(n),a.push(l),c++}if(c===r&&a.push(e[r]),f){const t=a.join("$$lit$$");void 0===(e=zl.get(t))&&(a.raw=a,zl.set(t,e=a)),o=s}return t(e,...o)})(K);var Zl;!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"}(Zl||(Zl={}));var Hl=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Gl extends Ri{constructor(){super(...arguments),this.variant=Zl.body1}render(){return this.element?Tl`
|
|
665
|
+
<${Kl(this.element)}
|
|
621
666
|
class="ft-typography ft-typography--${this.variant}">
|
|
622
667
|
<slot></slot>
|
|
623
|
-
</${
|
|
624
|
-
`:
|
|
668
|
+
</${Kl(this.element)}>
|
|
669
|
+
`:Tl`
|
|
625
670
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
626
|
-
`}}
|
|
671
|
+
`}}Gl.styles=[pl,dl,yl,gl,bl,ml,vl,xl,Ol,wl,Sl,...Nl],Hl([we()],Gl.prototype,"element",void 0),Hl([we()],Gl.prototype,"variant",void 0),po("ft-typography")(Gl);const Vl=vo.create("--ft-tooltip-distance","","SIZE","4px"),ql=vo.create("--ft-tooltip-color","","COLOR","#FFFFFF"),Yl=vo.create("--ft-tooltip-background-color","","COLOR","#666666"),Jl=vo.create("--ft-tooltip-z-index","","NUMBER","100"),Xl=vo.external(cr.borderRadiusS,"Design system"),Ql=vo.create("--ft-tooltip-max-width","","SIZE","150px"),tc=ht`
|
|
627
672
|
.ft-tooltip--container {
|
|
628
673
|
display: block;
|
|
629
674
|
}
|
|
@@ -638,21 +683,21 @@ const Ma=Symbol.for(""),za=t=>{if(t?.r===Ma)return t?._$litStatic$},Ta=t=>({_$li
|
|
|
638
683
|
box-sizing: border-box;
|
|
639
684
|
overflow: hidden;
|
|
640
685
|
width: max-content;
|
|
641
|
-
max-width: ${
|
|
686
|
+
max-width: ${Ql};
|
|
642
687
|
text-align: center;
|
|
643
|
-
padding: ${
|
|
644
|
-
z-index: ${
|
|
688
|
+
padding: ${Vl};
|
|
689
|
+
z-index: ${Jl};
|
|
645
690
|
}
|
|
646
691
|
|
|
647
692
|
.ft-tooltip--content {
|
|
648
693
|
padding: 4px 8px;
|
|
649
|
-
border-radius: ${
|
|
650
|
-
background-color: ${
|
|
651
|
-
color: ${
|
|
694
|
+
border-radius: ${Xl};
|
|
695
|
+
background-color: ${Yl};
|
|
696
|
+
color: ${ql};
|
|
652
697
|
position: relative;
|
|
653
698
|
word-break: break-word;
|
|
654
699
|
}
|
|
655
|
-
`;var
|
|
700
|
+
`;var ec,oc,rc,ic=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class nc extends Ri{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 ao,this.revealDebouncer=new ao}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Jt`
|
|
656
701
|
<div part="container"
|
|
657
702
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
658
703
|
@mouseenter=${this.onHover}
|
|
@@ -670,48 +715,42 @@ const Ma=Symbol.for(""),za=t=>{if(t?.r===Ma)return t?._$litStatic$},Ta=t=>({_$li
|
|
|
670
715
|
</div>
|
|
671
716
|
</div>
|
|
672
717
|
</div>
|
|
673
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,null!=t&&await this.hideDebounce.run((()=>{this.hide()}),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",
|
|
674
|
-
/**
|
|
675
|
-
* @license
|
|
676
|
-
* Copyright 2017 Google LLC
|
|
677
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
678
|
-
*/
|
|
679
|
-
class rs extends Fa{constructor(t){if(super(t),this.et=rt,t.type!==Aa)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===rt||null==t)return this.vt=void 0,this.et=t;if(t===ot)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const e=[t];return e.raw=e,this.vt={_$litType$:this.constructor.resultType,strings:e,values:[]}}}rs.directiveName="unsafeHTML",rs.resultType=1;const is=Ka(rs);var ns,as,ss;!function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_NORMALIZED="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK="",t.CLONE="",t.CLONE_LINK_SIMPLE=""}(ns||(ns={})),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=""}(as||(as={})),new Map([...["abw"].map((t=>[t,as.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,as.AUDIO])),...["avi"].map((t=>[t,as.AVI])),...["chm","xhs"].map((t=>[t,as.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,as.CODE])),...["csv"].map((t=>[t,as.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,as.DITA])),...["epub"].map((t=>[t,as.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,as.EXCEL])),...["flac"].map((t=>[t,as.FLAC])),...["gif"].map((t=>[t,as.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,as.GZIP])),...["html","htm","xhtml"].map((t=>[t,as.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map((t=>[t,as.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,as.JPEG])),...["json"].map((t=>[t,as.JSON])),...["m4a","m4p"].map((t=>[t,as.M4A])),...["mov","qt"].map((t=>[t,as.MOV])),...["mp3"].map((t=>[t,as.MP3])),...["mp4","m4v"].map((t=>[t,as.MP4])),...["ogg","oga"].map((t=>[t,as.OGG])),...["pdf","ps"].map((t=>[t,as.PDF])),...["png"].map((t=>[t,as.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,as.POWERPOINT])),...["rar"].map((t=>[t,as.RAR])),...["stp"].map((t=>[t,as.STP])),...["txt","rtf","md","mdown"].map((t=>[t,as.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,as.VIDEO])),...["wav"].map((t=>[t,as.WAV])),...["wma"].map((t=>[t,as.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,as.WORD])),...["xml","xsl","rdf"].map((t=>[t,as.XML])),...["yaml","yml","x-yaml"].map((t=>[t,as.YAML])),...["zip"].map((t=>[t,as.ZIP]))]),as.ABW,as.AUDIO,as.AVI,as.CHM,as.CODE,as.CSV,as.DITA,as.EPUB,as.EXCEL,as.FLAC,as.GIF,as.GZIP,as.HTML,as.IMAGE,as.JPEG,as.JSON,as.M4A,as.MOV,as.MP3,as.MP4,as.OGG,as.PDF,as.PNG,as.POWERPOINT,as.RAR,as.STP,as.TEXT,as.UNKNOWN,as.VIDEO,as.WAV,as.WMA,as.WORD,as.XML,as.YAML,as.ZIP,function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(ss||(ss={}));var cs=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ls extends Do{constructor(){super(...arguments),this.resolvedIcon=ae}render(){const t=this.variant&&Object.values(ss).includes(this.variant)?this.variant:ss.fluid_topics,e=t!==ss.material||!!this.value;return ie`
|
|
718
|
+
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,null!=t&&await this.hideDebounce.run((()=>{this.hide()}),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",gi(this.slottedElement,this.tooltip,this.position).then((({x:t,y:e})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${e}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}nc.elementDefinitions={"ft-typography":Gl},nc.styles=tc,ic([we()],nc.prototype,"text",void 0),ic([we({type:Boolean})],nc.prototype,"manual",void 0),ic([we({type:Boolean})],nc.prototype,"inline",void 0),ic([we({type:Number})],nc.prototype,"delay",void 0),ic([we()],nc.prototype,"position",void 0),ic([$e()],nc.prototype,"slotNodes",void 0),ic([Ee(".ft-tooltip--container")],nc.prototype,"container",void 0),ic([Ee(".ft-tooltip")],nc.prototype,"tooltip",void 0),ic([Ee(".ft-tooltip--content")],nc.prototype,"tooltipContent",void 0),ic([Se()],nc.prototype,"visible",void 0),ic([Ne({passive:!0})],nc.prototype,"onTouch",null),ic([Ne({passive:!0})],nc.prototype,"onHover",null),ic([Ne({passive:!0})],nc.prototype,"onOut",null),ic([Ne({passive:!0})],nc.prototype,"onClick",null),po("ft-tooltip")(nc),function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_NORMALIZED="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK="",t.CLONE="",t.CLONE_LINK_SIMPLE=""}(ec||(ec={})),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=""}(oc||(oc={})),new Map([...["abw"].map((t=>[t,oc.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,oc.AUDIO])),...["avi"].map((t=>[t,oc.AVI])),...["chm","xhs"].map((t=>[t,oc.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,oc.CODE])),...["csv"].map((t=>[t,oc.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,oc.DITA])),...["epub"].map((t=>[t,oc.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,oc.EXCEL])),...["flac"].map((t=>[t,oc.FLAC])),...["gif"].map((t=>[t,oc.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,oc.GZIP])),...["html","htm","xhtml"].map((t=>[t,oc.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map((t=>[t,oc.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,oc.JPEG])),...["json"].map((t=>[t,oc.JSON])),...["m4a","m4p"].map((t=>[t,oc.M4A])),...["mov","qt"].map((t=>[t,oc.MOV])),...["mp3"].map((t=>[t,oc.MP3])),...["mp4","m4v"].map((t=>[t,oc.MP4])),...["ogg","oga"].map((t=>[t,oc.OGG])),...["pdf","ps"].map((t=>[t,oc.PDF])),...["png"].map((t=>[t,oc.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,oc.POWERPOINT])),...["rar"].map((t=>[t,oc.RAR])),...["stp"].map((t=>[t,oc.STP])),...["txt","rtf","md","mdown"].map((t=>[t,oc.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,oc.VIDEO])),...["wav"].map((t=>[t,oc.WAV])),...["wma"].map((t=>[t,oc.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,oc.WORD])),...["xml","xsl","rdf"].map((t=>[t,oc.XML])),...["yaml","yml","x-yaml"].map((t=>[t,oc.YAML])),...["zip"].map((t=>[t,oc.ZIP]))]),oc.ABW,oc.AUDIO,oc.AVI,oc.CHM,oc.CODE,oc.CSV,oc.DITA,oc.EPUB,oc.EXCEL,oc.FLAC,oc.GIF,oc.GZIP,oc.HTML,oc.IMAGE,oc.JPEG,oc.JSON,oc.M4A,oc.MOV,oc.MP3,oc.MP4,oc.OGG,oc.PDF,oc.PNG,oc.POWERPOINT,oc.RAR,oc.STP,oc.TEXT,oc.UNKNOWN,oc.VIDEO,oc.WAV,oc.WMA,oc.WORD,oc.XML,oc.YAML,oc.ZIP,function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(rc||(rc={}));var ac=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class sc extends Ri{constructor(){super(...arguments),this.resolvedIcon=te}render(){const t=this.variant&&Object.values(rc).includes(this.variant)?this.variant:rc.fluid_topics,e=t!==rc.material||!!this.value;return Jt`
|
|
680
719
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
681
|
-
${
|
|
720
|
+
${Ye(this.resolvedIcon)}
|
|
682
721
|
<slot ?hidden=${e}></slot>
|
|
683
722
|
</i>
|
|
684
|
-
`}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let o=this.value||this.textContent;switch(this.variant){case
|
|
723
|
+
`}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let o=this.value||this.textContent;switch(this.variant){case rc.file_format:this.resolvedIcon=null!==(t=oc[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case rc.material:this.resolvedIcon=this.value||te;break;default:this.resolvedIcon=null!==(e=ec[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}sc.elementDefinitions={},sc.styles=$l,ac([we()],sc.prototype,"variant",void 0),ac([we()],sc.prototype,"value",void 0),ac([Se()],sc.prototype,"resolvedIcon",void 0),ac([Ee("slot")],sc.prototype,"slottedContent",void 0),po("ft-icon")(sc);class lc extends Ri{render(){return Jt`
|
|
685
724
|
<div class="ft-loader">
|
|
686
725
|
<div></div>
|
|
687
726
|
<div></div>
|
|
688
727
|
<div></div>
|
|
689
728
|
<div></div>
|
|
690
729
|
</div>
|
|
691
|
-
`}}
|
|
730
|
+
`}}lc.styles=El,po("ft-loader")(lc);var cc=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class fc extends(Za(Ri,"button")){constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",(t=>{var e;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(e=this.form)||void 0===e||e.requestSubmit())}))}render(){return this.addTooltipIfNeeded(Jt`
|
|
692
731
|
<button part="button"
|
|
693
|
-
class="${
|
|
732
|
+
class="${ze(this.buttonClasses)}"
|
|
694
733
|
aria-label="${this.getLabel()}"
|
|
695
734
|
?disabled=${this.isDisabled()}>
|
|
696
735
|
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
697
736
|
<ft-typography part="label"
|
|
698
737
|
variant=${this.typographyVariant}
|
|
699
738
|
element="span"
|
|
700
|
-
class="ft-button--label ${
|
|
739
|
+
class="ft-button--label ${Ja?"ft-safari-ellipsis-fix":""}"
|
|
701
740
|
?hidden=${!this.hasTextContent()}>
|
|
702
741
|
<slot @slotchange=${this.onSlotchange}></slot>
|
|
703
742
|
</ft-typography>
|
|
704
743
|
${this.resolveIcon()}
|
|
705
744
|
</button>
|
|
706
|
-
`)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?
|
|
745
|
+
`)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?Jt`
|
|
707
746
|
<ft-tooltip part="tooltip"
|
|
708
747
|
text="${this.getLabel()}"
|
|
709
748
|
position="${this.tooltipPosition}">
|
|
710
749
|
${t}
|
|
711
750
|
</ft-tooltip>
|
|
712
|
-
`:t}resolveIcon(){return this.loading?
|
|
713
|
-
<ft-loader part="loader icon"></ft-loader> `:this.icon?
|
|
714
|
-
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:
|
|
751
|
+
`:t}resolveIcon(){return this.loading?Jt`
|
|
752
|
+
<ft-loader part="loader icon"></ft-loader> `:this.icon?Jt`
|
|
753
|
+
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:te}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}fc.elementDefinitions={"ft-ripple":Bl,"ft-tooltip":nc,"ft-typography":Gl,"ft-icon":sc,"ft-loader":lc},cc([we({type:String,reflect:!0})],fc.prototype,"role",void 0),cc([we()],fc.prototype,"type",void 0),cc([we({type:Boolean})],fc.prototype,"disabled",void 0),cc([we()],fc.prototype,"label",void 0),cc([we()],fc.prototype,"icon",void 0),cc([we()],fc.prototype,"iconVariant",void 0),cc([we({type:Boolean})],fc.prototype,"trailingIcon",void 0),cc([we({type:Boolean})],fc.prototype,"loading",void 0),cc([we()],fc.prototype,"tooltipPosition",void 0),cc([we({type:Boolean})],fc.prototype,"hideTooltip",void 0),cc([we({type:Boolean})],fc.prototype,"forceTooltip",void 0),cc([Ee(".ft-button")],fc.prototype,"button",void 0),cc([Ee(".ft-button--label slot")],fc.prototype,"slottedContent",void 0);var uc=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class hc extends fc{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}hc.styles=[Pi,jl],uc([we({type:Boolean})],hc.prototype,"primary",void 0),uc([we({type:Boolean})],hc.prototype,"outlined",void 0),uc([we({type:Boolean})],hc.prototype,"dense",void 0),uc([we({type:Boolean})],hc.prototype,"round",void 0);const pc=[ht`
|
|
715
754
|
:host {
|
|
716
755
|
display: inline-block;
|
|
717
756
|
max-width: 100%;
|
|
@@ -761,7 +800,7 @@ class rs extends Fa{constructor(t){if(super(t),this.et=rt,t.type!==Aa)throw Erro
|
|
|
761
800
|
}
|
|
762
801
|
|
|
763
802
|
.ft-button:focus-visible {
|
|
764
|
-
outline-color: ${
|
|
803
|
+
outline-color: ${qo.focusFocusRingColor};
|
|
765
804
|
outline-style: solid;
|
|
766
805
|
}
|
|
767
806
|
|
|
@@ -790,155 +829,155 @@ class rs extends Fa{constructor(t){if(super(t),this.et=rt,t.type!==Aa)throw Erro
|
|
|
790
829
|
/** Primary styles **/
|
|
791
830
|
|
|
792
831
|
.ft-button--primary {
|
|
793
|
-
${
|
|
832
|
+
${xo(Cl.color,qo.primaryIconColor)};
|
|
794
833
|
|
|
795
|
-
${
|
|
796
|
-
${
|
|
797
|
-
${
|
|
798
|
-
${
|
|
799
|
-
${
|
|
834
|
+
${xo(es.color,qo.primaryStateLayerColor)};
|
|
835
|
+
${xo(es.opacityContentOnSurfaceHover,qo.primaryStateLayerOpacityHover)};
|
|
836
|
+
${xo(es.opacityContentOnSurfaceFocused,qo.primaryStateLayerOpacityFocus)};
|
|
837
|
+
${xo(es.opacityContentOnSurfaceSelected,qo.primaryStateLayerOpacityActive)};
|
|
838
|
+
${xo(es.opacityContentOnSurfacePressed,qo.primaryStateLayerOpacityActive)};
|
|
800
839
|
|
|
801
|
-
background-color: ${
|
|
802
|
-
color: ${
|
|
840
|
+
background-color: ${qo.primaryBackgroundColor};
|
|
841
|
+
color: ${qo.primaryColor};
|
|
803
842
|
border-style: none;
|
|
804
843
|
}
|
|
805
844
|
|
|
806
845
|
.ft-button--primary[disabled] {
|
|
807
|
-
opacity: ${
|
|
846
|
+
opacity: ${qo.primaryComponentOpacityDisabled};
|
|
808
847
|
}
|
|
809
848
|
|
|
810
849
|
.ft-button--primary ft-icon {
|
|
811
|
-
color: ${
|
|
850
|
+
color: ${qo.primaryIconColor};
|
|
812
851
|
}
|
|
813
852
|
|
|
814
853
|
/** Secondary styles **/
|
|
815
854
|
|
|
816
855
|
.ft-button--secondary {
|
|
817
|
-
${
|
|
856
|
+
${xo(Cl.color,qo.secondaryIconColor)};
|
|
818
857
|
|
|
819
|
-
${
|
|
820
|
-
${
|
|
821
|
-
${
|
|
822
|
-
${
|
|
823
|
-
${
|
|
858
|
+
${xo(es.color,qo.secondaryStateLayerColor)};
|
|
859
|
+
${xo(es.opacityContentOnSurfaceHover,qo.secondaryStateLayerOpacityHover)};
|
|
860
|
+
${xo(es.opacityContentOnSurfaceFocused,qo.secondaryStateLayerOpacityFocus)};
|
|
861
|
+
${xo(es.opacityContentOnSurfaceSelected,qo.secondaryStateLayerOpacityActive)};
|
|
862
|
+
${xo(es.opacityContentOnSurfacePressed,qo.secondaryStateLayerOpacityActive)};
|
|
824
863
|
|
|
825
|
-
background-color: ${
|
|
826
|
-
color: ${
|
|
827
|
-
border-color: ${
|
|
864
|
+
background-color: ${qo.secondaryBackgroundColor};
|
|
865
|
+
color: ${qo.secondaryColor};
|
|
866
|
+
border-color: ${qo.secondaryBorderColor};
|
|
828
867
|
border-style: solid;
|
|
829
868
|
}
|
|
830
869
|
|
|
831
870
|
.ft-button--secondary[disabled] {
|
|
832
|
-
opacity: ${
|
|
871
|
+
opacity: ${qo.secondaryComponentOpacityDisabled};
|
|
833
872
|
}
|
|
834
873
|
|
|
835
874
|
.ft-button--secondary ft-icon {
|
|
836
|
-
color: ${
|
|
875
|
+
color: ${qo.secondaryIconColor};
|
|
837
876
|
}
|
|
838
877
|
|
|
839
878
|
/** Tertiary styles **/
|
|
840
879
|
|
|
841
880
|
.ft-button--tertiary {
|
|
842
|
-
${
|
|
881
|
+
${xo(Cl.color,qo.tertiaryIconColor)};
|
|
843
882
|
|
|
844
|
-
${
|
|
845
|
-
${
|
|
846
|
-
${
|
|
847
|
-
${
|
|
848
|
-
${
|
|
883
|
+
${xo(es.color,qo.tertiaryStateLayerColor)};
|
|
884
|
+
${xo(es.opacityContentOnSurfaceHover,qo.tertiaryStateLayerOpacityHover)};
|
|
885
|
+
${xo(es.opacityContentOnSurfaceFocused,qo.tertiaryStateLayerOpacityFocus)};
|
|
886
|
+
${xo(es.opacityContentOnSurfaceSelected,qo.tertiaryStateLayerOpacityActive)};
|
|
887
|
+
${xo(es.opacityContentOnSurfacePressed,qo.tertiaryStateLayerOpacityActive)};
|
|
849
888
|
|
|
850
|
-
background-color: ${
|
|
851
|
-
color: ${
|
|
889
|
+
background-color: ${qo.tertiaryBackgroundColor};
|
|
890
|
+
color: ${qo.tertiaryColor};
|
|
852
891
|
border-style: none;
|
|
853
892
|
}
|
|
854
893
|
|
|
855
894
|
.ft-button--tertiary[disabled] {
|
|
856
|
-
opacity: ${
|
|
895
|
+
opacity: ${qo.tertiaryComponentOpacityDisabled};
|
|
857
896
|
}
|
|
858
897
|
|
|
859
898
|
.ft-button--tertiary ft-icon {
|
|
860
|
-
color: ${
|
|
899
|
+
color: ${qo.tertiaryIconColor};
|
|
861
900
|
}
|
|
862
901
|
|
|
863
902
|
/** Neutral styles **/
|
|
864
903
|
|
|
865
904
|
.ft-button--neutral {
|
|
866
|
-
${
|
|
905
|
+
${xo(Cl.color,qo.neutralIconColor)};
|
|
867
906
|
|
|
868
|
-
${
|
|
869
|
-
${
|
|
870
|
-
${
|
|
871
|
-
${
|
|
872
|
-
${
|
|
907
|
+
${xo(es.backgroundColor,qo.neutralStateLayerColor)};
|
|
908
|
+
${xo(es.opacityContentOnSurfaceHover,qo.neutralStateLayerOpacityHover)};
|
|
909
|
+
${xo(es.opacityContentOnSurfaceFocused,qo.neutralStateLayerOpacityFocus)};
|
|
910
|
+
${xo(es.opacityContentOnSurfaceSelected,qo.neutralStateLayerOpacityActive)};
|
|
911
|
+
${xo(es.opacityContentOnSurfacePressed,qo.neutralStateLayerOpacityActive)};
|
|
873
912
|
|
|
874
|
-
background-color: ${
|
|
875
|
-
color: ${
|
|
913
|
+
background-color: ${qo.neutralBackgroundColor};
|
|
914
|
+
color: ${qo.neutralColor};
|
|
876
915
|
border-style: none;
|
|
877
916
|
}
|
|
878
917
|
|
|
879
918
|
.ft-button--neutral[disabled] {
|
|
880
|
-
opacity: ${
|
|
919
|
+
opacity: ${qo.neutralComponentOpacityDisabled};
|
|
881
920
|
}
|
|
882
921
|
|
|
883
922
|
.ft-button--neutral ft-icon {
|
|
884
|
-
color: ${
|
|
923
|
+
color: ${qo.neutralIconColor};
|
|
885
924
|
}
|
|
886
925
|
|
|
887
926
|
/** Large styles **/
|
|
888
927
|
|
|
889
928
|
.ft-button--large {
|
|
890
|
-
${
|
|
891
|
-
${
|
|
929
|
+
${xo(Rl.size,qo.largeIconSize)};
|
|
930
|
+
${xo(Cl.size,qo.largeIconSize)};
|
|
892
931
|
|
|
893
|
-
height: ${
|
|
894
|
-
padding: 0 ${
|
|
895
|
-
gap: ${
|
|
896
|
-
border-radius: ${
|
|
897
|
-
border-width: ${
|
|
932
|
+
height: ${qo.largeHeight};
|
|
933
|
+
padding: 0 ${qo.largeHorizontalPadding};
|
|
934
|
+
gap: ${qo.largeGap};
|
|
935
|
+
border-radius: ${qo.largeBorderRadius};
|
|
936
|
+
border-width: ${qo.largeBorderWidth};
|
|
898
937
|
}
|
|
899
938
|
|
|
900
939
|
.ft-button--large:focus-visible {
|
|
901
|
-
outline-width: ${
|
|
902
|
-
outline-offset: ${
|
|
940
|
+
outline-width: ${qo.largeFocusOutlineWidth};
|
|
941
|
+
outline-offset: ${qo.largeFocusOutlineOffset};
|
|
903
942
|
}
|
|
904
943
|
|
|
905
944
|
.ft-button--large.ft-button--icon-only {
|
|
906
|
-
width: ${
|
|
945
|
+
width: ${qo.largeIconOnlyWidth};
|
|
907
946
|
padding: unset;
|
|
908
947
|
}
|
|
909
948
|
|
|
910
949
|
/** Small styles **/
|
|
911
950
|
|
|
912
951
|
.ft-button--small {
|
|
913
|
-
${
|
|
914
|
-
${
|
|
952
|
+
${xo(Rl.size,qo.smallIconSize)};
|
|
953
|
+
${xo(Cl.size,qo.smallIconSize)};
|
|
915
954
|
|
|
916
|
-
height: ${
|
|
917
|
-
padding: 0 ${
|
|
918
|
-
gap: ${
|
|
919
|
-
border-radius: ${
|
|
920
|
-
border-width: ${
|
|
955
|
+
height: ${qo.smallHeight};
|
|
956
|
+
padding: 0 ${qo.smallHorizontalPadding};
|
|
957
|
+
gap: ${qo.smallGap};
|
|
958
|
+
border-radius: ${qo.smallBorderRadius};
|
|
959
|
+
border-width: ${qo.smallBorderWidth};
|
|
921
960
|
}
|
|
922
961
|
|
|
923
962
|
.ft-button--small:focus-visible {
|
|
924
|
-
outline-width: ${
|
|
925
|
-
outline-offset: ${
|
|
963
|
+
outline-width: ${qo.smallFocusOutlineWidth};
|
|
964
|
+
outline-offset: ${qo.smallFocusOutlineOffset};
|
|
926
965
|
}
|
|
927
966
|
|
|
928
967
|
.ft-button--small.ft-button--icon-only {
|
|
929
|
-
width: ${
|
|
968
|
+
width: ${qo.smallIconOnlyWidth};
|
|
930
969
|
padding: unset;
|
|
931
970
|
}
|
|
932
|
-
`,zo];var gs,bs,ms,vs,xs,Os,ws,Ss,Ns,Cs,Es,Rs,Us,$s,Is,ks,Ls,Ws,As=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ks extends hs{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?_a.caption1medium:_a.body2medium}}Ks.styles=[To,ys],As([U({type:Boolean})],Ks.prototype,"primary",void 0),As([U({type:Boolean})],Ks.prototype,"secondary",void 0),As([U({type:Boolean})],Ks.prototype,"tertiary",void 0),As([U({type:Boolean})],Ks.prototype,"neutral",void 0),As([U({type:Boolean})],Ks.prototype,"small",void 0),A("ft-button")(ds),A("ftds-button")(Ks),function(t){!function(e){var o={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(o.arrayBuffer)var r=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],i=ArrayBuffer.isView||function(t){return t&&r.indexOf(Object.prototype.toString.call(t))>-1};function n(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function a(t){return"string"!=typeof t&&(t=String(t)),t}function s(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return o.iterable&&(e[Symbol.iterator]=function(){return e}),e}function c(t){this.map={},t instanceof c?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function l(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function f(t){return new Promise((function(e,o){t.onload=function(){e(t.result)},t.onerror=function(){o(t.error)}}))}function p(t){var e=new FileReader,o=f(e);return e.readAsArrayBuffer(t),o}function h(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function u(){return this.bodyUsed=!1,this._initBody=function(t){var e;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:o.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:o.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():o.arrayBuffer&&o.blob&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=h(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):o.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||i(t))?this._bodyArrayBuffer=h(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o.blob&&(this.blob=function(){var t=l(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?l(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(p)}),this.text=function(){var t=l(this);if(t)return t;if(this._bodyBlob)return function(t){var e=new FileReader,o=f(e);return e.readAsText(t),o}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),o=new Array(e.length),r=0;r<e.length;r++)o[r]=String.fromCharCode(e[r]);return o.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},o.formData&&(this.formData=function(){return this.text().then(g)}),this.json=function(){return this.text().then(JSON.parse)},this}c.prototype.append=function(t,e){t=n(t),e=a(e);var o=this.map[t];this.map[t]=o?o+", "+e:e},c.prototype.delete=function(t){delete this.map[n(t)]},c.prototype.get=function(t){return t=n(t),this.has(t)?this.map[t]:null},c.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},c.prototype.set=function(t,e){this.map[n(t)]=a(e)},c.prototype.forEach=function(t,e){for(var o in this.map)this.map.hasOwnProperty(o)&&t.call(e,this.map[o],o,this)},c.prototype.keys=function(){var t=[];return this.forEach((function(e,o){t.push(o)})),s(t)},c.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),s(t)},c.prototype.entries=function(){var t=[];return this.forEach((function(e,o){t.push([o,e])})),s(t)},o.iterable&&(c.prototype[Symbol.iterator]=c.prototype.entries);var d=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function y(t,e){var o,r,i=(e=e||{}).body;if(t instanceof y){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new c(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,i||null==t._bodyInit||(i=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new c(e.headers)),this.method=(o=e.method||this.method||"GET",r=o.toUpperCase(),d.indexOf(r)>-1?r:o),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i)}function g(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var o=t.split("="),r=o.shift().replace(/\+/g," "),i=o.join("=").replace(/\+/g," ");e.append(decodeURIComponent(r),decodeURIComponent(i))}})),e}function b(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new c(e.headers),this.url=e.url||"",this._initBody(t)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},u.call(y.prototype),u.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];b.redirect=function(t,e){if(-1===m.indexOf(e))throw new RangeError("Invalid status code");return new b(null,{status:e,headers:{location:t}})},e.DOMException=t.DOMException;try{new e.DOMException}catch(t){e.DOMException=function(t,e){this.message=t,this.name=e;var o=Error(t);this.stack=o.stack},e.DOMException.prototype=Object.create(Error.prototype),e.DOMException.prototype.constructor=e.DOMException}function v(t,r){return new Promise((function(i,n){var a=new y(t,r);if(a.signal&&a.signal.aborted)return n(new e.DOMException("Aborted","AbortError"));var s=new XMLHttpRequest;function l(){s.abort()}s.onload=function(){var t,e,o={status:s.status,statusText:s.statusText,headers:(t=s.getAllResponseHeaders()||"",e=new c,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var o=t.split(":"),r=o.shift().trim();if(r){var i=o.join(":").trim();e.append(r,i)}})),e)};o.url="responseURL"in s?s.responseURL:o.headers.get("X-Request-URL");var r="response"in s?s.response:s.responseText;i(new b(r,o))},s.onerror=function(){n(new TypeError("Network request failed"))},s.ontimeout=function(){n(new TypeError("Network request failed"))},s.onabort=function(){n(new e.DOMException("Aborted","AbortError"))},s.open(a.method,a.url,!0),"include"===a.credentials?s.withCredentials=!0:"omit"===a.credentials&&(s.withCredentials=!1),"responseType"in s&&o.blob&&(s.responseType="blob"),a.headers.forEach((function(t,e){s.setRequestHeader(e,t)})),a.signal&&(a.signal.addEventListener("abort",l),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",l)}),s.send(void 0===a._bodyInit?null:a._bodyInit)}))}v.polyfill=!0,t.fetch||(t.fetch=v,t.Headers=c,t.Request=y,t.Response=b),e.Headers=c,e.Request=y,e.Response=b,e.fetch=v,Object.defineProperty(e,"U",{value:!0})}({})}("undefined"!=typeof self?self:void 0),function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"}(gs||(gs={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(bs||(bs={})),function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"}(ms||(ms={})),function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"}(vs||(vs={})),function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"}(xs||(xs={})),function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"}(Os||(Os={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(ws||(ws={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(Ss||(Ss={})),function(t){t.ASC="ASC",t.DESC="DESC"}(Ns||(Ns={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(Cs||(Cs={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(Es||(Es={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Rs||(Rs={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(Us||(Us={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}($s||($s={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(Is||(Is={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"}(ks||(ks={})),function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"}(Ls||(Ls={})),function(t){t.VALID="VALID",t.INVALID="INVALID"}(Ws||(Ws={})),Ls.PERSONAL_BOOK_SHARE_USER,Ls.PERSONAL_BOOK_USER,Ls.HTML_EXPORT_USER,Ls.PERSONAL_BOOK_USER,Ls.PDF_EXPORT_USER,Ls.PERSONAL_BOOK_USER,Ls.KHUB_ADMIN,Ls.CONTENT_PUBLISHER,Ls.ADMIN,Ls.KHUB_ADMIN,Ls.USERS_ADMIN,Ls.PORTAL_ADMIN,Ls.DEVELOPER,Ls.BETA_USER,Ls.DEBUG_USER;const Fs=wt`
|
|
933
|
-
`,
|
|
971
|
+
`,Fi];var dc,yc,gc,bc,mc,vc,xc,Oc,wc,Sc,Nc,Cc,Ec,Rc,$c,Ic,Lc,Uc,kc=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ac extends fc{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?Zl.caption1medium:Zl.body2medium}}Ac.styles=[Pi,pc],kc([we({type:Boolean})],Ac.prototype,"primary",void 0),kc([we({type:Boolean})],Ac.prototype,"secondary",void 0),kc([we({type:Boolean})],Ac.prototype,"tertiary",void 0),kc([we({type:Boolean})],Ac.prototype,"neutral",void 0),kc([we({type:Boolean})],Ac.prototype,"small",void 0),po("ft-button")(hc),po("ftds-button")(Ac),function(t){!function(e){var o={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(o.arrayBuffer)var r=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],i=ArrayBuffer.isView||function(t){return t&&r.indexOf(Object.prototype.toString.call(t))>-1};function n(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function a(t){return"string"!=typeof t&&(t=String(t)),t}function s(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return o.iterable&&(e[Symbol.iterator]=function(){return e}),e}function l(t){this.map={},t instanceof l?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function c(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function f(t){return new Promise((function(e,o){t.onload=function(){e(t.result)},t.onerror=function(){o(t.error)}}))}function u(t){var e=new FileReader,o=f(e);return e.readAsArrayBuffer(t),o}function h(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function p(){return this.bodyUsed=!1,this._initBody=function(t){var e;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:o.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:o.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():o.arrayBuffer&&o.blob&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=h(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):o.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||i(t))?this._bodyArrayBuffer=h(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o.blob&&(this.blob=function(){var t=c(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?c(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(u)}),this.text=function(){var t=c(this);if(t)return t;if(this._bodyBlob)return function(t){var e=new FileReader,o=f(e);return e.readAsText(t),o}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),o=new Array(e.length),r=0;r<e.length;r++)o[r]=String.fromCharCode(e[r]);return o.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},o.formData&&(this.formData=function(){return this.text().then(g)}),this.json=function(){return this.text().then(JSON.parse)},this}l.prototype.append=function(t,e){t=n(t),e=a(e);var o=this.map[t];this.map[t]=o?o+", "+e:e},l.prototype.delete=function(t){delete this.map[n(t)]},l.prototype.get=function(t){return t=n(t),this.has(t)?this.map[t]:null},l.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},l.prototype.set=function(t,e){this.map[n(t)]=a(e)},l.prototype.forEach=function(t,e){for(var o in this.map)this.map.hasOwnProperty(o)&&t.call(e,this.map[o],o,this)},l.prototype.keys=function(){var t=[];return this.forEach((function(e,o){t.push(o)})),s(t)},l.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),s(t)},l.prototype.entries=function(){var t=[];return this.forEach((function(e,o){t.push([o,e])})),s(t)},o.iterable&&(l.prototype[Symbol.iterator]=l.prototype.entries);var d=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function y(t,e){var o,r,i=(e=e||{}).body;if(t instanceof y){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new l(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,i||null==t._bodyInit||(i=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new l(e.headers)),this.method=(o=e.method||this.method||"GET",r=o.toUpperCase(),d.indexOf(r)>-1?r:o),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i)}function g(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var o=t.split("="),r=o.shift().replace(/\+/g," "),i=o.join("=").replace(/\+/g," ");e.append(decodeURIComponent(r),decodeURIComponent(i))}})),e}function b(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new l(e.headers),this.url=e.url||"",this._initBody(t)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},p.call(y.prototype),p.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];b.redirect=function(t,e){if(-1===m.indexOf(e))throw new RangeError("Invalid status code");return new b(null,{status:e,headers:{location:t}})},e.DOMException=t.DOMException;try{new e.DOMException}catch(t){e.DOMException=function(t,e){this.message=t,this.name=e;var o=Error(t);this.stack=o.stack},e.DOMException.prototype=Object.create(Error.prototype),e.DOMException.prototype.constructor=e.DOMException}function v(t,r){return new Promise((function(i,n){var a=new y(t,r);if(a.signal&&a.signal.aborted)return n(new e.DOMException("Aborted","AbortError"));var s=new XMLHttpRequest;function c(){s.abort()}s.onload=function(){var t,e,o={status:s.status,statusText:s.statusText,headers:(t=s.getAllResponseHeaders()||"",e=new l,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var o=t.split(":"),r=o.shift().trim();if(r){var i=o.join(":").trim();e.append(r,i)}})),e)};o.url="responseURL"in s?s.responseURL:o.headers.get("X-Request-URL");var r="response"in s?s.response:s.responseText;i(new b(r,o))},s.onerror=function(){n(new TypeError("Network request failed"))},s.ontimeout=function(){n(new TypeError("Network request failed"))},s.onabort=function(){n(new e.DOMException("Aborted","AbortError"))},s.open(a.method,a.url,!0),"include"===a.credentials?s.withCredentials=!0:"omit"===a.credentials&&(s.withCredentials=!1),"responseType"in s&&o.blob&&(s.responseType="blob"),a.headers.forEach((function(t,e){s.setRequestHeader(e,t)})),a.signal&&(a.signal.addEventListener("abort",c),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",c)}),s.send(void 0===a._bodyInit?null:a._bodyInit)}))}v.polyfill=!0,t.fetch||(t.fetch=v,t.Headers=l,t.Request=y,t.Response=b),e.Headers=l,e.Request=y,e.Response=b,e.fetch=v,Object.defineProperty(e,"W",{value:!0})}({})}("undefined"!=typeof self?self:void 0),function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"}(dc||(dc={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(yc||(yc={})),function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"}(gc||(gc={})),function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"}(bc||(bc={})),function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"}(mc||(mc={})),function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"}(vc||(vc={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(xc||(xc={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(Oc||(Oc={})),function(t){t.ASC="ASC",t.DESC="DESC"}(wc||(wc={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(Sc||(Sc={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(Nc||(Nc={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Cc||(Cc={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(Ec||(Ec={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Rc||(Rc={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}($c||($c={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"}(Ic||(Ic={})),function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"}(Lc||(Lc={})),function(t){t.VALID="VALID",t.INVALID="INVALID"}(Uc||(Uc={})),Lc.PERSONAL_BOOK_SHARE_USER,Lc.PERSONAL_BOOK_USER,Lc.HTML_EXPORT_USER,Lc.PERSONAL_BOOK_USER,Lc.PDF_EXPORT_USER,Lc.PERSONAL_BOOK_USER,Lc.KHUB_ADMIN,Lc.CONTENT_PUBLISHER,Lc.ADMIN,Lc.KHUB_ADMIN,Lc.USERS_ADMIN,Lc.PORTAL_ADMIN,Lc.DEVELOPER,Lc.BETA_USER,Lc.DEBUG_USER;const Wc=ht`
|
|
972
|
+
`,_c=Da.get({name:"ft-app-info",reducers:{},initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1}});class Fc{static build(t){const{baseUrl:e,apiIntegrationIdentifier:o}=_c.getState(),r=null!=t?t:o;if(e&&r&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(e,r,!0)}static get(t){var e;return null!=t?Fc.build(t):null!==(e=Fc.API)&&void 0!==e?e:Fc.API=Fc.build()}static await(t){return new Promise((e=>{let o=Fc.get(t);if(o)e(o);else{const r=_c.subscribe((()=>{o=Fc.get(t),o&&(r(),e(o))}))}}))}}class jc{constructor(t=!0,e){var o;this.overrideApi=e;let r=this.constructor;r.commonCache=null!==(o=r.commonCache)&&void 0!==o?o:new oo,this.cache=t?r.commonCache:new oo}get api(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:Fc.get()}get awaitApi(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:Fc.await()}clearCache(){this.cache.clearAll()}}var Pc;const Bc=Symbol("clearAfterUnitTest");class Mc extends jc{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Pc]=()=>{this.defaultMessages={},this.cache=new oo,this.listeners={}},this.currentUiLocale=_c.getState().uiLocale,_c.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=_c.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const e=t.name.toLowerCase();this.cache.setFinal(e,t),this.notify(e)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,e){var o;if(t=t.toLowerCase(),Object.keys(e).length>0){const r={...null!==(o=this.defaultMessages[t])&&void 0!==o?o:{},...e};uo(this.defaultMessages[t],r)||(this.defaultMessages[t]=r,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...o){var r,i,n;t=t.toLowerCase(),this.fetchContext(t);const a=null!==(i=null===(r=this.cache.getNow(t))||void 0===r?void 0:r.messages)&&void 0!==i?i:{};return new Di(null!==(n=this.defaultMessages[t])&&void 0!==n?n:{},a).resolve(e,...o)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,e){var o;return t=t.toLowerCase(),this.listeners[t]=null!==(o=this.listeners[t])&&void 0!==o?o:new Set,this.listeners[t].add(e),()=>{var o;return null===(o=this.listeners[t])||void 0===o?void 0:o.delete(e)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>lo(0).then((()=>t())).catch((()=>null)))))}}Pc=Bc,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new class extends Mc{constructor(){super((async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e)))}}),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new class extends Mc{constructor(){super((async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e)))}});const Dc=window.FluidTopicsI18nService,Kc=window.FluidTopicsCustomI18nService;var zc=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Tc extends Ri{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>Fc.get(),this.cache=new oo,this.cleanSessionDebouncer=new ao}render(){return Jt`
|
|
934
973
|
<slot></slot>
|
|
935
|
-
`}update(t){super.update(t),t.has("baseUrl")&&(
|
|
936
|
-
`;var
|
|
974
|
+
`}update(t){super.update(t),t.has("baseUrl")&&(_c.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&_c.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&_c.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&_c.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&_c.actions.noCustom(this.noCustom),t.has("editorMode")&&_c.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&_c.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&_c.actions.session(this.session),t.has("availableUiLocales")&&_c.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Dc.addContext(t))),t.has("openExternalDocumentInNewTab")&&_c.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(null==this.session&&this.updateSession(),null==this.availableUiLocales&&this.updateUiLocales(),null==this.metadataConfiguration&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",(async()=>{const t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),t.idleTimeoutInMillis),t}))}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>this.apiProvider().getAvailableUiLocales()))}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",(()=>this.apiProvider().getMetadataConfiguration()))}}Tc.elementDefinitions={},Tc.styles=Wc,zc([we()],Tc.prototype,"baseUrl",void 0),zc([we()],Tc.prototype,"apiIntegrationIdentifier",void 0),zc([we()],Tc.prototype,"uiLocale",void 0),zc([yo(null)],Tc.prototype,"availableUiLocales",void 0),zc([yo(null)],Tc.prototype,"metadataConfiguration",void 0),zc([we({type:Boolean})],Tc.prototype,"editorMode",void 0),zc([we({type:Boolean})],Tc.prototype,"noCustom",void 0),zc([we({type:Boolean})],Tc.prototype,"openExternalDocumentInNewTab",void 0),zc([we({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Tc.prototype,"noCustomComponent",void 0),zc([we({type:Boolean})],Tc.prototype,"withManualResources",void 0),zc([yo([])],Tc.prototype,"messageContexts",void 0),zc([yo(void 0)],Tc.prototype,"session",void 0),zc([we({type:Object})],Tc.prototype,"apiProvider",void 0);class Zc extends jc{async listMySearches(){let t=_c.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-searches",(async()=>(await this.awaitApi).listMySearches(t.profile.userId)),3e5):[]}}class Hc extends jc{async listMyBookmarks(){let t=_c.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-bookmarks",(async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId)),3e5):[]}}const Gc=Da.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=_c.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Hc,this.savedSearchesService=new Zc,_c.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=_c.getState();uo(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==e?void 0:e.profile)||(this.currentSession=e,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Gc.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Gc.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();const t=await this.savedSearchesService.listMySearches();Gc.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const e=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;Gc.actions.bookmarks(e)}}},po("ft-app-context")(Tc);class Vc extends Event{constructor(){super(Vc.eventName)}}Vc.eventName="search-context-clear-all-filters";var qc=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Yc extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const Jc=Symbol("registerInterval");class Xc extends(function(t){var e;class o extends t{constructor(){super(...arguments),this[e]=0}setSearchStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[Jc]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[Jc]):this.dispatchEvent(new Yc)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=Jc,qc([Se()],o.prototype,"stateManager",void 0),o}(Xi)){}const Qc=ht`
|
|
975
|
+
`;var tf=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const ef=Symbol("i18nAttributes"),of=Symbol("i18nProperties"),rf=Symbol("i18nUnsubs");function nf(t){var e;class o extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?Kc:Dc}i18n(t,e,...o){var r;if("string"==typeof t)return this.i18nService.resolveMessage(t,e,...o);const i=null!==(r=t.args)&&void 0!==r?r:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...i)}onI18nUpdate(t){var e,o;null===(e=this[ef])||void 0===e||e.forEach(((e,o)=>{var r;const i=this.getI18nAttributeValue(o);(null===(r=null==i?void 0:i.context)||void 0===r?void 0:r.toLowerCase())===t.toLowerCase()&&this.updateI18nAttributeMessage(o,i,e)})),null===(o=this[of])||void 0===o||o.forEach(((e,o)=>{e.context.toLowerCase()===t.toLowerCase()&&(this[o]=this.i18n(e))})),setTimeout((()=>this.requestUpdate()),0)}updateI18nAttributeMessage(t,e,o){this[t]={...e,message:this.i18n({context:e.context,key:e.key,...o})}}update(t){var e,o;super.update(t),null===(e=this[ef])||void 0===e||e.forEach(((e,o)=>{const r=this.getI18nAttributeValue(o);(null==r?void 0:r.context)&&r.key&&(t.has(o)||null!=e.argsProvider)&&(t.has(o)&&this.addI18nContext(r.context),this.updateI18nAttributeMessage(o,r,e))})),null===(o=this[of])||void 0===o||o.forEach(((t,e)=>{null!=t.argsProvider&&(this[e]=this.i18n(t))}))}getI18nAttributeValue(t){return this[t]}connectedCallback(){var t,e,o,r;super.connectedCallback(),new Set([...null!==(e=null===(t=this[of])||void 0===t?void 0:t.values())&&void 0!==e?e:[],...[...null!==(r=null===(o=this[ef])||void 0===o?void 0:o.keys())&&void 0!==r?r:[]].map((t=>this.getI18nAttributeValue(t)))].map((t=>null==t?void 0:t.context))).forEach((t=>t&&this.addI18nMessages(t)))}addI18nMessages(t,e){t=t.toLowerCase(),this[rf].has(t)||this[rf].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=e?e:{})}addI18nContext(t,e){this.addI18nMessages("string"==typeof t?t:t.name,e)}disconnectedCallback(){super.disconnectedCallback(),this[rf].forEach((t=>t())),this[rf].clear()}}return e=rf,tf([we({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}class af extends(nf(Ri)){}class sf extends(nf(Xi)){}var lf=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class cf extends sf{constructor(){super(),this.editorMode=!1,this.addStore(_c)}render(){return this.key&&this.context?Jt`
|
|
937
976
|
<span class="ft-i18n">
|
|
938
977
|
${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
|
|
939
978
|
</span>
|
|
940
|
-
`:this.editorMode?"Select a context and a label key.":
|
|
979
|
+
`:this.editorMode?"Select a context and a label key.":te}update(t){var e;super.update(t),["context","key","defaultMessage"].some((e=>t.has(e)))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(e=this.defaultMessage)&&void 0!==e?e:""})}}cf.elementDefinitions={},cf.styles=Qc,lf([zi()],cf.prototype,"editorMode",void 0),lf([we()],cf.prototype,"context",void 0),lf([we()],cf.prototype,"key",void 0),lf([yo([])],cf.prototype,"args",void 0),lf([we()],cf.prototype,"defaultMessage",void 0);class ff{static build(t){return new ff(t)}static fromGwt(t){return new ff(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,e)=>{const o=e;return t=>({context:this.name,key:o,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,e)=>(...t)=>Dc.resolveMessage(this.name,e,...t)})}}po("ft-i18n")(cf);const uf=ff.fromGwt("designedActionBlockAriaLabels");var hf=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class pf extends(nf(Xc)){constructor(){super(),this.currentPage=1,this.isLastPage=!0,this.addI18nContext(uf)}render(){return this.isLastPage?te:Jt`
|
|
941
980
|
<ft-button @click="${this.loadMore}">
|
|
942
|
-
${
|
|
981
|
+
${uf.messages.searchPageLoadMore()}
|
|
943
982
|
</ft-button>
|
|
944
|
-
`}loadMore(){var t;null===(t=this.stateManager)||void 0===t||t.setPageNumber(this.currentPage+1)}}
|
|
983
|
+
`}loadMore(){var t;null===(t=this.stateManager)||void 0===t||t.setPageNumber(this.currentPage+1)}}pf.elementDefinitions={"ft-button":hc},pf.styles=Qa,hf([zi({store:"search",selector:t=>{var e,o;return null!==(o=null===(e=t.paging)||void 0===e?void 0:e.currentPage)&&void 0!==o?o:1}})],pf.prototype,"currentPage",void 0),hf([zi({store:"search",selector:t=>{var e,o;return null===(o=null===(e=t.paging)||void 0===e?void 0:e.isLastPage)||void 0===o||o}})],pf.prototype,"isLastPage",void 0),po("ft-search-load-more-button")(pf),t.FtSearchLoadMoreButton=pf,t.FtSearchLoadMoreButtonCssVariables={},t.styles=Qa}({});
|