@fluid-topics/ft-reader-topic-metadata 1.1.70 → 1.1.72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ft-reader-topic-metadata.light.js +294 -283
- package/build/ft-reader-topic-metadata.min.js +473 -410
- package/package.json +3 -3
|
@@ -1,147 +1,13 @@
|
|
|
1
|
-
!function(t){
|
|
2
|
-
|
|
3
|
-
* @license
|
|
4
|
-
|
|
5
|
-
* This code may only be used under the BSD style license found at
|
|
6
|
-
* http://polymer.github.io/LICENSE.txt
|
|
7
|
-
* The complete set of authors may be found at
|
|
8
|
-
* http://polymer.github.io/AUTHORS.txt
|
|
9
|
-
* The complete set of contributors may be found at
|
|
10
|
-
* http://polymer.github.io/CONTRIBUTORS.txt
|
|
11
|
-
* Code distributed by Google as part of the polymer project is also
|
|
12
|
-
* subject to an additional IP rights grant found at
|
|
13
|
-
* http://polymer.github.io/PATENTS.txt
|
|
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,l=new WeakMap;let s;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 l=i.prototype.attributeChangedCallback,s=new Set(i.observedAttributes||[]);d(i,s,l);const c={elementClass:i,connectedCallback:i.prototype.connectedCallback,disconnectedCallback:i.prototype.disconnectedCallback,adoptedCallback:i.prototype.adoptedCallback,attributeChangedCallback:l,formAssociated:i.formAssociated,formAssociatedCallback:i.prototype.formAssociatedCallback,formDisabledCallback:i.prototype.formDisabledCallback,formResetCallback:i.prototype.formResetCallback,formStateRestoreCallback:i.prototype.formStateRestoreCallback,observedAttributes:s};this._definitionsByTag.set(t,c),this._definitionsByClass.set(i,c);let f=o.call(r,t);f||(f=p(t),e.call(r,t,f)),this===window.customElements&&(a.set(i,c),c.standInClass=f);const h=this._awaitingUpgrade.get(t);if(h){this._awaitingUpgrade.delete(t);for(const t of h)n.delete(t),u(t,c,!0)}const g=this._whenDefinedPromises.get(t);return void 0!==g&&(g.resolve(i),this._whenDefinedPromises.delete(t)),i}upgrade(){y.push(this),r.upgrade.apply(r,arguments),y.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=s;if(e)return s=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=y[y.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),c(e)||(e=l.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?u(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)}},d=(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)})},h=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t?Object.setPrototypeOf(e,window.HTMLElement):h(o)},u=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),i.set(t,e),s=t;try{new e.elementClass}catch(t){h(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)},g=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=g.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let y=[document];const b=(t,e,o=void 0)=>{const r=(o?Object.getPrototypeOf(o):t.prototype)[e];t.prototype[e]=function(){y.push(this);const t=r.apply(o||this,arguments);return void 0!==t&&l.set(t,this),y.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){y.push(this),o.set.call(this,t),y.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
|
-
/**
|
|
17
|
-
* @license
|
|
18
|
-
* Copyright 2019 Google LLC
|
|
19
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
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
|
-
/**
|
|
22
|
-
* @license
|
|
23
|
-
* Copyright 2017 Google LLC
|
|
24
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
25
|
-
*/,{is:l,defineProperty:s,getOwnPropertyDescriptor:c,getOwnPropertyNames:f,getOwnPropertySymbols:p,getPrototypeOf:d}=Object,h=globalThis,u=h.trustedTypes,g=u?u.emptyScript:"",y=h.reactiveElementPolyfillSupport,b=(t,e)=>t,m={toAttribute(t,e){switch(e){case Boolean:t=t?g:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=null!==t;break;case Number:o=null===t?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch(t){o=null}}return o}},v=(t,e)=>!l(t,e),x={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:v};Symbol.metadata??=Symbol("metadata"),h.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&&s(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=d(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),...p(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,y?.({ReactiveElement:O}),(h.reactiveElementVersions??=[]).push("2.0.2");
|
|
26
|
-
/**
|
|
27
|
-
* @license
|
|
28
|
-
* Copyright 2017 Google LLC
|
|
29
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
30
|
-
*/
|
|
31
|
-
const w=globalThis,S=w.trustedTypes,C=S?S.createPolicy("lit-html",{createHTML:t=>t}):void 0,N="$lit$",E=`lit$${(Math.random()+"").slice(9)}$`,$="?"+E,I=`<${$}>`,R=document,k=()=>R.createComment(""),L=t=>null===t||"object"!=typeof t&&"function"!=typeof t,U=Array.isArray,W=t=>U(t)||"function"==typeof t?.[Symbol.iterator],z="[ \t\n\f\r]",B=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,F=/-->/g,A=/>/g,j=RegExp(`>|${z}(?:([^\\s"'>=/]+)(${z}*=${z}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),_=/'/g,Z=/"/g,P=/^(?:script|style|textarea|title)$/i,K=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),M=Symbol.for("lit-noChange"),D=Symbol.for("lit-nothing"),H=new WeakMap,T=R.createTreeWalker(R,129);function G(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==C?C.createHTML(e):e}const V=(t,e)=>{const o=t.length-1,r=[];let i,n=2===e?"<svg>":"",a=B;for(let e=0;e<o;e++){const o=t[e];let l,s,c=-1,f=0;for(;f<o.length&&(a.lastIndex=f,s=a.exec(o),null!==s);)f=a.lastIndex,a===B?"!--"===s[1]?a=F:void 0!==s[1]?a=A:void 0!==s[2]?(P.test(s[2])&&(i=RegExp("</"+s[2],"g")),a=j):void 0!==s[3]&&(a=j):a===j?">"===s[0]?(a=i??B,c=-1):void 0===s[1]?c=-2:(c=a.lastIndex-s[2].length,l=s[1],a=void 0===s[3]?j:'"'===s[3]?Z:_):a===Z||a===_?a=j:a===F||a===A?a=B:(a=j,i=void 0);const p=a===j&&t[e+1].startsWith("/>")?" ":"";n+=a===B?o+I:c>=0?(r.push(l),o.slice(0,c)+N+o.slice(c)+E+p):o+E+(-2===c?e:p)}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 l=e.length-1,s=this.parts,[c,f]=V(e,o);if(this.el=t.createElement(c,r),T.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=T.nextNode())&&s.length<l;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(N)){const e=f[a++],o=i.getAttribute(t).split(E),r=/([.?@])?(.*)/.exec(e);s.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)&&(s.push({type:6,index:n}),i.removeAttribute(t));if(P.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],k()),T.nextNode(),s.push({type:2,index:++n});i.append(t[e],k())}}}else if(8===i.nodeType)if(i.data===$)s.push({type:2,index:n});else{let t=-1;for(;-1!==(t=i.data.indexOf(E,t+1));)s.push({type:7,index:n}),t+=E.length-1}n++}}static createElement(t,e){const o=R.createElement("template");return o.innerHTML=t,o}};function Y(t,e,o=t,r){if(e===M)return e;let i=void 0!==r?o._$Co?.[r]:o._$Cl;const n=L(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??R).importNode(e,!0);T.currentNode=r;let i=T.nextNode(),n=0,a=0,l=o[0];for(;void 0!==l;){if(n===l.index){let e;2===l.type?e=new X(i,i.nextSibling,this,t):1===l.type?e=new l.ctor(i,l.name,l.strings,this,t):6===l.type&&(e=new rt(i,this,t)),this._$AV.push(e),l=o[++a]}n!==l?.index&&(i=T.nextNode(),n++)}return T.currentNode=R,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=D,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),L(t)?t===D||null==t||""===t?(this._$AH!==D&&this._$AR(),this._$AH=D):t!==this._$AH&&t!==M&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):W(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!==D&&L(this._$AH)?this._$AA.nextSibling.data=t:this.$(R.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=H.get(t.strings);return void 0===e&&H.set(t.strings,e=new q(t)),e}T(e){U(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(k()),this.k(k()),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=D,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=D}_$AI(t,e=this,o,r){const i=this.strings;let n=!1;if(void 0===i)t=Y(this,t,e,0),n=!L(t)||t!==this._$AH&&t!==M,n&&(this._$AH=t);else{const r=t;let a,l;for(t=i[0],a=0;a<i.length-1;a++)l=Y(this,r[o+a],e,a),l===M&&(l=this._$AH[a]),n||=!L(l)||l!==this._$AH[a],l===D?t=D:t!==D&&(t+=(l??"")+i[a+1]),this._$AH[a]=l}n&&!r&&this.O(t)}O(t){t===D?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===D?void 0:t}},et=class extends Q{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==D)}},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)??D)===M)return;const o=this._$AH,r=t===D&&o!==D||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,i=t!==D&&(o===D||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:N,P:E,A:$,C:1,M:V,L:J,R:W,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,lt=at.ShadowRoot&&(void 0===at.ShadyCSS||at.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,st=Symbol(),ct=new WeakMap;let ft=class{constructor(t,e,o){if(this._$cssResult$=!0,o!==st)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(lt&&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 pt=t=>new ft("string"==typeof t?t:t+"",void 0,st),dt=(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,st)},ht=(t,e)=>{if(lt)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)}},ut=lt?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return pt(e)})(t):t
|
|
38
|
-
/**
|
|
39
|
-
* @license
|
|
40
|
-
* Copyright 2017 Google LLC
|
|
41
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
42
|
-
*/,{is:gt,defineProperty:yt,getOwnPropertyDescriptor:bt,getOwnPropertyNames:mt,getOwnPropertySymbols:vt,getPrototypeOf:xt}=Object,Ot=globalThis,wt=Ot.trustedTypes,St=wt?wt.emptyScript:"",Ct=Ot.reactiveElementPolyfillSupport,Nt=(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}},$t=(t,e)=>!gt(t,e),It={attribute:!0,type:String,converter:Et,reflect:!1,hasChanged:$t};Symbol.metadata??=Symbol("metadata"),Ot.litPropertyMetadata??=new WeakMap;let Rt=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=It){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&&yt(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)??It}static _$Ei(){if(this.hasOwnProperty(Nt("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(Nt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Nt("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(ut(t))}else void 0!==t&&e.push(ut(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 ht(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??$t)(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){}};Rt.elementStyles=[],Rt.shadowRootOptions={mode:"open"},Rt[Nt("elementProperties")]=new Map,Rt[Nt("finalized")]=new Map,Ct?.({ReactiveElement:Rt}),(Ot.reactiveElementVersions??=[]).push("2.0.2");
|
|
43
|
-
/**
|
|
44
|
-
* @license
|
|
45
|
-
* Copyright 2017 Google LLC
|
|
46
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
47
|
-
*/
|
|
48
|
-
const kt=globalThis,Lt=kt.trustedTypes,Ut=Lt?Lt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Wt="$lit$",zt=`lit$${(Math.random()+"").slice(9)}$`,Bt="?"+zt,Ft=`<${Bt}>`,At=document,jt=()=>At.createComment(""),_t=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Zt=Array.isArray,Pt=t=>Zt(t)||"function"==typeof t?.[Symbol.iterator],Kt="[ \t\n\f\r]",Mt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Dt=/-->/g,Ht=/>/g,Tt=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=At.createTreeWalker(At,129);function re(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Ut?Ut.createHTML(e):e}const ie=(t,e)=>{const o=t.length-1,r=[];let i,n=2===e?"<svg>":"",a=Mt;for(let e=0;e<o;e++){const o=t[e];let l,s,c=-1,f=0;for(;f<o.length&&(a.lastIndex=f,s=a.exec(o),null!==s);)f=a.lastIndex,a===Mt?"!--"===s[1]?a=Dt:void 0!==s[1]?a=Ht:void 0!==s[2]?(qt.test(s[2])&&(i=RegExp("</"+s[2],"g")),a=Tt):void 0!==s[3]&&(a=Tt):a===Tt?">"===s[0]?(a=i??Mt,c=-1):void 0===s[1]?c=-2:(c=a.lastIndex-s[2].length,l=s[1],a=void 0===s[3]?Tt:'"'===s[3]?Vt:Gt):a===Vt||a===Gt?a=Tt:a===Dt||a===Ht?a=Mt:(a=Tt,i=void 0);const p=a===Tt&&t[e+1].startsWith("/>")?" ":"";n+=a===Mt?o+Ft:c>=0?(r.push(l),o.slice(0,c)+Wt+o.slice(c)+zt+p):o+zt+(-2===c?e:p)}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,l=this.parts,[s,c]=ie(t,e);if(this.el=ne.createElement(s,o),oe.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=oe.nextNode())&&l.length<a;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(Wt)){const e=c[n++],o=r.getAttribute(t).split(zt),a=/([.?@])?(.*)/.exec(e);l.push({type:1,index:i,name:a[2],strings:o,ctor:"."===a[1]?fe:"?"===a[1]?pe:"@"===a[1]?de:ce}),r.removeAttribute(t)}else t.startsWith(zt)&&(l.push({type:6,index:i}),r.removeAttribute(t));if(qt.test(r.tagName)){const t=r.textContent.split(zt),e=t.length-1;if(e>0){r.textContent=Lt?Lt.emptyScript:"";for(let o=0;o<e;o++)r.append(t[o],jt()),oe.nextNode(),l.push({type:2,index:++i});r.append(t[e],jt())}}}else if(8===r.nodeType)if(r.data===Bt)l.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(zt,t+1));)l.push({type:7,index:i}),t+=zt.length-1}i++}}static createElement(t,e){const o=At.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=_t(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 le=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??At).importNode(e,!0);oe.currentNode=r;let i=oe.nextNode(),n=0,a=0,l=o[0];for(;void 0!==l;){if(n===l.index){let e;2===l.type?e=new se(i,i.nextSibling,this,t):1===l.type?e=new l.ctor(i,l.name,l.strings,this,t):6===l.type&&(e=new he(i,this,t)),this._$AV.push(e),l=o[++a]}n!==l?.index&&(i=oe.nextNode(),n++)}return oe.currentNode=At,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++}},se=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),_t(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):Pt(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&&_t(this._$AH)?this._$AA.nextSibling.data=t:this.$(At.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 le(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){Zt(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(jt()),this.k(jt()),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=!_t(t)||t!==this._$AH&&t!==Qt,n&&(this._$AH=t);else{const r=t;let a,l;for(t=i[0],a=0;a<i.length-1;a++)l=ae(this,r[o+a],e,a),l===Qt&&(l=this._$AH[a]),n||=!_t(l)||l!==this._$AH[a],l===te?t=te:t!==te&&(t+=(l??"")+i[a+1]),this._$AH[a]=l}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}},pe=class extends ce{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==te)}},de=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)}},he=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 ue={j:Wt,P:zt,A:Bt,C:1,M:ie,L:le,R:Pt,V:ae,D:se,I:ce,H:pe,N:de,U:fe,B:he},ge=kt.litHtmlPolyfillSupport;ge?.(ne,se),(kt.litHtmlVersions??=[]).push("3.1.0");const ye=(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 se(e.insertBefore(jt(),t),t,void 0,o??{})}return i._$AI(t),i
|
|
49
|
-
/**
|
|
50
|
-
* @license
|
|
51
|
-
* Copyright 2017 Google LLC
|
|
52
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
53
|
-
*/};let be=class extends Rt{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=ye(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:Rt,_$LE:{_$AK:(t,e,o)=>{t._$AK(e,o)},_$AL:t=>t._$AL},_$LH:ue,adoptStyles:ht,css:dt,defaultConverter:Et,getCompatibleStyle:ut,html:Jt,isServer:!1,noChange:Qt,notEqual:$t,nothing:te,render:ye,supportsAdoptingStyleSheets:lt,svg:Xt,unsafeCSS:pt});
|
|
54
|
-
/**
|
|
55
|
-
* @license
|
|
56
|
-
* Copyright 2017 Google LLC
|
|
57
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
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)};
|
|
59
|
-
/**
|
|
60
|
-
* @license
|
|
61
|
-
* Copyright 2017 Google LLC
|
|
62
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
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)
|
|
64
|
-
/**
|
|
65
|
-
* @license
|
|
66
|
-
* Copyright 2017 Google LLC
|
|
67
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
68
|
-
*/}function Se(t){return we({...t,state:!0,attribute:!1})}
|
|
69
|
-
/**
|
|
70
|
-
* @license
|
|
71
|
-
* Copyright 2017 Google LLC
|
|
72
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
73
|
-
*/function Ce(t){return(e,o)=>{const r="function"==typeof e?e:e[o];Object.assign(r,t)}}
|
|
74
|
-
/**
|
|
75
|
-
* @license
|
|
76
|
-
* Copyright 2017 Google LLC
|
|
77
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
78
|
-
*/const Ne=(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 Ne(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 Ne(0,0,{get(){return n(this)}})}}
|
|
84
|
-
/**
|
|
85
|
-
* @license
|
|
86
|
-
* Copyright 2017 Google LLC
|
|
87
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
88
|
-
*/let $e;
|
|
89
|
-
/**
|
|
90
|
-
* @license
|
|
91
|
-
* Copyright 2017 Google LLC
|
|
92
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
93
|
-
*/
|
|
94
|
-
function Ie(t){return(e,o)=>{const{slot:r}=t??{},i="slot"+(r?`[name=${r}]`:":not([name])");return Ne(0,0,{get(){const e=this.renderRoot?.querySelector(i);return e?.assignedNodes(t)??[]}})}}var Re=Object.freeze({__proto__:null,customElement:t=>(e,o)=>{void 0!==o?o.addInitializer((()=>{customElements.define(t,e)})):customElements.define(t,e)},eventOptions:Ce,property:we,query:Ee,queryAll:function(t){return(e,o)=>Ne(0,0,{get(){return(this.renderRoot??($e??=document.createDocumentFragment())).querySelectorAll(t)}})
|
|
95
|
-
/**
|
|
96
|
-
* @license
|
|
97
|
-
* Copyright 2017 Google LLC
|
|
98
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
99
|
-
*/},queryAssignedElements:
|
|
100
|
-
/**
|
|
101
|
-
* @license
|
|
102
|
-
* Copyright 2021 Google LLC
|
|
103
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
104
|
-
*/
|
|
105
|
-
function(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}]`:":not([name])");return Ne(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:Ie,queryAsync:function(t){return(e,o)=>Ne(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 ke=1,Le=2,Ue=t=>(...e)=>({_$litDirective$:t,values:e});let We=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:ze}=it,Be=()=>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(Be(),i),n=r.insertBefore(Be(),i);o=new ze(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},Ae=(t,e,o=t)=>(t._$AI(e,o),t),je={},_e=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}},Ze=(t,e,o)=>{const r=new Map;for(let i=e;i<=o;i++)r.set(t[i],i);return r},Pe=Ue(class extends We{constructor(t){if(super(t),t.type!==Le)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 l=this.dt??=[],s=[];let c,f,p=0,d=i.length-1,h=0,u=n.length-1;for(;p<=d&&h<=u;)if(null===i[p])p++;else if(null===i[d])d--;else if(l[p]===a[h])s[h]=Ae(i[p],n[h]),p++,h++;else if(l[d]===a[u])s[u]=Ae(i[d],n[u]),d--,u--;else if(l[p]===a[u])s[u]=Ae(i[p],n[u]),Fe(t,s[u+1],i[p]),p++,u--;else if(l[d]===a[h])s[h]=Ae(i[d],n[h]),Fe(t,i[p],i[d]),d--,h++;else if(void 0===c&&(c=Ze(a,h,u),f=Ze(l,p,d)),c.has(l[p]))if(c.has(l[d])){const e=f.get(a[h]),o=void 0!==e?i[e]:null;if(null===o){const e=Fe(t,i[p]);Ae(e,n[h]),s[h]=e}else s[h]=Ae(o,n[h]),Fe(t,i[p],o),i[e]=null;h++}else _e(i[d]),d--;else _e(i[p]),p++;for(;h<=u;){const e=Fe(t,s[u+1]);Ae(e,n[h]),s[h++]=e}for(;p<=d;){const t=i[p++];null!==t&&_e(t)}return this.dt=a,((t,e=je)=>{t._$AH=e})(t,s),M}});
|
|
116
|
-
/**
|
|
117
|
-
* @license
|
|
118
|
-
* Copyright 2017 Google LLC
|
|
119
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
120
|
-
*/var Ke=Object.freeze({__proto__:null,repeat:Pe});
|
|
121
|
-
/**
|
|
122
|
-
* @license
|
|
123
|
-
* Copyright 2018 Google LLC
|
|
124
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
125
|
-
*/const Me=Ue(class extends We{constructor(t){if(super(t),t.type!==ke||"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 M}});var De=Object.freeze({__proto__:null,classMap:Me});
|
|
126
|
-
/**
|
|
127
|
-
* @license
|
|
128
|
-
* Copyright 2018 Google LLC
|
|
129
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
130
|
-
*/const He="important",Te=" !"+He,Ge=Ue(class extends We{constructor(t){if(super(t),t.type!==ke||"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(Te);t.includes("-")||e?o.setProperty(t,e?r.slice(0,-11):r,e?He:""):o[t]=r}}return M}});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 We{constructor(t){if(super(t),this.et=D,t.type!==Le)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===D||null==t)return this.vt=void 0,this.et=t;if(t===M)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=Ue(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});var oo=Object.freeze({__proto__:null,CacheRegistry:class{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)}}});class ro{constructor(t,e,o,r){this.allResults=t,this.selectedResult=e,this.clusteringMetadata=o,this.metadataDescriptors=r}static extractResultMetadata(t,e){var o,r;let i=(null!==(r=null!==(o=null==t?void 0:t.map)&&void 0!==o?o:null==t?void 0:t.document)&&void 0!==r?r:null==t?void 0:t.topic).metadata.map((t=>ro.flattenMetadata(t)));return null==e?i:i.find((t=>t.key===e))}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,label:t.label,value:e.join(", "),displayValue:o.join(", ")}}{const e=t.values.join(", ");return{key:t.key,label:t.label,value:e,displayValue:e}}}computeClustersItemsForMetadata(t,e,o="No value"){var r,i;let n=ro.extractResultMetadata(this.selectedResult,t),a=null!==(r=null==n?void 0:n.label)&&void 0!==r?r:null===(i=this.getMetadataDescriptor(t))||void 0===i?void 0:i.label;const l=this.allResults.map((e=>ro.extractResultMetadata(e,t))).map((e=>null!=e?e:{key:t,label:a,value:void 0,displayValue:o})).filter((t=>t.value!=(null==n?void 0:n.value))).filter(((t,e,o)=>o.findIndex((e=>e.value===t.value))===e));return l.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){if(null==t)return-1;if(null==e)return 1;let i=this.getMetadataDescriptor(o),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}getMetadataDescriptor(t){return this.metadataDescriptors.find((e=>t==e.key))}findBestResultForMetadataValue(t,e){const o=this.allResults.filter((o=>{var r;return(null===(r=ro.extractResultMetadata(o,t))||void 0===r?void 0:r.value)==e}));let r,i=ro.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 ro.extractResultMetadata(t).filter((t=>e.some((e=>e.key===t.key&&e.value===t.value)))).length}}var io=Object.freeze({__proto__:null,ClusteringHelper:ro});class no{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 ao=Object.freeze({__proto__:null,Debouncer:no});const lo=t=>new Promise((e=>setTimeout(e,t)));async function so(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 co(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 fo(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(!fo(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(!fo(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(!fo(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}var po=Object.freeze({__proto__:null,dateReviver:function(...t){return function(e,o){return t.includes(e)?co(o):o}},deepEqual:fo,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:co,waitFor:so,waitUntil:async function(t,e=10,o=2e4){await so((async()=>await t()||void 0),e,o)}});const ho=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function uo(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)=>!fo(t,e),...null!=e?e:{}})}function go(t){return!isNaN(parseFloat(t))}var yo=Object.freeze({__proto__:null,customElement:ho,isNumber:go,jsonProperty:uo,optionalNumberProperty:function(t){return we({type:Object,converter:{fromAttribute:t=>{if(null!=t)return go(t)?+t:void 0},toAttribute:t=>null==t?void 0:""+t},...null!=t?t:{}})}});const bo=t=>"string"==typeof t?pt(t):t;class mo{static create(t,e,o,r){const i=t=>bo(null!=t?t:r),n=dt`var(${bo(t)}, ${i(r)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=r,n.defaultCssValue=i,n.get=e=>dt`var(${bo(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=dt`var(${bo(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=>dt`var(${bo(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):bo(null!=e?e:t.lastResortDefaultValue()),r=dt`var(${bo(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=>dt`var(${bo(t.name)}, ${o(e)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}function vo(t,e){return bo(`${t.name}: ${e}`)}const xo={colorWhite:mo.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:mo.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:mo.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:mo.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:mo.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:mo.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:mo.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:mo.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:mo.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:mo.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:mo.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:mo.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:mo.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:mo.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:mo.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:mo.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:mo.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:mo.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:mo.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:mo.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:mo.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:mo.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:mo.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:mo.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:mo.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:mo.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:mo.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:mo.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:mo.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:mo.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:mo.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:mo.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:mo.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:mo.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:mo.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:mo.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:mo.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:mo.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:mo.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:mo.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:mo.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:mo.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:mo.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:mo.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:mo.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:mo.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:mo.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:mo.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:mo.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:mo.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:mo.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:mo.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:mo.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:mo.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:mo.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:mo.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:mo.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:mo.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:mo.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:mo.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:mo.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:mo.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:mo.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:mo.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:mo.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:mo.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:mo.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:mo.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:mo.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:mo.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:mo.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:mo.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:mo.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:mo.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:mo.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:mo.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:mo.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:mo.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:mo.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:mo.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:mo.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:mo.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:mo.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:mo.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:mo.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:mo.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:mo.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:mo.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:mo.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:mo.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:mo.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:mo.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:mo.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:mo.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:mo.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:mo.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:mo.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:mo.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:mo.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:mo.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:mo.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:mo.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:mo.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:mo.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:mo.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:mo.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:mo.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:mo.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:mo.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:mo.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:mo.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:mo.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:mo.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:mo.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:mo.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:mo.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:mo.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:mo.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:mo.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:mo.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:mo.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:mo.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:mo.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:mo.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:mo.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:mo.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:mo.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:mo.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:mo.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:mo.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:mo.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:mo.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:mo.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:mo.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:mo.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:mo.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:mo.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:mo.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:mo.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:mo.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:mo.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:mo.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:mo.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:mo.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:mo.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:mo.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:mo.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:mo.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:mo.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:mo.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:mo.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:mo.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:mo.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:mo.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:mo.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:mo.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:mo.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:mo.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:mo.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:mo.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:mo.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:mo.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:mo.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:mo.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:mo.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:mo.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:mo.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:mo.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:mo.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:mo.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:mo.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:mo.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:mo.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:mo.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:mo.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:mo.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:mo.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:mo.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:mo.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:mo.create("--ft-icon-size-6","","SIZE","48px"),opacity0:mo.create("--ft-opacity-0","","NUMBER","0"),opacity8:mo.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:mo.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:mo.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:mo.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:mo.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:mo.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:mo.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:mo.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:mo.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:mo.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:mo.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:mo.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:mo.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:mo.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)")},Oo={fontFamily:mo.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:mo.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:mo.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:mo.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:mo.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:mo.create("--ft-typography-display-textCase","","UNKNOWN","none")},wo={fontFamily:mo.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:mo.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:mo.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:mo.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:mo.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:mo.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},So={fontFamily:mo.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:mo.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:mo.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:mo.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:mo.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:mo.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Co={fontFamily:mo.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:mo.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:mo.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:mo.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:mo.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:mo.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},No={fontFamily:mo.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:mo.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:mo.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:mo.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:mo.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:mo.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Eo={fontFamily:mo.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:mo.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:mo.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:mo.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:mo.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:mo.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},$o={fontFamily:mo.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:mo.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:mo.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:mo.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:mo.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:mo.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Io={fontFamily:mo.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:mo.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:mo.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:mo.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:mo.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:mo.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Ro={fontFamily:mo.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:mo.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:mo.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:mo.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:mo.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:mo.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},ko={fontFamily:mo.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:mo.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:mo.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:mo.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:mo.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:mo.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:mo.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Lo={fontFamily:mo.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:mo.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:mo.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:mo.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:mo.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:mo.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Uo={fontFamily:mo.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:mo.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:mo.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:mo.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:mo.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:mo.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Wo={fontFamily:mo.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:mo.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:mo.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:mo.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:mo.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:mo.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},zo={fontFamily:mo.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:mo.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:mo.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:mo.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:mo.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:mo.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Bo={fontFamily:mo.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:mo.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:mo.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:mo.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:mo.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:mo.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Fo={fontFamily:mo.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:mo.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:mo.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:mo.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:mo.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:mo.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Ao={fontFamily:mo.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:mo.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:mo.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:mo.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:mo.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:mo.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},jo={fontFamily:mo.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:mo.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:mo.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:mo.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:mo.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:mo.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},_o={fontFamily:mo.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:mo.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:mo.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:mo.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:mo.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:mo.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Zo={fontFamily:mo.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:mo.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:mo.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:mo.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:mo.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:mo.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Po={fontFamily:mo.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:mo.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:mo.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:mo.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:mo.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:mo.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Ko={fontFamily:mo.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:mo.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:mo.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:mo.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:mo.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:mo.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Mo={fontFamily:mo.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:mo.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:mo.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:mo.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:mo.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:mo.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Do={fontFamily:mo.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:mo.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:mo.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:mo.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:mo.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:mo.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Ho={fontFamily:mo.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:mo.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:mo.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:mo.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:mo.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:mo.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},To={fontFamily:mo.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:mo.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:mo.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:mo.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:mo.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:mo.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:mo.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:mo.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:mo.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Go={display:Oo,"title-1":wo,"title-2":So,"title-3":Co,"body-1-regular":No,"body-1-medium":Eo,"body-1-semibold":$o,"body-2-regular":Io,"body-2-medium":Ro,"body-2-medium-underline":ko,"body-2-semibold":Lo,"label-1-medium":Uo,"label-1-semibold":Wo,"label-1-bold":zo,"label-2-medium":Bo,"label-2-semibold":Fo,"label-2-bold":Ao,"caption-1-medium":jo,"caption-1-semibold":_o,"caption-1-bold":Zo,"caption-2-medium":Po,"caption-2-semibold":Ko,"caption-2-bold":Mo,"caption-3-medium":Do,"caption-3-semibold":Ho,"caption-3-bold":To},Vo={backgroundActionPrimary:mo.extend("--ft-background-action-primary","Used as backgorund of primary action components.",xo.colorBrand0),backgroundErrorSubtle:mo.extend("--ft-background-error-subtle","Used as background of subtle error components.",xo.colorRed10),backgroundInfoSubtle:mo.extend("--ft-background-info-subtle","Used as background of subtle information components.",xo.colorCyan10),backgroundWarningSubtle:mo.extend("--ft-background-warning-subtle","Used as background of subtle information components.",xo.colorOrange10),backgroundSuccessSubtle:mo.extend("--ft-background-success-subtle","Used as background of subtle success components.",xo.colorGreen10),backgroundGlobalSurface:mo.extend("--ft-background-global-surface","Used as app background.",xo.colorWhite),backgroundGlobalOnSurface:mo.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",xo.colorGray10),backgroundGlobalOnSurfaceDark:mo.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",xo.colorGray30),contentActionPrimary:mo.extend("--ft-content-action-primary","Used on label of primary action on light surface.",xo.colorBrand0),contentWarningPrimary:mo.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",xo.colorOrange200),contentWarningIconOnly:mo.extend("--ft-content-warning-icon-only","Used on warning status icons alone",xo.colorOrange0),contentErrorPrimary:mo.extend("--ft-content-error-primary","Used on label of error messages on light surface.",xo.colorRed0),contentErrorIconOnly:mo.extend("--ft-content-error-icon-only","Used on error status icons alone",xo.colorRed70),contentInfoPrimary:mo.extend("--ft-content-info-primary","Used on label of information messages on light surface.",xo.colorCyan200),contentInfoIconOnly:mo.extend("--ft-content-info-icon-only","Used on info status icons alone",xo.colorCyan0),contentSuccessPrimary:mo.extend("--ft-content-success-primary","Used on label of success messages on light surface.",xo.colorGreen200),contentSuccessIconOnly:mo.extend("--ft-content-success-icon-only","Used on success status icons alone",xo.colorGreen0),contentGlobalPrimary:mo.extend("--ft-content-global-primary","Used for main content on the page.",xo.colorGray500),contentGlobalSecondary:mo.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",xo.colorGray200),contentGlobalSubtle:mo.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",xo.colorGray0),contentGlobalOnColor:mo.extend("--ft-content-global-on-color","Used for content on a dominant color.",xo.colorWhite),borderActionPrimary:mo.extend("--ft-border-action-primary","Used as border for primary action components.",xo.colorBrand0),borderActionFocusRing:mo.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",xo.colorCyan0),borderWarningPrimary:mo.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",xo.colorOrange200),borderWarningSubtle:mo.extend("--ft-border-warning-subtle","Used as border for warning components.",xo.colorOrange30),borderSuccessPrimary:mo.extend("--ft-border-success-primary","Used as border for success buttons.",xo.colorGreen200),borderSuccessSubtle:mo.extend("--ft-border-success-subtle","Used as border for success components.",xo.colorGreen30),borderErrorPrimary:mo.extend("--ft-border-error-primary","Used as border for text fields in error states.",xo.colorRed0),borderErrorSubtle:mo.extend("--ft-border-error-subtle","Used as border for error components.",xo.colorRed30),borderInfoPrimary:mo.extend("--ft-border-info-primary","Used as border for buttons in info color.",xo.colorCyan200),borderInfoSubtle:mo.extend("--ft-border-info-subtle","Used as border for information components.",xo.colorCyan30),borderGlobalPrimary:mo.extend("--ft-border-global-primary","Used as border for element like input.",xo.colorGray50),borderGlobalSubtle:mo.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",xo.colorGray30),borderInputPrimary:mo.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",xo.colorGray80)},qo={largeHeight:mo.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:mo.extend("--ft-button-large-horizontal-padding","",xo.spacing4),largeGap:mo.extend("--ft-button-large-gap","",xo.spacing2),largeBorderRadius:mo.extend("--ft-button-large-border-radius","",xo.borderRadiusS),largeIconSize:mo.extend("--ft-button-large-icon-size","",xo.iconSize3),largeBorderWidth:mo.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:mo.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:mo.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:mo.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:mo.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:mo.extend("--ft-button-small-horizontal-padding","",xo.spacing3),smallGap:mo.extend("--ft-button-small-gap","",xo.spacing2),smallBorderRadius:mo.extend("--ft-button-small-border-radius","",xo.borderRadiusS),smallIconSize:mo.extend("--ft-button-small-icon-size","",xo.iconSize2),smallBorderWidth:mo.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:mo.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:mo.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:mo.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:mo.extend("--ft-button-primary-background-color","",Vo.backgroundActionPrimary),primaryColor:mo.extend("--ft-button-primary-color","",Vo.contentGlobalOnColor),primaryIconColor:mo.extend("--ft-button-primary-icon-color","",Vo.contentGlobalOnColor),primaryStateLayerColor:mo.extend("--ft-button-primary-state-layer-color","",Vo.contentGlobalOnColor),primaryHoverStateLayerOpacity:mo.extend("--ft-button-primary-hover-state-layer-opacity","",xo.opacity16),primaryFocusStateLayerOpacity:mo.extend("--ft-button-primary-focus-state-layer-opacity","",xo.opacity16),primaryActiveStateLayerOpacity:mo.extend("--ft-button-primary-active-state-layer-opacity","",xo.opacity24),primaryDisabledComponentOpacity:mo.extend("--ft-button-primary-disabled-component-opacity","",xo.opacity40),focusFocusRingColor:mo.extend("--ft-button-focus-focus-ring-color","",Vo.borderActionFocusRing),tertiaryBackgroundColor:mo.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:mo.extend("--ft-button-tertiary-color","",Vo.contentActionPrimary),tertiaryIconColor:mo.extend("--ft-button-tertiary-icon-color","",Vo.contentActionPrimary),tertiaryStateLayerColor:mo.extend("--ft-button-tertiary-state-layer-color","",Vo.contentActionPrimary),tertiaryHoverStateLayerOpacity:mo.extend("--ft-button-tertiary-hover-state-layer-opacity","",xo.opacity8),tertiaryFocusStateLayerOpacity:mo.extend("--ft-button-tertiary-focus-state-layer-opacity","",xo.opacity8),tertiaryActiveStateLayerOpacity:mo.extend("--ft-button-tertiary-active-state-layer-opacity","",xo.opacity16),tertiaryDisabledComponentOpacity:mo.extend("--ft-button-tertiary-disabled-component-opacity","",xo.opacity40),secondaryBackgroundColor:mo.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:mo.extend("--ft-button-secondary-color","",Vo.contentActionPrimary),secondaryIconColor:mo.extend("--ft-button-secondary-icon-color","",Vo.contentActionPrimary),secondaryStateLayerColor:mo.extend("--ft-button-secondary-state-layer-color","",Vo.contentActionPrimary),secondaryHoverStateLayerOpacity:mo.extend("--ft-button-secondary-hover-state-layer-opacity","",xo.opacity8),secondaryFocusStateLayerOpacity:mo.extend("--ft-button-secondary-focus-state-layer-opacity","",xo.opacity8),secondaryActiveStateLayerOpacity:mo.extend("--ft-button-secondary-active-state-layer-opacity","",xo.opacity16),secondaryDisabledComponentOpacity:mo.extend("--ft-button-secondary-disabled-component-opacity","",xo.opacity40),secondaryBorderColor:mo.extend("--ft-button-secondary-border-color","",Vo.borderActionPrimary),neutralBackgroundColor:mo.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:mo.extend("--ft-button-neutral-icon-color","",Vo.contentGlobalSecondary),neutralColor:mo.extend("--ft-button-neutral-color","",Vo.contentGlobalSecondary),neutralStateLayerColor:mo.extend("--ft-button-neutral-state-layer-color","",Vo.contentGlobalSecondary),neutralHoverStateLayerOpacity:mo.extend("--ft-button-neutral-hover-state-layer-opacity","",xo.opacity8),neutralFocusStateLayerOpacity:mo.extend("--ft-button-neutral-focus-state-layer-opacity","",xo.opacity8),neutralActiveStateLayerOpacity:mo.extend("--ft-button-neutral-active-state-layer-opacity","",xo.opacity16),neutralDisabledComponentOpacity:mo.extend("--ft-button-neutral-disabled-component-opacity","",xo.opacity40)},Yo={iconSize:mo.extend("--ft-banner-icon-size","",xo.iconSize5),borderWidth:mo.create("--ft-banner-border-width","","SIZE","1px"),horizontalPadding:mo.extend("--ft-banner-horizontal-padding","",xo.spacing6),verticalPadding:mo.extend("--ft-banner-vertical-padding","",xo.spacing6),horizontalSideGap:mo.extend("--ft-banner-horizontal-side-gap","",xo.spacing6),horizontalMobileGap:mo.extend("--ft-banner-horizontal-mobile-gap","",xo.spacing4),verticalMobileGap:mo.extend("--ft-banner-vertical-mobile-gap","",xo.spacing6),horizontalMiddleGap:mo.extend("--ft-banner-horizontal-middle-gap","",xo.spacing20),infoBackgroundColor:mo.extend("--ft-banner-info-background-color","",Vo.backgroundInfoSubtle),infoColor:mo.extend("--ft-banner-info-color","",Vo.contentInfoPrimary),infoIconColor:mo.extend("--ft-banner-info-icon-color","",Vo.contentInfoIconOnly)},Jo={horizontalGap:mo.extend("--ft-breadcrumb-horizontal-gap","",xo.spacing1),verticalGap:mo.extend("--ft-breadcrumb-vertical-gap","",xo.spacing2),currentElementColor:mo.extend("--ft-breadcrumb-current-element-color","",Vo.contentGlobalPrimary),iconColor:mo.extend("--ft-breadcrumb-icon-color","",Vo.contentGlobalSubtle)},Xo={horizontalPadding:mo.extend("--ft-page-header-horizontal-padding","",xo.spacing12),horizontalGap:mo.extend("--ft-page-header-horizontal-gap","",xo.spacing4),verticalGap:mo.extend("--ft-page-header-vertical-gap","",xo.spacing2),classicVerticalPadding:mo.extend("--ft-page-header-classic-vertical-padding","",xo.spacing6),multilineVerticalPadding:mo.extend("--ft-page-header-multiline-vertical-padding","",xo.spacing4),inlineVerticalPadding:mo.extend("--ft-page-header-inline-vertical-padding","",xo.spacing2),backgroundColor:mo.extend("--ft-page-header-background-color","",xo.colorWhite),bottomBorderColor:mo.extend("--ft-page-header-bottom-border-color","",Vo.borderGlobalSubtle),titleColor:mo.extend("--ft-page-header-title-color","",Vo.contentGlobalPrimary),subtitleColor:mo.extend("--ft-page-header-subtitle-color","",Vo.contentGlobalSecondary)},Qo={smallContainerWidth:mo.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:mo.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:mo.extend("--ft-modal-overlay-background-color","",xo.colorGray700),overlayOpacity:mo.extend("--ft-modal-overlay-opacity","",xo.opacity40),shadow:mo.extend("--ft-modal-shadow","",xo.shadowElevation03),bodyBackgroundColor:mo.extend("--ft-modal-body-background-color","",xo.colorWhite),bodyColor:mo.extend("--ft-modal-body-color","",Vo.contentGlobalPrimary),bodyHorizontalPadding:mo.extend("--ft-modal-body-horizontal-padding","",xo.spacing6),bodyVerticalPadding:mo.extend("--ft-modal-body-vertical-padding","",xo.spacing6),bodyVerticalGap:mo.extend("--ft-modal-body-vertical-gap","",xo.spacing6),containerMargin:mo.extend("--ft-modal-container-margin","",xo.spacing3),headerBackgroundColor:mo.extend("--ft-modal-header-background-color","",Vo.backgroundGlobalOnSurface),headerBorderColor:mo.extend("--ft-modal-header-border-color","",Vo.borderGlobalSubtle),headerColor:mo.extend("--ft-modal-header-color","",Vo.contentGlobalPrimary),headerTrailingIconColor:mo.extend("--ft-modal-header-trailing-icon-color","",Vo.contentGlobalSecondary),headerVerticalPadding:mo.extend("--ft-modal-header-vertical-padding","",xo.spacing1),headerRightPadding:mo.extend("--ft-modal-header-right-padding","",xo.spacing1),headerLeftPadding:mo.extend("--ft-modal-header-left-padding","",xo.spacing6),headerGap:mo.extend("--ft-modal-header-gap","",xo.spacing2),headerBorderBottom:mo.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:mo.extend("--ft-modal-border-radius","",xo.borderRadiusM)},tr={overlayOpacity:mo.extend("--ft-drawer-overlay-opacity","",xo.opacity40),shadow:mo.extend("--ft-drawer-shadow","",xo.shadowElevation03),bodyColor:mo.extend("--ft-drawer-body-color","",Vo.contentGlobalPrimary),bodyHorizontalPadding:mo.extend("--ft-drawer-body-horizontal-padding","",xo.spacing6),bodyVerticalPadding:mo.extend("--ft-drawer-body-vertical-padding","",xo.spacing6),bodyGap:mo.extend("--ft-drawer-body-gap","",xo.spacing6),bodyBackgroundColor:mo.extend("--ft-drawer-body-background-color","",xo.colorWhite),headerBackgroundColor:mo.extend("--ft-drawer-header-background-color","",Vo.backgroundGlobalOnSurface),headerBorderColor:mo.extend("--ft-drawer-header-border-color","",Vo.borderGlobalSubtle),headerColor:mo.extend("--ft-drawer-header-color","",Vo.contentGlobalPrimary),headerTrailingIconColor:mo.extend("--ft-drawer-header-trailing-icon-color","",Vo.contentGlobalSecondary),headerHeight:mo.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:mo.extend("--ft-drawer-header-horizontal-padding","",xo.spacing2),headerBorderWidth:mo.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:mo.extend("--ft-drawer-header-gap","",xo.spacing3),buttonsBarBackgroundColor:mo.extend("--ft-drawer-buttons-bar-background-color","",Vo.backgroundGlobalOnSurface),buttonsBarBorderColor:mo.extend("--ft-drawer-buttons-bar-border-color","",Vo.borderGlobalSubtle),buttonsBarColor:mo.extend("--ft-drawer-buttons-bar-color","",Vo.contentGlobalPrimary),buttonsBarHorizontalPadding:mo.extend("--ft-drawer-buttons-bar-horizontal-padding","",xo.spacing4),buttonsBarVerticalPadding:mo.extend("--ft-drawer-buttons-bar-vertical-padding","",xo.spacing4),buttonsBarGap:mo.extend("--ft-drawer-buttons-bar-gap","",xo.spacing3),buttonsBarBorderWidth:mo.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:mo.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:mo.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:mo.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:mo.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:mo.extend("--ft-drawer-overlay-background-color","",xo.colorGray700)},er={fieldHorizontalPadding:mo.extend("--ft-text-input-field-horizontal-padding","",xo.spacing4),fieldHorizontalGap:mo.extend("--ft-text-input-field-horizontal-gap","",xo.spacing3),fieldVerticalGap:mo.extend("--ft-text-input-field-vertical-gap","",xo.spacing05),fieldIconSize:mo.extend("--ft-text-input-field-icon-size","",xo.iconSize3),fieldHeight:mo.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:mo.extend("--ft-text-input-helper-horizontal-padding","",xo.spacing4),helperHorizontalGap:mo.extend("--ft-text-input-helper-horizontal-gap","",xo.spacing1),helperIconSize:mo.extend("--ft-text-input-helper-icon-size","",xo.iconSize2),borderRadius:mo.extend("--ft-text-input-border-radius","",xo.borderRadiusM),backgroundColor:mo.extend("--ft-text-input-background-color","",xo.colorWhite),contentValueColor:mo.extend("--ft-text-input-content-value-color","",Vo.contentGlobalPrimary),trailingIconColor:mo.extend("--ft-text-input-trailing-icon-color","",Vo.contentGlobalSubtle),labelColor:mo.extend("--ft-text-input-label-color","",Vo.contentGlobalSubtle),defaultBorderColor:mo.extend("--ft-text-input-default-border-color","",Vo.borderInputPrimary),defaultHelperTextColor:mo.extend("--ft-text-input-default-helper-text-color","",Vo.contentGlobalSubtle),defaultBorderWidth:mo.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:mo.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:mo.extend("--ft-text-input-error-border-color","",Vo.borderErrorPrimary),errorHelperTextColor:mo.extend("--ft-text-input-error-helper-text-color","",Vo.contentErrorPrimary),errorHelperIconColor:mo.extend("--ft-text-input-error-helper-icon-color","",Vo.contentErrorIconOnly),warningBorderWidth:mo.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:mo.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:mo.extend("--ft-text-input-focus-focus-ring-color","",Vo.borderActionFocusRing),focusOutlineOffset:mo.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:mo.extend("--ft-text-input-disabled-component-opacity","",xo.opacity40)},or={backgroundColor:mo.extend("--ft-text-area-background-color","",xo.colorWhite),contentValueColor:mo.extend("--ft-text-area-content-value-color","",Vo.contentGlobalPrimary),labelColor:mo.extend("--ft-text-area-label-color","",Vo.contentGlobalSubtle),defaultBorderColor:mo.extend("--ft-text-area-default-border-color","",Vo.borderInputPrimary),defaultHelperTextColor:mo.extend("--ft-text-area-default-helper-text-color","",Vo.contentGlobalSubtle),defaultBorderWidth:mo.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:mo.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:mo.extend("--ft-text-area-error-border-color","",Vo.borderErrorPrimary),errorHelperTextColor:mo.extend("--ft-text-area-error-helper-text-color","",Vo.contentErrorPrimary),errorHelperIconColor:mo.extend("--ft-text-area-error-helper-icon-color","",Vo.contentErrorIconOnly),focusFocusRingColor:mo.extend("--ft-text-area-focus-focus-ring-color","",Vo.borderActionFocusRing),focusOutlineWidth:mo.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:mo.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:mo.extend("--ft-text-area-disabled-component-opacity","",xo.opacity40),fieldHorizontalLeftPadding:mo.extend("--ft-text-area-field-horizontal-left-padding","",xo.spacing4),fieldHorizontalGap:mo.extend("--ft-text-area-field-horizontal-gap","",xo.spacing3),fieldVerticalGap:mo.extend("--ft-text-area-field-vertical-gap","",xo.spacing05),fieldMinHeight:mo.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:mo.extend("--ft-text-area-helper-horizontal-padding","",xo.spacing4),helperHorizontalGap:mo.extend("--ft-text-area-helper-horizontal-gap","",xo.spacing1),helperIconSize:mo.extend("--ft-text-area-helper-icon-size","",xo.iconSize2),borderRadius:mo.extend("--ft-text-area-border-radius","",xo.borderRadiusM)},rr={height:mo.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:mo.extend("--ft-floating-menu-horizontal-padding","",xo.spacing4),offIconColor:mo.extend("--ft-floating-menu-off-icon-color","",Vo.contentGlobalPrimary),offColor:mo.extend("--ft-floating-menu-off-color","",Vo.contentGlobalPrimary),onColor:mo.extend("--ft-floating-menu-on-color","",Vo.contentActionPrimary),onStateLayerColor:mo.extend("--ft-floating-menu-on-state-layer-color","",Vo.contentActionPrimary),gap:mo.extend("--ft-floating-menu-gap","",xo.spacing3),focusFocusRingColor:mo.extend("--ft-floating-menu-focus-focus-ring-color","",Vo.borderActionFocusRing),focusOutlineWidth:mo.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:mo.extend("--ft-floating-menu-focus-state-layer-opacity","",xo.opacity8),hoverStateLayerOpacity:mo.extend("--ft-floating-menu-hover-state-layer-opacity","",xo.opacity8),activeStateLayerOpacity:mo.extend("--ft-floating-menu-active-state-layer-opacity","",xo.opacity16),disabledComponentOpacity:mo.extend("--ft-floating-menu-disabled-component-opacity","",xo.opacity40),iconSize:mo.extend("--ft-floating-menu-icon-size","",xo.iconSize3),backgroundColor:mo.extend("--ft-floating-menu-background-color","",Vo.backgroundGlobalOnSurface)},ir={fieldHorizontalPadding:mo.extend("--ft-combobox-single-select-field-horizontal-padding","",xo.spacing4),fieldHorizontalGap:mo.extend("--ft-combobox-single-select-field-horizontal-gap","",xo.spacing3),fieldVerticalGap:mo.extend("--ft-combobox-single-select-field-vertical-gap","",xo.spacing05),fieldIconSize:mo.extend("--ft-combobox-single-select-field-icon-size","",xo.iconSize3),fieldHeight:mo.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:mo.extend("--ft-combobox-single-select-helper-horizontal-padding","",xo.spacing4),helperHorizontalGap:mo.extend("--ft-combobox-single-select-helper-horizontal-gap","",xo.spacing1),helperVerticalGap:mo.extend("--ft-combobox-single-select-helper-vertical-gap","",xo.spacing1),helperIconSize:mo.extend("--ft-combobox-single-select-helper-icon-size","",xo.iconSize2),menuVerticalGap:mo.extend("--ft-combobox-single-select-menu-vertical-gap","",xo.spacing2),borderRadius:mo.extend("--ft-combobox-single-select-border-radius","",xo.borderRadiusM),backgroundColor:mo.extend("--ft-combobox-single-select-background-color","",xo.colorWhite),labelColor:mo.extend("--ft-combobox-single-select-label-color","",Vo.contentGlobalSubtle),contentValueColor:mo.extend("--ft-combobox-single-select-content-value-color","",Vo.contentGlobalPrimary),trailingIconColor:mo.extend("--ft-combobox-single-select-trailing-icon-color","",Vo.contentGlobalSubtle),defaultBorderColor:mo.extend("--ft-combobox-single-select-default-border-color","",Vo.borderInputPrimary),defaultHelperTextColor:mo.extend("--ft-combobox-single-select-default-helper-text-color","",Vo.contentGlobalSubtle),defaultBorderWidth:mo.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:mo.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:mo.extend("--ft-combobox-single-select-error-border-color","",Vo.borderErrorPrimary),errorHelperTextColor:mo.extend("--ft-combobox-single-select-error-helper-text-color","",Vo.contentErrorPrimary),warningBorderWidth:mo.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:mo.extend("--ft-combobox-single-select-warning-border-color","",Vo.borderWarningPrimary),warningHelperTextColor:mo.extend("--ft-combobox-single-select-warning-helper-text-color","",Vo.contentWarningPrimary),warningHelperIconColor:mo.extend("--ft-combobox-single-select-warning-helper-icon-color","",Vo.contentWarningIconOnly),focusOutlineWidth:mo.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:mo.extend("--ft-combobox-single-select-focus-focus-ring-color","",Vo.borderActionFocusRing),focusOutlineOffset:mo.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:mo.extend("--ft-combobox-single-select-disabled-component-opacity","",xo.opacity40)},nr={backgroundColor:mo.extend("--ft-combobox-multi-select-background-color","",xo.colorWhite),labelColor:mo.extend("--ft-combobox-multi-select-label-color","",Vo.contentGlobalSubtle),trailingIconColor:mo.extend("--ft-combobox-multi-select-trailing-icon-color","",Vo.contentGlobalSubtle),defaultBorderColor:mo.extend("--ft-combobox-multi-select-default-border-color","",Vo.borderInputPrimary),defaultHelperTextColor:mo.extend("--ft-combobox-multi-select-default-helper-text-color","",Vo.contentGlobalSubtle),defaultBorderWidth:mo.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:mo.extend("--ft-combobox-multi-select-error-border-color","",Vo.borderErrorPrimary),errorHelperTextColor:mo.extend("--ft-combobox-multi-select-error-helper-text-color","",Vo.contentErrorPrimary),errorHelperIcon:mo.extend("--ft-combobox-multi-select-error-helper-icon","",Vo.contentErrorIconOnly),errorBorderWidth:mo.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:mo.extend("--ft-combobox-multi-select-warning-border-color","",Vo.borderWarningPrimary),warningHelperTextColor:mo.extend("--ft-combobox-multi-select-warning-helper-text-color","",Vo.contentWarningPrimary),warningHelperIconColor:mo.extend("--ft-combobox-multi-select-warning-helper-icon-color","",Vo.contentWarningIconOnly),warningBorderWidth:mo.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:mo.extend("--ft-combobox-multi-select-focus-focus-ring-color","",Vo.borderActionFocusRing),focusOutlineWidth:mo.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:mo.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:mo.extend("--ft-combobox-multi-select-disabled-component-opacity","",xo.opacity40),helperHorizontalPadding:mo.extend("--ft-combobox-multi-select-helper-horizontal-padding","",xo.spacing4),helperHorizontalGap:mo.extend("--ft-combobox-multi-select-helper-horizontal-gap","",xo.spacing1),helperVerticalGap:mo.extend("--ft-combobox-multi-select-helper-vertical-gap","",xo.spacing1),helperIconSize:mo.extend("--ft-combobox-multi-select-helper-icon-size","",xo.iconSize2),fieldHorizontalPadding:mo.extend("--ft-combobox-multi-select-field-horizontal-padding","",xo.spacing4),fieldHorizontalGap:mo.extend("--ft-combobox-multi-select-field-horizontal-gap","",xo.spacing3),fieldVerticalGap:mo.extend("--ft-combobox-multi-select-field-vertical-gap","",xo.spacing05),fieldIconSize:mo.extend("--ft-combobox-multi-select-field-icon-size","",xo.iconSize3),fieldMaxHeight:mo.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:mo.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",xo.spacing1),contentValuesVerticalGap:mo.extend("--ft-combobox-multi-select-content-values-vertical-gap","",xo.spacing1),borderRadius:mo.extend("--ft-combobox-multi-select-border-radius","",xo.borderRadiusM)},ar={backgroundColor:mo.extend("--ft-popover-background-color","",Vo.backgroundGlobalOnSurface),horizontalPadding:mo.extend("--ft-popover-horizontal-padding","",xo.spacing6),verticalPadding:mo.extend("--ft-popover-vertical-padding","",xo.spacing6),iconColor:mo.extend("--ft-popover-icon-color","",Vo.contentGlobalSecondary),iconSize:mo.extend("--ft-popover-icon-size","",xo.iconSize2),titleColor:mo.extend("--ft-popover-title-color","",Vo.contentGlobalPrimary),bodyColor:mo.extend("--ft-popover-body-color","",Vo.contentGlobalSecondary),linkColor:mo.extend("--ft-popover-link-color","",Vo.contentActionPrimary),gap:mo.extend("--ft-popover-gap","",xo.spacing3),borderRadius:mo.extend("--ft-popover-border-radius","",xo.borderRadiusM),shadow:mo.extend("--ft-popover-shadow","",xo.shadowElevation02)},lr={topLeftBorderRadius:mo.extend("--ft-tabs-top-left-border-radius","",xo.borderRadiusS),topRightBorderRadius:mo.extend("--ft-tabs-top-right-border-radius","",xo.borderRadiusS),labelHorizontalPadding:mo.extend("--ft-tabs-label-horizontal-padding","",xo.spacing4),labelVerticalPadding:mo.extend("--ft-tabs-label-vertical-padding","",xo.spacing3),labelGap:mo.extend("--ft-tabs-label-gap","",xo.spacing1),offHoverStateLayerOpacity:mo.extend("--ft-tabs-off-hover-state-layer-opacity","",xo.opacity8),offFocusStateLayerOpacity:mo.extend("--ft-tabs-off-focus-state-layer-opacity","",xo.opacity8),offActiveStateLayerOpacity:mo.extend("--ft-tabs-off-active-state-layer-opacity","",xo.opacity16),offDisabledComponentOpacity:mo.extend("--ft-tabs-off-disabled-component-opacity","",xo.opacity40),offColor:mo.extend("--ft-tabs-off-color","",Vo.contentGlobalSubtle),offStateLayerColor:mo.extend("--ft-tabs-off-state-layer-color","",Vo.contentGlobalSubtle),onHoverStateLayerOpacity:mo.extend("--ft-tabs-on-hover-state-layer-opacity","",xo.opacity8),onFocusStateLayerOpacity:mo.extend("--ft-tabs-on-focus-state-layer-opacity","",xo.opacity8),onActiveStateLayerOpacity:mo.extend("--ft-tabs-on-active-state-layer-opacity","",xo.opacity16),onDisabledComponentOpacity:mo.extend("--ft-tabs-on-disabled-component-opacity","",xo.opacity40),onColor:mo.extend("--ft-tabs-on-color","",Vo.contentActionPrimary),onStateLayerColor:mo.extend("--ft-tabs-on-state-layer-color","",Vo.contentActionPrimary),iconHorizontalPadding:mo.extend("--ft-tabs-icon-horizontal-padding","",xo.spacing1),iconVerticalPadding:mo.extend("--ft-tabs-icon-vertical-padding","",xo.spacing4),focusOutlineWidth:mo.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:mo.extend("--ft-tabs-focus-focus-ring-color","",Vo.borderActionFocusRing)},sr={hoverStateLayerOpacity:mo.extend("--ft-collapsible-hover-state-layer-opacity","",xo.opacity8),focusStateLayerOpacity:mo.extend("--ft-collapsible-focus-state-layer-opacity","",xo.opacity8),focusOutlineWidth:mo.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:mo.extend("--ft-collapsible-focus-focus-ring-color","",Vo.borderActionFocusRing),activeStateLayerOpacity:mo.extend("--ft-collapsible-active-state-layer-opacity","",xo.opacity16),disabledComponentOpacity:mo.extend("--ft-collapsible-disabled-component-opacity","",xo.opacity40),horizontalPadding:mo.extend("--ft-collapsible-horizontal-padding","",xo.spacing4),verticalPadding:mo.extend("--ft-collapsible-vertical-padding","",xo.spacing3),color:mo.extend("--ft-collapsible-color","",Vo.contentGlobalPrimary),stateLayerColor:mo.extend("--ft-collapsible-state-layer-color","",Vo.contentGlobalPrimary),backgroundColor:mo.extend("--ft-collapsible-background-color","",Vo.backgroundGlobalOnSurface),borderColor:mo.extend("--ft-collapsible-border-color","",Vo.borderGlobalSubtle),iconSize:mo.extend("--ft-collapsible-icon-size","",xo.iconSize3)},cr={groupHorizontalPadding:mo.extend("--ft-switch-group-horizontal-padding","",xo.spacing1),groupVerticalPadding:mo.extend("--ft-switch-group-vertical-padding","",xo.spacing1),groupGap:mo.extend("--ft-switch-group-gap","",xo.spacing1),groupBackgroundColor:mo.extend("--ft-switch-group-background-color","",Vo.backgroundGlobalSurface),groupBorderColor:mo.extend("--ft-switch-group-border-color","",Vo.borderGlobalSubtle),groupBorderRadius:mo.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:mo.extend("--ft-switch-label-horizontal-padding","",xo.spacing2),labelVerticalPadding:mo.extend("--ft-switch-label-vertical-padding","",xo.spacing1),offHoverStateLayerOpacity:mo.extend("--ft-switch-off-hover-state-layer-opacity","",xo.opacity8),offFocusStateLayerOpacity:mo.extend("--ft-switch-off-focus-state-layer-opacity","",xo.opacity8),offActiveStateLayerOpacity:mo.extend("--ft-switch-off-active-state-layer-opacity","",xo.opacity16),offDisabledComponentOpacity:mo.extend("--ft-switch-off-disabled-component-opacity","",xo.opacity40),offColor:mo.extend("--ft-switch-off-color","",Vo.contentGlobalSubtle),offStateLayerColor:mo.extend("--ft-switch-off-state-layer-color","",Vo.contentGlobalSubtle),onHoverStateLayerOpacity:mo.extend("--ft-switch-on-hover-state-layer-opacity","",xo.opacity8),onFocusStateLayerOpacity:mo.extend("--ft-switch-on-focus-state-layer-opacity","",xo.opacity8),onActiveStateLayerOpacity:mo.extend("--ft-switch-on-active-state-layer-opacity","",xo.opacity16),onDisabledComponentOpacity:mo.extend("--ft-switch-on-disabled-component-opacity","",xo.opacity40),onColor:mo.extend("--ft-switch-on-color","",Vo.contentActionPrimary),onStateLayerColor:mo.extend("--ft-switch-on-state-layer-color","",Vo.contentActionPrimary),iconHorizontalPadding:mo.extend("--ft-switch-icon-horizontal-padding","",xo.spacing1),iconVerticalPadding:mo.extend("--ft-switch-icon-vertical-padding","",xo.spacing1),focusOutlineWidth:mo.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:mo.extend("--ft-switch-focus-focus-ring-color","",Vo.borderActionFocusRing),optionBorderRadius:mo.extend("--ft-switch-option-border-radius","",xo.borderRadiusS)},fr={color1Light:mo.extend("--ft-chart-1-light","for area color charts",xo.colorBrand40),color1Base:mo.extend("--ft-chart-1-base","for line charts",xo.colorBrand0),color2Light:mo.extend("--ft-chart-2-light","for area color charts",xo.colorYellow60),color2Base:mo.extend("--ft-chart-2-base","for line charts",xo.colorYellow100),color3Light:mo.extend("--ft-chart-3-light","",xo.colorUltramarine40),color3Base:mo.extend("--ft-chart-3-base","",xo.colorUltramarine70),color4Light:mo.extend("--ft-chart-4-light","",xo.colorCyan50),color4Base:mo.extend("--ft-chart-4-base","",xo.colorCyan100),color5Light:mo.extend("--ft-chart-5-light","",xo.colorRed40),color5Base:mo.extend("--ft-chart-5-base","",xo.colorRed60),color6Light:mo.extend("--ft-chart-6-light","",xo.colorGreen40),color6Base:mo.extend("--ft-chart-6-base","",xo.colorGreen70),color7Light:mo.extend("--ft-chart-7-light","",xo.colorOrange70),color7Base:mo.extend("--ft-chart-7-base","",xo.colorOrange100),color8Light:mo.extend("--ft-chart-8-light","",xo.colorAvocado70),color8Base:mo.extend("--ft-chart-8-base","",xo.colorAvocado200),color9Light:mo.extend("--ft-chart-9-light","",xo.colorBrown50),color9Base:mo.extend("--ft-chart-9-base","",xo.colorBrown200),color10Light:mo.extend("--ft-chart-10-light","",xo.colorGray50),color10Base:mo.extend("--ft-chart-10-base","",xo.colorGray80),monochrome10:mo.extend("--ft-chart-monochrome-10","",xo.colorBrand10),monochrome20:mo.extend("--ft-chart-monochrome-20","",xo.colorBrand20),monochrome30:mo.extend("--ft-chart-monochrome-30","",xo.colorBrand40),monochrome40:mo.extend("--ft-chart-monochrome-40","",xo.colorBrand60),monochrome50:mo.extend("--ft-chart-monochrome-50","",xo.colorBrand0),monochrome60:mo.extend("--ft-chart-monochrome-60","",xo.colorBrand200)},pr={largeHorizontalPadding:mo.extend("--ft-chip-large-horizontal-padding","",xo.spacing4),largeVerticalPadding:mo.extend("--ft-chip-large-vertical-padding","",xo.spacing2),largeGap:mo.extend("--ft-chip-large-gap","",xo.spacing1),largeFocusOutlineOffset:mo.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:mo.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:mo.extend("--ft-chip-large-border-radius","",xo.borderRadiusPill),largeBorderWidth:mo.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:mo.extend("--ft-chip-large-icon-size","",xo.iconSize3),mediumHorizontalPadding:mo.extend("--ft-chip-medium-horizontal-padding","",xo.spacing3),mediumVerticalPadding:mo.extend("--ft-chip-medium-vertical-padding","",xo.spacing1),mediumGap:mo.extend("--ft-chip-medium-gap","",xo.spacing1),mediumFocusOutlineOffset:mo.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:mo.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:mo.extend("--ft-chip-medium-border-radius","",xo.borderRadiusPill),mediumBorderWidth:mo.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:mo.extend("--ft-chip-medium-icon-size","",xo.iconSize2),smallHorizontalPadding:mo.extend("--ft-chip-small-horizontal-padding","",xo.spacing2),smallVerticalPadding:mo.extend("--ft-chip-small-vertical-padding","",xo.spacing05),smallGap:mo.extend("--ft-chip-small-gap","",xo.spacing1),smallFocusOutlineOffset:mo.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:mo.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:mo.extend("--ft-chip-small-border-radius","",xo.borderRadiusPill),smallBorderWidth:mo.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:mo.extend("--ft-chip-small-icon-size","",xo.iconSize1),neutralBackgroundColor:mo.extend("--ft-chip-neutral-background-color","",Vo.backgroundGlobalOnSurface),neutralColor:mo.extend("--ft-chip-neutral-color","",Vo.contentGlobalPrimary),neutralIconColor:mo.extend("--ft-chip-neutral-icon-color","",Vo.contentGlobalPrimary),neutralBorderColor:mo.extend("--ft-chip-neutral-border-color","",Vo.borderGlobalSubtle),infoBackgroundColor:mo.extend("--ft-chip-info-background-color","",Vo.backgroundInfoSubtle),infoColor:mo.extend("--ft-chip-info-color","",Vo.contentInfoPrimary),infoIconColor:mo.extend("--ft-chip-info-icon-color","",Vo.contentInfoIconOnly),infoBorderColor:mo.extend("--ft-chip-info-border-color","",Vo.borderInfoSubtle),successBackgroundColor:mo.extend("--ft-chip-success-background-color","",Vo.backgroundSuccessSubtle),successColor:mo.extend("--ft-chip-success-color","",Vo.contentSuccessPrimary),successIconColor:mo.extend("--ft-chip-success-icon-color","",Vo.contentSuccessIconOnly),successBorderColor:mo.extend("--ft-chip-success-border-color","",Vo.borderSuccessSubtle),warningBackgroundColor:mo.extend("--ft-chip-warning-background-color","",Vo.backgroundWarningSubtle),warningColor:mo.extend("--ft-chip-warning-color","",Vo.contentWarningPrimary),warningIconColor:mo.extend("--ft-chip-warning-icon-color","",Vo.contentWarningIconOnly),warningBorderColor:mo.extend("--ft-chip-warning-border-color","",Vo.borderWarningSubtle),errorBackgroundColor:mo.extend("--ft-chip-error-background-color","",Vo.backgroundErrorSubtle),errorColor:mo.extend("--ft-chip-error-color","",Vo.contentErrorPrimary),errorIconColor:mo.extend("--ft-chip-error-icon-color","",Vo.contentErrorIconOnly),errorBorderColor:mo.extend("--ft-chip-error-border-color","",Vo.borderErrorSubtle)},dr={infoBorderColor:mo.extend("--ft-border-info-border-color","",Vo.borderInfoSubtle)},hr={borderWidth:mo.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:mo.extend("--ft-notice-horizontal-padding","",xo.spacing2),verticalPadding:mo.extend("--ft-notice-vertical-padding","",xo.spacing1),borderRadius:mo.extend("--ft-notice-border-radius","",xo.borderRadiusS),gap:mo.extend("--ft-notice-gap","",xo.spacing2),iconSize:mo.extend("--ft-notice-icon-size","",xo.iconSize3),infoBackgroundColor:mo.extend("--ft-notice-info-background-color","",Vo.backgroundInfoSubtle),infoBorderColor:mo.extend("--ft-notice-info-border-color","",Vo.borderInfoSubtle),infoColor:mo.extend("--ft-notice-info-color","",Vo.contentInfoPrimary),infoIconColor:mo.extend("--ft-notice-info-icon-color","",Vo.contentInfoIconOnly),warningBackgroundColor:mo.extend("--ft-notice-warning-background-color","",Vo.backgroundWarningSubtle),warningBorderColor:mo.extend("--ft-notice-warning-border-color","",Vo.borderWarningSubtle),warningColor:mo.extend("--ft-notice-warning-color","",Vo.contentWarningPrimary),warningIconColor:mo.extend("--ft-notice-warning-icon-color","",Vo.contentWarningIconOnly),errorBackgroundColor:mo.extend("--ft-notice-error-background-color","",Vo.backgroundErrorSubtle),errorBorderColor:mo.extend("--ft-notice-error-border-color","",Vo.borderErrorSubtle),errorColor:mo.extend("--ft-notice-error-color","",Vo.contentErrorPrimary),errorIconColor:mo.extend("--ft-notice-error-icon-color","",Vo.contentErrorIconOnly),successBackgroundColor:mo.extend("--ft-notice-success-background-color","",Vo.backgroundSuccessSubtle),successBorderColor:mo.extend("--ft-notice-success-border-color","",Vo.borderSuccessSubtle),successColor:mo.extend("--ft-notice-success-color","",Vo.contentSuccessPrimary),successIconColor:mo.extend("--ft-notice-success-icon-color","",Vo.contentSuccessIconOnly)},ur={color:mo.extend("--ft-checkbox-color","",Vo.contentGlobalPrimary),checkedBackgroundColor:mo.extend("--ft-checkbox-checked-background-color","",Vo.contentActionPrimary),checkedStateLayerColor:mo.extend("--ft-checkbox-checked-state-layer-color","",Vo.contentActionPrimary),checkedIconColor:mo.extend("--ft-checkbox-checked-icon-color","",Vo.contentGlobalOnColor),checkedHoverStateLayerOpacity:mo.extend("--ft-checkbox-checked-hover-state-layer-opacity","",xo.opacity16),checkedFocusStateLayerOpacity:mo.extend("--ft-checkbox-checked-focus-state-layer-opacity","",xo.opacity16),checkedActiveStateLayerOpacity:mo.extend("--ft-checkbox-checked-active-state-layer-opacity","",xo.opacity24),checkedDisabledComponentOpacity:mo.extend("--ft-checkbox-checked-disabled-component-opacity","",xo.opacity40),uncheckedBorderColor:mo.extend("--ft-checkbox-unchecked-border-color","",xo.colorGray80),uncheckedStateLayerColor:mo.extend("--ft-checkbox-unchecked-state-layer-color","",xo.colorGray80),uncheckedHoverStateLayerOpacity:mo.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",xo.opacity16),uncheckedFocusStateLayerOpacity:mo.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",xo.opacity16),uncheckedActiveStateLayerOpacity:mo.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",xo.opacity24),uncheckedDisabledComponentOpacity:mo.extend("--ft-checkbox-unchecked-disabled-component-opacity","",xo.opacity40),focusFocusRingColor:mo.extend("--ft-checkbox-focus-focus-ring-color","",Vo.borderActionFocusRing),focusOutlineOffset:mo.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:mo.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:mo.extend("--ft-checkbox-gap","",xo.spacing3)},gr={offHoverStateLayerOpacity:mo.extend("--ft-toggle-off-hover-state-layer-opacity","",xo.opacity16),offFocusStateLayerOpacity:mo.extend("--ft-toggle-off-focus-state-layer-opacity","",xo.opacity16),offActiveStateLayerOpacity:mo.extend("--ft-toggle-off-active-state-layer-opacity","",xo.opacity24),offDisabledComponentOpacity:mo.extend("--ft-toggle-off-disabled-component-opacity","",xo.opacity40),offBackgroundColor:mo.extend("--ft-toggle-off-background-color","",Vo.contentGlobalSubtle),offIconColor:mo.extend("--ft-toggle-off-icon-color","",Vo.contentGlobalSubtle),offStateLayerColor:mo.extend("--ft-toggle-off-state-layer-color","",Vo.contentGlobalSubtle),onHoverStateLayerOpacity:mo.extend("--ft-toggle-on-hover-state-layer-opacity","",xo.opacity16),onFocusStateLayerOpacity:mo.extend("--ft-toggle-on-focus-state-layer-opacity","",xo.opacity16),onActiveStateLayerOpacity:mo.extend("--ft-toggle-on-active-state-layer-opacity","",xo.opacity24),onDisabledComponentOpacity:mo.extend("--ft-toggle-on-disabled-component-opacity","",xo.opacity40),onBackgroundColor:mo.extend("--ft-toggle-on-background-color","",Vo.contentActionPrimary),onStateLayerColor:mo.extend("--ft-toggle-on-state-layer-color","",Vo.contentActionPrimary),onIconColor:mo.extend("--ft-toggle-on-icon-color","",Vo.contentActionPrimary),color:mo.extend("--ft-toggle-color","",Vo.contentGlobalPrimary),focusFocusRingColor:mo.extend("--ft-toggle-focus-focus-ring-color","",Vo.borderActionFocusRing),gap:mo.extend("--ft-toggle-gap","",xo.spacing3)},yr={color:mo.extend("--ft-radio-color","",Vo.contentGlobalPrimary),selectedRadioColor:mo.extend("--ft-radio-selected-radio-color","",Vo.contentActionPrimary),selectedStateLayerColor:mo.extend("--ft-radio-selected-state-layer-color","",Vo.contentActionPrimary),selectedHoverStateLayerOpacity:mo.extend("--ft-radio-selected-hover-state-layer-opacity","",xo.opacity16),selectedFocusStateLayerOpacity:mo.extend("--ft-radio-selected-focus-state-layer-opacity","",xo.opacity16),selectedActiveStateLayerOpacity:mo.extend("--ft-radio-selected-active-state-layer-opacity","",xo.opacity24),selectedDisabledComponentOpacity:mo.extend("--ft-radio-selected-disabled-component-opacity","",xo.opacity40),unselectedStateLayerColor:mo.extend("--ft-radio-unselected-state-layer-color","",Vo.borderInputPrimary),unselectedBorderColor:mo.extend("--ft-radio-unselected-border-color","",Vo.borderInputPrimary),unselectedHoverStateLayerOpacity:mo.extend("--ft-radio-unselected-hover-state-layer-opacity","",xo.opacity16),unselectedFocusStateLayerOpacity:mo.extend("--ft-radio-unselected-focus-state-layer-opacity","",xo.opacity16),unselectedActiveStateLayerOpacity:mo.extend("--ft-radio-unselected-active-state-layer-opacity","",xo.opacity24),unselectedDisabledComponentOpacity:mo.extend("--ft-radio-unselected-disabled-component-opacity","",xo.opacity40),focusFocusRingColor:mo.extend("--ft-radio-focus-focus-ring-color","",Vo.borderActionFocusRing),focusOutlineOffset:mo.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:mo.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:mo.extend("--ft-radio-gap","",xo.spacing3)},br={iconSize:mo.extend("--ft-notification-icon-size","",xo.iconSize4),horizontalPadding:mo.extend("--ft-notification-horizontal-padding","",xo.spacing4),verticalPadding:mo.extend("--ft-notification-vertical-padding","",xo.spacing4),infoBackgroundColor:mo.extend("--ft-notification-info-background-color","",Vo.backgroundInfoSubtle),infoColor:mo.extend("--ft-notification-info-color","",Vo.contentInfoPrimary),infoIconColor:mo.extend("--ft-notification-info-icon-color","",Vo.contentInfoIconOnly),infoBorderColor:mo.extend("--ft-notification-info-border-color","",Vo.borderInfoSubtle),successBackgroundColor:mo.extend("--ft-notification-success-background-color","",Vo.backgroundSuccessSubtle),successColor:mo.extend("--ft-notification-success-color","",Vo.contentSuccessPrimary),successIconColor:mo.extend("--ft-notification-success-icon-color","",Vo.contentSuccessIconOnly),successBorderColor:mo.extend("--ft-notification-success-border-color","",Vo.borderSuccessSubtle),warningBackgroundColor:mo.extend("--ft-notification-warning-background-color","",Vo.backgroundWarningSubtle),warningColor:mo.extend("--ft-notification-warning-color","",Vo.contentWarningPrimary),warningIconColor:mo.extend("--ft-notification-warning-icon-color","",Vo.contentWarningIconOnly),warningBorderColor:mo.extend("--ft-notification-warning-border-color","",Vo.borderWarningSubtle),errorBackgroundColor:mo.extend("--ft-notification-error-background-color","",Vo.backgroundErrorSubtle),errorColor:mo.extend("--ft-notification-error-color","",Vo.contentErrorPrimary),errorIconColor:mo.extend("--ft-notification-error-icon-color","",Vo.contentErrorIconOnly),errorBorderColor:mo.extend("--ft-notification-error-border-color","",Vo.borderErrorSubtle),borderRadius:mo.extend("--ft-notification-border-radius","",xo.borderRadiusPill),borderWidth:mo.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:mo.extend("--ft-notification-leading-gap","",xo.spacing2),trailingGap:mo.extend("--ft-notification-trailing-gap","",xo.spacing8)},mr={horizontalPadding:mo.extend("--ft-tooltip-horizontal-padding","",xo.spacing2),verticalPadding:mo.extend("--ft-tooltip-vertical-padding","",xo.spacing2),borderRadius:mo.extend("--ft-tooltip-border-radius","",xo.borderRadiusS),color:mo.extend("--ft-tooltip-color","",Vo.contentGlobalOnColor),backgroundColor:mo.extend("--ft-tooltip-background-color","",Vo.contentGlobalPrimary),backgroundOpacity:mo.extend("--ft-tooltip-background-opacity","",xo.opacity80),shadow:mo.extend("--ft-tooltip-shadow","",xo.shadowElevation03),maxWidth:mo.create("--ft-tooltip-max-width","","SIZE","256px"),gap:mo.extend("--ft-tooltip-gap","",xo.spacing05)};var vr=Object.freeze({__proto__:null,FtCssVariableFactory:mo,banner:Yo,border:dr,breadcrumb:Jo,button:qo,chart:fr,checkbox:ur,chip:pr,collapsible:sr,comboboxMultiSelect:nr,comboboxSingleSelect:ir,drawer:tr,floatingMenu:rr,foundation:xo,modal:Qo,notice:hr,notification:br,pageHeader:Xo,popover:ar,radio:yr,semantic:Vo,setVariable:vo,switch_:cr,tabs:lr,textArea:or,textInput:er,toggle:gr,tooltip:mr,typographies:Go,typographyBody1Medium:Eo,typographyBody1Regular:No,typographyBody1Semibold:$o,typographyBody2Medium:Ro,typographyBody2MediumUnderline:ko,typographyBody2Regular:Io,typographyBody2Semibold:Lo,typographyCaption1Bold:Zo,typographyCaption1Medium:jo,typographyCaption1Semibold:_o,typographyCaption2Bold:Mo,typographyCaption2Medium:Po,typographyCaption2Semibold:Ko,typographyCaption3Bold:To,typographyCaption3Medium:Do,typographyCaption3Semibold:Ho,typographyDisplay:Oo,typographyLabel1Bold:zo,typographyLabel1Medium:Uo,typographyLabel1Semibold:Wo,typographyLabel2Bold:Ao,typographyLabel2Medium:Bo,typographyLabel2Semibold:Fo,typographyTitle1:wo,typographyTitle2:So,typographyTitle3:Co,typographyVariants:["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"]});const xr={colorPrimary:mo.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:mo.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:mo.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:mo.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:mo.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:mo.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:mo.create("--ft-color-error","","COLOR","#B00020"),colorOutline:mo.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:mo.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:mo.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:mo.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:mo.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:mo.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:mo.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:mo.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:mo.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:mo.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:mo.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:mo.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:mo.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:mo.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:mo.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:mo.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:mo.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:mo.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:mo.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:mo.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:mo.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:mo.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:mo.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:mo.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:mo.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:mo.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:mo.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:mo.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:mo.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:mo.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:mo.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:mo.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:mo.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:mo.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:mo.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:mo.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:mo.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:mo.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:mo.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:mo.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:mo.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:mo.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:mo.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:mo.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:mo.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:mo.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:mo.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:mo.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:mo.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:mo.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:mo.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:mo.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:mo.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:mo.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:mo.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var Or=Object.freeze({__proto__:null,designSystemVariables:xr});class wr extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}}class Sr extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}}class Cr extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}}var Nr=Object.freeze({__proto__:null,FtNotificationEvent:wr,PostResizeEvent:Cr,PreResizeEvent:Sr});const Er=["start","end"],$r=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+Er[0],e+"-"+Er[1])),[]),Ir=Math.min,Rr=Math.max,kr=Math.round,Lr=t=>({x:t,y:t}),Ur={left:"right",right:"left",bottom:"top",top:"bottom"},Wr={start:"end",end:"start"};function zr(t,e,o){return Rr(t,Ir(e,o))}function Br(t,e){return"function"==typeof t?t(e):t}function Fr(t){return t.split("-")[0]}function Ar(t){return t.split("-")[1]}function jr(t){return"x"===t?"y":"x"}function _r(t){return"y"===t?"height":"width"}function Zr(t){return["top","bottom"].includes(Fr(t))?"y":"x"}function Pr(t){return jr(Zr(t))}function Kr(t){return t.replace(/left|right|bottom|top/g,(t=>Ur[t]))}function Mr(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Dr(t,e,o){let{reference:r,floating:i}=t;const n=Zr(e),a=Pr(e),l=_r(a),s=Fr(e),c="y"===n,f=r.x+r.width/2-i.width/2,p=r.y+r.height/2-i.height/2,d=r[l]/2-i[l]/2;let h;switch(s){case"top":h={x:f,y:r.y-i.height};break;case"bottom":h={x:f,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:p};break;case"left":h={x:r.x-i.width,y:p};break;default:h={x:r.x,y:r.y}}switch(Ar(e)){case"start":h[a]-=d*(o&&c?-1:1);break;case"end":h[a]+=d*(o&&c?-1:1)}return h}async function Hr(t,e){var o;void 0===e&&(e={});const{x:r,y:i,platform:n,rects:a,elements:l,strategy:s}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:p="floating",altBoundary:d=!1,padding:h=0}=Br(e,t),u=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(h),g=l[d?"floating"===p?"reference":"floating":p],y=Mr(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(g)))||o?g:g.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(l.floating)),boundary:c,rootBoundary:f,strategy:s})),b="floating"===p?{...a.floating,x:r,y:i}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(l.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=Mr(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:s}):b);return{top:(y.top-x.top+u.top)/v.y,bottom:(x.bottom-y.bottom+u.bottom)/v.y,left:(y.left-x.left+u.left)/v.x,right:(x.right-y.right+u.right)/v.x}}function Tr(t,e,o){return(t?[...o.filter((e=>Ar(e)===t)),...o.filter((e=>Ar(e)!==t))]:o.filter((t=>Fr(t)===t))).filter((o=>!t||(Ar(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>Wr[t]))}(o)!==o)))}const Gr=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,r,i;const{rects:n,middlewareData:a,placement:l,platform:s,elements:c}=e,{crossAxis:f=!1,alignment:p,allowedPlacements:d=$r,autoAlignment:h=!0,...u}=Br(t,e),g=void 0!==p||d===$r?Tr(p||null,h,d):d,y=await Hr(e,u),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=g[b];if(null==m)return{};const v=function(t,e,o){void 0===o&&(o=!1);const r=Ar(t),i=Pr(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=Kr(a)),[a,Kr(a)]}(m,n,await(null==s.isRTL?void 0:s.isRTL(c.floating)));if(l!==m)return{reset:{placement:g[0]}};const x=[y[Fr(m)],y[v[0]],y[v[1]]],O=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:x}],w=g[b+1];if(w)return{data:{index:b+1,overflows:O},reset:{placement:w}};const S=O.map((t=>{const e=Ar(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])),C=S.filter((t=>t[2].slice(0,Ar(t[0])?2:3).every((t=>t<=0)))),N=(null==(i=C[0])?void 0:i[0])||S[0][0];return N!==l?{data:{index:b+1,overflows:O},reset:{placement:N}}:{}}}};function Vr(t){return Jr(t)?(t.nodeName||"").toLowerCase():"#document"}function qr(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function Yr(t){var e;return null==(e=(Jr(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function Jr(t){return t instanceof Node||t instanceof qr(t).Node}function Xr(t){return t instanceof Element||t instanceof qr(t).Element}function Qr(t){return t instanceof HTMLElement||t instanceof qr(t).HTMLElement}function ti(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof qr(t).ShadowRoot)}function ei(t){const{overflow:e,overflowX:o,overflowY:r,display:i}=ai(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+o)&&!["inline","contents"].includes(i)}function oi(t){return["table","td","th"].includes(Vr(t))}function ri(t){const e=ii(),o=ai(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 ii(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function ni(t){return["html","body","#document"].includes(Vr(t))}function ai(t){return qr(t).getComputedStyle(t)}function li(t){return Xr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function si(t){if("html"===Vr(t))return t;const e=t.assignedSlot||t.parentNode||ti(t)&&t.host||Yr(t);return ti(e)?e.host:e}function ci(t){const e=si(t);return ni(e)?t.ownerDocument?t.ownerDocument.body:t.body:Qr(e)&&ei(e)?e:ci(e)}function fi(t,e,o){var r;void 0===e&&(e=[]),void 0===o&&(o=!0);const i=ci(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=qr(i);return n?e.concat(a,a.visualViewport||[],ei(i)?i:[],a.frameElement&&o?fi(a.frameElement):[]):e.concat(i,fi(i,[],o))}function pi(t){const e=ai(t);let o=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const i=Qr(t),n=i?t.offsetWidth:o,a=i?t.offsetHeight:r,l=kr(o)!==n||kr(r)!==a;return l&&(o=n,r=a),{width:o,height:r,$:l}}function di(t){return Xr(t)?t:t.contextElement}function hi(t){const e=di(t);if(!Qr(e))return Lr(1);const o=e.getBoundingClientRect(),{width:r,height:i,$:n}=pi(e);let a=(n?kr(o.width):o.width)/r,l=(n?kr(o.height):o.height)/i;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const ui=Lr(0);function gi(t){const e=qr(t);return ii()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:ui}function yi(t,e,o,r){void 0===e&&(e=!1),void 0===o&&(o=!1);const i=t.getBoundingClientRect(),n=di(t);let a=Lr(1);e&&(r?Xr(r)&&(a=hi(r)):a=hi(t));const l=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==qr(t))&&e}(n,o,r)?gi(n):Lr(0);let s=(i.left+l.x)/a.x,c=(i.top+l.y)/a.y,f=i.width/a.x,p=i.height/a.y;if(n){const t=qr(n),e=r&&Xr(r)?qr(r):r;let o=t.frameElement;for(;o&&r&&e!==t;){const t=hi(o),e=o.getBoundingClientRect(),r=ai(o),i=e.left+(o.clientLeft+parseFloat(r.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(r.paddingTop))*t.y;s*=t.x,c*=t.y,f*=t.x,p*=t.y,s+=i,c+=n,o=qr(o).frameElement}}return Mr({width:f,height:p,x:s,y:c})}function bi(t){return yi(Yr(t)).left+li(t).scrollLeft}function mi(t,e,o){let r;if("viewport"===e)r=function(t,e){const o=qr(t),r=Yr(t),i=o.visualViewport;let n=r.clientWidth,a=r.clientHeight,l=0,s=0;if(i){n=i.width,a=i.height;const t=ii();(!t||t&&"fixed"===e)&&(l=i.offsetLeft,s=i.offsetTop)}return{width:n,height:a,x:l,y:s}}(t,o);else if("document"===e)r=function(t){const e=Yr(t),o=li(t),r=t.ownerDocument.body,i=Rr(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),n=Rr(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let a=-o.scrollLeft+bi(t);const l=-o.scrollTop;return"rtl"===ai(r).direction&&(a+=Rr(e.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:l}}(Yr(t));else if(Xr(e))r=function(t,e){const o=yi(t,!0,"fixed"===e),r=o.top+t.clientTop,i=o.left+t.clientLeft,n=Qr(t)?hi(t):Lr(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=gi(t);r={...e,x:e.x-o.x,y:e.y-o.y}}return Mr(r)}function vi(t,e){const o=si(t);return!(o===e||!Xr(o)||ni(o))&&("fixed"===ai(o).position||vi(o,e))}function xi(t,e,o){const r=Qr(e),i=Yr(e),n="fixed"===o,a=yi(t,!0,n,e);let l={scrollLeft:0,scrollTop:0};const s=Lr(0);if(r||!r&&!n)if(("body"!==Vr(e)||ei(i))&&(l=li(e)),r){const t=yi(e,!0,n,e);s.x=t.x+e.clientLeft,s.y=t.y+e.clientTop}else i&&(s.x=bi(i));return{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function Oi(t,e){return Qr(t)&&"fixed"!==ai(t).position?e?e(t):t.offsetParent:null}function wi(t,e){const o=qr(t);if(!Qr(t))return o;let r=Oi(t,e);for(;r&&oi(r)&&"static"===ai(r).position;)r=Oi(r,e);return r&&("html"===Vr(r)||"body"===Vr(r)&&"static"===ai(r).position&&!ri(r))?o:r||function(t){let e=si(t);for(;Qr(e)&&!ni(e);){if(ri(e))return e;e=si(e)}return null}(t)||o}const Si={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:r}=t;const i=Qr(o),n=Yr(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},l=Lr(1);const s=Lr(0);if((i||!i&&"fixed"!==r)&&(("body"!==Vr(o)||ei(n))&&(a=li(o)),Qr(o))){const t=yi(o);l=hi(o),s.x=t.x+o.clientLeft,s.y=t.y+o.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-a.scrollLeft*l.x+s.x,y:e.y*l.y-a.scrollTop*l.y+s.y}},getDocumentElement:Yr,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=fi(t,[],!1).filter((t=>Xr(t)&&"body"!==Vr(t))),i=null;const n="fixed"===ai(t).position;let a=n?si(t):t;for(;Xr(a)&&!ni(a);){const e=ai(a),o=ri(a);o||"fixed"!==e.position||(i=null),(n?!o&&!i:!o&&"static"===e.position&&i&&["absolute","fixed"].includes(i.position)||ei(a)&&!o&&vi(t,a))?r=r.filter((t=>t!==a)):i=e,a=si(a)}return e.set(t,r),r}(e,this._c):[].concat(o),r],a=n[0],l=n.reduce(((t,o)=>{const r=mi(e,o,i);return t.top=Rr(r.top,t.top),t.right=Ir(r.right,t.right),t.bottom=Ir(r.bottom,t.bottom),t.left=Rr(r.left,t.left),t}),mi(e,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:wi,getElementRects:async function(t){let{reference:e,floating:o,strategy:r}=t;const i=this.getOffsetParent||wi,n=this.getDimensions;return{reference:xi(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 pi(t)},getScale:hi,isElement:Xr,isRTL:function(t){return"rtl"===ai(t).direction}},Ci=(t,e,o)=>{const r=new Map,i={platform:Si,...o},n={...i.platform,_c:r};return(async(t,e,o)=>{const{placement:r="bottom",strategy:i="absolute",middleware:n=[],platform:a}=o,l=n.filter(Boolean),s=await(null==a.isRTL?void 0:a.isRTL(e));let c=await a.getElementRects({reference:t,floating:e,strategy:i}),{x:f,y:p}=Dr(c,r,s),d=r,h={},u=0;for(let o=0;o<l.length;o++){const{name:n,fn:g}=l[o],{x:y,y:b,data:m,reset:v}=await g({x:f,y:p,initialPlacement:r,placement:d,strategy:i,middlewareData:h,rects:c,platform:a,elements:{reference:t,floating:e}});f=null!=y?y:f,p=null!=b?b:p,h={...h,[n]:{...h[n],...m}},v&&u<=50&&(u++,"object"==typeof v&&(v.placement&&(d=v.placement),v.rects&&(c=!0===v.rects?await a.getElementRects({reference:t,floating:e,strategy:i}):v.rects),({x:f,y:p}=Dr(c,d,s))),o=-1)}return{x:f,y:p,placement:d,strategy:i,middlewareData:h}})(t,e,{...i,platform:n})};function Ni(t){return function(t){for(let e=t;e;e=Ei(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=Ei(t);e;e=Ei(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 Ei(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}async function $i(t,e,o){return Ci(t,e,{platform:{...Si,getOffsetParent:t=>Si.getOffsetParent(t,Ni)},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:l={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...s}=Br(r,t),c={x:e,y:o},f=await Hr(t,s),p=Zr(Fr(i)),d=jr(p);let h=c[d],u=c[p];if(n){const t="y"===d?"bottom":"right";h=zr(h+f["y"===d?"top":"left"],h,h-f[t])}if(a){const t="y"===p?"bottom":"right";u=zr(u+f["y"===p?"top":"left"],u,u-f[t])}const g=l.fn({...t,[d]:h,[p]:u});return{...g,data:{x:g.x-e,y:g.y-o}}}}),Gr({allowedPlacements:[o]})]});var r}var Ii=Object.freeze({__proto__:null,computeOffsetPosition:$i});
|
|
136
|
-
/**
|
|
137
|
-
* @license
|
|
138
|
-
* Copyright 2019 Google LLC
|
|
139
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
140
|
-
*/const Ri=window,ki=Ri.ShadowRoot&&(void 0===Ri.ShadyCSS||Ri.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class Li 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)=>{ki?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),r=Ri.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var Ui,Wi=Object.freeze({__proto__:null,ScopedRegistryLitElement:Li}),zi=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,l=t.length-1;l>=0;l--)(i=t[l])&&(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 Bi=Symbol("constructorPrototype"),Fi=Symbol("constructorName"),Ai=Symbol("exportpartsDebouncer");class ji extends Li{constructor(){super(),this.adoptedCustomStyleSheet=new CSSStyleSheet,this.useAdoptedStyleSheets=!0,this[Ui]=new no(5),this[Fi]=this.constructor.name,this[Bi]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Fi]&&Object.setPrototypeOf(this,this[Bi])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet])}catch(t){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",t)}}updated(t){super.updated(t),this.updateComplete.then((()=>{this.contentAvailableCallback(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate()}))}contentAvailableCallback(t){}applyCustomStylesheet(t){var e,o,r;if(this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync(null!==(e=this.customStylesheet)&&void 0!==e?e:"")}catch(t){console.error(t,this.customStylesheet)}}else if((null!==(r=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==r?r:[]).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[Ai].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 l=t=>null!=t&&t.trim().length>0,s=t.filter(l).map((t=>t.trim()));if(0===s.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(l).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const f=[...c.values()].flatMap((t=>s.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}Ui=Ai,zi([we()],ji.prototype,"exportpartsPrefix",void 0),zi([uo([])],ji.prototype,"exportpartsPrefixes",void 0),zi([we()],ji.prototype,"customStylesheet",void 0);var _i=Object.freeze({__proto__:null,FtLitElement:ji}),Zi=Object.freeze({__proto__:null});class Pi{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 l=()=>{--n<=0&&r(a)};n||l(),i.forEach((t=>{Pi.matches(t,this.exclude)?l():this.onIframeReady(t,(r=>{e(t)&&(a++,o(r)),l()}),l)}))}createIterator(t,e,o){return document.createNodeIterator(t,e,o,!1)}createInstanceOnIframe(t){return new Pi(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,l,s=[],c=[],f=()=>(({prevNode:l,node:a}=this.getIteratorNode(n)),a);for(;f();)this.iframes&&this.forEachIframe(e,(t=>this.checkIframeFilter(a,l,t,s)),(e=>{this.createInstanceOnIframe(e).forEachNode(t,(t=>c.push(t)),r)})),c.push(a);c.forEach((t=>{o(t)})),this.iframes&&this.handleOpenIframes(s,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 Ki=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 Pi(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),l="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(n):this.escapeStr(n);""!==a&&""!==l&&(t=t.replace(new RegExp(`(${this.escapeStr(a)}|${this.escapeStr(l)})`,`gm${o}`),r+`(${this.processSynomyms(a)}|`+`${this.processSynomyms(l)})`+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,l=parseInt(t.start,10)-a;return l=l>n?n:l,r=l+parseInt(t.length,10),r>n&&(r=n,this.log(`End range automatically set to the max value of ${n}`)),l<0||r-l<0||l>n||r>n?(i=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):""===o.substring(l,r).replace(/\s+/g,"")&&(i=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:l,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 Pi.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 l=t.nodes[a+1];if(void 0===l||l.start>e){if(!r(n.node))return!1;const l=e-n.start,s=(o>n.end?n.end:o)-n.start,c=t.value.substr(0,n.start),f=t.value.substr(s+n.start);if(n.node=this.wrapRangeInTextNode(n.node,l,s),t.value=c+f,t.nodes.forEach(((e,o)=>{o>=a&&(t.nodes[o].start>0&&o!==a&&(t.nodes[o].start-=s),t.nodes[o].end-=s)})),o-=s,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 l=i+a[n].length;this.wrapRangeInMappedTextNode(e,i,l,(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:l,valid:s}=this.checkWhitespaceRanges(t,n,i.value);s&&this.wrapRangeInMappedTextNode(i,a,l,(o=>e(o,t,i.value.substring(a,l),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",l=t=>{let e=new RegExp(this.createRegExp(t),`gm${a}`),s=0;this.log(`Searching with expression "${e}"`),this[r](e,1,((e,r)=>this.opt.filter(r,t,o,s)),(t=>{s++,o++,this.opt.each(t)}),(()=>{0===s&&this.opt.noMatch(t),i[n-1]===t?this.opt.done(o):l(i[i.indexOf(t)+1])}))};this.opt.acrossElements&&(r="wrapMatchesAcrossElements"),0===n?this.opt.done(o):l(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=Pi.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},Mi=mo.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Di=dt`
|
|
1
|
+
"use strict";(()=>{var gc=Object.defineProperty;var B=(e,t)=>{for(var r in t)gc(e,r,{get:t[r],enumerable:!0})};if(!ShadowRoot.prototype.createElement){let e=window.HTMLElement,t=window.customElements.define,r=window.customElements.get,n=window.customElements,i=new WeakMap,a=new WeakMap,s=new WeakMap,c=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(x,b){if(x=x.toLowerCase(),this._getDefinition(x)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${x}" has already been used with this registry`);if(this._definitionsByClass.get(b)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let S=b.prototype.attributeChangedCallback,T=new Set(b.observedAttributes||[]);m(b,T,S);let D={elementClass:b,connectedCallback:b.prototype.connectedCallback,disconnectedCallback:b.prototype.disconnectedCallback,adoptedCallback:b.prototype.adoptedCallback,attributeChangedCallback:S,formAssociated:b.formAssociated,formAssociatedCallback:b.prototype.formAssociatedCallback,formDisabledCallback:b.prototype.formDisabledCallback,formResetCallback:b.prototype.formResetCallback,formStateRestoreCallback:b.prototype.formStateRestoreCallback,observedAttributes:T};this._definitionsByTag.set(x,D),this._definitionsByClass.set(b,D);let rt=r.call(n,x);rt||(rt=u(x),t.call(n,x,rt)),this===window.customElements&&(s.set(b,D),D.standInClass=rt);let W=this._awaitingUpgrade.get(x);if(W){this._awaitingUpgrade.delete(x);for(let L of W)a.delete(L),g(L,D,!0)}let $=this._whenDefinedPromises.get(x);return $!==void 0&&($.resolve(b),this._whenDefinedPromises.delete(x)),b}upgrade(){E.push(this),n.upgrade.apply(n,arguments),E.pop()}get(x){return this._definitionsByTag.get(x)?.elementClass}_getDefinition(x){return this._definitionsByTag.get(x)}whenDefined(x){let b=this._getDefinition(x);if(b!==void 0)return Promise.resolve(b.elementClass);let S=this._whenDefinedPromises.get(x);return S===void 0&&(S={},S.promise=new Promise(T=>S.resolve=T),this._whenDefinedPromises.set(x,S)),S.promise}_upgradeWhenDefined(x,b,S){let T=this._awaitingUpgrade.get(b);T||this._awaitingUpgrade.set(b,T=new Set),S?T.add(x):T.delete(x)}};let l;window.HTMLElement=function(){let b=l;if(b)return l=void 0,b;let S=s.get(this.constructor);if(!S)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return b=Reflect.construct(e,[],S.standInClass),Object.setPrototypeOf(b,this.constructor.prototype),i.set(b,S),b},window.HTMLElement.prototype=e.prototype;let d=x=>x===document||x instanceof ShadowRoot,h=x=>{let b=x.getRootNode();if(!d(b)){let S=E[E.length-1];if(S instanceof CustomElementRegistry)return S;b=S.getRootNode(),d(b)||(b=c.get(b)?.getRootNode()||document)}return b.customElements},u=x=>class{static get formAssociated(){return!0}constructor(){let S=Reflect.construct(e,[],this.constructor);Object.setPrototypeOf(S,HTMLElement.prototype);let T=h(S)||window.customElements,D=T._getDefinition(x);return D?g(S,D):a.set(S,T),S}connectedCallback(){let S=i.get(this);S?S.connectedCallback&&S.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,x,!0)}disconnectedCallback(){let S=i.get(this);S?S.disconnectedCallback&&S.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,x,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let S=i.get(this);S&&S.formAssociated&&S?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let S=i.get(this);S?.formAssociated&&S?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let S=i.get(this);S?.formAssociated&&S?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let S=i.get(this);S?.formAssociated&&S?.formStateRestoreCallback?.apply(this,arguments)}},m=(x,b,S)=>{if(b.size===0||S===void 0)return;let T=x.prototype.setAttribute;T&&(x.prototype.setAttribute=function(W,$){let L=W.toLowerCase();if(b.has(L)){let k=this.getAttribute(L);T.call(this,L,$),S.call(this,L,k,$)}else T.call(this,L,$)});let D=x.prototype.removeAttribute;D&&(x.prototype.removeAttribute=function(W){let $=W.toLowerCase();if(b.has($)){let L=this.getAttribute($);D.call(this,$),S.call(this,$,L,null)}else D.call(this,$)});let rt=x.prototype.toggleAttribute;rt&&(x.prototype.toggleAttribute=function(W,$){let L=W.toLowerCase();if(b.has(L)){let k=this.getAttribute(L);rt.call(this,L,$);let J=this.getAttribute(L);S.call(this,L,k,J)}else rt.call(this,L,$)})},y=x=>{let b=Object.getPrototypeOf(x);if(b!==window.HTMLElement)return b===e?Object.setPrototypeOf(x,window.HTMLElement):y(b)},g=(x,b,S=!1)=>{Object.setPrototypeOf(x,b.elementClass.prototype),i.set(x,b),l=x;try{new b.elementClass}catch{y(b.elementClass),new b.elementClass}b.attributeChangedCallback&&b.observedAttributes.forEach(T=>{x.hasAttribute(T)&&b.attributeChangedCallback.call(x,T,null,x.getAttribute(T))}),S&&b.connectedCallback&&x.isConnected&&b.connectedCallback.call(x)},v=Element.prototype.attachShadow;Element.prototype.attachShadow=function(x){let b=v.apply(this,arguments);return x.customElements&&(b.customElements=x.customElements),b};let E=[document],N=(x,b,S=void 0)=>{let T=(S?Object.getPrototypeOf(S):x.prototype)[b];x.prototype[b]=function(){E.push(this);let D=T.apply(S||this,arguments);return D!==void 0&&c.set(D,this),E.pop(),D}};N(ShadowRoot,"createElement",document),N(ShadowRoot,"importNode",document),N(Element,"insertAdjacentHTML");let A=(x,b)=>{let S=Object.getOwnPropertyDescriptor(x.prototype,b);Object.defineProperty(x.prototype,b,{...S,set(T){E.push(this),S.set.call(this,T),E.pop()}})};if(A(Element,"innerHTML"),A(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let x=new WeakMap,b=HTMLElement.prototype.attachInternals,S=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...W){let $=b.call(this,...W);return x.set($,this),$},S.forEach(W=>{let $=window.ElementInternals.prototype,L=$[W];$[W]=function(...k){let J=x.get(this);if(i.get(J).formAssociated===!0)return L?.call(this,...k);throw new DOMException(`Failed to execute ${L} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class T extends Array{constructor($){super(...$),this._elements=$}get value(){return this._elements.find($=>$.checked===!0)?.value||""}}class D{constructor($){let L=new Map;$.forEach((k,J)=>{let uo=k.getAttribute("name"),_i=L.get(uo)||[];this[+J]=k,_i.push(k),L.set(uo,_i)}),this.length=$.length,L.forEach((k,J)=>{k&&(k.length===1?this[J]=k[0]:this[J]=new T(k))})}namedItem($){return this[$]}}let rt=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let W=rt.get.call(this,[]),$=[];for(let L of W){let k=i.get(L);(!k||k.formAssociated===!0)&&$.push(L)}return new D($)}})}}try{window.customElements.define("custom-element",null)}catch{let t=window.customElements.define;window.customElements.define=(r,n,i)=>{if(n!==null)try{t.bind(window.customElements)(r,n,i)}catch(a){console.info(r,n,i,a)}}}var No={};B(No,{CSSResult:()=>Oe,LitElement:()=>Lt,ReactiveElement:()=>St,_$LE:()=>zc,_$LH:()=>Wc,adoptStyles:()=>Ir,css:()=>_,defaultConverter:()=>kr,getCompatibleStyle:()=>Je,html:()=>U,isServer:()=>fd,noChange:()=>Bt,notEqual:()=>vo,nothing:()=>z,render:()=>Eo,supportsAdoptingStyleSheets:()=>Xe,svg:()=>Dc,unsafeCSS:()=>_t});var vr=globalThis,Or=vr.ShadowRoot&&(vr.ShadyCSS===void 0||vr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Li=Symbol(),Ti=new WeakMap,Sr=class{constructor(t,r,n){if(this._$cssResult$=!0,n!==Li)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=r}get styleSheet(){let t=this.o,r=this.t;if(Or&&t===void 0){let n=r!==void 0&&r.length===1;n&&(t=Ti.get(r)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&Ti.set(r,t))}return t}toString(){return this.cssText}},Ii=e=>new Sr(typeof e=="string"?e:e+"",void 0,Li);var ho=(e,t)=>{if(Or)e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of t){let n=document.createElement("style"),i=vr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,e.appendChild(n)}},Cr=Or?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(let n of t.cssRules)r+=n.cssText;return Ii(r)})(e):e;var{is:bc,defineProperty:xc,getOwnPropertyDescriptor:vc,getOwnPropertyNames:Sc,getOwnPropertySymbols:Oc,getPrototypeOf:Cc}=Object,wr=globalThis,ki=wr.trustedTypes,wc=ki?ki.emptyScript:"",Ec=wr.reactiveElementPolyfillSupport,Ve=(e,t)=>e,Ke={toAttribute(e,t){switch(t){case Boolean:e=e?wc:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let r=e;switch(t){case Boolean:r=e!==null;break;case Number:r=e===null?null:Number(e);break;case Object:case Array:try{r=JSON.parse(e)}catch{r=null}}return r}},Er=(e,t)=>!bc(e,t),Mi={attribute:!0,type:String,converter:Ke,reflect:!1,hasChanged:Er};Symbol.metadata??=Symbol("metadata"),wr.litPropertyMetadata??=new WeakMap;var ee=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,r=Mi){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(t,r),!r.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(t,n,r);i!==void 0&&xc(this.prototype,t,i)}}static getPropertyDescriptor(t,r,n){let{get:i,set:a}=vc(this.prototype,t)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return i?.call(this)},set(s){let c=i?.call(this);a.call(this,s),this.requestUpdate(t,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Mi}static _$Ei(){if(this.hasOwnProperty(Ve("elementProperties")))return;let t=Cc(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Ve("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ve("properties"))){let r=this.properties,n=[...Sc(r),...Oc(r)];for(let i of n)this.createProperty(i,r[i])}let t=this[Symbol.metadata];if(t!==null){let r=litPropertyMetadata.get(t);if(r!==void 0)for(let[n,i]of r)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let i=this._$Eu(r,n);i!==void 0&&this._$Eh.set(i,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let r=[];if(Array.isArray(t)){let n=new Set(t.flat(1/0).reverse());for(let i of n)r.unshift(Cr(i))}else t!==void 0&&r.push(Cr(t));return r}static _$Eu(t,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof t=="string"?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),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){let t=new Map,r=this.constructor.elementProperties;for(let n of r.keys())this.hasOwnProperty(n)&&(t.set(n,this[n]),delete this[n]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return ho(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,r,n){this._$AK(t,n)}_$EO(t,r){let n=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:Ke).toAttribute(r,n.type);this._$Em=t,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(t,r){let n=this.constructor,i=n._$Eh.get(t);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:Ke;this._$Em=i,this[i]=s.fromAttribute(r,a.type),this._$Em=null}}requestUpdate(t,r,n,i=!1,a){if(t!==void 0){if(n??=this.constructor.getPropertyOptions(t),!(n.hasChanged??Er)(i?a:this[t],r))return;this.C(t,r,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(t,r,n){this._$AL.has(t)||this._$AL.set(t,r),n.reflect===!0&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(r){Promise.reject(r)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}let t=!1,r=this._$AL;try{t=this.shouldUpdate(r),t?(this.willUpdate(r),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$ET()}catch(n){throw t=!1,this._$ET(),n}t&&this._$AE(r)}willUpdate(t){}_$AE(t){this._$E_?.forEach(r=>r.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(r=>this._$EO(r,this[r])),this._$ET()}updated(t){}firstUpdated(t){}};ee.elementStyles=[],ee.shadowRootOptions={mode:"open"},ee[Ve("elementProperties")]=new Map,ee[Ve("finalized")]=new Map,Ec?.({ReactiveElement:ee}),(wr.reactiveElementVersions??=[]).push("2.0.2");var yo=globalThis,Nr=yo.trustedTypes,Di=Nr?Nr.createPolicy("lit-html",{createHTML:e=>e}):void 0,go="$lit$",Pt=`lit$${(Math.random()+"").slice(9)}$`,bo="?"+Pt,Nc=`<${bo}>`,ne=document,Ar=()=>ne.createComment(""),Ze=e=>e===null||typeof e!="object"&&typeof e!="function",Fi=Array.isArray,ji=e=>Fi(e)||typeof e?.[Symbol.iterator]=="function",mo=`[
|
|
2
|
+
\f\r]`,Ge=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Wi=/-->/g,Ui=/>/g,re=RegExp(`>|${mo}(?:([^\\s"'>=/]+)(${mo}*=${mo}*(?:[^
|
|
3
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Bi=/'/g,zi=/"/g,Vi=/^(?:script|style|textarea|title)$/i,Ki=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),Gi=Ki(1),Zi=Ki(2),ct=Symbol.for("lit-noChange"),G=Symbol.for("lit-nothing"),Hi=new WeakMap,oe=ne.createTreeWalker(ne,129);function qi(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Di!==void 0?Di.createHTML(t):t}var Yi=(e,t)=>{let r=e.length-1,n=[],i,a=t===2?"<svg>":"",s=Ge;for(let c=0;c<r;c++){let l=e[c],d,h,u=-1,m=0;for(;m<l.length&&(s.lastIndex=m,h=s.exec(l),h!==null);)m=s.lastIndex,s===Ge?h[1]==="!--"?s=Wi:h[1]!==void 0?s=Ui:h[2]!==void 0?(Vi.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=re):h[3]!==void 0&&(s=re):s===re?h[0]===">"?(s=i??Ge,u=-1):h[1]===void 0?u=-2:(u=s.lastIndex-h[2].length,d=h[1],s=h[3]===void 0?re:h[3]==='"'?zi:Bi):s===zi||s===Bi?s=re:s===Wi||s===Ui?s=Ge:(s=re,i=void 0);let y=s===re&&e[c+1].startsWith("/>")?" ":"";a+=s===Ge?l+Nc:u>=0?(n.push(d),l.slice(0,u)+go+l.slice(u)+Pt+y):l+Pt+(u===-2?c:y)}return[qi(e,a+(e[r]||"<?>")+(t===2?"</svg>":"")),n]},qe=class e{constructor({strings:t,_$litType$:r},n){let i;this.parts=[];let a=0,s=0,c=t.length-1,l=this.parts,[d,h]=Yi(t,r);if(this.el=e.createElement(d,n),oe.currentNode=this.el.content,r===2){let u=this.el.content.firstChild;u.replaceWith(...u.childNodes)}for(;(i=oe.nextNode())!==null&&l.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let u of i.getAttributeNames())if(u.endsWith(go)){let m=h[s++],y=i.getAttribute(u).split(Pt),g=/([.?@])?(.*)/.exec(m);l.push({type:1,index:a,name:g[2],strings:y,ctor:g[1]==="."?$r:g[1]==="?"?Pr:g[1]==="@"?_r:ae}),i.removeAttribute(u)}else u.startsWith(Pt)&&(l.push({type:6,index:a}),i.removeAttribute(u));if(Vi.test(i.tagName)){let u=i.textContent.split(Pt),m=u.length-1;if(m>0){i.textContent=Nr?Nr.emptyScript:"";for(let y=0;y<m;y++)i.append(u[y],Ar()),oe.nextNode(),l.push({type:2,index:++a});i.append(u[m],Ar())}}}else if(i.nodeType===8)if(i.data===bo)l.push({type:2,index:a});else{let u=-1;for(;(u=i.data.indexOf(Pt,u+1))!==-1;)l.push({type:7,index:a}),u+=Pt.length-1}a++}}static createElement(t,r){let n=ne.createElement("template");return n.innerHTML=t,n}};function ie(e,t,r=e,n){if(t===ct)return t;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=Ze(t)?void 0:t._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(e),i._$AT(e,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(t=ie(e,i._$AS(e,t.values),i,n)),t}var Rr=class{constructor(t,r){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:r},parts:n}=this._$AD,i=(t?.creationScope??ne).importNode(r,!0);oe.currentNode=i;let a=oe.nextNode(),s=0,c=0,l=n[0];for(;l!==void 0;){if(s===l.index){let d;l.type===2?d=new Ye(a,a.nextSibling,this,t):l.type===1?d=new l.ctor(a,l.name,l.strings,this,t):l.type===6&&(d=new Tr(a,this,t)),this._$AV.push(d),l=n[++c]}s!==l?.index&&(a=oe.nextNode(),s++)}return oe.currentNode=ne,i}p(t){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,r),r+=n.strings.length-2):n._$AI(t[r])),r++}},Ye=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,r,n,i){this.type=2,this._$AH=G,this._$AN=void 0,this._$AA=t,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,r=this._$AM;return r!==void 0&&t?.nodeType===11&&(t=r.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,r=this){t=ie(this,t,r),Ze(t)?t===G||t==null||t===""?(this._$AH!==G&&this._$AR(),this._$AH=G):t!==this._$AH&&t!==ct&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):ji(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!==G&&Ze(this._$AH)?this._$AA.nextSibling.data=t:this.$(ne.createTextNode(t)),this._$AH=t}g(t){let{values:r,_$litType$:n}=t,i=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=qe.createElement(qi(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new Rr(i,this),s=a.u(this.options);a.p(r),this.$(s),this._$AH=a}}_$AC(t){let r=Hi.get(t.strings);return r===void 0&&Hi.set(t.strings,r=new qe(t)),r}T(t){Fi(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let a of t)i===r.length?r.push(n=new e(this.k(Ar()),this.k(Ar()),this,this.options)):n=r[i],n._$AI(a),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$AR(t=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);t&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},ae=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,r,n,i,a){this.type=1,this._$AH=G,this._$AN=void 0,this.element=t,this.name=r,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=G}_$AI(t,r=this,n,i){let a=this.strings,s=!1;if(a===void 0)t=ie(this,t,r,0),s=!Ze(t)||t!==this._$AH&&t!==ct,s&&(this._$AH=t);else{let c=t,l,d;for(t=a[0],l=0;l<a.length-1;l++)d=ie(this,c[n+l],r,l),d===ct&&(d=this._$AH[l]),s||=!Ze(d)||d!==this._$AH[l],d===G?t=G:t!==G&&(t+=(d??"")+a[l+1]),this._$AH[l]=d}s&&!i&&this.O(t)}O(t){t===G?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},$r=class extends ae{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===G?void 0:t}},Pr=class extends ae{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==G)}},_r=class extends ae{constructor(t,r,n,i,a){super(t,r,n,i,a),this.type=5}_$AI(t,r=this){if((t=ie(this,t,r,0)??G)===ct)return;let n=this._$AH,i=t===G&&n!==G||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,a=t!==G&&(n===G||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},Tr=class{constructor(t,r,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){ie(this,t)}},Xi={j:go,P:Pt,A:bo,C:1,M:Yi,L:Rr,R:ji,V:ie,D:Ye,I:ae,H:Pr,N:_r,U:$r,B:Tr},Ac=yo.litHtmlPolyfillSupport;Ac?.(qe,Ye),(yo.litHtmlVersions??=[]).push("3.1.0");var Lr=globalThis,Xe=Lr.ShadowRoot&&(Lr.ShadyCSS===void 0||Lr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,xo=Symbol(),Ji=new WeakMap,Oe=class{constructor(t,r,n){if(this._$cssResult$=!0,n!==xo)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=r}get styleSheet(){let t=this.o,r=this.t;if(Xe&&t===void 0){let n=r!==void 0&&r.length===1;n&&(t=Ji.get(r)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&Ji.set(r,t))}return t}toString(){return this.cssText}},_t=e=>new Oe(typeof e=="string"?e:e+"",void 0,xo),_=(e,...t)=>{let r=e.length===1?e[0]:t.reduce((n,i,a)=>n+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+e[a+1],e[0]);return new Oe(r,e,xo)},Ir=(e,t)=>{if(Xe)e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of t){let n=document.createElement("style"),i=Lr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,e.appendChild(n)}},Je=Xe?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(let n of t.cssRules)r+=n.cssText;return _t(r)})(e):e;var{is:Rc,defineProperty:$c,getOwnPropertyDescriptor:Pc,getOwnPropertyNames:_c,getOwnPropertySymbols:Tc,getPrototypeOf:Lc}=Object,Mr=globalThis,Qi=Mr.trustedTypes,Ic=Qi?Qi.emptyScript:"",kc=Mr.reactiveElementPolyfillSupport,Qe=(e,t)=>e,kr={toAttribute(e,t){switch(t){case Boolean:e=e?Ic:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let r=e;switch(t){case Boolean:r=e!==null;break;case Number:r=e===null?null:Number(e);break;case Object:case Array:try{r=JSON.parse(e)}catch{r=null}}return r}},vo=(e,t)=>!Rc(e,t),ta={attribute:!0,type:String,converter:kr,reflect:!1,hasChanged:vo};Symbol.metadata??=Symbol("metadata"),Mr.litPropertyMetadata??=new WeakMap;var St=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,r=ta){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(t,r),!r.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(t,n,r);i!==void 0&&$c(this.prototype,t,i)}}static getPropertyDescriptor(t,r,n){let{get:i,set:a}=Pc(this.prototype,t)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return i?.call(this)},set(s){let c=i?.call(this);a.call(this,s),this.requestUpdate(t,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??ta}static _$Ei(){if(this.hasOwnProperty(Qe("elementProperties")))return;let t=Lc(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Qe("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Qe("properties"))){let r=this.properties,n=[..._c(r),...Tc(r)];for(let i of n)this.createProperty(i,r[i])}let t=this[Symbol.metadata];if(t!==null){let r=litPropertyMetadata.get(t);if(r!==void 0)for(let[n,i]of r)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let i=this._$Eu(r,n);i!==void 0&&this._$Eh.set(i,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let r=[];if(Array.isArray(t)){let n=new Set(t.flat(1/0).reverse());for(let i of n)r.unshift(Je(i))}else t!==void 0&&r.push(Je(t));return r}static _$Eu(t,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof t=="string"?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),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){let t=new Map,r=this.constructor.elementProperties;for(let n of r.keys())this.hasOwnProperty(n)&&(t.set(n,this[n]),delete this[n]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Ir(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,r,n){this._$AK(t,n)}_$EO(t,r){let n=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:kr).toAttribute(r,n.type);this._$Em=t,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(t,r){let n=this.constructor,i=n._$Eh.get(t);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:kr;this._$Em=i,this[i]=s.fromAttribute(r,a.type),this._$Em=null}}requestUpdate(t,r,n,i=!1,a){if(t!==void 0){if(n??=this.constructor.getPropertyOptions(t),!(n.hasChanged??vo)(i?a:this[t],r))return;this.C(t,r,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(t,r,n){this._$AL.has(t)||this._$AL.set(t,r),n.reflect===!0&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(r){Promise.reject(r)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}let t=!1,r=this._$AL;try{t=this.shouldUpdate(r),t?(this.willUpdate(r),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$ET()}catch(n){throw t=!1,this._$ET(),n}t&&this._$AE(r)}willUpdate(t){}_$AE(t){this._$E_?.forEach(r=>r.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(r=>this._$EO(r,this[r])),this._$ET()}updated(t){}firstUpdated(t){}};St.elementStyles=[],St.shadowRootOptions={mode:"open"},St[Qe("elementProperties")]=new Map,St[Qe("finalized")]=new Map,kc?.({ReactiveElement:St}),(Mr.reactiveElementVersions??=[]).push("2.0.2");var Oo=globalThis,Dr=Oo.trustedTypes,ea=Dr?Dr.createPolicy("lit-html",{createHTML:e=>e}):void 0,Co="$lit$",Tt=`lit$${(Math.random()+"").slice(9)}$`,wo="?"+Tt,Mc=`<${wo}>`,le=document,er=()=>le.createComment(""),rr=e=>e===null||typeof e!="object"&&typeof e!="function",sa=Array.isArray,ca=e=>sa(e)||typeof e?.[Symbol.iterator]=="function",So=`[
|
|
4
|
+
\f\r]`,tr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ra=/-->/g,oa=/>/g,se=RegExp(`>|${So}(?:([^\\s"'>=/]+)(${So}*=${So}*(?:[^
|
|
5
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),na=/'/g,ia=/"/g,la=/^(?:script|style|textarea|title)$/i,pa=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),U=pa(1),Dc=pa(2),Bt=Symbol.for("lit-noChange"),z=Symbol.for("lit-nothing"),aa=new WeakMap,ce=le.createTreeWalker(le,129);function da(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return ea!==void 0?ea.createHTML(t):t}var fa=(e,t)=>{let r=e.length-1,n=[],i,a=t===2?"<svg>":"",s=tr;for(let c=0;c<r;c++){let l=e[c],d,h,u=-1,m=0;for(;m<l.length&&(s.lastIndex=m,h=s.exec(l),h!==null);)m=s.lastIndex,s===tr?h[1]==="!--"?s=ra:h[1]!==void 0?s=oa:h[2]!==void 0?(la.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=se):h[3]!==void 0&&(s=se):s===se?h[0]===">"?(s=i??tr,u=-1):h[1]===void 0?u=-2:(u=s.lastIndex-h[2].length,d=h[1],s=h[3]===void 0?se:h[3]==='"'?ia:na):s===ia||s===na?s=se:s===ra||s===oa?s=tr:(s=se,i=void 0);let y=s===se&&e[c+1].startsWith("/>")?" ":"";a+=s===tr?l+Mc:u>=0?(n.push(d),l.slice(0,u)+Co+l.slice(u)+Tt+y):l+Tt+(u===-2?c:y)}return[da(e,a+(e[r]||"<?>")+(t===2?"</svg>":"")),n]},or=class e{constructor({strings:t,_$litType$:r},n){let i;this.parts=[];let a=0,s=0,c=t.length-1,l=this.parts,[d,h]=fa(t,r);if(this.el=e.createElement(d,n),ce.currentNode=this.el.content,r===2){let u=this.el.content.firstChild;u.replaceWith(...u.childNodes)}for(;(i=ce.nextNode())!==null&&l.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let u of i.getAttributeNames())if(u.endsWith(Co)){let m=h[s++],y=i.getAttribute(u).split(Tt),g=/([.?@])?(.*)/.exec(m);l.push({type:1,index:a,name:g[2],strings:y,ctor:g[1]==="."?Ur:g[1]==="?"?Br:g[1]==="@"?zr:de}),i.removeAttribute(u)}else u.startsWith(Tt)&&(l.push({type:6,index:a}),i.removeAttribute(u));if(la.test(i.tagName)){let u=i.textContent.split(Tt),m=u.length-1;if(m>0){i.textContent=Dr?Dr.emptyScript:"";for(let y=0;y<m;y++)i.append(u[y],er()),ce.nextNode(),l.push({type:2,index:++a});i.append(u[m],er())}}}else if(i.nodeType===8)if(i.data===wo)l.push({type:2,index:a});else{let u=-1;for(;(u=i.data.indexOf(Tt,u+1))!==-1;)l.push({type:7,index:a}),u+=Tt.length-1}a++}}static createElement(t,r){let n=le.createElement("template");return n.innerHTML=t,n}};function pe(e,t,r=e,n){if(t===Bt)return t;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=rr(t)?void 0:t._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(e),i._$AT(e,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(t=pe(e,i._$AS(e,t.values),i,n)),t}var Wr=class{constructor(t,r){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:r},parts:n}=this._$AD,i=(t?.creationScope??le).importNode(r,!0);ce.currentNode=i;let a=ce.nextNode(),s=0,c=0,l=n[0];for(;l!==void 0;){if(s===l.index){let d;l.type===2?d=new Ce(a,a.nextSibling,this,t):l.type===1?d=new l.ctor(a,l.name,l.strings,this,t):l.type===6&&(d=new Hr(a,this,t)),this._$AV.push(d),l=n[++c]}s!==l?.index&&(a=ce.nextNode(),s++)}return ce.currentNode=le,i}p(t){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,r),r+=n.strings.length-2):n._$AI(t[r])),r++}},Ce=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,r,n,i){this.type=2,this._$AH=z,this._$AN=void 0,this._$AA=t,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,r=this._$AM;return r!==void 0&&t?.nodeType===11&&(t=r.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,r=this){t=pe(this,t,r),rr(t)?t===z||t==null||t===""?(this._$AH!==z&&this._$AR(),this._$AH=z):t!==this._$AH&&t!==Bt&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):ca(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!==z&&rr(this._$AH)?this._$AA.nextSibling.data=t:this.$(le.createTextNode(t)),this._$AH=t}g(t){let{values:r,_$litType$:n}=t,i=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=or.createElement(da(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new Wr(i,this),s=a.u(this.options);a.p(r),this.$(s),this._$AH=a}}_$AC(t){let r=aa.get(t.strings);return r===void 0&&aa.set(t.strings,r=new or(t)),r}T(t){sa(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let a of t)i===r.length?r.push(n=new e(this.k(er()),this.k(er()),this,this.options)):n=r[i],n._$AI(a),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$AR(t=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);t&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},de=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,r,n,i,a){this.type=1,this._$AH=z,this._$AN=void 0,this.element=t,this.name=r,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=z}_$AI(t,r=this,n,i){let a=this.strings,s=!1;if(a===void 0)t=pe(this,t,r,0),s=!rr(t)||t!==this._$AH&&t!==Bt,s&&(this._$AH=t);else{let c=t,l,d;for(t=a[0],l=0;l<a.length-1;l++)d=pe(this,c[n+l],r,l),d===Bt&&(d=this._$AH[l]),s||=!rr(d)||d!==this._$AH[l],d===z?t=z:t!==z&&(t+=(d??"")+a[l+1]),this._$AH[l]=d}s&&!i&&this.O(t)}O(t){t===z?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Ur=class extends de{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===z?void 0:t}},Br=class extends de{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==z)}},zr=class extends de{constructor(t,r,n,i,a){super(t,r,n,i,a),this.type=5}_$AI(t,r=this){if((t=pe(this,t,r,0)??z)===Bt)return;let n=this._$AH,i=t===z&&n!==z||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,a=t!==z&&(n===z||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},Hr=class{constructor(t,r,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){pe(this,t)}},Wc={j:Co,P:Tt,A:wo,C:1,M:fa,L:Wr,R:ca,V:pe,D:Ce,I:de,H:Br,N:zr,U:Ur,B:Hr},Uc=Oo.litHtmlPolyfillSupport;Uc?.(or,Ce),(Oo.litHtmlVersions??=[]).push("3.1.0");var Eo=(e,t,r)=>{let n=r?.renderBefore??t,i=n._$litPart$;if(i===void 0){let a=r?.renderBefore??null;n._$litPart$=i=new Ce(t.insertBefore(er(),a),a,void 0,r??{})}return i._$AI(e),i};var Lt=class extends St{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=Eo(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Bt}};Lt._$litElement$=!0,Lt.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:Lt});var Bc=globalThis.litElementPolyfillSupport;Bc?.({LitElement:Lt});var zc={_$AK:(e,t,r)=>{e._$AK(t,r)},_$AL:e=>e._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var fd=!1;var Ro={};B(Ro,{customElement:()=>Hc,eventOptions:()=>we,property:()=>C,query:()=>et,queryAll:()=>Vc,queryAssignedElements:()=>Gc,queryAssignedNodes:()=>Ao,queryAsync:()=>Kc,standardProperty:()=>ua,state:()=>q});var Hc=e=>(t,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(e,t)}):customElements.define(e,t)};var Fc={attribute:!0,type:String,converter:Ke,reflect:!1,hasChanged:Er},ua=(e=Fc,t,r)=>{let{kind:n,metadata:i}=r,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),a.set(r.name,e),n==="accessor"){let{name:s}=r;return{set(c){let l=t.get.call(this);t.set.call(this,c),this.requestUpdate(s,l,e)},init(c){return c!==void 0&&this.C(s,void 0,e),c}}}if(n==="setter"){let{name:s}=r;return function(c){let l=this[s];t.call(this,c),this.requestUpdate(s,l,e)}}throw Error("Unsupported decorator location: "+n)};function C(e){return(t,r)=>typeof r=="object"?ua(e,t,r):((n,i,a)=>{let s=i.hasOwnProperty(a);return i.constructor.createProperty(a,s?{...n,wrapped:!0}:n),s?Object.getOwnPropertyDescriptor(i,a):void 0})(e,t,r)}function q(e){return C({...e,state:!0,attribute:!1})}function we(e){return(t,r)=>{let n=typeof t=="function"?t:t[r];Object.assign(n,e)}}var yt=(e,t,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof t!="object"&&Object.defineProperty(e,t,r),r);function et(e,t){return(r,n,i)=>{let a=s=>s.renderRoot?.querySelector(e)??null;if(t){let{get:s,set:c}=typeof n=="object"?r:i??(()=>{let l=Symbol();return{get(){return this[l]},set(d){this[l]=d}}})();return yt(r,n,{get(){let l=s.call(this);return l===void 0&&(l=a(this),(l!==null||this.hasUpdated)&&c.call(this,l)),l}})}return yt(r,n,{get(){return a(this)}})}}var jc;function Vc(e){return(t,r)=>yt(t,r,{get(){return(this.renderRoot??(jc??=document.createDocumentFragment())).querySelectorAll(e)}})}function Kc(e){return(t,r)=>yt(t,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(e)??null}})}function Gc(e){return(t,r)=>{let{slot:n,selector:i}=e??{},a="slot"+(n?`[name=${n}]`:":not([name])");return yt(t,r,{get(){let s=this.renderRoot?.querySelector(a),c=s?.assignedElements(e)??[];return i===void 0?c:c.filter(l=>l.matches(i))}})}}function Ao(e){return(t,r)=>{let{slot:n}=e??{},i="slot"+(n?`[name=${n}]`:":not([name])");return yt(t,r,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(e)??[]}})}}var $o={};B($o,{repeat:()=>Yc});var zt={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Ht=e=>(...t)=>({_$litDirective$:e,values:t}),Ot=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,r,n){this._$Ct=t,this._$AM=r,this._$Ci=n}_$AS(t,r){return this.update(t,r)}update(t,r){return this.render(...r)}};var{D:Zc}=Xi;var ha=()=>document.createComment(""),Ee=(e,t,r)=>{let n=e._$AA.parentNode,i=t===void 0?e._$AB:t._$AA;if(r===void 0){let a=n.insertBefore(ha(),i),s=n.insertBefore(ha(),i);r=new Zc(a,s,e,e.options)}else{let a=r._$AB.nextSibling,s=r._$AM,c=s!==e;if(c){let l;r._$AQ?.(e),r._$AM=e,r._$AP!==void 0&&(l=e._$AU)!==s._$AU&&r._$AP(l)}if(a!==i||c){let l=r._$AA;for(;l!==a;){let d=l.nextSibling;n.insertBefore(l,i),l=d}}}return r},Ft=(e,t,r=e)=>(e._$AI(t,r),e),qc={},ma=(e,t=qc)=>e._$AH=t,ya=e=>e._$AH,Fr=e=>{e._$AP?.(!1,!0);let t=e._$AA,r=e._$AB.nextSibling;for(;t!==r;){let n=t.nextSibling;t.remove(),t=n}};var ga=(e,t,r)=>{let n=new Map;for(let i=t;i<=r;i++)n.set(e[i],i);return n},Yc=Ht(class extends Ot{constructor(e){if(super(e),e.type!==zt.CHILD)throw Error("repeat() can only be used in text expressions")}ht(e,t,r){let n;r===void 0?r=t:t!==void 0&&(n=t);let i=[],a=[],s=0;for(let c of e)i[s]=n?n(c,s):s,a[s]=r(c,s),s++;return{values:a,keys:i}}render(e,t,r){return this.ht(e,t,r).values}update(e,[t,r,n]){let i=ya(e),{values:a,keys:s}=this.ht(t,r,n);if(!Array.isArray(i))return this.dt=s,a;let c=this.dt??=[],l=[],d,h,u=0,m=i.length-1,y=0,g=a.length-1;for(;u<=m&&y<=g;)if(i[u]===null)u++;else if(i[m]===null)m--;else if(c[u]===s[y])l[y]=Ft(i[u],a[y]),u++,y++;else if(c[m]===s[g])l[g]=Ft(i[m],a[g]),m--,g--;else if(c[u]===s[g])l[g]=Ft(i[u],a[g]),Ee(e,l[g+1],i[u]),u++,g--;else if(c[m]===s[y])l[y]=Ft(i[m],a[y]),Ee(e,i[u],i[m]),m--,y++;else if(d===void 0&&(d=ga(s,y,g),h=ga(c,u,m)),d.has(c[u]))if(d.has(c[m])){let v=h.get(s[y]),E=v!==void 0?i[v]:null;if(E===null){let N=Ee(e,i[u]);Ft(N,a[y]),l[y]=N}else l[y]=Ft(E,a[y]),Ee(e,i[u],E),i[v]=null;y++}else Fr(i[m]),m--;else Fr(i[u]),u++;for(;y<=g;){let v=Ee(e,l[g+1]);Ft(v,a[y]),l[y++]=v}for(;u<=m;){let v=i[u++];v!==null&&Fr(v)}return this.dt=s,ma(e,l),ct}});var Po={};B(Po,{classMap:()=>fe});var fe=Ht(class extends Ot{constructor(e){if(super(e),e.type!==zt.ATTRIBUTE||e.name!=="class"||e.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter(t=>e[t]).join(" ")+" "}update(e,[t]){if(this.it===void 0){this.it=new Set,e.strings!==void 0&&(this.st=new Set(e.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in t)t[n]&&!this.st?.has(n)&&this.it.add(n);return this.render(t)}let r=e.element.classList;for(let n of this.it)n in t||(r.remove(n),this.it.delete(n));for(let n in t){let i=!!t[n];i===this.it.has(n)||this.st?.has(n)||(i?(r.add(n),this.it.add(n)):(r.remove(n),this.it.delete(n)))}return ct}});var _o={};B(_o,{styleMap:()=>Jc});var ba="important",Xc=" !"+ba,Jc=Ht(class extends Ot{constructor(e){if(super(e),e.type!==zt.ATTRIBUTE||e.name!=="style"||e.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(e){return Object.keys(e).reduce((t,r)=>{let n=e[r];return n==null?t:t+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(e,[t]){let{style:r}=e.element;if(this.ut===void 0)return this.ut=new Set(Object.keys(t)),this.render(t);for(let n of this.ut)t[n]==null&&(this.ut.delete(n),n.includes("-")?r.removeProperty(n):r[n]=null);for(let n in t){let i=t[n];if(i!=null){this.ut.add(n);let a=typeof i=="string"&&i.endsWith(Xc);n.includes("-")||a?r.setProperty(n,a?i.slice(0,-11):i,a?ba:""):r[n]=i}}return ct}});var Lo={};B(Lo,{UnsafeHTMLDirective:()=>Ne,unsafeHTML:()=>To});var Ne=class extends Ot{constructor(t){if(super(t),this.et=G,t.type!==zt.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===G||t==null)return this.vt=void 0,this.et=t;if(t===ct)return t;if(typeof t!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;let r=[t];return r.raw=r,this.vt={_$litType$:this.constructor.resultType,strings:r,values:[]}}};Ne.directiveName="unsafeHTML",Ne.resultType=1;var To=Ht(Ne);var Do={};B(Do,{CacheRegistry:()=>Mo});var ko={};B(ko,{CancelablePromise:()=>Ae,CanceledPromiseError:()=>nr,cancelable:()=>Io});var nr=class extends Error{constructor(t,r,n){super(t),this.canceledPromiseResult=r,this.canceledPromiseError=n}},Ae=class extends Promise{constructor(t){super((r,n)=>t(i=>{this.isCanceled?n(new nr("Promise has been canceled",i)):r(i)},i=>{this.isCanceled?n(new nr("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Io=e=>new Ae((t,r)=>e.then(t).catch(r));var Mo=class{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,r){this.loaders[t]=r,this.finalContent.delete(t)}registerFinal(t,r){this.loaders[t]=r,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 Ae&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){this.clearTimeouts[t]!=null&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,r){this.forceClear(t),this.register(t,async()=>r),this.content[t]=r}setFinal(t,r){this.forceClear(t),this.registerFinal(t,async()=>r),this.content[t]=r}async get(t,r,n){if(this.content[t]===void 0){if(r=r??this.loaders[t],r==null)throw new Error("Unknown cache key "+t);let i=Io(r());return this.content[t]=i,i.then(a=>(this.content[t]=a,n!=null&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout(()=>this.clear(t),n)),a))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return t!=null&&!(t instanceof Promise)&&!(t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return this.content[t]!=null}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 Uo={};B(Uo,{ClusteringHelper:()=>Wo});var Wo=class e{constructor(t,r,n,i){this.allResults=t,this.selectedResult=r,this.clusteringMetadata=n,this.metadataDescriptors=i}static extractResultMetadata(t,r){var n,i;let a=((i=(n=t?.map)!==null&&n!==void 0?n:t?.document)!==null&&i!==void 0?i:t?.topic).metadata.map(s=>e.flattenMetadata(s));return r==null?a:a.find(s=>s.key===r)}static flattenMetadata(t){if(t.hierarchicalValues){let r=[],n=[];return t.hierarchicalValues.forEach(i=>{r.push(i.join(" > ")),i.length>2?n.push(`... > ${i[i.length-1]}`):n.push(i.join(" > "))}),{key:t.key,label:t.label,value:r.join(", "),displayValue:n.join(", ")}}else{let r=t.values.join(", ");return{key:t.key,label:t.label,value:r,displayValue:r}}}computeClustersItemsForMetadata(t,r,n="No value"){var i,a;let s=e.extractResultMetadata(this.selectedResult,t),c=(i=s?.label)!==null&&i!==void 0?i:(a=this.getMetadataDescriptor(t))===null||a===void 0?void 0:a.label;return this.allResults.map(d=>e.extractResultMetadata(d,t)).map(d=>d??{key:t,label:c,value:void 0,displayValue:n}).filter(d=>d.value!=s?.value).filter((d,h,u)=>u.findIndex(m=>m.value===d.value)===h).map(d=>({result:this.findBestResultForMetadataValue(t,d.value),metadata:d})).sort((d,h)=>this.compareMetadata(d.metadata.value,h.metadata.value,t,r))}compareMetadata(t,r,n,i){if(t==null)return-1;if(r==null)return 1;let a=this.getMetadataDescriptor(n),s=a?.sortRule||"NONE",c=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let l=t.localeCompare(r,i,{numeric:!0});return c?l*-1:l}return 0}getMetadataDescriptor(t){return this.metadataDescriptors.find(r=>t==r.key)}findBestResultForMetadataValue(t,r){let n=this.allResults.filter(l=>{var d;return((d=e.extractResultMetadata(l,t))===null||d===void 0?void 0:d.value)==r}),a=[...e.extractResultMetadata(this.selectedResult).filter(l=>this.clusteringMetadata.has(l.key)).filter(l=>l.key!==t)],s,c=-1;for(let l of n){let d=this.countMatchingMetadata(l,a);if(d>c&&(c=d,s=l,d===a.length))break}return s}countMatchingMetadata(t,r){return e.extractResultMetadata(t).filter(n=>r.some(i=>i.key===n.key&&i.value===n.value)).length}};var Bo={};B(Bo,{Debouncer:()=>gt});var gt=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,r){return this.callbacks=[t],this.debounce(r)}queue(t,r){return this.callbacks.push(t),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((r,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,r;let n=[...this.callbacks];this.callbacks=[];let i=(t=this.rejectPromise)!==null&&t!==void 0?t:()=>null,a=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(c){i(c);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Fo={};B(Fo,{customElement:()=>X,isNumber:()=>Ca,jsonProperty:()=>Ho,optionalNumberProperty:()=>il});var zo={};B(zo,{dateReviver:()=>tl,deepEqual:()=>jt,delay:()=>xa,eventPathContainsMatchingElement:()=>rl,flatDeep:()=>Sa,last:()=>nl,minmax:()=>ol,parseDate:()=>Oa,waitFor:()=>va,waitUntil:()=>Qc});var xa=e=>new Promise(t=>setTimeout(t,e));async function Qc(e,t=10,r=2e4){await va(async()=>await e()||void 0,t,r)}async function va(e,t=10,r=2e4){let n=await e(),i,a;for(i=a=performance.now();n==null&&(!r||a-i<r);)await xa(t),n=await e(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function Sa(e,t){return e.flatMap(r=>[r,...Sa(t(r),t)])}function tl(...e){return function(t,r){return e.includes(t)?Oa(r):r}}function Oa(e){return e.match(/^\d{4}-\d{2}-\d{2}$/)&&(e=e.replace(/-/g,"/")),e=e.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(t,r,n,i)=>r+n+":"+i),new Date(e)}function el(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var r,n,i;if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(!jt(e[n],t[n]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;for(n of e.entries())if(!jt(n[1],t.get(n[0])))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(i=Object.keys(e),r=i.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[n]))return!1;for(n=r;n--!==0;){var a=i[n];if(!jt(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function jt(e,t){try{return el(e,t)}catch{return!1}}function rl(e,t,r=window.document.body){if(t.length>0){let n=e.composedPath();for(let i of n){if(i===r)return!1;if(i.matches&&t.some(a=>i.matches(a)))return!0}}return!1}function ol(e,t,r){return Math.min(Math.max(e,t),r)}function nl(e){return e[e.length-1]}var X=e=>t=>{window.customElements.get(e)||window.customElements.define(e,t)};function Ho(e,t){let r=()=>JSON.parse(JSON.stringify(e));return C({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:(n,i)=>!jt(n,i),...t??{}})}function il(e){return C({type:Object,converter:{fromAttribute:t=>{if(t!=null)return Ca(t)?+t:void 0},toAttribute:t=>t==null?void 0:""+t},...e??{}})}function Ca(e){return!isNaN(parseFloat(e))}var gn={};B(gn,{designSystemVariables:()=>M});var yn={};B(yn,{FtCssVariableFactory:()=>o,banner:()=>sl,border:()=>Cl,breadcrumb:()=>cl,button:()=>w,chart:()=>Sl,checkbox:()=>El,chip:()=>Ol,collapsible:()=>xl,comboboxMultiSelect:()=>yl,comboboxSingleSelect:()=>ml,drawer:()=>dl,floatingMenu:()=>hl,foundation:()=>p,modal:()=>pl,notice:()=>wl,notification:()=>Rl,pageHeader:()=>ll,popover:()=>gl,radio:()=>Al,semantic:()=>f,setVariable:()=>P,switch_:()=>vl,tabs:()=>bl,textArea:()=>ul,textInput:()=>fl,toggle:()=>Nl,tooltip:()=>$l,typographies:()=>ir,typographyBody1Medium:()=>qo,typographyBody1Regular:()=>Zo,typographyBody1Semibold:()=>Yo,typographyBody2Medium:()=>Jo,typographyBody2MediumUnderline:()=>wa,typographyBody2Regular:()=>Xo,typographyBody2Semibold:()=>Qo,typographyCaption1Bold:()=>ln,typographyCaption1Medium:()=>sn,typographyCaption1Semibold:()=>cn,typographyCaption2Bold:()=>fn,typographyCaption2Medium:()=>pn,typographyCaption2Semibold:()=>dn,typographyCaption3Bold:()=>mn,typographyCaption3Medium:()=>un,typographyCaption3Semibold:()=>hn,typographyDisplay:()=>jo,typographyLabel1Bold:()=>rn,typographyLabel1Medium:()=>tn,typographyLabel1Semibold:()=>en,typographyLabel2Bold:()=>an,typographyLabel2Medium:()=>on,typographyLabel2Semibold:()=>nn,typographyTitle1:()=>Vo,typographyTitle2:()=>Ko,typographyTitle3:()=>Go,typographyVariants:()=>al});var It=e=>typeof e=="string"?_t(e):e,o=class{static create(t,r,n,i){let a=c=>It(c??i),s=_`var(${It(t)}, ${a(i)})`;return s.name=t,s.description=r,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=c=>_`var(${It(t)}, ${a(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(t,r,n,i){let a=c=>n.get(c??i),s=_`var(${It(t)}, ${a(i)})`;return s.name=t,s.description=r,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=a,s.get=c=>_`var(${It(t)}, ${a(c)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(t,r){let n=a=>t.fallbackVariable?t.fallbackVariable.get(a??t.defaultValue):It(a??t.lastResortDefaultValue()),i=_`var(${It(t.name)}, ${n(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=r,i.defaultCssValue=n,i.get=a=>_`var(${It(t.name)}, ${n(a)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}};function P(e,t){return It(`${e.name}: ${t}`)}var p={colorWhite:o.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:o.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:o.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:o.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:o.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:o.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:o.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:o.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:o.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:o.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:o.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:o.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:o.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:o.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:o.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:o.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:o.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:o.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:o.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:o.create("--ft-icon-size-6","","SIZE","48px"),opacity0:o.create("--ft-opacity-0","","NUMBER","0"),opacity8:o.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:o.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:o.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:o.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.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)")},jo={fontFamily:o.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:o.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-display-textCase","","UNKNOWN","none")},Vo={fontFamily:o.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:o.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Ko={fontFamily:o.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:o.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Go={fontFamily:o.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:o.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:o.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Zo={fontFamily:o.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},qo={fontFamily:o.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Yo={fontFamily:o.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Xo={fontFamily:o.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Jo={fontFamily:o.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},wa={fontFamily:o.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:o.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:o.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Qo={fontFamily:o.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},tn={fontFamily:o.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},en={fontFamily:o.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},rn={fontFamily:o.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},on={fontFamily:o.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},nn={fontFamily:o.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},an={fontFamily:o.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},sn={fontFamily:o.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},cn={fontFamily:o.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},ln={fontFamily:o.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},pn={fontFamily:o.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},dn={fontFamily:o.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},fn={fontFamily:o.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},un={fontFamily:o.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},hn={fontFamily:o.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},mn={fontFamily:o.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},ir={display:jo,"title-1":Vo,"title-2":Ko,"title-3":Go,"body-1-regular":Zo,"body-1-medium":qo,"body-1-semibold":Yo,"body-2-regular":Xo,"body-2-medium":Jo,"body-2-medium-underline":wa,"body-2-semibold":Qo,"label-1-medium":tn,"label-1-semibold":en,"label-1-bold":rn,"label-2-medium":on,"label-2-semibold":nn,"label-2-bold":an,"caption-1-medium":sn,"caption-1-semibold":cn,"caption-1-bold":ln,"caption-2-medium":pn,"caption-2-semibold":dn,"caption-2-bold":fn,"caption-3-medium":un,"caption-3-semibold":hn,"caption-3-bold":mn},al=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"];var f={backgroundActionPrimary:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",p.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",p.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",p.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",p.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",p.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",p.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",p.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",p.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",p.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",p.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",p.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",p.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",p.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",p.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",p.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",p.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",p.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",p.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
6
|
+
Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",p.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",p.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",p.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",p.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",p.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",p.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",p.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",p.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",p.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",p.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",p.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",p.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",p.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",p.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",p.colorGray80)};var w={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",p.spacing4),largeGap:o.extend("--ft-button-large-gap","",p.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",p.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",p.iconSize3),largeBorderWidth:o.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:o.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:o.extend("--ft-button-small-horizontal-padding","",p.spacing3),smallGap:o.extend("--ft-button-small-gap","",p.spacing2),smallBorderRadius:o.extend("--ft-button-small-border-radius","",p.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",p.iconSize2),smallBorderWidth:o.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:o.extend("--ft-button-primary-background-color","",f.backgroundActionPrimary),primaryColor:o.extend("--ft-button-primary-color","",f.contentGlobalOnColor),primaryIconColor:o.extend("--ft-button-primary-icon-color","",f.contentGlobalOnColor),primaryStateLayerColor:o.extend("--ft-button-primary-state-layer-color","",f.contentGlobalOnColor),primaryHoverStateLayerOpacity:o.extend("--ft-button-primary-hover-state-layer-opacity","",p.opacity16),primaryFocusStateLayerOpacity:o.extend("--ft-button-primary-focus-state-layer-opacity","",p.opacity16),primaryActiveStateLayerOpacity:o.extend("--ft-button-primary-active-state-layer-opacity","",p.opacity24),primaryDisabledComponentOpacity:o.extend("--ft-button-primary-disabled-component-opacity","",p.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",f.borderActionFocusRing),tertiaryBackgroundColor:o.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:o.extend("--ft-button-tertiary-color","",f.contentActionPrimary),tertiaryIconColor:o.extend("--ft-button-tertiary-icon-color","",f.contentActionPrimary),tertiaryStateLayerColor:o.extend("--ft-button-tertiary-state-layer-color","",f.contentActionPrimary),tertiaryHoverStateLayerOpacity:o.extend("--ft-button-tertiary-hover-state-layer-opacity","",p.opacity8),tertiaryFocusStateLayerOpacity:o.extend("--ft-button-tertiary-focus-state-layer-opacity","",p.opacity8),tertiaryActiveStateLayerOpacity:o.extend("--ft-button-tertiary-active-state-layer-opacity","",p.opacity16),tertiaryDisabledComponentOpacity:o.extend("--ft-button-tertiary-disabled-component-opacity","",p.opacity40),secondaryBackgroundColor:o.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:o.extend("--ft-button-secondary-color","",f.contentActionPrimary),secondaryIconColor:o.extend("--ft-button-secondary-icon-color","",f.contentActionPrimary),secondaryStateLayerColor:o.extend("--ft-button-secondary-state-layer-color","",f.contentActionPrimary),secondaryHoverStateLayerOpacity:o.extend("--ft-button-secondary-hover-state-layer-opacity","",p.opacity8),secondaryFocusStateLayerOpacity:o.extend("--ft-button-secondary-focus-state-layer-opacity","",p.opacity8),secondaryActiveStateLayerOpacity:o.extend("--ft-button-secondary-active-state-layer-opacity","",p.opacity16),secondaryDisabledComponentOpacity:o.extend("--ft-button-secondary-disabled-component-opacity","",p.opacity40),secondaryBorderColor:o.extend("--ft-button-secondary-border-color","",f.borderActionPrimary),neutralBackgroundColor:o.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:o.extend("--ft-button-neutral-icon-color","",f.contentGlobalSecondary),neutralColor:o.extend("--ft-button-neutral-color","",f.contentGlobalSecondary),neutralStateLayerColor:o.extend("--ft-button-neutral-state-layer-color","",f.contentGlobalSecondary),neutralHoverStateLayerOpacity:o.extend("--ft-button-neutral-hover-state-layer-opacity","",p.opacity8),neutralFocusStateLayerOpacity:o.extend("--ft-button-neutral-focus-state-layer-opacity","",p.opacity8),neutralActiveStateLayerOpacity:o.extend("--ft-button-neutral-active-state-layer-opacity","",p.opacity16),neutralDisabledComponentOpacity:o.extend("--ft-button-neutral-disabled-component-opacity","",p.opacity40)};var sl={iconSize:o.extend("--ft-banner-icon-size","",p.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-banner-horizontal-padding","",p.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",p.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",p.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",p.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",p.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",p.spacing20),infoBackgroundColor:o.extend("--ft-banner-info-background-color","",f.backgroundInfoSubtle),infoColor:o.extend("--ft-banner-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-banner-info-icon-color","",f.contentInfoIconOnly)};var cl={horizontalGap:o.extend("--ft-breadcrumb-horizontal-gap","",p.spacing1),verticalGap:o.extend("--ft-breadcrumb-vertical-gap","",p.spacing2),currentElementColor:o.extend("--ft-breadcrumb-current-element-color","",f.contentGlobalPrimary),iconColor:o.extend("--ft-breadcrumb-icon-color","",f.contentGlobalSubtle)};var ll={horizontalPadding:o.extend("--ft-page-header-horizontal-padding","",p.spacing12),horizontalGap:o.extend("--ft-page-header-horizontal-gap","",p.spacing4),verticalGap:o.extend("--ft-page-header-vertical-gap","",p.spacing2),classicVerticalPadding:o.extend("--ft-page-header-classic-vertical-padding","",p.spacing6),multilineVerticalPadding:o.extend("--ft-page-header-multiline-vertical-padding","",p.spacing4),inlineVerticalPadding:o.extend("--ft-page-header-inline-vertical-padding","",p.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",p.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",f.borderGlobalSubtle),titleColor:o.extend("--ft-page-header-title-color","",f.contentGlobalPrimary),subtitleColor:o.extend("--ft-page-header-subtitle-color","",f.contentGlobalSecondary)};var pl={smallContainerWidth:o.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:o.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:o.extend("--ft-modal-overlay-background-color","",p.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",p.opacity40),shadow:o.extend("--ft-modal-shadow","",p.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",p.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",p.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",p.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",p.spacing6),containerMargin:o.extend("--ft-modal-container-margin","",p.spacing3),headerBackgroundColor:o.extend("--ft-modal-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-modal-header-border-color","",f.borderGlobalSubtle),headerColor:o.extend("--ft-modal-header-color","",f.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-modal-header-trailing-icon-color","",f.contentGlobalSecondary),headerVerticalPadding:o.extend("--ft-modal-header-vertical-padding","",p.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",p.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",p.spacing6),headerGap:o.extend("--ft-modal-header-gap","",p.spacing2),headerBorderBottom:o.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",p.borderRadiusM)};var dl={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",p.opacity40),shadow:o.extend("--ft-drawer-shadow","",p.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",p.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",p.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",p.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",p.colorWhite),headerBackgroundColor:o.extend("--ft-drawer-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-drawer-header-border-color","",f.borderGlobalSubtle),headerColor:o.extend("--ft-drawer-header-color","",f.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-drawer-header-trailing-icon-color","",f.contentGlobalSecondary),headerHeight:o.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ft-drawer-header-horizontal-padding","",p.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",p.spacing3),buttonsBarBackgroundColor:o.extend("--ft-drawer-buttons-bar-background-color","",f.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ft-drawer-buttons-bar-border-color","",f.borderGlobalSubtle),buttonsBarColor:o.extend("--ft-drawer-buttons-bar-color","",f.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ft-drawer-buttons-bar-horizontal-padding","",p.spacing4),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",p.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",p.spacing3),buttonsBarBorderWidth:o.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ft-drawer-overlay-background-color","",p.colorGray700)};var fl={fieldHorizontalPadding:o.extend("--ft-text-input-field-horizontal-padding","",p.spacing4),fieldHorizontalGap:o.extend("--ft-text-input-field-horizontal-gap","",p.spacing3),fieldVerticalGap:o.extend("--ft-text-input-field-vertical-gap","",p.spacing05),fieldIconSize:o.extend("--ft-text-input-field-icon-size","",p.iconSize3),fieldHeight:o.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",p.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",p.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",p.borderRadiusM),backgroundColor:o.extend("--ft-text-input-background-color","",p.colorWhite),contentValueColor:o.extend("--ft-text-input-content-value-color","",f.contentGlobalPrimary),trailingIconColor:o.extend("--ft-text-input-trailing-icon-color","",f.contentGlobalSubtle),labelColor:o.extend("--ft-text-input-label-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-input-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-input-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-input-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-input-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-input-error-helper-icon-color","",f.contentErrorIconOnly),warningBorderWidth:o.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-text-input-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-input-disabled-component-opacity","",p.opacity40)};var ul={backgroundColor:o.extend("--ft-text-area-background-color","",p.colorWhite),contentValueColor:o.extend("--ft-text-area-content-value-color","",f.contentGlobalPrimary),labelColor:o.extend("--ft-text-area-label-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-area-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-area-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-area-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-area-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-area-error-helper-icon-color","",f.contentErrorIconOnly),focusFocusRingColor:o.extend("--ft-text-area-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:o.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-area-disabled-component-opacity","",p.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",p.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",p.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",p.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",p.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",p.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",p.borderRadiusM)};var hl={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",p.spacing4),offIconColor:o.extend("--ft-floating-menu-off-icon-color","",f.contentGlobalPrimary),offColor:o.extend("--ft-floating-menu-off-color","",f.contentGlobalPrimary),onColor:o.extend("--ft-floating-menu-on-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-floating-menu-on-state-layer-color","",f.contentActionPrimary),gap:o.extend("--ft-floating-menu-gap","",p.spacing3),focusFocusRingColor:o.extend("--ft-floating-menu-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:o.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ft-floating-menu-focus-state-layer-opacity","",p.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",p.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",p.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",p.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",p.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",f.backgroundGlobalOnSurface)};var ml={fieldHorizontalPadding:o.extend("--ft-combobox-single-select-field-horizontal-padding","",p.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-single-select-field-horizontal-gap","",p.spacing3),fieldVerticalGap:o.extend("--ft-combobox-single-select-field-vertical-gap","",p.spacing05),fieldIconSize:o.extend("--ft-combobox-single-select-field-icon-size","",p.iconSize3),fieldHeight:o.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",p.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",p.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",p.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",p.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",p.borderRadiusM),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",p.colorWhite),labelColor:o.extend("--ft-combobox-single-select-label-color","",f.contentGlobalSubtle),contentValueColor:o.extend("--ft-combobox-single-select-content-value-color","",f.contentGlobalPrimary),trailingIconColor:o.extend("--ft-combobox-single-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-single-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-single-select-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-combobox-single-select-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-single-select-error-helper-text-color","",f.contentErrorPrimary),warningBorderWidth:o.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-single-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-single-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-single-select-warning-helper-icon-color","",f.contentWarningIconOnly),focusOutlineWidth:o.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-single-select-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-single-select-disabled-component-opacity","",p.opacity40)};var yl={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",p.colorWhite),labelColor:o.extend("--ft-combobox-multi-select-label-color","",f.contentGlobalSubtle),trailingIconColor:o.extend("--ft-combobox-multi-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-multi-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-multi-select-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ft-combobox-multi-select-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-multi-select-error-helper-text-color","",f.contentErrorPrimary),errorHelperIcon:o.extend("--ft-combobox-multi-select-error-helper-icon","",f.contentErrorIconOnly),errorBorderWidth:o.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-multi-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-multi-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-multi-select-warning-helper-icon-color","",f.contentWarningIconOnly),warningBorderWidth:o.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-multi-select-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:o.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-multi-select-disabled-component-opacity","",p.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",p.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",p.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",p.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",p.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",p.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",p.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",p.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",p.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",p.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",p.borderRadiusM)};var gl={backgroundColor:o.extend("--ft-popover-background-color","",f.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",p.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",p.spacing6),iconColor:o.extend("--ft-popover-icon-color","",f.contentGlobalSecondary),iconSize:o.extend("--ft-popover-icon-size","",p.iconSize2),titleColor:o.extend("--ft-popover-title-color","",f.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",f.contentGlobalSecondary),linkColor:o.extend("--ft-popover-link-color","",f.contentActionPrimary),gap:o.extend("--ft-popover-gap","",p.spacing3),borderRadius:o.extend("--ft-popover-border-radius","",p.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",p.shadowElevation02)};var bl={topLeftBorderRadius:o.extend("--ft-tabs-top-left-border-radius","",p.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",p.borderRadiusS),labelHorizontalPadding:o.extend("--ft-tabs-label-horizontal-padding","",p.spacing4),labelVerticalPadding:o.extend("--ft-tabs-label-vertical-padding","",p.spacing3),labelGap:o.extend("--ft-tabs-label-gap","",p.spacing1),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",p.opacity8),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",p.opacity8),offActiveStateLayerOpacity:o.extend("--ft-tabs-off-active-state-layer-opacity","",p.opacity16),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",p.opacity40),offColor:o.extend("--ft-tabs-off-color","",f.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-tabs-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",p.opacity8),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",p.opacity8),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",p.opacity16),onDisabledComponentOpacity:o.extend("--ft-tabs-on-disabled-component-opacity","",p.opacity40),onColor:o.extend("--ft-tabs-on-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-tabs-on-state-layer-color","",f.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-tabs-icon-horizontal-padding","",p.spacing1),iconVerticalPadding:o.extend("--ft-tabs-icon-vertical-padding","",p.spacing4),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",f.borderActionFocusRing)};var xl={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",p.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",p.opacity8),focusOutlineWidth:o.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ft-collapsible-focus-focus-ring-color","",f.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ft-collapsible-active-state-layer-opacity","",p.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",p.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",p.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",p.spacing3),color:o.extend("--ft-collapsible-color","",f.contentGlobalPrimary),stateLayerColor:o.extend("--ft-collapsible-state-layer-color","",f.contentGlobalPrimary),backgroundColor:o.extend("--ft-collapsible-background-color","",f.backgroundGlobalOnSurface),borderColor:o.extend("--ft-collapsible-border-color","",f.borderGlobalSubtle),iconSize:o.extend("--ft-collapsible-icon-size","",p.iconSize3)};var vl={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",p.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",p.spacing1),groupGap:o.extend("--ft-switch-group-gap","",p.spacing1),groupBackgroundColor:o.extend("--ft-switch-group-background-color","",f.backgroundGlobalSurface),groupBorderColor:o.extend("--ft-switch-group-border-color","",f.borderGlobalSubtle),groupBorderRadius:o.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ft-switch-label-horizontal-padding","",p.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",p.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",p.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",p.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",p.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",p.opacity40),offColor:o.extend("--ft-switch-off-color","",f.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-switch-on-hover-state-layer-opacity","",p.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",p.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",p.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",p.opacity40),onColor:o.extend("--ft-switch-on-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",f.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-switch-icon-horizontal-padding","",p.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",p.spacing1),focusOutlineWidth:o.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-switch-focus-focus-ring-color","",f.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",p.borderRadiusS)};var Sl={color1Light:o.extend("--ft-chart-1-light","for area color charts",p.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",p.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",p.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",p.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",p.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",p.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",p.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",p.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",p.colorRed40),color5Base:o.extend("--ft-chart-5-base","",p.colorRed60),color6Light:o.extend("--ft-chart-6-light","",p.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",p.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",p.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",p.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",p.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",p.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",p.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",p.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",p.colorGray50),color10Base:o.extend("--ft-chart-10-base","",p.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",p.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",p.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",p.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",p.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",p.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",p.colorBrand200)};var Ol={largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",p.spacing4),largeVerticalPadding:o.extend("--ft-chip-large-vertical-padding","",p.spacing2),largeGap:o.extend("--ft-chip-large-gap","",p.spacing1),largeFocusOutlineOffset:o.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.extend("--ft-chip-large-border-radius","",p.borderRadiusPill),largeBorderWidth:o.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-large-icon-size","",p.iconSize3),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",p.spacing3),mediumVerticalPadding:o.extend("--ft-chip-medium-vertical-padding","",p.spacing1),mediumGap:o.extend("--ft-chip-medium-gap","",p.spacing1),mediumFocusOutlineOffset:o.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.extend("--ft-chip-medium-border-radius","",p.borderRadiusPill),mediumBorderWidth:o.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-medium-icon-size","",p.iconSize2),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",p.spacing2),smallVerticalPadding:o.extend("--ft-chip-small-vertical-padding","",p.spacing05),smallGap:o.extend("--ft-chip-small-gap","",p.spacing1),smallFocusOutlineOffset:o.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.extend("--ft-chip-small-border-radius","",p.borderRadiusPill),smallBorderWidth:o.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ft-chip-small-icon-size","",p.iconSize1),neutralBackgroundColor:o.extend("--ft-chip-neutral-background-color","",f.backgroundGlobalOnSurface),neutralColor:o.extend("--ft-chip-neutral-color","",f.contentGlobalPrimary),neutralIconColor:o.extend("--ft-chip-neutral-icon-color","",f.contentGlobalPrimary),neutralBorderColor:o.extend("--ft-chip-neutral-border-color","",f.borderGlobalSubtle),infoBackgroundColor:o.extend("--ft-chip-info-background-color","",f.backgroundInfoSubtle),infoColor:o.extend("--ft-chip-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-chip-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:o.extend("--ft-chip-info-border-color","",f.borderInfoSubtle),successBackgroundColor:o.extend("--ft-chip-success-background-color","",f.backgroundSuccessSubtle),successColor:o.extend("--ft-chip-success-color","",f.contentSuccessPrimary),successIconColor:o.extend("--ft-chip-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:o.extend("--ft-chip-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-chip-warning-background-color","",f.backgroundWarningSubtle),warningColor:o.extend("--ft-chip-warning-color","",f.contentWarningPrimary),warningIconColor:o.extend("--ft-chip-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:o.extend("--ft-chip-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-chip-error-background-color","",f.backgroundErrorSubtle),errorColor:o.extend("--ft-chip-error-color","",f.contentErrorPrimary),errorIconColor:o.extend("--ft-chip-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:o.extend("--ft-chip-error-border-color","",f.borderErrorSubtle)};var Cl={infoBorderColor:o.extend("--ft-border-info-border-color","",f.borderInfoSubtle)};var wl={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",p.spacing2),verticalPadding:o.extend("--ft-notice-vertical-padding","",p.spacing1),borderRadius:o.extend("--ft-notice-border-radius","",p.borderRadiusS),gap:o.extend("--ft-notice-gap","",p.spacing2),iconSize:o.extend("--ft-notice-icon-size","",p.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",f.backgroundInfoSubtle),infoBorderColor:o.extend("--ft-notice-info-border-color","",f.borderInfoSubtle),infoColor:o.extend("--ft-notice-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-notice-info-icon-color","",f.contentInfoIconOnly),warningBackgroundColor:o.extend("--ft-notice-warning-background-color","",f.backgroundWarningSubtle),warningBorderColor:o.extend("--ft-notice-warning-border-color","",f.borderWarningSubtle),warningColor:o.extend("--ft-notice-warning-color","",f.contentWarningPrimary),warningIconColor:o.extend("--ft-notice-warning-icon-color","",f.contentWarningIconOnly),errorBackgroundColor:o.extend("--ft-notice-error-background-color","",f.backgroundErrorSubtle),errorBorderColor:o.extend("--ft-notice-error-border-color","",f.borderErrorSubtle),errorColor:o.extend("--ft-notice-error-color","",f.contentErrorPrimary),errorIconColor:o.extend("--ft-notice-error-icon-color","",f.contentErrorIconOnly),successBackgroundColor:o.extend("--ft-notice-success-background-color","",f.backgroundSuccessSubtle),successBorderColor:o.extend("--ft-notice-success-border-color","",f.borderSuccessSubtle),successColor:o.extend("--ft-notice-success-color","",f.contentSuccessPrimary),successIconColor:o.extend("--ft-notice-success-icon-color","",f.contentSuccessIconOnly)};var El={color:o.extend("--ft-checkbox-color","",f.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ft-checkbox-checked-background-color","",f.contentActionPrimary),checkedStateLayerColor:o.extend("--ft-checkbox-checked-state-layer-color","",f.contentActionPrimary),checkedIconColor:o.extend("--ft-checkbox-checked-icon-color","",f.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ft-checkbox-checked-hover-state-layer-opacity","",p.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",p.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",p.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",p.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",p.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",p.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",p.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",p.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",p.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",p.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-checkbox-gap","",p.spacing3)};var Nl={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",p.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",p.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",p.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",p.opacity40),offBackgroundColor:o.extend("--ft-toggle-off-background-color","",f.contentGlobalSubtle),offIconColor:o.extend("--ft-toggle-off-icon-color","",f.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-toggle-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-toggle-on-hover-state-layer-opacity","",p.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",p.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",p.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",p.opacity40),onBackgroundColor:o.extend("--ft-toggle-on-background-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-toggle-on-state-layer-color","",f.contentActionPrimary),onIconColor:o.extend("--ft-toggle-on-icon-color","",f.contentActionPrimary),color:o.extend("--ft-toggle-color","",f.contentGlobalPrimary),focusFocusRingColor:o.extend("--ft-toggle-focus-focus-ring-color","",f.borderActionFocusRing),gap:o.extend("--ft-toggle-gap","",p.spacing3)};var Al={color:o.extend("--ft-radio-color","",f.contentGlobalPrimary),selectedRadioColor:o.extend("--ft-radio-selected-radio-color","",f.contentActionPrimary),selectedStateLayerColor:o.extend("--ft-radio-selected-state-layer-color","",f.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ft-radio-selected-hover-state-layer-opacity","",p.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",p.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",p.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",p.opacity40),unselectedStateLayerColor:o.extend("--ft-radio-unselected-state-layer-color","",f.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",f.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ft-radio-unselected-hover-state-layer-opacity","",p.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",p.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",p.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",p.opacity40),focusFocusRingColor:o.extend("--ft-radio-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-radio-gap","",p.spacing3)};var Rl={iconSize:o.extend("--ft-notification-icon-size","",p.iconSize4),horizontalPadding:o.extend("--ft-notification-horizontal-padding","",p.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",p.spacing4),infoBackgroundColor:o.extend("--ft-notification-info-background-color","",f.backgroundInfoSubtle),infoColor:o.extend("--ft-notification-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-notification-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:o.extend("--ft-notification-info-border-color","",f.borderInfoSubtle),successBackgroundColor:o.extend("--ft-notification-success-background-color","",f.backgroundSuccessSubtle),successColor:o.extend("--ft-notification-success-color","",f.contentSuccessPrimary),successIconColor:o.extend("--ft-notification-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:o.extend("--ft-notification-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-notification-warning-background-color","",f.backgroundWarningSubtle),warningColor:o.extend("--ft-notification-warning-color","",f.contentWarningPrimary),warningIconColor:o.extend("--ft-notification-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:o.extend("--ft-notification-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-notification-error-background-color","",f.backgroundErrorSubtle),errorColor:o.extend("--ft-notification-error-color","",f.contentErrorPrimary),errorIconColor:o.extend("--ft-notification-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:o.extend("--ft-notification-error-border-color","",f.borderErrorSubtle),borderRadius:o.extend("--ft-notification-border-radius","",p.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",p.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",p.spacing8)};var $l={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",p.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",p.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",p.borderRadiusS),color:o.extend("--ft-tooltip-color","",f.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",f.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",p.opacity80),shadow:o.extend("--ft-tooltip-shadow","",p.shadowElevation03),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",p.spacing05)};var M={colorPrimary:o.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:o.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:o.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:o.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:o.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:o.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:o.create("--ft-color-error","","COLOR","#B00020"),colorOutline:o.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:o.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:o.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:o.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:o.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:o.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:o.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:o.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:o.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:o.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:o.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:o.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:o.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:o.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:o.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:o.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:o.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:o.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:o.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:o.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:o.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:o.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:o.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:o.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:o.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:o.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:o.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:o.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:o.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:o.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:o.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:o.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:o.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:o.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:o.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:o.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:o.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:o.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:o.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:o.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:o.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:o.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var Sn={};B(Sn,{FtNotificationEvent:()=>bn,PostResizeEvent:()=>vn,PreResizeEvent:()=>xn});var bn=class extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}},xn=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},vn=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};var Ln={};B(Ln,{computeOffsetPosition:()=>Tn});var Na=["top","right","bottom","left"],Ea=["start","end"],Cn=Na.reduce((e,t)=>e.concat(t,t+"-"+Ea[0],t+"-"+Ea[1]),[]),ar=Math.min,Vt=Math.max,sr=Math.round;var kt=e=>({x:e,y:e}),Pl={left:"right",right:"left",bottom:"top",top:"bottom"},_l={start:"end",end:"start"};function wn(e,t,r){return Vt(e,ar(t,r))}function jr(e,t){return typeof e=="function"?e(t):e}function Re(e){return e.split("-")[0]}function Kt(e){return e.split("-")[1]}function En(e){return e==="x"?"y":"x"}function Nn(e){return e==="y"?"height":"width"}function Vr(e){return["top","bottom"].includes(Re(e))?"y":"x"}function An(e){return En(Vr(e))}function Aa(e,t,r){r===void 0&&(r=!1);let n=Kt(e),i=An(e),a=Nn(i),s=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(s=On(s)),[s,On(s)]}function Ra(e){return e.replace(/start|end/g,t=>_l[t])}function On(e){return e.replace(/left|right|bottom|top/g,t=>Pl[t])}function Tl(e){return{top:0,right:0,bottom:0,left:0,...e}}function $a(e){return typeof e!="number"?Tl(e):{top:e,right:e,bottom:e,left:e}}function ue(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Pa(e,t,r){let{reference:n,floating:i}=e,a=Vr(t),s=An(t),c=Nn(s),l=Re(t),d=a==="y",h=n.x+n.width/2-i.width/2,u=n.y+n.height/2-i.height/2,m=n[c]/2-i[c]/2,y;switch(l){case"top":y={x:h,y:n.y-i.height};break;case"bottom":y={x:h,y:n.y+n.height};break;case"right":y={x:n.x+n.width,y:u};break;case"left":y={x:n.x-i.width,y:u};break;default:y={x:n.x,y:n.y}}switch(Kt(t)){case"start":y[s]-=m*(r&&d?-1:1);break;case"end":y[s]+=m*(r&&d?-1:1);break}return y}var _a=async(e,t,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=r,c=a.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(t)),d=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:h,y:u}=Pa(d,n,l),m=n,y={},g=0;for(let v=0;v<c.length;v++){let{name:E,fn:N}=c[v],{x:A,y:x,data:b,reset:S}=await N({x:h,y:u,initialPlacement:n,placement:m,strategy:i,middlewareData:y,rects:d,platform:s,elements:{reference:e,floating:t}});if(h=A??h,u=x??u,y={...y,[E]:{...y[E],...b}},S&&g<=50){g++,typeof S=="object"&&(S.placement&&(m=S.placement),S.rects&&(d=S.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:i}):S.rects),{x:h,y:u}=Pa(d,m,l)),v=-1;continue}}return{x:h,y:u,placement:m,strategy:i,middlewareData:y}};async function Rn(e,t){var r;t===void 0&&(t={});let{x:n,y:i,platform:a,rects:s,elements:c,strategy:l}=e,{boundary:d="clippingAncestors",rootBoundary:h="viewport",elementContext:u="floating",altBoundary:m=!1,padding:y=0}=jr(t,e),g=$a(y),E=c[m?u==="floating"?"reference":"floating":u],N=ue(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(E)))==null||r?E:E.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(c.floating)),boundary:d,rootBoundary:h,strategy:l})),A=u==="floating"?{...s.floating,x:n,y:i}:s.reference,x=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c.floating)),b=await(a.isElement==null?void 0:a.isElement(x))?await(a.getScale==null?void 0:a.getScale(x))||{x:1,y:1}:{x:1,y:1},S=ue(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:A,offsetParent:x,strategy:l}):A);return{top:(N.top-S.top+g.top)/b.y,bottom:(S.bottom-N.bottom+g.bottom)/b.y,left:(N.left-S.left+g.left)/b.x,right:(S.right-N.right+g.right)/b.x}}function Ll(e,t,r){return(e?[...r.filter(i=>Kt(i)===e),...r.filter(i=>Kt(i)!==e)]:r.filter(i=>Re(i)===i)).filter(i=>e?Kt(i)===e||(t?Ra(i)!==i:!1):!0)}var $n=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var r,n,i;let{rects:a,middlewareData:s,placement:c,platform:l,elements:d}=t,{crossAxis:h=!1,alignment:u,allowedPlacements:m=Cn,autoAlignment:y=!0,...g}=jr(e,t),v=u!==void 0||m===Cn?Ll(u||null,y,m):m,E=await Rn(t,g),N=((r=s.autoPlacement)==null?void 0:r.index)||0,A=v[N];if(A==null)return{};let x=Aa(A,a,await(l.isRTL==null?void 0:l.isRTL(d.floating)));if(c!==A)return{reset:{placement:v[0]}};let b=[E[Re(A)],E[x[0]],E[x[1]]],S=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:A,overflows:b}],T=v[N+1];if(T)return{data:{index:N+1,overflows:S},reset:{placement:T}};let D=S.map($=>{let L=Kt($.placement);return[$.placement,L&&h?$.overflows.slice(0,2).reduce((k,J)=>k+J,0):$.overflows[0],$.overflows]}).sort(($,L)=>$[1]-L[1]),W=((i=D.filter($=>$[2].slice(0,Kt($[0])?2:3).every(L=>L<=0))[0])==null?void 0:i[0])||D[0][0];return W!==c?{data:{index:N+1,overflows:S},reset:{placement:W}}:{}}}};var Pn=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:r,y:n,placement:i}=t,{mainAxis:a=!0,crossAxis:s=!1,limiter:c={fn:E=>{let{x:N,y:A}=E;return{x:N,y:A}}},...l}=jr(e,t),d={x:r,y:n},h=await Rn(t,l),u=Vr(Re(i)),m=En(u),y=d[m],g=d[u];if(a){let E=m==="y"?"top":"left",N=m==="y"?"bottom":"right",A=y+h[E],x=y-h[N];y=wn(A,y,x)}if(s){let E=u==="y"?"top":"left",N=u==="y"?"bottom":"right",A=g+h[E],x=g-h[N];g=wn(A,g,x)}let v=c.fn({...t,[m]:y,[u]:g});return{...v,data:{x:v.x-r,y:v.y-n}}}}};function Mt(e){return La(e)?(e.nodeName||"").toLowerCase():"#document"}function ot(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Dt(e){var t;return(t=(La(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function La(e){return e instanceof Node||e instanceof ot(e).Node}function Ct(e){return e instanceof Element||e instanceof ot(e).Element}function bt(e){return e instanceof HTMLElement||e instanceof ot(e).HTMLElement}function Ta(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ot(e).ShadowRoot}function $e(e){let{overflow:t,overflowX:r,overflowY:n,display:i}=lt(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(i)}function Ia(e){return["table","td","th"].includes(Mt(e))}function Gr(e){let t=Zr(),r=lt(e);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function ka(e){let t=he(e);for(;bt(t)&&!cr(t);){if(Gr(t))return t;t=he(t)}return null}function Zr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function cr(e){return["html","body","#document"].includes(Mt(e))}function lt(e){return ot(e).getComputedStyle(e)}function lr(e){return Ct(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function he(e){if(Mt(e)==="html")return e;let t=e.assignedSlot||e.parentNode||Ta(e)&&e.host||Dt(e);return Ta(t)?t.host:t}function Ma(e){let t=he(e);return cr(t)?e.ownerDocument?e.ownerDocument.body:e.body:bt(t)&&$e(t)?t:Ma(t)}function Kr(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);let i=Ma(e),a=i===((n=e.ownerDocument)==null?void 0:n.body),s=ot(i);return a?t.concat(s,s.visualViewport||[],$e(i)?i:[],s.frameElement&&r?Kr(s.frameElement):[]):t.concat(i,Kr(i,[],r))}function Ua(e){let t=lt(e),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,i=bt(e),a=i?e.offsetWidth:r,s=i?e.offsetHeight:n,c=sr(r)!==a||sr(n)!==s;return c&&(r=a,n=s),{width:r,height:n,$:c}}function Ba(e){return Ct(e)?e:e.contextElement}function Pe(e){let t=Ba(e);if(!bt(t))return kt(1);let r=t.getBoundingClientRect(),{width:n,height:i,$:a}=Ua(t),s=(a?sr(r.width):r.width)/n,c=(a?sr(r.height):r.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}var Il=kt(0);function za(e){let t=ot(e);return!Zr()||!t.visualViewport?Il:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function kl(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==ot(e)?!1:t}function pr(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);let i=e.getBoundingClientRect(),a=Ba(e),s=kt(1);t&&(n?Ct(n)&&(s=Pe(n)):s=Pe(e));let c=kl(a,r,n)?za(a):kt(0),l=(i.left+c.x)/s.x,d=(i.top+c.y)/s.y,h=i.width/s.x,u=i.height/s.y;if(a){let m=ot(a),y=n&&Ct(n)?ot(n):n,g=m.frameElement;for(;g&&n&&y!==m;){let v=Pe(g),E=g.getBoundingClientRect(),N=lt(g),A=E.left+(g.clientLeft+parseFloat(N.paddingLeft))*v.x,x=E.top+(g.clientTop+parseFloat(N.paddingTop))*v.y;l*=v.x,d*=v.y,h*=v.x,u*=v.y,l+=A,d+=x,g=ot(g).frameElement}}return ue({width:h,height:u,x:l,y:d})}function Ml(e){let{rect:t,offsetParent:r,strategy:n}=e,i=bt(r),a=Dt(r);if(r===a)return t;let s={scrollLeft:0,scrollTop:0},c=kt(1),l=kt(0);if((i||!i&&n!=="fixed")&&((Mt(r)!=="body"||$e(a))&&(s=lr(r)),bt(r))){let d=pr(r);c=Pe(r),l.x=d.x+r.clientLeft,l.y=d.y+r.clientTop}return{width:t.width*c.x,height:t.height*c.y,x:t.x*c.x-s.scrollLeft*c.x+l.x,y:t.y*c.y-s.scrollTop*c.y+l.y}}function Dl(e){return Array.from(e.getClientRects())}function Ha(e){return pr(Dt(e)).left+lr(e).scrollLeft}function Wl(e){let t=Dt(e),r=lr(e),n=e.ownerDocument.body,i=Vt(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),a=Vt(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),s=-r.scrollLeft+Ha(e),c=-r.scrollTop;return lt(n).direction==="rtl"&&(s+=Vt(t.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:c}}function Ul(e,t){let r=ot(e),n=Dt(e),i=r.visualViewport,a=n.clientWidth,s=n.clientHeight,c=0,l=0;if(i){a=i.width,s=i.height;let d=Zr();(!d||d&&t==="fixed")&&(c=i.offsetLeft,l=i.offsetTop)}return{width:a,height:s,x:c,y:l}}function Bl(e,t){let r=pr(e,!0,t==="fixed"),n=r.top+e.clientTop,i=r.left+e.clientLeft,a=bt(e)?Pe(e):kt(1),s=e.clientWidth*a.x,c=e.clientHeight*a.y,l=i*a.x,d=n*a.y;return{width:s,height:c,x:l,y:d}}function Da(e,t,r){let n;if(t==="viewport")n=Ul(e,r);else if(t==="document")n=Wl(Dt(e));else if(Ct(t))n=Bl(t,r);else{let i=za(e);n={...t,x:t.x-i.x,y:t.y-i.y}}return ue(n)}function Fa(e,t){let r=he(e);return r===t||!Ct(r)||cr(r)?!1:lt(r).position==="fixed"||Fa(r,t)}function zl(e,t){let r=t.get(e);if(r)return r;let n=Kr(e,[],!1).filter(c=>Ct(c)&&Mt(c)!=="body"),i=null,a=lt(e).position==="fixed",s=a?he(e):e;for(;Ct(s)&&!cr(s);){let c=lt(s),l=Gr(s);!l&&c.position==="fixed"&&(i=null),(a?!l&&!i:!l&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||$e(s)&&!l&&Fa(e,s))?n=n.filter(h=>h!==s):i=c,s=he(s)}return t.set(e,n),n}function Hl(e){let{element:t,boundary:r,rootBoundary:n,strategy:i}=e,s=[...r==="clippingAncestors"?zl(t,this._c):[].concat(r),n],c=s[0],l=s.reduce((d,h)=>{let u=Da(t,h,i);return d.top=Vt(u.top,d.top),d.right=ar(u.right,d.right),d.bottom=ar(u.bottom,d.bottom),d.left=Vt(u.left,d.left),d},Da(t,c,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function Fl(e){return Ua(e)}function jl(e,t,r){let n=bt(t),i=Dt(t),a=r==="fixed",s=pr(e,!0,a,t),c={scrollLeft:0,scrollTop:0},l=kt(0);if(n||!n&&!a)if((Mt(t)!=="body"||$e(i))&&(c=lr(t)),n){let d=pr(t,!0,a,t);l.x=d.x+t.clientLeft,l.y=d.y+t.clientTop}else i&&(l.x=Ha(i));return{x:s.left+c.scrollLeft-l.x,y:s.top+c.scrollTop-l.y,width:s.width,height:s.height}}function Wa(e,t){return!bt(e)||lt(e).position==="fixed"?null:t?t(e):e.offsetParent}function ja(e,t){let r=ot(e);if(!bt(e))return r;let n=Wa(e,t);for(;n&&Ia(n)&<(n).position==="static";)n=Wa(n,t);return n&&(Mt(n)==="html"||Mt(n)==="body"&<(n).position==="static"&&!Gr(n))?r:n||ka(e)||r}var Vl=async function(e){let{reference:t,floating:r,strategy:n}=e,i=this.getOffsetParent||ja,a=this.getDimensions;return{reference:jl(t,await i(r),n),floating:{x:0,y:0,...await a(r)}}};function Kl(e){return lt(e).direction==="rtl"}var qr={convertOffsetParentRelativeRectToViewportRelativeRect:Ml,getDocumentElement:Dt,getClippingRect:Hl,getOffsetParent:ja,getElementRects:Vl,getClientRects:Dl,getDimensions:Fl,getScale:Pe,isElement:Ct,isRTL:Kl};var Va=(e,t,r)=>{let n=new Map,i={platform:qr,...r},a={...i.platform,_c:n};return _a(e,t,{...i,platform:a})};function Ka(e){return Gl(e)}function _n(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Gl(e){for(let t=e;t;t=_n(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=_n(e);t;t=_n(t)){if(!(t instanceof Element))continue;let r=getComputedStyle(t);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||t.tagName==="BODY"))return t}return null}async function Tn(e,t,r){return Va(e,t,{platform:{...qr,getOffsetParent:n=>qr.getOffsetParent(n,Ka)},middleware:[Pn({crossAxis:!0}),$n({allowedPlacements:[r]})]})}var Mn={};B(Mn,{FtLitElement:()=>V});var In={};B(In,{ScopedRegistryLitElement:()=>dr});var Yr=window,Zl=Yr.ShadowRoot&&(Yr.ShadyCSS===void 0||Yr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,dm=Symbol();var Ga=(e,t)=>{Zl?e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):t.forEach(r=>{let n=document.createElement("style"),i=Yr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,e.appendChild(n)})};var dr=class extends Lt{createRenderRoot(){let t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach(([i,a])=>t.registry.define(i,a)));let r={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return Ga(n,t.elementStyles),n}};var kn=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Ya,Za=Symbol("constructorPrototype"),qa=Symbol("constructorName"),Xa=Symbol("exportpartsDebouncer"),V=class extends dr{constructor(){super(),this.adoptedCustomStyleSheet=new CSSStyleSheet,this.useAdoptedStyleSheets=!0,this[Ya]=new gt(5),this[qa]=this.constructor.name,this[Za]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[qa]&&Object.setPrototypeOf(this,this[Za])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet])}catch(t){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",t)}}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate()})}contentAvailableCallback(t){}applyCustomStylesheet(t){var r,n,i;if(this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((r=this.customStylesheet)!==null&&r!==void 0?r:"")}catch(a){console.error(a,this.customStylesheet)}}else if(((i=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&i!==void 0?i:[]).forEach(a=>a.remove()),this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var t,r,n;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[Xa].run(()=>{var i,a;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(t){var r,n,i,a,s,c;let l=m=>m!=null&&m.trim().length>0,d=t.filter(l).map(m=>m.trim());if(d.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let m of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let y=(a=(i=m.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],g=(c=(s=m.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(v=>v.split(":")[1]))!==null&&c!==void 0?c:[];new Array(...y,...g).filter(l).map(v=>v.trim()).forEach(v=>h.add(v))}if(h.size===0){this.removeAttribute("exportparts");return}let u=[...h.values()].flatMap(m=>d.map(y=>`${m}:${y}--${m}`));this.setAttribute("exportparts",[...this.part,...u].join(", "))}};Ya=Xa;kn([C()],V.prototype,"exportpartsPrefix",void 0);kn([Ho([])],V.prototype,"exportpartsPrefixes",void 0);kn([C()],V.prototype,"customStylesheet",void 0);var Ja={};var Un={};B(Un,{highlightHtml:()=>Xl,highlightHtmlColorCssVariable:()=>Qa,highlightHtmlStyles:()=>Yl});var me=class e{constructor(t,r=!0,n=[],i=5e3){this.ctx=t,this.iframes=r,this.exclude=n,this.iframesTimeout=i}static matches(t,r){let n=typeof r=="string"?[r]:r,i=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(i){let a=!1;return n.every(s=>i.call(t,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let t,r=[];return typeof this.ctx>"u"||!this.ctx?t=[]:NodeList.prototype.isPrototypeOf(this.ctx)?t=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?t=this.ctx:typeof this.ctx=="string"?t=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):t=[this.ctx],t.forEach(n=>{let i=r.filter(a=>a.contains(n)).length>0;r.indexOf(n)===-1&&!i&&r.push(n)}),r}getIframeContents(t,r,n=()=>{}){let i;try{let a=t.contentWindow;if(i=a.document,!a||!i)throw new Error("iframe inaccessible")}catch{n()}i&&r(i)}isIframeBlank(t){let r="about:blank",n=t.getAttribute("src").trim();return t.contentWindow.location.href===r&&n!==r&&n}observeIframeLoad(t,r,n){let i=!1,a=null,s=()=>{if(!i){i=!0,clearTimeout(a);try{this.isIframeBlank(t)||(t.removeEventListener("load",s),this.getIframeContents(t,r,n))}catch{n()}}};t.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(t,r,n){try{t.contentWindow.document.readyState==="complete"?this.isIframeBlank(t)?this.observeIframeLoad(t,r,n):this.getIframeContents(t,r,n):this.observeIframeLoad(t,r,n)}catch{n()}}waitForIframes(t,r){let n=0;this.forEachIframe(t,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||r()})},i=>{i||r()})}forEachIframe(t,r,n,i=()=>{}){let a=t.querySelectorAll("iframe"),s=a.length,c=0;a=Array.prototype.slice.call(a);let l=()=>{--s<=0&&i(c)};s||l(),a.forEach(d=>{e.matches(d,this.exclude)?l():this.onIframeReady(d,h=>{r(d)&&(c++,n(h)),l()},l)})}createIterator(t,r,n){return document.createNodeIterator(t,r,n,!1)}createInstanceOnIframe(t){return new e(t.querySelector("html"),this.iframes)}compareNodeIframe(t,r,n){let i=t.compareDocumentPosition(n),a=Node.DOCUMENT_POSITION_PRECEDING;if(i&a)if(r!==null){let s=r.compareDocumentPosition(n),c=Node.DOCUMENT_POSITION_FOLLOWING;if(s&c)return!0}else return!0;return!1}getIteratorNode(t){let r=t.previousNode(),n;return r===null?n=t.nextNode():n=t.nextNode()&&t.nextNode(),{prevNode:r,node:n}}checkIframeFilter(t,r,n,i){let a=!1,s=!1;return i.forEach((c,l)=>{c.val===n&&(a=l,s=c.handled)}),this.compareNodeIframe(t,r,n)?(a===!1&&!s?i.push({val:n,handled:!0}):a!==!1&&!s&&(i[a].handled=!0),!0):(a===!1&&i.push({val:n,handled:!1}),!1)}handleOpenIframes(t,r,n,i){t.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(r,n,i)})})}iterateThroughNodes(t,r,n,i,a){let s=this.createIterator(r,t,i),c=[],l=[],d,h,u=()=>({prevNode:h,node:d}=this.getIteratorNode(s),d);for(;u();)this.iframes&&this.forEachIframe(r,m=>this.checkIframeFilter(d,h,m,c),m=>{this.createInstanceOnIframe(m).forEachNode(t,y=>l.push(y),i)}),l.push(d);l.forEach(m=>{n(m)}),this.iframes&&this.handleOpenIframes(c,t,n,i),a()}forEachNode(t,r,n,i=()=>{}){let a=this.getContexts(),s=a.length;s||i(),a.forEach(c=>{let l=()=>{this.iterateThroughNodes(t,c,r,n,()=>{--s<=0&&i()})};this.iframes?this.waitForIframes(c,l):l()})}};var fr=class{constructor(t){this.ctx=t,this.ie=!1;let r=window.navigator.userAgent;(r.indexOf("MSIE")>-1||r.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 me(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,r="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[r]=="function"&&n[r](`mark.js: ${t}`)}escapeStr(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(t){return this.opt.wildcards!=="disabled"&&(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)),this.opt.wildcards!=="disabled"&&(t=this.createWildcardsRegExp(t)),t=this.createAccuracyRegExp(t),t}createSynonymsRegExp(t){let r=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in r)if(r.hasOwnProperty(a)){let s=r[a],c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);c!==""&&l!==""&&(t=t.replace(new RegExp(`(${this.escapeStr(c)}|${this.escapeStr(l)})`,`gm${n}`),i+`(${this.processSynomyms(c)}|${this.processSynomyms(l)})`+i))}return t}processSynomyms(t){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),t}setupWildcardsRegExp(t){return t=t.replace(/(?:\\)*\?/g,r=>r.charAt(0)==="\\"?"?":""),t.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(t){let r=this.opt.wildcards==="withSpaces";return t.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,(r,n,i)=>{let a=i.charAt(n+1);return/[(|)\\]/.test(a)||a===""?r:r+"\0"})}createJoinersRegExp(t){let r=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&r.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&r.push("\\u00ad\\u200b\\u200c\\u200d"),r.length?t.split(/\u0000+/).join(`[${r.join("")}]*`):t}createDiacriticsRegExp(t){let r=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],i=[];return t.split("").forEach(a=>{n.every(s=>{if(s.indexOf(a)!==-1){if(i.indexOf(s)>-1)return!1;t=t.replace(new RegExp(`[${s}]`,`gm${r}`),`[${s}]`),i.push(s)}return!0})}),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(t){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,i=typeof n=="string"?n:n.value,a=typeof n=="string"?[]:n.limiters,s="";switch(a.forEach(c=>{s+=`|${this.escapeStr(c)}`}),i){case"partially":default:return`()(${t})`;case"complementary":return s="\\s"+(s||this.escapeStr(r)),`()([^${s}]*${t}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${t})(?=$|\\s${s})`}}getSeparatedKeywords(t){let r=[];return t.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(i=>{i.trim()&&r.indexOf(i)===-1&&r.push(i)}):n.trim()&&r.indexOf(n)===-1&&r.push(n)}),{keywords:r.sort((n,i)=>i.length-n.length),length:r.length}}isNumeric(t){return Number(parseFloat(t))==t}checkRanges(t){if(!Array.isArray(t)||Object.prototype.toString.call(t[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(t),[];let r=[],n=0;return t.sort((i,a)=>i.start-a.start).forEach(i=>{let{start:a,end:s,valid:c}=this.callNoMatchOnInvalidRanges(i,n);c&&(i.start=a,i.length=s-a,r.push(i),n=s)}),r}callNoMatchOnInvalidRanges(t,r){let n,i,a=!1;return t&&typeof t.start<"u"?(n=parseInt(t.start,10),i=n+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&i-r>0&&i-n>0?a=!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:n,end:i,valid:a}}checkWhitespaceRanges(t,r,n){let i,a=!0,s=n.length,c=r-s,l=parseInt(t.start,10)-c;return l=l>s?s:l,i=l+parseInt(t.length,10),i>s&&(i=s,this.log(`End range automatically set to the max value of ${s}`)),l<0||i-l<0||l>s||i>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):n.substring(l,i).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:l,end:i,valid:a}}getTextNodes(t){let r="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,i=>{n.push({start:r.length,end:(r+=i.textContent).length,node:i})},i=>this.matchesExclude(i.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{t({value:r,nodes:n})})}matchesExclude(t){return me.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,r,n){let i=this.opt.element?this.opt.element:"mark",a=t.splitText(r),s=a.splitText(n-r),c=document.createElement(i);return c.setAttribute("data-markjs","true"),this.opt.className&&c.setAttribute("class",this.opt.className),c.textContent=a.textContent,a.parentNode.replaceChild(c,a),s}wrapRangeInMappedTextNode(t,r,n,i,a){t.nodes.every((s,c)=>{let l=t.nodes[c+1];if(typeof l>"u"||l.start>r){if(!i(s.node))return!1;let d=r-s.start,h=(n>s.end?s.end:n)-s.start,u=t.value.substr(0,s.start),m=t.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,d,h),t.value=u+m,t.nodes.forEach((y,g)=>{g>=c&&(t.nodes[g].start>0&&g!==c&&(t.nodes[g].start-=h),t.nodes[g].end-=h)}),n-=h,a(s.node.previousSibling,s.start),n>s.end)r=s.end;else return!1}return!0})}wrapMatches(t,r,n,i,a){let s=r===0?0:r+1;this.getTextNodes(c=>{c.nodes.forEach(l=>{l=l.node;let d;for(;(d=t.exec(l.textContent))!==null&&d[s]!=="";){if(!n(d[s],l))continue;let h=d.index;if(s!==0)for(let u=1;u<s;u++)h+=d[u].length;l=this.wrapRangeInTextNode(l,h,h+d[s].length),i(l.previousSibling),t.lastIndex=0}}),a()})}wrapMatchesAcrossElements(t,r,n,i,a){let s=r===0?0:r+1;this.getTextNodes(c=>{let l;for(;(l=t.exec(c.value))!==null&&l[s]!=="";){let d=l.index;if(s!==0)for(let u=1;u<s;u++)d+=l[u].length;let h=d+l[s].length;this.wrapRangeInMappedTextNode(c,d,h,u=>n(l[s],u),(u,m)=>{t.lastIndex=m,i(u)})}a()})}wrapRangeFromIndex(t,r,n,i){this.getTextNodes(a=>{let s=a.value.length;t.forEach((c,l)=>{let{start:d,end:h,valid:u}=this.checkWhitespaceRanges(c,s,a.value);u&&this.wrapRangeInMappedTextNode(a,d,h,m=>r(m,c,a.value.substring(d,h),l),m=>{n(m,c)})}),i()})}unwrapMatches(t){let r=t.parentNode,n=document.createDocumentFragment();for(;t.firstChild;)n.appendChild(t.removeChild(t.firstChild));r.replaceChild(n,t),this.ie?this.normalizeTextNode(r):r.normalize()}normalizeTextNode(t){if(t){if(t.nodeType===3)for(;t.nextSibling&&t.nextSibling.nodeType===3;)t.nodeValue+=t.nextSibling.nodeValue,t.parentNode.removeChild(t.nextSibling);else this.normalizeTextNode(t.firstChild);this.normalizeTextNode(t.nextSibling)}}markRegExp(t,r){this.opt=r,this.log(`Searching with expression "${t}"`);let n=0,i="wrapMatches",a=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](t,this.opt.ignoreGroups,(s,c)=>this.opt.filter(c,s,n),a,()=>{n===0&&this.opt.noMatch(t),this.opt.done(n)})}mark(t,r){this.opt=r;let n=0,i="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof t=="string"?[t]:t),c=this.opt.caseSensitive?"":"i",l=d=>{let h=new RegExp(this.createRegExp(d),`gm${c}`),u=0;this.log(`Searching with expression "${h}"`),this[i](h,1,(m,y)=>this.opt.filter(y,d,n,u),m=>{u++,n++,this.opt.each(m)},()=>{u===0&&this.opt.noMatch(d),a[s-1]===d?this.opt.done(n):l(a[a.indexOf(d)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),s===0?this.opt.done(n):l(a[0])}markRanges(t,r){this.opt=r;let n=0,i=this.checkRanges(t);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,(a,s,c,l)=>this.opt.filter(a,s,c,l),(a,s)=>{n++,this.opt.each(a,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(t){this.opt=t;let r=this.opt.element?this.opt.element:"*";r+="[data-markjs]",this.opt.className&&(r+=`.${this.opt.className}`),this.log(`Removal selector "${r}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let i=me.matches(n,r),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Dn(e){let t=new fr(e);return this.mark=(r,n)=>(t.mark(r,n),this),this.markRegExp=(r,n)=>(t.markRegExp(r,n),this),this.markRanges=(r,n)=>(t.markRanges(r,n),this),this.unmark=r=>(t.unmark(r),this),this}var ql=Dn,Qa=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Yl=_`
|
|
141
7
|
.highlight-html-match {
|
|
142
|
-
background: ${
|
|
8
|
+
background: ${Qa};
|
|
143
9
|
}
|
|
144
|
-
`,
|
|
10
|
+
`,Wn={className:"highlight-html-match"};function Xl(e,t){var r;let n=e.getAttribute("data-highlight-html-query");if((n??"")!==(t??"")){let i=new ql(e);i.unmark(Wn),t&&t.trim()&&(i.mark(t.replace(/"[^"]+"/g,""),{...Wn,separateWordSearch:!0}),((r=t.match(/"[^"]+"/g))!==null&&r!==void 0?r:[]).forEach(s=>i.mark(s.replace(/"/g,""),{...Wn,separateWordSearch:!1})))}e.setAttribute("data-highlight-html-query",t??"")}var Bn={};B(Bn,{noTextSelect:()=>ye,safariEllipsisFix:()=>ur,wordWrap:()=>Jl});var ye=_`
|
|
145
11
|
.ft-no-text-select {
|
|
146
12
|
-webkit-touch-callout: none;
|
|
147
13
|
-webkit-user-select: none;
|
|
@@ -150,7 +16,7 @@ function(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
150
16
|
-ms-user-select: none;
|
|
151
17
|
user-select: none;
|
|
152
18
|
}
|
|
153
|
-
`,
|
|
19
|
+
`,Jl=_`
|
|
154
20
|
.ft-word-wrap {
|
|
155
21
|
white-space: normal;
|
|
156
22
|
word-wrap: break-word;
|
|
@@ -162,7 +28,7 @@ function(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
162
28
|
-webkit-hyphens: auto;
|
|
163
29
|
hyphens: auto
|
|
164
30
|
}
|
|
165
|
-
`,
|
|
31
|
+
`,ur=_`
|
|
166
32
|
.ft-safari-ellipsis-fix {
|
|
167
33
|
margin-right: 0;
|
|
168
34
|
|
|
@@ -173,127 +39,123 @@ function(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
173
39
|
display: inline-block;
|
|
174
40
|
width: 0;
|
|
175
41
|
}
|
|
176
|
-
`;var Yi=Object.freeze({__proto__:null,noTextSelect:Gi,safariEllipsisFix:qi,wordWrap:Vi}),Ji=Object.freeze({__proto__:null});var Xi=Object.freeze({__proto__:null,ParametrizedLabelResolver:class{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()}}}});class Qi{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 tn(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var en,on,rn;const nn=Symbol("internalReduxEventsUnsubscribers"),an=Symbol("internalStoresUnsubscribers"),ln=Symbol("internalStores");class sn extends ji{constructor(){super(...arguments),this[en]=new Map,this[on]=new Map,this[rn]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((e=>t.has(e)))&&this.updateFromStores()}getUnnamedStore(){if(this[ln].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[ln].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[ln].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:tn(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[ln].delete(e)}setupStore(t,e){this[ln].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[ln].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[an].has(t.store):this[an].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[an].set(t,e.subscribe((()=>this.updateFromStores()))),tn(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[nn].push((()=>e.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[an].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[nn].forEach((t=>t())),this[nn]=[]}unsubscribeFromStore(t){this[an].has(t)&&this[an].get(t)(),this[an].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function cn(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 fn(t){return!!t&&!!t[Yn]}function pn(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)===Jn}(t)||Array.isArray(t)||!!t[qn]||!!(null===(e=t.constructor)||void 0===e?void 0:e[qn])||bn(t)||mn(t))}function dn(t,e,o){void 0===o&&(o=!1),0===hn(t)?(o?Object.keys:Xn)(t).forEach((function(r){o&&"symbol"==typeof r||e(r,t[r],t)})):t.forEach((function(o,r){return e(r,o,t)}))}function hn(t){var e=t[Yn];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:bn(t)?2:mn(t)?3:0}function un(t,e){return 2===hn(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function gn(t,e,o){var r=hn(t);2===r?t.set(e,o):3===r?t.add(o):t[e]=o}function yn(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function bn(t){return Hn&&t instanceof Map}function mn(t){return Tn&&t instanceof Set}function vn(t){return t.o||t.t}function xn(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Qn(t);delete e[Yn];for(var o=Xn(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 On(t,e){return void 0===e&&(e=!1),Sn(t)||fn(t)||!pn(t)||(hn(t)>1&&(t.set=t.add=t.clear=t.delete=wn),Object.freeze(t),e&&dn(t,(function(t,e){return On(e,!0)}),!0)),t}function wn(){cn(2)}function Sn(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function Cn(t){var e=ta[t];return e||cn(18,t),e}function Nn(){return Mn}function En(t,e){e&&(Cn("Patches"),t.u=[],t.s=[],t.v=e)}function $n(t){In(t),t.p.forEach(kn),t.p=null}function In(t){t===Mn&&(Mn=t.l)}function Rn(t){return Mn={p:[],l:Mn,h:t,m:!0,_:0}}function kn(t){var e=t[Yn];0===e.i||1===e.i?e.j():e.g=!0}function Ln(t,e){e._=e.p.length;var o=e.p[0],r=void 0!==t&&t!==o;return e.h.O||Cn("ES5").S(e,t,r),r?(o[Yn].P&&($n(e),cn(4)),pn(t)&&(t=Un(e,t),e.l||zn(e,t)),e.u&&Cn("Patches").M(o[Yn].t,t,e.u,e.s)):t=Un(e,o,[]),$n(e),e.u&&e.v(e.u,e.s),t!==Vn?t:void 0}function Un(t,e,o){if(Sn(e))return e;var r=e[Yn];if(!r)return dn(e,(function(i,n){return Wn(t,r,e,i,n,o)}),!0),e;if(r.A!==t)return e;if(!r.P)return zn(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=xn(r.k):r.o,n=i,a=!1;3===r.i&&(n=new Set(i),i.clear(),a=!0),dn(n,(function(e,n){return Wn(t,r,i,e,n,o,a)})),zn(t,i,!1),o&&t.u&&Cn("Patches").N(r,o,t.u,t.s)}return r.o}function Wn(t,e,o,r,i,n,a){if(fn(i)){var l=Un(t,i,n&&e&&3!==e.i&&!un(e.R,r)?n.concat(r):void 0);if(gn(o,r,l),!fn(l))return;t.m=!1}else a&&o.add(i);if(pn(i)&&!Sn(i)){if(!t.h.D&&t._<1)return;Un(t,i),e&&e.A.l||zn(t,i)}}function zn(t,e,o){void 0===o&&(o=!1),!t.l&&t.h.D&&t.m&&On(e,o)}function Bn(t,e){var o=t[Yn];return(o?vn(o):t)[e]}function Fn(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 An(t){t.P||(t.P=!0,t.l&&An(t.l))}function jn(t){t.o||(t.o=xn(t.t))}function _n(t,e,o){var r=bn(e)?Cn("MapSet").F(e,o):mn(e)?Cn("MapSet").T(e,o):t.O?function(t,e){var o=Array.isArray(t),r={i:o?1:0,A:e?e.A:Nn(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},i=r,n=ea;o&&(i=[r],n=oa);var a=Proxy.revocable(i,n),l=a.revoke,s=a.proxy;return r.k=s,r.j=l,s}(e,o):Cn("ES5").J(e,o);return(o?o.A:Nn()).p.push(r),r}function Zn(t){return fn(t)||cn(22,t),function t(e){if(!pn(e))return e;var o,r=e[Yn],i=hn(e);if(r){if(!r.P&&(r.i<4||!Cn("ES5").K(r)))return r.t;r.I=!0,o=Pn(e,i),r.I=!1}else o=Pn(e,i);return dn(o,(function(e,i){r&&function(t,e){return 2===hn(t)?t.get(e):t[e]}(r.t,e)===i||gn(o,e,t(i))})),3===i?new Set(o):o}(t)}function Pn(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return xn(t)}en=an,on=ln,rn=nn,sn.reduxProperties=new Map,sn.reduxReactiveProperties=new Set,sn.reduxEventListeners=new Map;var Kn,Mn,Dn="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Hn="undefined"!=typeof Map,Tn="undefined"!=typeof Set,Gn="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Vn=Dn?Symbol.for("immer-nothing"):((Kn={})["immer-nothing"]=!0,Kn),qn=Dn?Symbol.for("immer-draftable"):"__$immer_draftable",Yn=Dn?Symbol.for("immer-state"):"__$immer_state",Jn=""+Object.prototype.constructor,Xn="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Qn=Object.getOwnPropertyDescriptors||function(t){var e={};return Xn(t).forEach((function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)})),e},ta={},ea={get:function(t,e){if(e===Yn)return t;var o=vn(t);if(!un(o,e))return function(t,e,o){var r,i=Fn(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||!pn(r)?r:r===Bn(t.t,e)?(jn(t),t.o[e]=_n(t.A.h,r,t)):r},has:function(t,e){return e in vn(t)},ownKeys:function(t){return Reflect.ownKeys(vn(t))},set:function(t,e,o){var r=Fn(vn(t),e);if(null==r?void 0:r.set)return r.set.call(t.k,o),!0;if(!t.P){var i=Bn(vn(t),e),n=null==i?void 0:i[Yn];if(n&&n.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(yn(o,i)&&(void 0!==o||un(t.t,e)))return!0;jn(t),An(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!==Bn(t.t,e)||e in t.t?(t.R[e]=!1,jn(t),An(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=vn(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(){cn(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){cn(12)}},oa={};dn(ea,(function(t,e){oa[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),oa.deleteProperty=function(t,e){return oa.set.call(this,t,e,void 0)},oa.set=function(t,e,o){return ea.set.call(this,t[0],e,o,t[0])};var ra=function(){function t(t){var e=this;this.O=Gn,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),l=1;l<r;l++)a[l-1]=arguments[l];return n.produce(t,(function(t){var r;return(r=o).call.apply(r,[e,t].concat(a))}))}}var a;if("function"!=typeof o&&cn(6),void 0!==r&&"function"!=typeof r&&cn(7),pn(t)){var l=Rn(e),s=_n(e,t,void 0),c=!0;try{a=o(s),c=!1}finally{c?$n(l):In(l)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return En(l,r),Ln(t,l)}),(function(t){throw $n(l),t})):(En(l,r),Ln(a,l))}if(!t||"object"!=typeof t){if(void 0===(a=o(t))&&(a=t),a===Vn&&(a=void 0),e.D&&On(a,!0),r){var f=[],p=[];Cn("Patches").M(t,a,f,p),r(f,p)}return a}cn(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){pn(t)||cn(8),fn(t)&&(t=Zn(t));var e=Rn(this),o=_n(this,t,void 0);return o[Yn].C=!0,In(e),o},e.finishDraft=function(t,e){var o=(t&&t[Yn]).A;return En(o,e),Ln(void 0,o)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!Gn&&cn(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=Cn("Patches").$;return fn(t)?i(t,e):this.produce(t,(function(t){return i(t,e)}))},t}(),ia=new ra,na=ia.produce;function aa(t){return aa="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},aa(t)}function la(t){var e=function(t,e){if("object"!==aa(t)||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var r=o.call(t,e||"default");if("object"!==aa(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===aa(e)?e:String(e)}function sa(t,e,o){return(e=la(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function ca(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 fa(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?ca(Object(o),!0).forEach((function(e){sa(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):ca(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function pa(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. "}ia.produceWithPatches.bind(ia),ia.setAutoFreeze.bind(ia),ia.setUseProxies.bind(ia),ia.applyPatches.bind(ia),ia.createDraft.bind(ia),ia.finishDraft.bind(ia);var da="function"==typeof Symbol&&Symbol.observable||"@@observable",ha=function(){return Math.random().toString(36).substring(7).split("").join(".")},ua={INIT:"@@redux/INIT"+ha(),REPLACE:"@@redux/REPLACE"+ha(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ha()}};function ga(t,e,o){var r;if("function"==typeof e&&"function"==typeof o||"function"==typeof o&&"function"==typeof arguments[3])throw new Error(pa(0));if("function"==typeof e&&void 0===o&&(o=e,e=void 0),void 0!==o){if("function"!=typeof o)throw new Error(pa(1));return o(ga)(t,e)}if("function"!=typeof t)throw new Error(pa(2));var i=t,n=e,a=[],l=a,s=!1;function c(){l===a&&(l=a.slice())}function f(){if(s)throw new Error(pa(3));return n}function p(t){if("function"!=typeof t)throw new Error(pa(4));if(s)throw new Error(pa(5));var e=!0;return c(),l.push(t),function(){if(e){if(s)throw new Error(pa(6));e=!1,c();var o=l.indexOf(t);l.splice(o,1),a=null}}}function d(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(pa(7));if(void 0===t.type)throw new Error(pa(8));if(s)throw new Error(pa(9));try{s=!0,n=i(n,t)}finally{s=!1}for(var e=a=l,o=0;o<e.length;o++){(0,e[o])()}return t}return d({type:ua.INIT}),(r={dispatch:d,subscribe:p,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(pa(10));i=t,d({type:ua.REPLACE})}})[da]=function(){var t,e=p;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(pa(11));function o(){t.next&&t.next(f())}return o(),{unsubscribe:e(o)}}})[da]=function(){return this},t},r}function ya(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:ua.INIT}))throw new Error(pa(12));if(void 0===o(void 0,{type:ua.PROBE_UNKNOWN_ACTION()}))throw new Error(pa(13))}))}(o)}catch(t){n=t}return function(t,e){if(void 0===t&&(t={}),n)throw n;for(var r=!1,i={},l=0;l<a.length;l++){var s=a[l],c=o[s],f=t[s],p=c(f,e);if(void 0===p)throw e&&e.type,new Error(pa(14));i[s]=p,r=r||p!==f}return(r=r||a.length!==Object.keys(t).length)?i:t}}function ba(){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 ma(){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(pa(15))},i={getState:o.getState,dispatch:function(){return r.apply(void 0,arguments)}},n=e.map((function(t){return t(i)}));return r=ba.apply(void 0,n)(o.dispatch),fa(fa({},o),{},{dispatch:r})}}}function va(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 xa=va();xa.withExtraArgument=va;var Oa,wa=xa,Sa=(Oa=function(t,e){return Oa=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])},Oa(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}Oa(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),Ca=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:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function l(n){return function(l){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,l])}}},Na=function(t,e){for(var o=0,r=e.length,i=t.length;o<r;o++,i++)t[i]=e[o];return t},Ea=Object.defineProperty,$a=Object.defineProperties,Ia=Object.getOwnPropertyDescriptors,Ra=Object.getOwnPropertySymbols,ka=Object.prototype.hasOwnProperty,La=Object.prototype.propertyIsEnumerable,Ua=function(t,e,o){return e in t?Ea(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},Wa=function(t,e){for(var o in e||(e={}))ka.call(e,o)&&Ua(t,o,e[o]);if(Ra)for(var r=0,i=Ra(e);r<i.length;r++){o=i[r];La.call(e,o)&&Ua(t,o,e[o])}return t},za=function(t,e){return $a(t,Ia(e))},Ba="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?ba:ba.apply(null,arguments)};var Fa=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 Sa(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,Na([void 0],t[0].concat(this)))):new(e.bind.apply(e,Na([void 0],t.concat(this))))},e}(Array),Aa=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 Sa(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,Na([void 0],t[0].concat(this)))):new(e.bind.apply(e,Na([void 0],t.concat(this))))},e}(Array);function ja(t){return pn(t)?na(t,(function(){})):t}function _a(){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 Fa;o&&(!function(t){return"boolean"==typeof t}(o)?r.push(wa.withExtraArgument(o.extraArgument)):r.push(wa));return r}(t)}}function Za(t){var e,o=_a(),r=t||{},i=r.reducer,n=void 0===i?void 0:i,a=r.middleware,l=void 0===a?o():a,s=r.devTools,c=void 0===s||s,f=r.preloadedState,p=void 0===f?void 0:f,d=r.enhancers,h=void 0===d?void 0:d;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=ya(n)}var u=l;"function"==typeof u&&(u=u(o));var g=ma.apply(void 0,u),y=ba;c&&(y=Ba(Wa({trace:!1},"object"==typeof c&&c)));var b=new Aa(g),m=b;return Array.isArray(h)?m=Na([g],h):"function"==typeof h&&(m=h(b)),ga(e,p,y.apply(void 0,m))}function Pa(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 Wa(Wa({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 Ka(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 Ma(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:ja(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},l={},s={};function c(){var e="function"==typeof t.extraReducers?Ka(t.extraReducers):[t.extraReducers],o=e[0],i=void 0===o?{}:o,n=e[1],a=void 0===n?[]:n,s=e[2],c=void 0===s?void 0:s,f=Wa(Wa({},i),l);return function(t,e,o,r){void 0===o&&(o=[]);var i,n="function"==typeof e?Ka(e):[e,o,r],a=n[0],l=n[1],s=n[2];if(function(t){return"function"==typeof t}(t))i=function(){return ja(t())};else{var c=ja(t);i=function(){return c}}function f(t,e){void 0===t&&(t=i());var o=Na([a[e.type]],l.filter((function(t){return(0,t.matcher)(e)})).map((function(t){return t.reducer})));return 0===o.filter((function(t){return!!t})).length&&(o=[s]),o.reduce((function(t,o){if(o){var r;if(fn(t))return void 0===(r=o(t,e))?t:r;if(pn(t))return na(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,l[c]=o,s[t]=r?Pa(c,r):Pa(c)})),{name:e,reducer:function(t,e){return o||(o=c()),o(t,e)},actions:s,caseReducers:a,getInitialState:function(){return o||(o=c()),o.getInitialState()}}}var Da=["name","message","stack","code"],Ha=function(t,e){this.payload=t,this.meta=e},Ta=function(t,e){this.payload=t,this.meta=e},Ga=function(t){if("object"==typeof t&&null!==t){for(var e={},o=0,r=Da;o<r.length;o++){var i=r[o];"string"==typeof t[i]&&(e[i]=t[i])}return e}return{message:String(t)}};function Va(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=Pa(t+"/fulfilled",(function(t,e,o,r){return{payload:t,meta:za(Wa({},r||{}),{arg:o,requestId:e,requestStatus:"fulfilled"})}})),i=Pa(t+"/pending",(function(t,e,o){return{payload:void 0,meta:za(Wa({},o||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),n=Pa(t+"/rejected",(function(t,e,r,i,n){return{payload:i,error:(o&&o.serializeError||Ga)(t||"Rejected"),meta:za(Wa({},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(l,s,c){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}(),d=new a;function h(t){f=t,d.abort()}var u=function(){return a=this,u=null,g=function(){var a,u,g,y,b,m;return Ca(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),y=null==(a=null==o?void 0:o.condition)?void 0:a.call(o,t,{getState:s,extra:c}),null===(x=y)||"object"!=typeof x||"function"!=typeof x.then?[3,2]:[4,y];case 1:y=v.sent(),v.label=2;case 2:if(!1===y||d.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,e){return d.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:f||"Aborted"})}))})),l(i(p,t,null==(u=null==o?void 0:o.getPendingMeta)?void 0:u.call(o,{requestId:p,arg:t},{getState:s,extra:c}))),[4,Promise.race([b,Promise.resolve(e(t,{dispatch:l,getState:s,extra:c,requestId:p,signal:d.signal,abort:h,rejectWithValue:function(t,e){return new Ha(t,e)},fulfillWithValue:function(t,e){return new Ta(t,e)}})).then((function(e){if(e instanceof Ha)throw e;return e instanceof Ta?r(e.payload,p,t,e.meta):r(e,p,t)}))])];case 3:return g=v.sent(),[3,5];case 4:return m=v.sent(),g=m instanceof Ha?n(null,p,t,m.payload,m.meta):n(m,p,t),[3,5];case 5:return o&&!o.dispatchConditionRejection&&n.match(g)&&g.meta.condition||l(g),[2,g]}var x}))},new Promise((function(t,e){var o=function(t){try{i(g.next(t))}catch(t){e(t)}},r=function(t){try{i(g.throw(t))}catch(t){e(t)}},i=function(e){return e.done?t(e.value):Promise.resolve(e.value).then(o,r)};i((g=g.apply(a,u)).next())}));var a,u,g}();return Object.assign(u,{abort:h,requestId:p,arg:t,unwrap:function(){return u.then(Va)}})}}),{pending:i,rejected:n,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var qa="listenerMiddleware";Pa(qa+"/add"),Pa(qa+"/removeAll"),Pa(qa+"/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[Yn];return ea.get(e,t)},set:function(e){var o=this[Yn];ea.set(o,t,e)}},o}function e(t){for(var e=t.length-1;e>=0;e--){var i=t[e][Yn];if(!i.P)switch(i.i){case 5:r(i)&&An(i);break;case 4:o(i)&&An(i)}}}function o(t){for(var e=t.t,o=t.k,r=Xn(o),i=r.length-1;i>=0;i--){var n=r[i];if(n!==Yn){var a=e[n];if(void 0===a&&!un(e,n))return!0;var l=o[n],s=l&&l[Yn];if(s?s.t!==a:!yn(l,a))return!0}}var c=!!e[Yn];return r.length!==Xn(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){ta[t]||(ta[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=Qn(o);delete n[Yn];for(var a=Xn(n),l=0;l<a.length;l++){var s=a[l];n[s]=t(s,e||!!n[s].enumerable)}return Object.create(Object.getPrototypeOf(o),n)}(r,e),n={i:r?5:4,A:o?o.A:Nn(),P:!1,I:!1,R:{},l:o,t:e,k:i,o:null,g:!1,C:!1};return Object.defineProperty(i,Yn,{value:n,writable:!0}),i},S:function(t,o,i){i?fn(o)&&o[Yn].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var o=e[Yn];if(o){var i=o.t,n=o.k,a=o.R,l=o.i;if(4===l)dn(n,(function(e){e!==Yn&&(void 0!==i[e]||un(i,e)?a[e]||t(n[e]):(a[e]=!0,An(o)))})),dn(i,(function(t){void 0!==n[t]||un(n,t)||(a[t]=!1,An(o))}));else if(5===l){if(r(o)&&(An(o),a.length=!0),n.length<i.length)for(var s=n.length;s<i.length;s++)a[s]=!1;else for(var c=i.length;c<n.length;c++)a[c]=!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 Ya{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(tn(i))return i;if(null==r)return;const n=Ma({...r,reducers:null!==(e=r.reducers)&&void 0!==e?e:{}}),a=Za({reducer:(t,e)=>"CLEAR_FT_REDUX_STORE"===e.type?n.getInitialState():"string"==typeof e.type&&e.type.startsWith("DEFAULT_VALUE_SETTER__")?{...t,...e.overwrites}:n.reducer(t,e)});return window.ftReduxStores[r.name]=new Ya(n,a)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Qi,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_VALUE_SETTER__"+Object.keys(t).join("_"),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 Ja=Object.freeze({__proto__:null,FtCommandQueue:Qi,FtLitElementRedux:sn,FtReduxStore:Ya,clearAllStores:function(){var t;for(let e of Object.values(null!==(t=window.ftReduxStores)&&void 0!==t?t:{}))tn(e)&&e.clear()},isFtReduxStore:tn,redux:t=>{const e=null!=t?t:{};return(t,o)=>{var r;const i={hasChanged:(t,e)=>!fo(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})}},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 Xa=Object.freeze({__proto__:null,serializeRequest:function(t,e){var o,r,i,n;const a=new URLSearchParams({"content-lang":null!==(o=e.contentLocale)&&void 0!==o?o:"all"});if((null===(r=e.query)||void 0===r?void 0:r.length)>0&&a.append("query",e.query),e.scope&&"DEFAULT"!==e.scope&&a.append("scope",e.scope.toLowerCase()),e.virtualField&&a.append("virtual-field",e.virtualField.toLowerCase()),e.periodFilter){let t=e.periodFilter.period;const o=t?`_${t.from}_${t.to}`:"";a.append("period",e.periodFilter.periodType.toLowerCase()+o)}if((null===(i=e.sort)||void 0===i?void 0:i.length)>0&&"ft:lastEdition"===e.sort[0].key&&a.append("sort","last_update"),(null===(n=e.filters)||void 0===n?void 0:n.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("*");a.append("filters",t)}return new URL(`${t.replace(/\/+$/,"")}/search?${a.toString()}`).href}});const Qa=Symbol("elementInternals");function tl(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[Qa].form}constructor(...t){super(t),this[Qa]=this.attachInternals(),this[Qa].role=e}setFormValue(t){this[Qa].setFormValue(t)}}}var el,ol,rl,il,nl=Object.freeze({__proto__:null,toFtFormComponent:tl});const al=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(rl=null===(ol=null===(el=window.safari)||void 0===el?void 0:el.pushNotification)||void 0===ol?void 0:ol.toString())&&void 0!==rl?rl:""),ll="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=null!==(il=window.ftGlobals)&&void 0!==il?il:{lit:ve,litDecorators:Re,litRepeat:Ke,litClassMap:De,litStyleMap:Ve,litUnsafeHTML:Je,wcUtils:{...oo,...eo,...io,...ao,...yo,...Or,...Nr,...Ii,...vr,..._i,...Zi,...po,...Ti,...Yi,...Ji,...Xi,...Ja,...Wi,...Xa,...nl,isSafari:al,isTouchScreen:ll}};const sl=dt`
|
|
42
|
+
`;var ts={};var Hn={};B(Hn,{ParametrizedLabelResolver:()=>zn});var zn=class{constructor(t,r){this.defaultLabels=t,this.labels=r}resolve(t,...r){var n,i;t=this.resolvePluralKey(t,r);let a=(i=(n=this.labels[t])!==null&&n!==void 0?n:this.defaultLabels[t])!==null&&i!==void 0?i:"";return r.forEach((s,c)=>a=a.replace(new RegExp(`\\{${c}([^}]*)\\}`,"g"),(l,d)=>this.formatValue(s,d))),a}resolvePluralKey(t,r){for(let n of r)if(typeof n=="number"){let i=`${String(t)}[\\=${n}]`;if(i in this.labels||i in this.defaultLabels)return i}return t}formatValue(t,r){return t instanceof Date?this.formatDate(t,r):t??""}formatDate(t,r){let n=i=>r?.includes("date")?t.toLocaleDateString(i):r?.includes("time")?t.toLocaleTimeString(i):t.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}};var mi={};B(mi,{FtCommandQueue:()=>hr,FtLitElementRedux:()=>Zt,FtReduxStore:()=>hi,clearAllStores:()=>Wp,isFtReduxStore:()=>ge,redux:()=>tp,reduxEventListener:()=>ep,reduxReactive:()=>Ql});var Ql=()=>(e,t)=>{var r;let n=e.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(r=n.reduxReactiveProperties)===null||r===void 0||r.add(t)},tp=e=>{let t=e??{};return(r,n)=>{var i;let a={hasChanged:(c,l)=>!jt(c,l),attribute:!1,...t};C(a)(r,n);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(i=t.selector)!==null&&i!==void 0?i:c=>c[n],store:t.store})}},ep=e=>(t,r)=>{let n=t.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(r,e)};var hr=class{constructor(){this.queue=[]}add(t,r=!1){r&&(this.queue=this.queue.filter(n=>n.type!==t.type)),this.queue.push(t)}consume(t){let r=this.queue.find(n=>n.type===t);return r&&(this.queue=this.queue.filter(n=>n!==r)),r}};function ge(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var es,rs,os,Xr=Symbol("internalReduxEventsUnsubscribers"),Gt=Symbol("internalStoresUnsubscribers"),be=Symbol("internalStores"),Zt=class extends V{constructor(){super(...arguments),this[es]=new Map,this[rs]=new Map,this[os]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some(r=>t.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[be].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[be].values()][0]}getStore(t){return t==null?this.getUnnamedStore():this[be].get(t)}addStore(t,r){var n;r=(n=r??(ge(t)?t.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(r),this.setupStore(r,t)}removeStore(t){let r=typeof t=="string"?t:t.name;this.unsubscribeFromStore(r),this[be].delete(r)}setupStore(t,r){this[be].set(t,r),this.subscribeToStore(t,r),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[be].forEach((t,r)=>this.subscribeToStore(r,t)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((t,r)=>{let n=this.constructor.getPropertyOptions(r);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:r)){let i=this.getStore(t.store);i&&(t.store?this[Gt].has(t.store):this[Gt].size>0)&&(this[r]=t.selector(i.getState(),this))}})}subscribeToStore(t,r){var n;this[Gt].set(t,r.subscribe(()=>this.updateFromStores())),ge(r)&&r.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((i,a)=>{if(typeof this[a]=="function"&&(!i.store||r.name===i.store)){let s=c=>this[a](c);r.eventBus.addEventListener(i.eventName,s),this[Xr].push(()=>r.eventBus.removeEventListener(i.eventName,s))}})),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Gt].forEach((t,r)=>this.unsubscribeFromStore(r)),this[Xr].forEach(t=>t()),this[Xr]=[]}unsubscribeFromStore(t){this[Gt].has(t)&&this[Gt].get(t)(),this[Gt].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};es=Gt,rs=be,os=Xr;Zt.reduxProperties=new Map;Zt.reduxReactiveProperties=new Set;Zt.reduxEventListeners=new Map;function ht(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];if(0)var i,a;throw Error("[Immer] minified error nr: "+e+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Wt(e){return!!e&&!!e[H]}function xt(e){var t;return!!e&&(function(r){if(!r||typeof r!="object")return!1;var n=Object.getPrototypeOf(r);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===lp}(e)||Array.isArray(e)||!!e[ps]||!!(!((t=e.constructor)===null||t===void 0)&&t[ps])||Xn(e)||Jn(e))}function xe(e,t,r){r===void 0&&(r=!1),Le(e)===0?(r?Object.keys:Te)(e).forEach(function(n){r&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,i){return t(i,n,e)})}function Le(e){var t=e[H];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Xn(e)?2:Jn(e)?3:0}function _e(e,t){return Le(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function rp(e,t){return Le(e)===2?e.get(t):e[t]}function ds(e,t,r){var n=Le(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function fs(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function Xn(e){return sp&&e instanceof Map}function Jn(e){return cp&&e instanceof Set}function qt(e){return e.o||e.t}function Qn(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=ms(e);delete t[H];for(var r=Te(t),n=0;n<r.length;n++){var i=r[n],a=t[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(t[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:e[i]})}return Object.create(Object.getPrototypeOf(e),t)}function ti(e,t){return t===void 0&&(t=!1),ei(e)||Wt(e)||!xt(e)||(Le(e)>1&&(e.set=e.add=e.clear=e.delete=op),Object.freeze(e),t&&xe(e,function(r,n){return ti(n,!0)},!0)),e}function op(){ht(2)}function ei(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function wt(e){var t=Yn[e];return t||ht(18,e),t}function np(e,t){Yn[e]||(Yn[e]=t)}function Gn(){return yr}function Fn(e,t){t&&(wt("Patches"),e.u=[],e.s=[],e.v=t)}function Jr(e){Zn(e),e.p.forEach(ip),e.p=null}function Zn(e){e===yr&&(yr=e.l)}function ns(e){return yr={p:[],l:yr,h:e,m:!0,_:0}}function ip(e){var t=e[H];t.i===0||t.i===1?t.j():t.g=!0}function jn(e,t){t._=t.p.length;var r=t.p[0],n=e!==void 0&&e!==r;return t.h.O||wt("ES5").S(t,e,n),n?(r[H].P&&(Jr(t),ht(4)),xt(e)&&(e=Qr(t,e),t.l||to(t,e)),t.u&&wt("Patches").M(r[H].t,e,t.u,t.s)):e=Qr(t,r,[]),Jr(t),t.u&&t.v(t.u,t.s),e!==hs?e:void 0}function Qr(e,t,r){if(ei(t))return t;var n=t[H];if(!n)return xe(t,function(c,l){return is(e,n,t,c,l,r)},!0),t;if(n.A!==e)return t;if(!n.P)return to(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=Qn(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),xe(a,function(c,l){return is(e,n,i,c,l,r,s)}),to(e,i,!1),r&&e.u&&wt("Patches").N(n,r,e.u,e.s)}return n.o}function is(e,t,r,n,i,a,s){if(Wt(i)){var c=Qr(e,i,a&&t&&t.i!==3&&!_e(t.R,n)?a.concat(n):void 0);if(ds(r,n,c),!Wt(c))return;e.m=!1}else s&&r.add(i);if(xt(i)&&!ei(i)){if(!e.h.D&&e._<1)return;Qr(e,i),t&&t.A.l||to(e,i)}}function to(e,t,r){r===void 0&&(r=!1),!e.l&&e.h.D&&e.m&&ti(t,r)}function Vn(e,t){var r=e[H];return(r?qt(r):e)[t]}function as(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function Yt(e){e.P||(e.P=!0,e.l&&Yt(e.l))}function Kn(e){e.o||(e.o=Qn(e.t))}function qn(e,t,r){var n=Xn(t)?wt("MapSet").F(t,r):Jn(t)?wt("MapSet").T(t,r):e.O?function(i,a){var s=Array.isArray(i),c={i:s?1:0,A:a?a.A:Gn(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},l=c,d=gr;s&&(l=[c],d=mr);var h=Proxy.revocable(l,d),u=h.revoke,m=h.proxy;return c.k=m,c.j=u,m}(t,r):wt("ES5").J(t,r);return(r?r.A:Gn()).p.push(n),n}function ap(e){return Wt(e)||ht(22,e),function t(r){if(!xt(r))return r;var n,i=r[H],a=Le(r);if(i){if(!i.P&&(i.i<4||!wt("ES5").K(i)))return i.t;i.I=!0,n=ss(r,a),i.I=!1}else n=ss(r,a);return xe(n,function(s,c){i&&rp(i.t,s)===c||ds(n,s,t(c))}),a===3?new Set(n):n}(e)}function ss(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Qn(e)}function us(){function e(s,c){var l=a[s];return l?l.enumerable=c:a[s]=l={configurable:!0,enumerable:c,get:function(){var d=this[H];return gr.get(d,s)},set:function(d){var h=this[H];gr.set(h,s,d)}},l}function t(s){for(var c=s.length-1;c>=0;c--){var l=s[c][H];if(!l.P)switch(l.i){case 5:n(l)&&Yt(l);break;case 4:r(l)&&Yt(l)}}}function r(s){for(var c=s.t,l=s.k,d=Te(l),h=d.length-1;h>=0;h--){var u=d[h];if(u!==H){var m=c[u];if(m===void 0&&!_e(c,u))return!0;var y=l[u],g=y&&y[H];if(g?g.t!==m:!fs(y,m))return!0}}var v=!!c[H];return d.length!==Te(c).length+(v?0:1)}function n(s){var c=s.k;if(c.length!==s.t.length)return!0;var l=Object.getOwnPropertyDescriptor(c,c.length-1);if(l&&!l.get)return!0;for(var d=0;d<c.length;d++)if(!c.hasOwnProperty(d))return!0;return!1}function i(s){s.g&&ht(3,JSON.stringify(qt(s)))}var a={};np("ES5",{J:function(s,c){var l=Array.isArray(s),d=function(u,m){if(u){for(var y=Array(m.length),g=0;g<m.length;g++)Object.defineProperty(y,""+g,e(g,!0));return y}var v=ms(m);delete v[H];for(var E=Te(v),N=0;N<E.length;N++){var A=E[N];v[A]=e(A,u||!!v[A].enumerable)}return Object.create(Object.getPrototypeOf(m),v)}(l,s),h={i:l?5:4,A:c?c.A:Gn(),P:!1,I:!1,R:{},l:c,t:s,k:d,o:null,g:!1,C:!1};return Object.defineProperty(d,H,{value:h,writable:!0}),d},S:function(s,c,l){l?Wt(c)&&c[H].A===s&&t(s.p):(s.u&&function d(h){if(h&&typeof h=="object"){var u=h[H];if(u){var m=u.t,y=u.k,g=u.R,v=u.i;if(v===4)xe(y,function(b){b!==H&&(m[b]!==void 0||_e(m,b)?g[b]||d(y[b]):(g[b]=!0,Yt(u)))}),xe(m,function(b){y[b]!==void 0||_e(y,b)||(g[b]=!1,Yt(u))});else if(v===5){if(n(u)&&(Yt(u),g.length=!0),y.length<m.length)for(var E=y.length;E<m.length;E++)g[E]=!1;else for(var N=m.length;N<y.length;N++)g[N]=!0;for(var A=Math.min(y.length,m.length),x=0;x<A;x++)y.hasOwnProperty(x)||(g[x]=!0),g[x]===void 0&&d(y[x])}}}}(s.p[0]),t(s.p))},K:function(s){return s.i===4?r(s):n(s)}})}var cs,yr,ri=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",sp=typeof Map<"u",cp=typeof Set<"u",ls=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",hs=ri?Symbol.for("immer-nothing"):((cs={})["immer-nothing"]=!0,cs),ps=ri?Symbol.for("immer-draftable"):"__$immer_draftable",H=ri?Symbol.for("immer-state"):"__$immer_state";var lp=""+Object.prototype.constructor,Te=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,ms=Object.getOwnPropertyDescriptors||function(e){var t={};return Te(e).forEach(function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)}),t},Yn={},gr={get:function(e,t){if(t===H)return e;var r=qt(e);if(!_e(r,t))return function(i,a,s){var c,l=as(a,s);return l?"value"in l?l.value:(c=l.get)===null||c===void 0?void 0:c.call(i.k):void 0}(e,r,t);var n=r[t];return e.I||!xt(n)?n:n===Vn(e.t,t)?(Kn(e),e.o[t]=qn(e.A.h,n,e)):n},has:function(e,t){return t in qt(e)},ownKeys:function(e){return Reflect.ownKeys(qt(e))},set:function(e,t,r){var n=as(qt(e),t);if(n?.set)return n.set.call(e.k,r),!0;if(!e.P){var i=Vn(qt(e),t),a=i?.[H];if(a&&a.t===r)return e.o[t]=r,e.R[t]=!1,!0;if(fs(r,i)&&(r!==void 0||_e(e.t,t)))return!0;Kn(e),Yt(e)}return e.o[t]===r&&(r!==void 0||t in e.o)||Number.isNaN(r)&&Number.isNaN(e.o[t])||(e.o[t]=r,e.R[t]=!0),!0},deleteProperty:function(e,t){return Vn(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,Kn(e),Yt(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=qt(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty:function(){ht(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){ht(12)}},mr={};xe(gr,function(e,t){mr[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),mr.deleteProperty=function(e,t){return mr.set.call(this,e,t,void 0)},mr.set=function(e,t,r){return gr.set.call(this,e[0],t,r,e[0])};var pp=function(){function e(r){var n=this;this.O=ls,this.D=!0,this.produce=function(i,a,s){if(typeof i=="function"&&typeof a!="function"){var c=a;a=i;var l=n;return function(v){var E=this;v===void 0&&(v=c);for(var N=arguments.length,A=Array(N>1?N-1:0),x=1;x<N;x++)A[x-1]=arguments[x];return l.produce(v,function(b){var S;return(S=a).call.apply(S,[E,b].concat(A))})}}var d;if(typeof a!="function"&&ht(6),s!==void 0&&typeof s!="function"&&ht(7),xt(i)){var h=ns(n),u=qn(n,i,void 0),m=!0;try{d=a(u),m=!1}finally{m?Jr(h):Zn(h)}return typeof Promise<"u"&&d instanceof Promise?d.then(function(v){return Fn(h,s),jn(v,h)},function(v){throw Jr(h),v}):(Fn(h,s),jn(d,h))}if(!i||typeof i!="object"){if((d=a(i))===void 0&&(d=i),d===hs&&(d=void 0),n.D&&ti(d,!0),s){var y=[],g=[];wt("Patches").M(i,d,y,g),s(y,g)}return d}ht(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(d){for(var h=arguments.length,u=Array(h>1?h-1:0),m=1;m<h;m++)u[m-1]=arguments[m];return n.produceWithPatches(d,function(y){return i.apply(void 0,[y].concat(u))})};var s,c,l=n.produce(i,a,function(d,h){s=d,c=h});return typeof Promise<"u"&&l instanceof Promise?l.then(function(d){return[d,s,c]}):[l,s,c]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var t=e.prototype;return t.createDraft=function(r){xt(r)||ht(8),Wt(r)&&(r=ap(r));var n=ns(this),i=qn(this,r,void 0);return i[H].C=!0,Zn(n),i},t.finishDraft=function(r,n){var i=r&&r[H],a=i.A;return Fn(a,n),jn(void 0,a)},t.setAutoFreeze=function(r){this.D=r},t.setUseProxies=function(r){r&&!ls&&ht(20),this.O=r},t.applyPatches=function(r,n){var i;for(i=n.length-1;i>=0;i--){var a=n[i];if(a.path.length===0&&a.op==="replace"){r=a.value;break}}i>-1&&(n=n.slice(i+1));var s=wt("Patches").$;return Wt(r)?s(r,n):this.produce(r,function(c){return s(c,n)})},e}(),pt=new pp,dp=pt.produce,Mm=pt.produceWithPatches.bind(pt),Dm=pt.setAutoFreeze.bind(pt),Wm=pt.setUseProxies.bind(pt),Um=pt.applyPatches.bind(pt),Bm=pt.createDraft.bind(pt),zm=pt.finishDraft.bind(pt),eo=dp;function Xt(e){"@babel/helpers - typeof";return Xt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Xt(e)}function oi(e,t){if(Xt(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Xt(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function ni(e){var t=oi(e,"string");return Xt(t)==="symbol"?t:String(t)}function ii(e,t,r){return t=ni(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function ro(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ys(Object(r),!0).forEach(function(n){ii(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ys(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Q(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var gs=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),ai=function(){return Math.random().toString(36).substring(7).split("").join(".")},oo={INIT:"@@redux/INIT"+ai(),REPLACE:"@@redux/REPLACE"+ai(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ai()}};function fp(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function si(e,t,r){var n;if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(Q(0));if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(Q(1));return r(si)(e,t)}if(typeof e!="function")throw new Error(Q(2));var i=e,a=t,s=[],c=s,l=!1;function d(){c===s&&(c=s.slice())}function h(){if(l)throw new Error(Q(3));return a}function u(v){if(typeof v!="function")throw new Error(Q(4));if(l)throw new Error(Q(5));var E=!0;return d(),c.push(v),function(){if(E){if(l)throw new Error(Q(6));E=!1,d();var A=c.indexOf(v);c.splice(A,1),s=null}}}function m(v){if(!fp(v))throw new Error(Q(7));if(typeof v.type>"u")throw new Error(Q(8));if(l)throw new Error(Q(9));try{l=!0,a=i(a,v)}finally{l=!1}for(var E=s=c,N=0;N<E.length;N++){var A=E[N];A()}return v}function y(v){if(typeof v!="function")throw new Error(Q(10));i=v,m({type:oo.REPLACE})}function g(){var v,E=u;return v={subscribe:function(A){if(typeof A!="object"||A===null)throw new Error(Q(11));function x(){A.next&&A.next(h())}x();var b=E(x);return{unsubscribe:b}}},v[gs]=function(){return this},v}return m({type:oo.INIT}),n={dispatch:m,subscribe:u,getState:h,replaceReducer:y},n[gs]=g,n}function up(e){Object.keys(e).forEach(function(t){var r=e[t],n=r(void 0,{type:oo.INIT});if(typeof n>"u")throw new Error(Q(12));if(typeof r(void 0,{type:oo.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Q(13))})}function bs(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++){var i=t[n];typeof e[i]=="function"&&(r[i]=e[i])}var a=Object.keys(r),s,c;try{up(r)}catch(l){c=l}return function(d,h){if(d===void 0&&(d={}),c)throw c;if(0)var u;for(var m=!1,y={},g=0;g<a.length;g++){var v=a[g],E=r[v],N=d[v],A=E(N,h);if(typeof A>"u"){var x=h&&h.type;throw new Error(Q(14))}y[v]=A,m=m||A!==N}return m=m||a.length!==Object.keys(d).length,m?y:d}}function Ie(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function xs(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(Q(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},c=t.map(function(l){return l(s)});return a=Ie.apply(void 0,c)(i.dispatch),ro(ro({},i),{},{dispatch:a})}}}function vs(e){var t=function(n){var i=n.dispatch,a=n.getState;return function(s){return function(c){return typeof c=="function"?c(i,a,e):s(c)}}};return t}var Ss=vs();Ss.withExtraArgument=vs;var ci=Ss;var Ns=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),hp=function(e,t){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(d){return function(h){return l([d,h])}}function l(d){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(a=d[0]&2?i.return:d[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,d[1])).done)return a;switch(i=0,a&&(d=[d[0]&2,a.value]),d[0]){case 0:case 1:a=d;break;case 4:return r.label++,{value:d[1],done:!1};case 5:r.label++,i=d[1],d=[0];continue;case 7:d=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(d[0]===6||d[0]===2)){r=0;continue}if(d[0]===3&&(!a||d[1]>a[0]&&d[1]<a[3])){r.label=d[1];break}if(d[0]===6&&r.label<a[1]){r.label=a[1],a=d;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(d);break}a[2]&&r.ops.pop(),r.trys.pop();continue}d=t.call(e,r)}catch(h){d=[6,h],i=0}finally{n=a=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}},ke=function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e},mp=Object.defineProperty,yp=Object.defineProperties,gp=Object.getOwnPropertyDescriptors,Os=Object.getOwnPropertySymbols,bp=Object.prototype.hasOwnProperty,xp=Object.prototype.propertyIsEnumerable,Cs=function(e,t,r){return t in e?mp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r},Jt=function(e,t){for(var r in t||(t={}))bp.call(t,r)&&Cs(e,r,t[r]);if(Os)for(var n=0,i=Os(t);n<i.length;n++){var r=i[n];xp.call(t,r)&&Cs(e,r,t[r])}return e},li=function(e,t){return yp(e,gp(t))},vp=function(e,t,r){return new Promise(function(n,i){var a=function(l){try{c(r.next(l))}catch(d){i(d)}},s=function(l){try{c(r.throw(l))}catch(d){i(d)}},c=function(l){return l.done?n(l.value):Promise.resolve(l.value).then(a,s)};c((r=r.apply(e,t)).next())})};var Sp=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Ie:Ie.apply(null,arguments)},iy=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function Op(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var r=t;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return t===r}var Cp=function(e){Ns(t,e);function t(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=e.apply(this,r)||this;return Object.setPrototypeOf(i,t.prototype),i}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return e.prototype.concat.apply(this,r)},t.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(t.bind.apply(t,ke([void 0],r[0].concat(this)))):new(t.bind.apply(t,ke([void 0],r.concat(this))))},t}(Array),wp=function(e){Ns(t,e);function t(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=e.apply(this,r)||this;return Object.setPrototypeOf(i,t.prototype),i}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return e.prototype.concat.apply(this,r)},t.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(t.bind.apply(t,ke([void 0],r[0].concat(this)))):new(t.bind.apply(t,ke([void 0],r.concat(this))))},t}(Array);function fi(e){return xt(e)?eo(e,function(){}):e}function Ep(e){return typeof e=="boolean"}function Np(){return function(t){return Ap(t)}}function Ap(e){e===void 0&&(e={});var t=e.thunk,r=t===void 0?!0:t,n=e.immutableCheck,i=n===void 0?!0:n,a=e.serializableCheck,s=a===void 0?!0:a,c=new Cp;if(r&&(Ep(r)?c.push(ci):c.push(ci.withExtraArgument(r.extraArgument))),0){if(i)var l;if(s)var d}return c}var pi=!0;function As(e){var t=Np(),r=e||{},n=r.reducer,i=n===void 0?void 0:n,a=r.middleware,s=a===void 0?t():a,c=r.devTools,l=c===void 0?!0:c,d=r.preloadedState,h=d===void 0?void 0:d,u=r.enhancers,m=u===void 0?void 0:u,y;if(typeof i=="function")y=i;else if(Op(i))y=bs(i);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var g=s;if(typeof g=="function"&&(g=g(t),!pi&&!Array.isArray(g)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!pi&&g.some(function(b){return typeof b!="function"}))throw new Error("each middleware provided to configureStore must be a function");var v=xs.apply(void 0,g),E=Ie;l&&(E=Sp(Jt({trace:!pi},typeof l=="object"&&l)));var N=new wp(v),A=N;Array.isArray(m)?A=ke([v],m):typeof m=="function"&&(A=m(N));var x=E.apply(void 0,A);return si(y,h,x)}function Qt(e,t){function r(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(t){var a=t.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return Jt(Jt({type:e,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:e,payload:n[0]}}return r.toString=function(){return""+e},r.type=e,r.match=function(n){return n.type===e},r}function Rs(e){var t={},r=[],n,i={addCase:function(a,s){var c=typeof a=="string"?a:a.type;if(c in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[c]=s,i},addMatcher:function(a,s){return r.push({matcher:a,reducer:s}),i},addDefaultCase:function(a){return n=a,i}};return e(i),[t,r,n]}function Rp(e){return typeof e=="function"}function $p(e,t,r,n){r===void 0&&(r=[]);var i=typeof t=="function"?Rs(t):[t,r,n],a=i[0],s=i[1],c=i[2],l;if(Rp(e))l=function(){return fi(e())};else{var d=fi(e);l=function(){return d}}function h(u,m){u===void 0&&(u=l());var y=ke([a[m.type]],s.filter(function(g){var v=g.matcher;return v(m)}).map(function(g){var v=g.reducer;return v}));return y.filter(function(g){return!!g}).length===0&&(y=[c]),y.reduce(function(g,v){if(v)if(Wt(g)){var E=g,N=v(E,m);return N===void 0?g:N}else{if(xt(g))return eo(g,function(A){return v(A,m)});var N=v(g,m);if(N===void 0){if(g===null)return g;throw Error("A case reducer on a non-draftable value must not return undefined")}return N}return g},u)}return h.getInitialState=l,h}function Pp(e,t){return e+"/"+t}function $s(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof e.initialState=="function"?e.initialState:fi(e.initialState),n=e.reducers||{},i=Object.keys(n),a={},s={},c={};i.forEach(function(h){var u=n[h],m=Pp(t,h),y,g;"reducer"in u?(y=u.reducer,g=u.prepare):y=u,a[h]=y,s[m]=y,c[h]=g?Qt(m,g):Qt(m)});function l(){var h=typeof e.extraReducers=="function"?Rs(e.extraReducers):[e.extraReducers],u=h[0],m=u===void 0?{}:u,y=h[1],g=y===void 0?[]:y,v=h[2],E=v===void 0?void 0:v,N=Jt(Jt({},m),s);return $p(r,function(A){for(var x in N)A.addCase(x,N[x]);for(var b=0,S=g;b<S.length;b++){var T=S[b];A.addMatcher(T.matcher,T.reducer)}E&&A.addDefaultCase(E)})}var d;return{name:t,reducer:function(h,u){return d||(d=l()),d(h,u)},actions:c,caseReducers:a,getInitialState:function(){return d||(d=l()),d.getInitialState()}}}var _p="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Tp=function(e){e===void 0&&(e=21);for(var t="",r=e;r--;)t+=_p[Math.random()*64|0];return t},Lp=["name","message","stack","code"],di=function(){function e(t,r){this.payload=t,this.meta=r}return e}(),ws=function(){function e(t,r){this.payload=t,this.meta=r}return e}(),Ip=function(e){if(typeof e=="object"&&e!==null){for(var t={},r=0,n=Lp;r<n.length;r++){var i=n[r];typeof e[i]=="string"&&(t[i]=e[i])}return t}return{message:String(e)}},ly=function(){function e(t,r,n){var i=Qt(t+"/fulfilled",function(h,u,m,y){return{payload:h,meta:li(Jt({},y||{}),{arg:m,requestId:u,requestStatus:"fulfilled"})}}),a=Qt(t+"/pending",function(h,u,m){return{payload:void 0,meta:li(Jt({},m||{}),{arg:u,requestId:h,requestStatus:"pending"})}}),s=Qt(t+"/rejected",function(h,u,m,y,g){return{payload:y,error:(n&&n.serializeError||Ip)(h||"Rejected"),meta:li(Jt({},g||{}),{arg:m,requestId:u,rejectedWithValue:!!y,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),c=!1,l=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function d(h){return function(u,m,y){var g=n?.idGenerator?n.idGenerator(h):Tp(),v=new l,E,N=!1;function A(b){E=b,v.abort()}var x=function(){return vp(this,null,function(){var b,S,T,D,rt,W,$;return hp(this,function(L){switch(L.label){case 0:return L.trys.push([0,4,,5]),D=(b=n?.condition)==null?void 0:b.call(n,h,{getState:m,extra:y}),Mp(D)?[4,D]:[3,2];case 1:D=L.sent(),L.label=2;case 2:if(D===!1||v.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return N=!0,rt=new Promise(function(k,J){return v.signal.addEventListener("abort",function(){return J({name:"AbortError",message:E||"Aborted"})})}),u(a(g,h,(S=n?.getPendingMeta)==null?void 0:S.call(n,{requestId:g,arg:h},{getState:m,extra:y}))),[4,Promise.race([rt,Promise.resolve(r(h,{dispatch:u,getState:m,extra:y,requestId:g,signal:v.signal,abort:A,rejectWithValue:function(k,J){return new di(k,J)},fulfillWithValue:function(k,J){return new ws(k,J)}})).then(function(k){if(k instanceof di)throw k;return k instanceof ws?i(k.payload,g,h,k.meta):i(k,g,h)})])];case 3:return T=L.sent(),[3,5];case 4:return W=L.sent(),T=W instanceof di?s(null,g,h,W.payload,W.meta):s(W,g,h),[3,5];case 5:return $=n&&!n.dispatchConditionRejection&&s.match(T)&&T.meta.condition,$||u(T),[2,T]}})})}();return Object.assign(x,{abort:A,requestId:g,arg:h,unwrap:function(){return x.then(kp)}})}}return Object.assign(d,{pending:a,rejected:s,fulfilled:i,typePrefix:t})}return e.withTypes=function(){return e},e}();function kp(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Mp(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var Ps="listener",_s="completed",Ts="cancelled",py="task-"+Ts,dy="task-"+_s,fy=Ps+"-"+Ts,uy=Ps+"-"+_s;var ui="listenerMiddleware";var hy=Qt(ui+"/add"),my=Qt(ui+"/removeAll"),yy=Qt(ui+"/remove");var Es,gy=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(Es||(Es=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},Dp=function(e){return function(t){setTimeout(t,e)}},by=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Dp(10);us();window.ftReduxStores||(window.ftReduxStores={});var hi=class e{static get(t){var r;let n=typeof t=="string"?t:t.name,i=typeof t=="string"?void 0:t,a=window.ftReduxStores[n];if(ge(a))return a;if(i==null)return;let s=$s({...i,reducers:(r=i.reducers)!==null&&r!==void 0?r:{}}),c=As({reducer:(l,d)=>d.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof d.type=="string"&&d.type.startsWith("DEFAULT_VALUE_SETTER__")?{...l,...d.overwrites}:s.reducer(l,d)});return window.ftReduxStores[i.name]=new e(s,c)}constructor(t,r){this.reduxSlice=t,this.reduxStore=r,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new hr,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,i,a)=>{let s=i,c=n[s];return c?(...l)=>{let d=c(...l);return this.reduxStore.dispatch(d),d}:l=>{this.setState({[s]:l})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),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()}};function Wp(){var e;for(let t of Object.values((e=window.ftReduxStores)!==null&&e!==void 0?e:{}))ge(t)&&t.clear()}var yi={};B(yi,{serializeRequest:()=>Bp});function Up(e){return`"${e}"`}function Bp(e,t){var r,n,i,a;let s=new URLSearchParams({"content-lang":(r=t.contentLocale)!==null&&r!==void 0?r:"all"});if(((n=t.query)===null||n===void 0?void 0:n.length)>0&&s.append("query",t.query),t.scope&&t.scope!=="DEFAULT"&&s.append("scope",t.scope.toLowerCase()),t.virtualField&&s.append("virtual-field",t.virtualField.toLowerCase()),t.periodFilter){let l=t.periodFilter.period,d=l?`_${l.from}_${l.to}`:"";s.append("period",t.periodFilter.periodType.toLowerCase()+d)}if(((i=t.sort)===null||i===void 0?void 0:i.length)>0&&t.sort[0].key==="ft:lastEdition"&&s.append("sort","last_update"),((a=t.filters)===null||a===void 0?void 0:a.length)>0){let l=t.filters.map(d=>{let h=d.values.map(u=>u.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*")).map(u=>encodeURIComponent(Up(u))).join("_");return`${d.key}~${h}`}).join("*");s.append("filters",l)}return new URL(`${e.replace(/\/+$/,"")}/search?${s.toString()}`).href}var bi={};B(bi,{toFtFormComponent:()=>gi});var no=Symbol("elementInternals");function gi(e,t){class r extends e{static get formAssociated(){return!0}get form(){return this[no].form}constructor(...i){super(i),this[no]=this.attachInternals(),this[no].role=t}setFormValue(i){this[no].setFormValue(i)}}return r}var xi,vi,Si,Oi,br=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Si=(vi=(xi=window.safari)===null||xi===void 0?void 0:xi.pushNotification)===null||vi===void 0?void 0:vi.toString())!==null&&Si!==void 0?Si:"")==="[object SafariRemoteNotification]",zp="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Oi=window.ftGlobals)!==null&&Oi!==void 0?Oi:{lit:No,litDecorators:Ro,litRepeat:$o,litClassMap:Po,litStyleMap:_o,litUnsafeHTML:Lo,wcUtils:{...Do,...ko,...Uo,...Bo,...Fo,...gn,...Sn,...Ln,...yn,...Mn,...Ja,...zo,...Un,...Bn,...ts,...Hn,...mi,...In,...yi,...bi,isSafari:br,isTouchScreen:zp}};var Qy={},Ls=_`
|
|
177
43
|
:host {
|
|
178
44
|
display: inline-block;
|
|
179
45
|
}
|
|
180
|
-
`;var
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
46
|
+
`;var Is;(function(e){e.FEEDBACK="FEEDBACK",e.RATING="RATING",e.PRINT="PRINT",e.BOOKMARK="BOOKMARK",e.COLLECTIONS="COLLECTIONS",e.PERSONAL_BOOKS="PERSONAL_BOOKS"})(Is||(Is={}));var Hp=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},wi=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},Ci=Symbol("registerInterval");function Fp(e){var t;class r extends e{constructor(){super(...arguments),this[t]=0}setReaderStateManager(i){this.clearStateManager(),this.stateManager=i,this.addStore(i.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var i;return(i=this.stateManager)===null||i===void 0?void 0:i.service}connectedCallback(){super.connectedCallback(),this[Ci]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[Ci]):this.dispatchEvent(new wi)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return t=Ci,Hp([q()],r.prototype,"stateManager",void 0),r}var io=class extends Fp(Zt){};var ks=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Ni=class extends Event{constructor(){super("register-ft-reader-topic-component",{bubbles:!0,composed:!0})}},Ei=Symbol("registerInterval");function jp(e){var t;class r extends e{constructor(){super(...arguments),this.disableContextInteractions=!1,this[t]=0}connectedCallback(){super.connectedCallback(),this[Ei]=window.setInterval(()=>this.tryToRegisterToTopicContext(),50)}tryToRegisterToTopicContext(){this.tocNode!=null?window.clearInterval(this[Ei]):this.dispatchEvent(new Ni)}disconnectedCallback(){super.disconnectedCallback(),this.tocNode=void 0}}return t=Ei,ks([q()],r.prototype,"tocNode",void 0),ks([q()],r.prototype,"disableContextInteractions",void 0),r}var ao=class extends jp(io){};var Ds=Symbol.for(""),Vp=e=>{if(e?.r===Ds)return e?._$litStatic$},Ai=e=>({_$litStatic$:e,r:Ds});var Ms=new Map,Ws=e=>(t,...r)=>{let n=r.length,i,a,s=[],c=[],l,d=0,h=!1;for(;d<n;){for(l=t[d];d<n&&(a=r[d],(i=Vp(a))!==void 0);)l+=i+t[++d],h=!0;d!==n&&c.push(a),s.push(l),d++}if(d===n&&s.push(t[n]),h){let u=s.join("$$lit$$");(t=Ms.get(u))===void 0&&(s.raw=s,Ms.set(u,t=s)),r=c}return e(t,...r)},Ri=Ws(Gi),pg=Ws(Zi);var ve;(function(e){e.title="title",e.title_dense="title-dense",e.subtitle1="subtitle1",e.subtitle2="subtitle2",e.body1="body1",e.body2="body2",e.caption="caption",e.breadcrumb="breadcrumb",e.overline="overline",e.button="button",e.display="display",e.title1="title-1",e.title2="title-2",e.title3="title-3",e.body1regular="body-1-regular",e.body1medium="body-1-medium",e.body1semibold="body-1-semibold",e.body2regular="body-2-regular",e.body2medium="body-2-medium",e.body2semibold="body-2-semibold",e.label1medium="label-1-medium",e.label1semibold="label-1-semibold",e.label1bold="label-1-bold",e.label2medium="label-2-medium",e.label2semibold="label-2-semibold",e.label2bold="label-2-bold",e.caption1medium="caption-1-medium",e.caption1semibold="caption-1-semibold",e.caption1bold="caption-1-bold",e.caption2medium="caption-2-medium",e.caption2semibold="caption-2-semibold",e.caption2bold="caption-2-bold"})(ve||(ve={}));function Us(e){let t=ir[e];return _`
|
|
47
|
+
.ft-typography--${_t(e)} {
|
|
48
|
+
font-family: ${t.fontFamily};
|
|
49
|
+
font-size: ${t.fontSize};
|
|
50
|
+
font-weight: ${t.fontWeight};
|
|
51
|
+
letter-spacing: ${t.letterSpacing};
|
|
52
|
+
line-height: ${t.lineHeight};
|
|
53
|
+
text-transform: ${t.textCase};
|
|
54
|
+
}
|
|
55
|
+
`}var Bs=o.extend("--ft-typography-font-family","",M.titleFont),Ut=o.extend("--ft-typography-font-family","",M.contentFont),R={fontFamily:Ut,fontSize:o.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Me={fontFamily:o.extend("--ft-typography-title-font-family","",Bs),fontSize:o.extend("--ft-typography-title-font-size","",R.fontSize,"20px"),fontWeight:o.extend("--ft-typography-title-font-weight","",R.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-letter-spacing","",R.letterSpacing,"0.15px"),lineHeight:o.extend("--ft-typography-title-line-height","",R.lineHeight,"1.2"),textTransform:o.extend("--ft-typography-title-text-transform","",R.textTransform,"inherit")},De={fontFamily:o.extend("--ft-typography-title-dense-font-family","",Bs),fontSize:o.extend("--ft-typography-title-dense-font-size","",R.fontSize,"14px"),fontWeight:o.extend("--ft-typography-title-dense-font-weight","",R.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-dense-letter-spacing","",R.letterSpacing,"0.105px"),lineHeight:o.extend("--ft-typography-title-dense-line-height","",R.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-title-dense-text-transform","",R.textTransform,"inherit")},We={fontFamily:o.extend("--ft-typography-subtitle1-font-family","",Ut),fontSize:o.extend("--ft-typography-subtitle1-font-size","",R.fontSize,"16px"),fontWeight:o.extend("--ft-typography-subtitle1-font-weight","",R.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-subtitle1-letter-spacing","",R.letterSpacing,"0.144px"),lineHeight:o.extend("--ft-typography-subtitle1-line-height","",R.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-subtitle1-text-transform","",R.textTransform,"inherit")},Ue={fontFamily:o.extend("--ft-typography-subtitle2-font-family","",Ut),fontSize:o.extend("--ft-typography-subtitle2-font-size","",R.fontSize,"14px"),fontWeight:o.extend("--ft-typography-subtitle2-font-weight","",R.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-subtitle2-letter-spacing","",R.letterSpacing,"0.098px"),lineHeight:o.extend("--ft-typography-subtitle2-line-height","",R.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-subtitle2-text-transform","",R.textTransform,"inherit")},Be={fontFamily:o.extend("--ft-typography-body1-font-family","",Ut),fontSize:o.extend("--ft-typography-body1-font-size","",R.fontSize,"16px"),fontWeight:o.extend("--ft-typography-body1-font-weight","",R.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body1-letter-spacing","",R.letterSpacing,"0.496px"),lineHeight:o.extend("--ft-typography-body1-line-height","",R.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-body1-text-transform","",R.textTransform,"inherit")},Et={fontFamily:o.extend("--ft-typography-body2-font-family","",Ut),fontSize:o.extend("--ft-typography-body2-font-size","",R.fontSize,"14px"),fontWeight:o.extend("--ft-typography-body2-font-weight","",R.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body2-letter-spacing","",R.letterSpacing,"0.252px"),lineHeight:o.extend("--ft-typography-body2-line-height","",R.lineHeight,"1.4"),textTransform:o.extend("--ft-typography-body2-text-transform","",R.textTransform,"inherit")},ze={fontFamily:o.extend("--ft-typography-caption-font-family","",Ut),fontSize:o.extend("--ft-typography-caption-font-size","",R.fontSize,"12px"),fontWeight:o.extend("--ft-typography-caption-font-weight","",R.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-caption-letter-spacing","",R.letterSpacing,"0.396px"),lineHeight:o.extend("--ft-typography-caption-line-height","",R.lineHeight,"1.33"),textTransform:o.extend("--ft-typography-caption-text-transform","",R.textTransform,"inherit")},He={fontFamily:o.extend("--ft-typography-breadcrumb-font-family","",Ut),fontSize:o.extend("--ft-typography-breadcrumb-font-size","",R.fontSize,"10px"),fontWeight:o.extend("--ft-typography-breadcrumb-font-weight","",R.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-breadcrumb-letter-spacing","",R.letterSpacing,"0.33px"),lineHeight:o.extend("--ft-typography-breadcrumb-line-height","",R.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-breadcrumb-text-transform","",R.textTransform,"inherit")},Fe={fontFamily:o.extend("--ft-typography-overline-font-family","",Ut),fontSize:o.extend("--ft-typography-overline-font-size","",R.fontSize,"10px"),fontWeight:o.extend("--ft-typography-overline-font-weight","",R.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-overline-letter-spacing","",R.letterSpacing,"1.5px"),lineHeight:o.extend("--ft-typography-overline-line-height","",R.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-overline-text-transform","",R.textTransform,"uppercase")},Nt={fontFamily:o.extend("--ft-typography-button-font-family","",Ut),fontSize:o.extend("--ft-typography-button-font-size","",R.fontSize,"14px"),fontWeight:o.extend("--ft-typography-button-font-weight","",R.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-button-letter-spacing","",R.letterSpacing,"1.246px"),lineHeight:o.extend("--ft-typography-button-line-height","",R.lineHeight,"1.15"),textTransform:o.extend("--ft-typography-button-text-transform","",R.textTransform,"uppercase")},zs=_`
|
|
186
56
|
.ft-typography--title {
|
|
187
|
-
font-family: ${
|
|
188
|
-
font-size: ${
|
|
189
|
-
font-weight: ${
|
|
190
|
-
letter-spacing: ${
|
|
191
|
-
line-height: ${
|
|
192
|
-
text-transform: ${
|
|
57
|
+
font-family: ${Me.fontFamily};
|
|
58
|
+
font-size: ${Me.fontSize};
|
|
59
|
+
font-weight: ${Me.fontWeight};
|
|
60
|
+
letter-spacing: ${Me.letterSpacing};
|
|
61
|
+
line-height: ${Me.lineHeight};
|
|
62
|
+
text-transform: ${Me.textTransform};
|
|
193
63
|
}
|
|
194
|
-
`,
|
|
64
|
+
`,Hs=_`
|
|
195
65
|
.ft-typography--title-dense {
|
|
196
|
-
font-family: ${
|
|
197
|
-
font-size: ${
|
|
198
|
-
font-weight: ${
|
|
199
|
-
letter-spacing: ${
|
|
200
|
-
line-height: ${
|
|
201
|
-
text-transform: ${
|
|
66
|
+
font-family: ${De.fontFamily};
|
|
67
|
+
font-size: ${De.fontSize};
|
|
68
|
+
font-weight: ${De.fontWeight};
|
|
69
|
+
letter-spacing: ${De.letterSpacing};
|
|
70
|
+
line-height: ${De.lineHeight};
|
|
71
|
+
text-transform: ${De.textTransform};
|
|
202
72
|
}
|
|
203
|
-
`,
|
|
73
|
+
`,Fs=_`
|
|
204
74
|
.ft-typography--subtitle1 {
|
|
205
|
-
font-family: ${
|
|
206
|
-
font-size: ${
|
|
207
|
-
font-weight: ${
|
|
208
|
-
letter-spacing: ${
|
|
209
|
-
line-height: ${
|
|
210
|
-
text-transform: ${
|
|
75
|
+
font-family: ${We.fontFamily};
|
|
76
|
+
font-size: ${We.fontSize};
|
|
77
|
+
font-weight: ${We.fontWeight};
|
|
78
|
+
letter-spacing: ${We.letterSpacing};
|
|
79
|
+
line-height: ${We.lineHeight};
|
|
80
|
+
text-transform: ${We.textTransform};
|
|
211
81
|
}
|
|
212
|
-
`,
|
|
82
|
+
`,js=_`
|
|
213
83
|
.ft-typography--subtitle2 {
|
|
214
|
-
font-family: ${
|
|
215
|
-
font-size: ${
|
|
216
|
-
font-weight: ${
|
|
217
|
-
letter-spacing: ${
|
|
218
|
-
line-height: ${
|
|
219
|
-
text-transform: ${
|
|
84
|
+
font-family: ${Ue.fontFamily};
|
|
85
|
+
font-size: ${Ue.fontSize};
|
|
86
|
+
font-weight: ${Ue.fontWeight};
|
|
87
|
+
letter-spacing: ${Ue.letterSpacing};
|
|
88
|
+
line-height: ${Ue.lineHeight};
|
|
89
|
+
text-transform: ${Ue.textTransform};
|
|
220
90
|
}
|
|
221
91
|
|
|
222
|
-
|
|
92
|
+
`,Vs=_`
|
|
223
93
|
.ft-typography--body1 {
|
|
224
|
-
font-family: ${
|
|
225
|
-
font-size: ${
|
|
226
|
-
font-weight: ${
|
|
227
|
-
letter-spacing: ${
|
|
228
|
-
line-height: ${
|
|
229
|
-
text-transform: ${
|
|
94
|
+
font-family: ${Be.fontFamily};
|
|
95
|
+
font-size: ${Be.fontSize};
|
|
96
|
+
font-weight: ${Be.fontWeight};
|
|
97
|
+
letter-spacing: ${Be.letterSpacing};
|
|
98
|
+
line-height: ${Be.lineHeight};
|
|
99
|
+
text-transform: ${Be.textTransform};
|
|
230
100
|
}
|
|
231
|
-
`,
|
|
101
|
+
`,Ks=_`
|
|
232
102
|
.ft-typography--body2 {
|
|
233
|
-
font-family: ${
|
|
234
|
-
font-size: ${
|
|
235
|
-
font-weight: ${
|
|
236
|
-
letter-spacing: ${
|
|
237
|
-
line-height: ${
|
|
238
|
-
text-transform: ${
|
|
103
|
+
font-family: ${Et.fontFamily};
|
|
104
|
+
font-size: ${Et.fontSize};
|
|
105
|
+
font-weight: ${Et.fontWeight};
|
|
106
|
+
letter-spacing: ${Et.letterSpacing};
|
|
107
|
+
line-height: ${Et.lineHeight};
|
|
108
|
+
text-transform: ${Et.textTransform};
|
|
239
109
|
}
|
|
240
|
-
`,
|
|
110
|
+
`,Gs=_`
|
|
241
111
|
.ft-typography--caption {
|
|
242
|
-
font-family: ${
|
|
243
|
-
font-size: ${
|
|
244
|
-
font-weight: ${
|
|
245
|
-
letter-spacing: ${
|
|
246
|
-
line-height: ${
|
|
247
|
-
text-transform: ${
|
|
112
|
+
font-family: ${ze.fontFamily};
|
|
113
|
+
font-size: ${ze.fontSize};
|
|
114
|
+
font-weight: ${ze.fontWeight};
|
|
115
|
+
letter-spacing: ${ze.letterSpacing};
|
|
116
|
+
line-height: ${ze.lineHeight};
|
|
117
|
+
text-transform: ${ze.textTransform};
|
|
248
118
|
}
|
|
249
|
-
`,
|
|
119
|
+
`,Zs=_`
|
|
250
120
|
.ft-typography--breadcrumb {
|
|
251
|
-
font-family: ${
|
|
252
|
-
font-size: ${
|
|
253
|
-
font-weight: ${
|
|
254
|
-
letter-spacing: ${
|
|
255
|
-
line-height: ${
|
|
256
|
-
text-transform: ${
|
|
121
|
+
font-family: ${He.fontFamily};
|
|
122
|
+
font-size: ${He.fontSize};
|
|
123
|
+
font-weight: ${He.fontWeight};
|
|
124
|
+
letter-spacing: ${He.letterSpacing};
|
|
125
|
+
line-height: ${He.lineHeight};
|
|
126
|
+
text-transform: ${He.textTransform};
|
|
257
127
|
}
|
|
258
|
-
`,
|
|
128
|
+
`,qs=_`
|
|
259
129
|
.ft-typography--overline {
|
|
260
|
-
font-family: ${
|
|
261
|
-
font-size: ${
|
|
262
|
-
font-weight: ${
|
|
263
|
-
letter-spacing: ${
|
|
264
|
-
line-height: ${
|
|
265
|
-
text-transform: ${
|
|
130
|
+
font-family: ${Fe.fontFamily};
|
|
131
|
+
font-size: ${Fe.fontSize};
|
|
132
|
+
font-weight: ${Fe.fontWeight};
|
|
133
|
+
letter-spacing: ${Fe.letterSpacing};
|
|
134
|
+
line-height: ${Fe.lineHeight};
|
|
135
|
+
text-transform: ${Fe.textTransform};
|
|
266
136
|
}
|
|
267
|
-
`,
|
|
137
|
+
`,Ys=_`
|
|
268
138
|
.ft-typography--button {
|
|
269
|
-
font-family: ${
|
|
270
|
-
font-size: ${
|
|
271
|
-
font-weight: ${
|
|
272
|
-
letter-spacing: ${
|
|
273
|
-
line-height: ${
|
|
274
|
-
text-transform: ${
|
|
139
|
+
font-family: ${Nt.fontFamily};
|
|
140
|
+
font-size: ${Nt.fontSize};
|
|
141
|
+
font-weight: ${Nt.fontWeight};
|
|
142
|
+
letter-spacing: ${Nt.letterSpacing};
|
|
143
|
+
line-height: ${Nt.lineHeight};
|
|
144
|
+
text-transform: ${Nt.textTransform};
|
|
275
145
|
}
|
|
276
|
-
`,
|
|
146
|
+
`,Xs=_`
|
|
277
147
|
.ft-typography {
|
|
278
148
|
vertical-align: inherit;
|
|
279
149
|
}
|
|
280
|
-
`,
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
font-size: ${e.fontSize};
|
|
284
|
-
font-weight: ${e.fontWeight};
|
|
285
|
-
letter-spacing: ${e.letterSpacing};
|
|
286
|
-
line-height: ${e.lineHeight};
|
|
287
|
-
text-transform: ${e.textCase};
|
|
288
|
-
}
|
|
289
|
-
`}(t)))];var Bs=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,l=t.length-1;l>=0;l--)(i=t[l])&&(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 Fs extends ji{constructor(){super(...arguments),this.variant=Sl.body1}render(){return this.element?wl`
|
|
290
|
-
<${xl(this.element)}
|
|
150
|
+
`,Js=[Object.keys(ir).map(e=>Us(e))];var Qs=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},dt=class extends V{constructor(){super(...arguments),this.variant=ve.body1}render(){return this.element?Ri`
|
|
151
|
+
<${Ai(this.element)}
|
|
152
|
+
part="text"
|
|
291
153
|
class="ft-typography ft-typography--${this.variant}">
|
|
292
154
|
<slot></slot>
|
|
293
|
-
</${
|
|
294
|
-
`:
|
|
295
|
-
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
296
|
-
`}}
|
|
155
|
+
</${Ai(this.element)}>
|
|
156
|
+
`:Ri`
|
|
157
|
+
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
158
|
+
`}};dt.styles=[zs,Hs,Fs,js,Vs,Ks,Gs,Zs,qs,Ys,Xs,...Js];Qs([C()],dt.prototype,"element",void 0);Qs([C()],dt.prototype,"variant",void 0);X("ft-typography")(dt);var je={distance:o.create("--ft-tooltip-distance","","SIZE","4px"),color:o.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:o.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:o.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:o.external(M.borderRadiusS,"Design system"),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","150px")},tc=_`
|
|
297
159
|
.ft-tooltip--container {
|
|
298
160
|
display: block;
|
|
299
161
|
}
|
|
@@ -308,21 +170,21 @@ function(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
308
170
|
box-sizing: border-box;
|
|
309
171
|
overflow: hidden;
|
|
310
172
|
width: max-content;
|
|
311
|
-
max-width: ${
|
|
173
|
+
max-width: ${je.maxWidth};
|
|
312
174
|
text-align: center;
|
|
313
|
-
padding: ${
|
|
314
|
-
z-index: ${
|
|
175
|
+
padding: ${je.distance};
|
|
176
|
+
z-index: ${je.zIndex};
|
|
315
177
|
}
|
|
316
178
|
|
|
317
179
|
.ft-tooltip--content {
|
|
318
180
|
padding: 4px 8px;
|
|
319
|
-
border-radius: ${
|
|
320
|
-
background-color: ${
|
|
321
|
-
color: ${
|
|
181
|
+
border-radius: ${je.borderRadiusS};
|
|
182
|
+
background-color: ${je.backgroundColor};
|
|
183
|
+
color: ${je.color};
|
|
322
184
|
position: relative;
|
|
323
185
|
word-break: break-word;
|
|
324
186
|
}
|
|
325
|
-
`;var
|
|
187
|
+
`;var nt=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},F=class extends V{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 gt,this.revealDebouncer=new gt}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return U`
|
|
326
188
|
<div part="container"
|
|
327
189
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
328
190
|
@mouseenter=${this.onHover}
|
|
@@ -340,7 +202,7 @@ function(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
340
202
|
</div>
|
|
341
203
|
</div>
|
|
342
204
|
</div>
|
|
343
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(
|
|
205
|
+
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(r=>t.has(r))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,t!=null&&await this.hideDebounce.run(()=>{this.hide()},t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return((t=this.slotNodes)!==null&&t!==void 0?t:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let 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";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Tn(this.slottedElement,this.tooltip,this.position).then(({x:t,y:r})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${r}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,r){return Math.max(t,Math.min(0,-r))}};F.elementDefinitions={"ft-typography":dt};F.styles=tc;nt([C()],F.prototype,"text",void 0);nt([C({type:Boolean})],F.prototype,"manual",void 0);nt([C({type:Boolean})],F.prototype,"inline",void 0);nt([C({type:Number})],F.prototype,"delay",void 0);nt([C()],F.prototype,"position",void 0);nt([Ao()],F.prototype,"slotNodes",void 0);nt([et(".ft-tooltip--container")],F.prototype,"container",void 0);nt([et(".ft-tooltip")],F.prototype,"tooltip",void 0);nt([et(".ft-tooltip--content")],F.prototype,"tooltipContent",void 0);nt([q()],F.prototype,"visible",void 0);nt([we({passive:!0})],F.prototype,"onTouch",null);nt([we({passive:!0})],F.prototype,"onHover",null);nt([we({passive:!0})],F.prototype,"onOut",null);nt([we({passive:!0})],F.prototype,"onClick",null);X("ft-tooltip")(F);var ec=o.extend("--ft-ripple-color","",M.colorContent),I={color:ec,backgroundColor:o.extend("--ft-ripple-background-color","",ec),opacityContentOnSurfacePressed:o.external(M.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.external(M.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.external(M.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.external(M.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.create("--ft-ripple-border-radius","","SIZE","0px")},rc=o.extend("--ft-ripple-color","",M.colorPrimary),oc={color:rc,backgroundColor:o.extend("--ft-ripple-background-color","",rc)},nc=o.extend("--ft-ripple-color","",M.colorSecondary),ic={color:nc,backgroundColor:o.extend("--ft-ripple-background-color","",nc)},ac=_`
|
|
344
206
|
:host {
|
|
345
207
|
display: contents;
|
|
346
208
|
}
|
|
@@ -353,7 +215,7 @@ function(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
353
215
|
|
|
354
216
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
355
217
|
overflow: hidden;
|
|
356
|
-
border-radius: ${
|
|
218
|
+
border-radius: ${I.borderRadius};
|
|
357
219
|
}
|
|
358
220
|
|
|
359
221
|
.ft-ripple .ft-ripple--background,
|
|
@@ -387,27 +249,27 @@ function(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
387
249
|
}
|
|
388
250
|
|
|
389
251
|
.ft-ripple .ft-ripple--background {
|
|
390
|
-
background-color: ${
|
|
252
|
+
background-color: ${I.backgroundColor};
|
|
391
253
|
}
|
|
392
254
|
|
|
393
255
|
.ft-ripple .ft-ripple--effect {
|
|
394
|
-
background-color: ${
|
|
256
|
+
background-color: ${I.color};
|
|
395
257
|
}
|
|
396
258
|
|
|
397
259
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
398
|
-
background-color: ${
|
|
260
|
+
background-color: ${ic.backgroundColor};
|
|
399
261
|
}
|
|
400
262
|
|
|
401
263
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
402
|
-
background-color: ${
|
|
264
|
+
background-color: ${ic.color};
|
|
403
265
|
}
|
|
404
266
|
|
|
405
267
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
406
|
-
background-color: ${
|
|
268
|
+
background-color: ${oc.backgroundColor};
|
|
407
269
|
}
|
|
408
270
|
|
|
409
271
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
410
|
-
background-color: ${
|
|
272
|
+
background-color: ${oc.color};
|
|
411
273
|
}
|
|
412
274
|
|
|
413
275
|
.ft-ripple .ft-ripple--background {
|
|
@@ -437,33 +299,33 @@ function(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
437
299
|
}
|
|
438
300
|
|
|
439
301
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
440
|
-
opacity: ${
|
|
302
|
+
opacity: ${I.opacityContentOnSurfaceHover};
|
|
441
303
|
}
|
|
442
304
|
|
|
443
305
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
444
|
-
opacity: ${
|
|
306
|
+
opacity: ${I.opacityContentOnSurfaceSelected};
|
|
445
307
|
}
|
|
446
308
|
|
|
447
309
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
448
|
-
opacity: ${
|
|
310
|
+
opacity: ${I.opacityContentOnSurfaceFocused};
|
|
449
311
|
}
|
|
450
312
|
|
|
451
313
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
452
|
-
opacity: ${
|
|
314
|
+
opacity: ${I.opacityContentOnSurfacePressed};
|
|
453
315
|
transform: translate(-50%, -50%) scale(1);
|
|
454
316
|
}
|
|
455
|
-
`;var
|
|
317
|
+
`;var it=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},j=class extends V{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 gt(1e3),this.onTransitionStart=t=>{t.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=t=>{t.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new gt(10),this.moveRipple=t=>{var r,n;let{x:i,y:a}=this.getCoordinates(t),s=(n=(r=this.ripple)===null||r===void 0?void 0:r.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(i!=null?i-s.x:s.width/2),this.originY=Math.round(a!=null?a-s.y:s.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(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 U`
|
|
456
318
|
<style>
|
|
457
319
|
.ft-ripple .ft-ripple--effect {
|
|
458
320
|
left: ${this.originX}px;
|
|
459
321
|
top: ${this.originY}px;
|
|
460
322
|
}
|
|
461
323
|
</style>
|
|
462
|
-
<div class="${
|
|
324
|
+
<div class="${fe(t)}">
|
|
463
325
|
<div class="ft-ripple--background"></div>
|
|
464
326
|
<div class="ft-ripple--effect"></div>
|
|
465
327
|
</div>
|
|
466
|
-
`}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()}}ic.elementDefinitions={},ic.styles=tc,rc([we({type:Boolean})],ic.prototype,"primary",void 0),rc([we({type:Boolean})],ic.prototype,"secondary",void 0),rc([we({type:Boolean})],ic.prototype,"unbounded",void 0),rc([we({type:Boolean})],ic.prototype,"activated",void 0),rc([we({type:Boolean})],ic.prototype,"selected",void 0),rc([we({type:Boolean})],ic.prototype,"disabled",void 0),rc([Se()],ic.prototype,"hovered",void 0),rc([Se()],ic.prototype,"focused",void 0),rc([Se()],ic.prototype,"pressed",void 0),rc([Se()],ic.prototype,"rippling",void 0),rc([Se()],ic.prototype,"originX",void 0),rc([Se()],ic.prototype,"originY",void 0),rc([Ee(".ft-ripple")],ic.prototype,"ripple",void 0),rc([Ee(".ft-ripple--effect")],ic.prototype,"rippleEffect",void 0),ho("ft-ripple")(ic),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="",t.OCTAGON_XMARK="",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.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="",t.CONSUMER="",t.HOURGLASS_HALF="",t.CLOCK_THREE="",t.CALENDAR_DAY="",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="",t.WAND_MAGIC_SPARKLES="",t.PAPER_PLANE=""}(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;const nc={size:mo.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:mo.extend("--ft-icon-fluid-topics-font-family","",mo.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:mo.extend("--ft-icon-file-format-font-family","",mo.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:mo.extend("--ft-icon-material-font-family","",mo.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:mo.create("--ft-icon-vertical-align","","UNKNOWN","unset")},ac=dt`
|
|
328
|
+
`}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 r,n;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.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,r;let n=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;n&&this.setupFor((r=this.target)!==null&&r!==void 0?r:n)}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");let r=(...c)=>l=>{c.forEach(d=>window.addEventListener(d,this.endPress,{once:!0})),this.startPress(l)},n=r("mouseup","contextmenu"),i=r("touchend","touchcancel"),a=c=>{["Enter"," "].includes(c.key)&&r("keyup")(c)},s={passive:!0};t.addEventListener("mouseover",this.startHover,s),t.addEventListener("mousemove",this.moveRipple,s),t.addEventListener("mouseleave",this.endHover,s),t.addEventListener("mousedown",n,s),t.addEventListener("touchstart",i,s),t.addEventListener("touchmove",this.moveRipple,s),t.addEventListener("keydown",a,s),t.addEventListener("focus",this.startFocus,s),t.addEventListener("blur",this.endFocus,s),t.addEventListener("focusin",this.startFocus,s),t.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,s),t.removeEventListener("mousemove",this.moveRipple,s),t.removeEventListener("mouseleave",this.endHover,s),t.removeEventListener("mousedown",n,s),t.removeEventListener("touchstart",i,s),t.removeEventListener("touchmove",this.moveRipple,s),t.removeEventListener("keydown",a,s),t.removeEventListener("focus",this.startFocus,s),t.removeEventListener("blur",this.endFocus,s),t.removeEventListener("focusin",this.startFocus,s),t.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let r=t,n=t,i,a;return r.x!=null?{x:i,y:a}=r:n.touches!=null&&(i=n.touches[0].clientX,a=n.touches[0].clientY),{x:i,y:a}}isFocusVisible(t){return t instanceof HTMLElement?t.matches(":focus-visible"):!0}isIgnored(t){if(this.disabled)return!0;if(t!=null)for(let r of t.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};j.elementDefinitions={};j.styles=ac;it([C({type:Boolean})],j.prototype,"primary",void 0);it([C({type:Boolean})],j.prototype,"secondary",void 0);it([C({type:Boolean})],j.prototype,"unbounded",void 0);it([C({type:Boolean})],j.prototype,"activated",void 0);it([C({type:Boolean})],j.prototype,"selected",void 0);it([C({type:Boolean})],j.prototype,"disabled",void 0);it([q()],j.prototype,"hovered",void 0);it([q()],j.prototype,"focused",void 0);it([q()],j.prototype,"pressed",void 0);it([q()],j.prototype,"rippling",void 0);it([q()],j.prototype,"originX",void 0);it([q()],j.prototype,"originY",void 0);it([et(".ft-ripple")],j.prototype,"ripple",void 0);it([et(".ft-ripple--effect")],j.prototype,"rippleEffect",void 0);X("ft-ripple")(j);var so;(function(e){e.THUMBS_DOWN="",e.THUMBS_DOWN_PLAIN="",e.THUMBS_UP="",e.THUMBS_UP_PLAIN="",e.STAR="",e.STAR_PLAIN="",e.DESKTOP="",e.LIFE_RING="",e.GLOBE="",e.PIGGY_BANK="",e.TABLET_LANDSCAPE="",e.TABLET_PORTRAIT="",e.MOBILE_LANDSCAPE="",e.MOBILE_PORTRAIT="",e.ARROW_RIGHT_TO_LINE="",e.THIN_ARROW_UP="",e.CONTEXTUAL="",e.CHART_SIMPLE="",e.BARS_PROGRESS="",e.LINE_CHART="",e.STACKED_CHART="",e.CHART_BAR_NORMALIZED="",e.BOOK_OPEN_GEAR="",e.BOOK_OPEN_GEAR_SLASH="",e.DIAGRAM_SUNBURST="",e.DIAGRAM_SANKEY="",e.UNSTRUCTURED_DOC="",e.RESET="",e.THIN_ARROW_LEFT="",e.THIN_ARROW_RIGHT="",e.MY_COLLECTIONS="",e.OFFLINE_SETTINGS="",e.MY_LIBRARY="",e.RATE_PLAIN="",e.RATE="",e.FEEDBACK_PLAIN="",e.PAUSE="",e.PLAY="",e.RELATIVES_PLAIN="",e.RELATIVES="",e.SHORTCUT_MENU="",e.PRINT="",e.DEFAULT_ROLES="",e.ACCOUNT_SETTINGS="",e.ONLINE="",e.OFFLINE="",e.UPLOAD="",e.BOOK_PLAIN="",e.SYNC="",e.SHARED_PBK="",e.COLLECTIONS="",e.SEARCH_IN_PUBLICATION="",e.BOOKS="",e.LOCKER="",e.ARROW_DOWN="",e.ARROW_LEFT="",e.ARROW_RIGHT="",e.ARROW_UP="",e.SAVE="",e.MAILS_AND_NOTIFICATIONS="",e.DOT="",e.MINUS="",e.PLUS="",e.FILTERS="",e.STRIPE_ARROW_RIGHT="",e.STRIPE_ARROW_LEFT="",e.ATTACHMENTS="",e.ADD_BOOKMARK="",e.BOOKMARK="",e.EXPORT="",e.MENU="",e.TAG="",e.TAG_PLAIN="",e.COPY_TO_CLIPBOARD="",e.COLUMNS="",e.ARTICLE="",e.CLOSE="",e.OCTAGON_XMARK="",e.CLOSE_PLAIN="",e.CHECK_PLAIN="",e.LOGOUT="",e.SIGN_IN="",e.THIN_ARROW="",e.TRIANGLE_BOTTOM="",e.TRIANGLE_LEFT="",e.TRIANGLE_RIGHT="",e.TRIANGLE_TOP="",e.FACET_HAS_DESCENDANT="",e.MINUS_PLAIN="",e.PLUS_PLAIN="",e.INFO="",e.ICON_EXPAND="",e.ICON_COLLAPSE="",e.ADD_TO_PBK="",e.ALERT="",e.ADD_ALERT="",e.BACK_TO_SEARCH="",e.DOWNLOAD="",e.EDIT="",e.FEEDBACK="",e.MODIFY_PBK="",e.SCHEDULED="",e.SEARCH="",e.SHARE="󨃱",e.TOC="",e.WRITE_UGC="",e.TRASH="",e.EXTLINK="",e.EXTLINK_LIGHT="",e.CALENDAR="",e.BOOK="",e.DOWNLOAD_PLAIN="",e.CHECK="",e.TOPICS="",e.EYE="",e.EYE_SLASH="",e.DISC="",e.CIRCLE="",e.SHARED="",e.SORT_UNSORTED="",e.SORT_UP="",e.SORT_DOWN="",e.WORKING="",e.ZOOM_OUT="",e.ZOOM_IN="",e.ZOOM_REALSIZE="",e.ZOOM_FULLSCREEN="",e.ADMIN_RESTRICTED="",e.ADMIN_THEME="",e.WARNING="",e.CONTEXT="",e.SEARCH_HOME="",e.STEPS="",e.HOME="",e.TRANSLATE="",e.USER="",e.ADMIN="",e.ANALYTICS="",e.ADMIN_KHUB="",e.ADMIN_USERS="",e.ADMIN_INTEGRATION="",e.ADMIN_PORTAL="",e.COMMENT_QUESTION="",e.COMMENT_QUESTION_PLAIN="",e.MESSAGE_BOT="",e.PIP="",e.PIP_WIDE="",e.EXPAND_WIDE="",e.X_MARK="",e.CLONE="",e.CLONE_LINK_SIMPLE="",e.CONSUMER="",e.HOURGLASS_HALF="",e.CLOCK_THREE="",e.CALENDAR_DAY="",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="",e.WAND_MAGIC_SPARKLES="",e.PAPER_PLANE=""})(so||(so={}));var O;(function(e){e.UNKNOWN="",e.ABW="",e.AUDIO="",e.AVI="",e.CHM="",e.CODE="",e.CSV="",e.DITA="",e.EPUB="",e.EXCEL="",e.FLAC="",e.GIF="",e.GZIP="",e.HTML="",e.IMAGE="",e.JPEG="",e.JSON="",e.M4A="",e.MOV="",e.MP3="",e.MP4="",e.OGG="",e.PDF="",e.PNG="",e.POWERPOINT="",e.RAR="",e.STP="",e.TEXT="",e.VIDEO="",e.WAV="",e.WMA="",e.WORD="",e.XML="",e.YAML="",e.ZIP=""})(O||(O={}));var Db=new Map([...["abw"].map(e=>[e,O.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(e=>[e,O.AUDIO]),...["avi"].map(e=>[e,O.AVI]),...["chm","xhs"].map(e=>[e,O.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(e=>[e,O.CODE]),...["csv"].map(e=>[e,O.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,O.DITA]),...["epub"].map(e=>[e,O.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,O.EXCEL]),...["flac"].map(e=>[e,O.FLAC]),...["gif"].map(e=>[e,O.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,O.GZIP]),...["html","htm","xhtml"].map(e=>[e,O.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(e=>[e,O.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,O.JPEG]),...["json"].map(e=>[e,O.JSON]),...["m4a","m4p"].map(e=>[e,O.M4A]),...["mov","qt"].map(e=>[e,O.MOV]),...["mp3"].map(e=>[e,O.MP3]),...["mp4","m4v"].map(e=>[e,O.MP4]),...["ogg","oga"].map(e=>[e,O.OGG]),...["pdf","ps"].map(e=>[e,O.PDF]),...["png"].map(e=>[e,O.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,O.POWERPOINT]),...["rar"].map(e=>[e,O.RAR]),...["stp"].map(e=>[e,O.STP]),...["txt","rtf","md","mdown"].map(e=>[e,O.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(e=>[e,O.VIDEO]),...["wav"].map(e=>[e,O.WAV]),...["wma"].map(e=>[e,O.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,O.WORD]),...["xml","xsl","rdf"].map(e=>[e,O.XML]),...["yaml","yml","x-yaml"].map(e=>[e,O.YAML]),...["zip"].map(e=>[e,O.ZIP])]);var Wb={[O.ABW]:"#91ABC6",[O.AUDIO]:"#1795E3",[O.AVI]:"#E63324",[O.CHM]:"#71C3EB",[O.CODE]:"#71C3EB",[O.CSV]:"#1F7345",[O.DITA]:"#71C3EB",[O.EPUB]:"#85B926",[O.EXCEL]:"#1F7345",[O.FLAC]:"#1795E3",[O.GIF]:"#59B031",[O.GZIP]:"#F8AB36",[O.HTML]:"#71C3EB",[O.IMAGE]:"#59B031",[O.JPEG]:"#59B031",[O.JSON]:"#71C3EB",[O.M4A]:"#1795E3",[O.MOV]:"#E63324",[O.MP3]:"#1795E3",[O.MP4]:"#E63324",[O.OGG]:"#1795E3",[O.PDF]:"#E44948",[O.PNG]:"#59B031",[O.POWERPOINT]:"#B54A2B",[O.RAR]:"#F8AB36",[O.STP]:"#3764B1",[O.TEXT]:"#3162AB",[O.UNKNOWN]:"#999999",[O.VIDEO]:"#E63324",[O.WAV]:"#1795E3",[O.WMA]:"#1795E3",[O.WORD]:"#3162AB",[O.XML]:"#71C3EB",[O.YAML]:"#71C3EB",[O.ZIP]:"#F8AB36"};var tt={size:o.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:o.extend("--ft-icon-fluid-topics-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:o.extend("--ft-icon-file-format-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:o.extend("--ft-icon-material-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:o.create("--ft-icon-vertical-align","","UNKNOWN","unset")},sc=_`
|
|
467
329
|
:host, i.ft-icon {
|
|
468
330
|
display: inline-flex;
|
|
469
331
|
align-items: center;
|
|
@@ -472,14 +334,14 @@ function(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
472
334
|
}
|
|
473
335
|
|
|
474
336
|
:host {
|
|
475
|
-
width: ${
|
|
476
|
-
height: ${
|
|
337
|
+
width: ${tt.size};
|
|
338
|
+
height: ${tt.size};
|
|
477
339
|
}
|
|
478
340
|
|
|
479
341
|
i.ft-icon {
|
|
480
342
|
width: 100%;
|
|
481
343
|
height: 100%;
|
|
482
|
-
font-size: ${
|
|
344
|
+
font-size: ${tt.size};
|
|
483
345
|
line-height: 1;
|
|
484
346
|
font-weight: normal;
|
|
485
347
|
text-transform: none;
|
|
@@ -490,33 +352,33 @@ function(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
490
352
|
text-rendering: auto;
|
|
491
353
|
-webkit-font-smoothing: antialiased;
|
|
492
354
|
-moz-osx-font-smoothing: grayscale;
|
|
493
|
-
vertical-align: ${
|
|
355
|
+
vertical-align: ${tt.verticalAlign};
|
|
494
356
|
}
|
|
495
357
|
|
|
496
358
|
i.ft-icon.ft-icon--fluid-topics {
|
|
497
|
-
font-family: ${
|
|
359
|
+
font-family: ${tt.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
498
360
|
|
|
499
361
|
/* Ugly fix because font is broken */
|
|
500
|
-
font-size: calc(0.75 * ${
|
|
501
|
-
line-height: ${
|
|
362
|
+
font-size: calc(0.75 * ${tt.size});
|
|
363
|
+
line-height: ${tt.size};
|
|
502
364
|
position: relative;
|
|
503
365
|
top: -4%;
|
|
504
366
|
justify-content: center;
|
|
505
367
|
}
|
|
506
368
|
|
|
507
369
|
.ft-icon--file-format {
|
|
508
|
-
font-family: ${
|
|
370
|
+
font-family: ${tt.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
509
371
|
}
|
|
510
372
|
|
|
511
373
|
.ft-icon--material {
|
|
512
|
-
font-family: ${
|
|
374
|
+
font-family: ${tt.materialFontFamily}, "Material Icons", sans-serif;
|
|
513
375
|
}
|
|
514
|
-
`;var
|
|
376
|
+
`;var te;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(te||(te={}));var co=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},at=class extends V{constructor(){super(...arguments),this.resolvedIcon=z}render(){let t=this.variant&&Object.values(te).includes(this.variant)?this.variant:te.fluid_topics,r=t!==te.material||!!this.value;return U`
|
|
515
377
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
516
|
-
${
|
|
517
|
-
<slot ?hidden=${
|
|
378
|
+
${To(this.resolvedIcon)}
|
|
379
|
+
<slot ?hidden=${r}></slot>
|
|
518
380
|
</i>
|
|
519
|
-
`}get textContent(){var t,
|
|
381
|
+
`}get textContent(){var t,r;return(r=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&r!==void 0?r:""}update(t){super.update(t),["value","variant"].some(r=>t.has(r))&&this.resolveIcon()}resolveIcon(){var t,r;let n=this.value||this.textContent;switch(this.variant){case te.file_format:this.resolvedIcon=(t=O[n.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:n;break;case te.material:this.resolvedIcon=this.value||z;break;default:this.resolvedIcon=(r=so[n.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:n;break}}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>this.resolveIcon())}};at.elementDefinitions={};at.styles=sc;co([C()],at.prototype,"variant",void 0);co([C()],at.prototype,"value",void 0);co([q()],at.prototype,"resolvedIcon",void 0);co([et("slot")],at.prototype,"slottedContent",void 0);X("ft-icon")(at);var st={color:o.extend("--ft-loader-color","",M.colorPrimary),size:o.create("--ft-loader-size","","SIZE","80px")},cc=_`
|
|
520
382
|
:host {
|
|
521
383
|
line-height: 0;
|
|
522
384
|
}
|
|
@@ -525,8 +387,8 @@ function(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
525
387
|
display: inline-block;
|
|
526
388
|
position: relative;
|
|
527
389
|
|
|
528
|
-
width: ${
|
|
529
|
-
height: ${
|
|
390
|
+
width: ${st.size};
|
|
391
|
+
height: ${st.size};
|
|
530
392
|
}
|
|
531
393
|
|
|
532
394
|
.ft-loader div {
|
|
@@ -535,7 +397,7 @@ function(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
535
397
|
width: 25%;
|
|
536
398
|
height: 25%;
|
|
537
399
|
border-radius: 50%;
|
|
538
|
-
background: ${
|
|
400
|
+
background: ${st.color};
|
|
539
401
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
540
402
|
}
|
|
541
403
|
|
|
@@ -582,10 +444,10 @@ function(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
582
444
|
transform: translate(0, 0);
|
|
583
445
|
}
|
|
584
446
|
100% {
|
|
585
|
-
transform: translate(calc(0.35 * ${
|
|
447
|
+
transform: translate(calc(0.35 * ${st.size}), 0);
|
|
586
448
|
}
|
|
587
449
|
}
|
|
588
|
-
|
|
450
|
+
`;var lc=o.extend("--ft-button-color","",M.colorPrimary),K={backgroundColor:o.extend("--ft-button-background-color","",M.colorSurface),borderRadius:o.extend("--ft-button-border-radius","",M.borderRadiusL),color:lc,fontSize:o.extend("--ft-button-font-size","",Nt.fontSize),iconSize:o.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.extend("--ft-button-ripple-color","",lc),verticalPadding:o.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:o.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:o.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:o.external(M.colorOpacityDisabled,"Design system")},pc=o.extend("--ft-button-primary-color","",o.extend("--ft-button-color","",M.colorOnPrimary)),$i={backgroundColor:o.extend("--ft-button-primary-background-color","",o.extend("--ft-button-background-color","",M.colorPrimary)),color:pc,rippleColor:o.extend("--ft-button-primary-ripple-color","",pc)},At={borderRadius:o.extend("--ft-button-dense-border-radius","",o.extend("--ft-button-border-radius","",M.borderRadiusM)),verticalPadding:o.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:o.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:o.create("--ft-button-dense-icon-padding","","SIZE","4px")},dc=[_`
|
|
589
451
|
:host {
|
|
590
452
|
display: inline-block;
|
|
591
453
|
max-width: 100%;
|
|
@@ -596,7 +458,7 @@ function(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
596
458
|
box-shadow: 0px 0px 0px transparent;
|
|
597
459
|
border: 0px solid transparent;
|
|
598
460
|
text-shadow: 0px 0px 0px transparent;
|
|
599
|
-
font-size: ${
|
|
461
|
+
font-size: ${K.fontSize};
|
|
600
462
|
}
|
|
601
463
|
|
|
602
464
|
button:hover {
|
|
@@ -625,31 +487,31 @@ function(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
625
487
|
border: none;
|
|
626
488
|
pointer-events: auto;
|
|
627
489
|
|
|
628
|
-
--ft-button-internal-line-height: max(calc(${
|
|
629
|
-
--ft-button-internal-color: ${
|
|
630
|
-
${
|
|
631
|
-
${
|
|
490
|
+
--ft-button-internal-line-height: max(calc(${K.fontSize} + 2px), ${K.iconSize});
|
|
491
|
+
--ft-button-internal-color: ${K.color};
|
|
492
|
+
${P(tt.size,K.iconSize)};
|
|
493
|
+
${P(I.color,K.rippleColor)};
|
|
632
494
|
|
|
633
|
-
border-radius: ${
|
|
634
|
-
padding: ${
|
|
635
|
-
background-color: ${
|
|
495
|
+
border-radius: ${K.borderRadius};
|
|
496
|
+
padding: ${K.verticalPadding} ${K.horizontalPadding};
|
|
497
|
+
background-color: ${K.backgroundColor};
|
|
636
498
|
color: var(--ft-button-internal-color);
|
|
637
499
|
-webkit-mask-image: radial-gradient(white, black);
|
|
638
500
|
}
|
|
639
501
|
|
|
640
502
|
.ft-button.ft-button--outlined {
|
|
641
503
|
border: 1px solid var(--ft-button-internal-color);
|
|
642
|
-
padding: calc(${
|
|
504
|
+
padding: calc(${K.verticalPadding} - 1px) calc(${K.horizontalPadding} - 1px);
|
|
643
505
|
}
|
|
644
506
|
|
|
645
507
|
.ft-button.ft-button--dense {
|
|
646
|
-
padding: ${
|
|
647
|
-
border-radius: ${
|
|
648
|
-
gap: ${
|
|
508
|
+
padding: ${At.verticalPadding} ${At.horizontalPadding};
|
|
509
|
+
border-radius: ${At.borderRadius};
|
|
510
|
+
gap: ${At.iconPadding};
|
|
649
511
|
}
|
|
650
512
|
|
|
651
513
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
652
|
-
padding: calc(${
|
|
514
|
+
padding: calc(${At.verticalPadding} - 1px) calc(${At.horizontalPadding} - 1px);
|
|
653
515
|
}
|
|
654
516
|
|
|
655
517
|
.ft-button:not([disabled]):hover {
|
|
@@ -657,22 +519,22 @@ function(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
657
519
|
}
|
|
658
520
|
|
|
659
521
|
.ft-button--round {
|
|
660
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
522
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${K.verticalPadding});
|
|
661
523
|
}
|
|
662
524
|
|
|
663
525
|
.ft-button--round.ft-button--dense {
|
|
664
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
526
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${At.verticalPadding});
|
|
665
527
|
}
|
|
666
528
|
|
|
667
529
|
.ft-button[disabled] {
|
|
668
530
|
filter: grayscale(1);
|
|
669
|
-
opacity: ${
|
|
531
|
+
opacity: ${K.opacityDisabled};
|
|
670
532
|
}
|
|
671
533
|
|
|
672
534
|
.ft-button.ft-button--primary {
|
|
673
|
-
background-color: ${
|
|
674
|
-
--ft-button-internal-color: ${
|
|
675
|
-
${
|
|
535
|
+
background-color: ${$i.backgroundColor};
|
|
536
|
+
--ft-button-internal-color: ${$i.color};
|
|
537
|
+
${P(I.color,$i.rippleColor)};
|
|
676
538
|
}
|
|
677
539
|
|
|
678
540
|
.ft-button:focus {
|
|
@@ -685,74 +547,76 @@ function(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
685
547
|
white-space: nowrap;
|
|
686
548
|
text-overflow: ellipsis;
|
|
687
549
|
display: block;
|
|
688
|
-
margin: 0 ${
|
|
689
|
-
${
|
|
690
|
-
${
|
|
550
|
+
margin: 0 ${K.iconPadding};
|
|
551
|
+
${P(Nt.fontSize,"1em")};
|
|
552
|
+
${P(Nt.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
691
553
|
}
|
|
692
554
|
|
|
693
555
|
.ft-button--dense .ft-button--label {
|
|
694
|
-
margin: 0 ${
|
|
556
|
+
margin: 0 ${At.iconPadding};
|
|
695
557
|
}
|
|
696
558
|
|
|
697
559
|
.ft-button--label[hidden] {
|
|
698
560
|
display: none;
|
|
699
561
|
}
|
|
700
562
|
|
|
701
|
-
|
|
563
|
+
[part="icon"] {
|
|
702
564
|
flex-shrink: 0;
|
|
703
565
|
position: relative;
|
|
704
566
|
}
|
|
705
567
|
|
|
706
|
-
.ft-button--label[hidden] +
|
|
707
|
-
margin: 0 calc(${
|
|
708
|
-
padding: 0 ${
|
|
568
|
+
.ft-button--label[hidden] + [part="icon"] {
|
|
569
|
+
margin: 0 calc(${K.horizontalPadding} * -1);
|
|
570
|
+
padding: 0 ${K.verticalPadding};
|
|
709
571
|
}
|
|
710
572
|
|
|
711
|
-
.ft-button--dense .ft-button--label[hidden] +
|
|
712
|
-
margin: 0 calc(${
|
|
713
|
-
padding: 0 ${
|
|
573
|
+
.ft-button--dense .ft-button--label[hidden] + [part="icon"] {
|
|
574
|
+
margin: 0 calc(${At.horizontalPadding} * -1);
|
|
575
|
+
padding: 0 ${At.verticalPadding};
|
|
714
576
|
}
|
|
715
577
|
|
|
716
|
-
.ft-button:not(.ft-button--trailing-icon)
|
|
717
|
-
|
|
718
|
-
order: -1;
|
|
578
|
+
.ft-button:not(.ft-button--trailing-icon) [part="label"]{
|
|
579
|
+
order: 2;
|
|
719
580
|
}
|
|
720
581
|
|
|
721
582
|
ft-loader {
|
|
722
|
-
${
|
|
723
|
-
${
|
|
583
|
+
${P(st.size,K.iconSize)};
|
|
584
|
+
${P(st.color,"var(--ft-button-internal-color)")};
|
|
724
585
|
}
|
|
725
|
-
`,
|
|
586
|
+
`,ye];var Se=class extends V{render(){return U`
|
|
726
587
|
<div class="ft-loader">
|
|
727
588
|
<div></div>
|
|
728
589
|
<div></div>
|
|
729
590
|
<div></div>
|
|
730
591
|
<div></div>
|
|
731
592
|
</div>
|
|
732
|
-
`}}
|
|
593
|
+
`}};Se.styles=cc;X("ft-loader")(Se);var ft=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Y=class extends gi(V,"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 r;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){return this.addTooltipIfNeeded(U`
|
|
733
594
|
<button part="button"
|
|
734
|
-
class="${
|
|
595
|
+
class="${fe(this.buttonClasses)}"
|
|
735
596
|
aria-label="${this.getLabel()}"
|
|
736
597
|
?disabled=${this.isDisabled()}>
|
|
737
598
|
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
738
599
|
<ft-typography part="label"
|
|
739
600
|
variant=${this.typographyVariant}
|
|
740
601
|
element="span"
|
|
741
|
-
class="ft-button--label ${
|
|
602
|
+
class="ft-button--label ${br?"ft-safari-ellipsis-fix":""}"
|
|
742
603
|
?hidden=${!this.hasTextContent()}>
|
|
743
604
|
<slot @slotchange=${this.onSlotchange}></slot>
|
|
744
605
|
</ft-typography>
|
|
745
606
|
${this.resolveIcon()}
|
|
746
607
|
</button>
|
|
747
|
-
`)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?
|
|
608
|
+
`)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?U`
|
|
748
609
|
<ft-tooltip part="tooltip"
|
|
749
610
|
text="${this.getLabel()}"
|
|
750
611
|
position="${this.tooltipPosition}">
|
|
751
612
|
${t}
|
|
752
613
|
</ft-tooltip>
|
|
753
|
-
`:t}resolveIcon(){return this.loading?
|
|
754
|
-
<ft-loader part="loader icon"></ft-loader> `:this.icon?
|
|
755
|
-
|
|
614
|
+
`:t}resolveIcon(){return this.loading?U`
|
|
615
|
+
<ft-loader part="loader icon"></ft-loader> `:this.icon?U`
|
|
616
|
+
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
|
|
617
|
+
`:U`
|
|
618
|
+
<slot part="icon" name="icon"></slot>
|
|
619
|
+
`}focus(){var t;(t=this.button)===null||t===void 0||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(r=>this.unslotText(r)).join(""):t?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};Y.elementDefinitions={"ft-ripple":j,"ft-tooltip":F,"ft-typography":dt,"ft-icon":at,"ft-loader":Se};ft([C({type:String,reflect:!0})],Y.prototype,"role",void 0);ft([C()],Y.prototype,"type",void 0);ft([C({type:Boolean})],Y.prototype,"disabled",void 0);ft([C()],Y.prototype,"label",void 0);ft([C()],Y.prototype,"icon",void 0);ft([C()],Y.prototype,"iconVariant",void 0);ft([C({type:Boolean})],Y.prototype,"trailingIcon",void 0);ft([C({type:Boolean})],Y.prototype,"loading",void 0);ft([C()],Y.prototype,"tooltipPosition",void 0);ft([C({type:Boolean})],Y.prototype,"hideTooltip",void 0);ft([C({type:Boolean})],Y.prototype,"forceTooltip",void 0);ft([et(".ft-button")],Y.prototype,"button",void 0);ft([et(".ft-button--label slot")],Y.prototype,"slottedContent",void 0);var lo=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},vt=class extends Y{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"}};vt.styles=[ur,dc];lo([C({type:Boolean})],vt.prototype,"primary",void 0);lo([C({type:Boolean})],vt.prototype,"outlined",void 0);lo([C({type:Boolean})],vt.prototype,"dense",void 0);lo([C({type:Boolean})],vt.prototype,"round",void 0);var fc=[_`
|
|
756
620
|
:host {
|
|
757
621
|
display: inline-block;
|
|
758
622
|
max-width: 100%;
|
|
@@ -802,7 +666,7 @@ function(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
802
666
|
}
|
|
803
667
|
|
|
804
668
|
.ft-button:focus-visible {
|
|
805
|
-
outline-color: ${
|
|
669
|
+
outline-color: ${w.focusFocusRingColor};
|
|
806
670
|
outline-style: solid;
|
|
807
671
|
}
|
|
808
672
|
|
|
@@ -831,146 +695,146 @@ function(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
831
695
|
/** Primary styles **/
|
|
832
696
|
|
|
833
697
|
.ft-button--primary {
|
|
834
|
-
${
|
|
698
|
+
${P(st.color,w.primaryIconColor)};
|
|
835
699
|
|
|
836
|
-
${
|
|
837
|
-
${
|
|
838
|
-
${
|
|
839
|
-
${
|
|
840
|
-
${
|
|
700
|
+
${P(I.color,w.primaryStateLayerColor)};
|
|
701
|
+
${P(I.opacityContentOnSurfaceHover,w.primaryHoverStateLayerOpacity)};
|
|
702
|
+
${P(I.opacityContentOnSurfaceFocused,w.primaryFocusStateLayerOpacity)};
|
|
703
|
+
${P(I.opacityContentOnSurfaceSelected,w.primaryActiveStateLayerOpacity)};
|
|
704
|
+
${P(I.opacityContentOnSurfacePressed,w.primaryActiveStateLayerOpacity)};
|
|
841
705
|
|
|
842
|
-
background-color: ${
|
|
843
|
-
color: ${
|
|
706
|
+
background-color: ${w.primaryBackgroundColor};
|
|
707
|
+
color: ${w.primaryColor};
|
|
844
708
|
border-style: none;
|
|
845
709
|
}
|
|
846
710
|
|
|
847
711
|
.ft-button--primary[disabled] {
|
|
848
|
-
opacity: ${
|
|
712
|
+
opacity: ${w.primaryDisabledComponentOpacity};
|
|
849
713
|
}
|
|
850
714
|
|
|
851
715
|
.ft-button--primary ft-icon {
|
|
852
|
-
color: ${
|
|
716
|
+
color: ${w.primaryIconColor};
|
|
853
717
|
}
|
|
854
718
|
|
|
855
719
|
/** Secondary styles **/
|
|
856
720
|
|
|
857
721
|
.ft-button--secondary {
|
|
858
|
-
${
|
|
722
|
+
${P(st.color,w.secondaryIconColor)};
|
|
859
723
|
|
|
860
|
-
${
|
|
861
|
-
${
|
|
862
|
-
${
|
|
863
|
-
${
|
|
864
|
-
${
|
|
724
|
+
${P(I.color,w.secondaryStateLayerColor)};
|
|
725
|
+
${P(I.opacityContentOnSurfaceHover,w.secondaryHoverStateLayerOpacity)};
|
|
726
|
+
${P(I.opacityContentOnSurfaceFocused,w.secondaryFocusStateLayerOpacity)};
|
|
727
|
+
${P(I.opacityContentOnSurfaceSelected,w.secondaryActiveStateLayerOpacity)};
|
|
728
|
+
${P(I.opacityContentOnSurfacePressed,w.secondaryActiveStateLayerOpacity)};
|
|
865
729
|
|
|
866
|
-
background-color: ${
|
|
867
|
-
color: ${
|
|
868
|
-
border-color: ${
|
|
730
|
+
background-color: ${w.secondaryBackgroundColor};
|
|
731
|
+
color: ${w.secondaryColor};
|
|
732
|
+
border-color: ${w.secondaryBorderColor};
|
|
869
733
|
border-style: solid;
|
|
870
734
|
}
|
|
871
735
|
|
|
872
736
|
.ft-button--secondary[disabled] {
|
|
873
|
-
opacity: ${
|
|
737
|
+
opacity: ${w.secondaryDisabledComponentOpacity};
|
|
874
738
|
}
|
|
875
739
|
|
|
876
740
|
.ft-button--secondary ft-icon {
|
|
877
|
-
color: ${
|
|
741
|
+
color: ${w.secondaryIconColor};
|
|
878
742
|
}
|
|
879
743
|
|
|
880
744
|
/** Tertiary styles **/
|
|
881
745
|
|
|
882
746
|
.ft-button--tertiary {
|
|
883
|
-
${
|
|
747
|
+
${P(st.color,w.tertiaryIconColor)};
|
|
884
748
|
|
|
885
|
-
${
|
|
886
|
-
${
|
|
887
|
-
${
|
|
888
|
-
${
|
|
889
|
-
${
|
|
749
|
+
${P(I.color,w.tertiaryStateLayerColor)};
|
|
750
|
+
${P(I.opacityContentOnSurfaceHover,w.tertiaryHoverStateLayerOpacity)};
|
|
751
|
+
${P(I.opacityContentOnSurfaceFocused,w.tertiaryFocusStateLayerOpacity)};
|
|
752
|
+
${P(I.opacityContentOnSurfaceSelected,w.tertiaryActiveStateLayerOpacity)};
|
|
753
|
+
${P(I.opacityContentOnSurfacePressed,w.tertiaryActiveStateLayerOpacity)};
|
|
890
754
|
|
|
891
|
-
background-color: ${
|
|
892
|
-
color: ${
|
|
755
|
+
background-color: ${w.tertiaryBackgroundColor};
|
|
756
|
+
color: ${w.tertiaryColor};
|
|
893
757
|
border-style: none;
|
|
894
758
|
}
|
|
895
759
|
|
|
896
760
|
.ft-button--tertiary[disabled] {
|
|
897
|
-
opacity: ${
|
|
761
|
+
opacity: ${w.tertiaryDisabledComponentOpacity};
|
|
898
762
|
}
|
|
899
763
|
|
|
900
764
|
.ft-button--tertiary ft-icon {
|
|
901
|
-
color: ${
|
|
765
|
+
color: ${w.tertiaryIconColor};
|
|
902
766
|
}
|
|
903
767
|
|
|
904
768
|
/** Neutral styles **/
|
|
905
769
|
|
|
906
770
|
.ft-button--neutral {
|
|
907
|
-
${
|
|
771
|
+
${P(st.color,w.neutralIconColor)};
|
|
908
772
|
|
|
909
|
-
${
|
|
910
|
-
${
|
|
911
|
-
${
|
|
912
|
-
${
|
|
913
|
-
${
|
|
773
|
+
${P(I.backgroundColor,w.neutralStateLayerColor)};
|
|
774
|
+
${P(I.opacityContentOnSurfaceHover,w.neutralHoverStateLayerOpacity)};
|
|
775
|
+
${P(I.opacityContentOnSurfaceFocused,w.neutralFocusStateLayerOpacity)};
|
|
776
|
+
${P(I.opacityContentOnSurfaceSelected,w.neutralActiveStateLayerOpacity)};
|
|
777
|
+
${P(I.opacityContentOnSurfacePressed,w.neutralActiveStateLayerOpacity)};
|
|
914
778
|
|
|
915
|
-
background-color: ${
|
|
916
|
-
color: ${
|
|
779
|
+
background-color: ${w.neutralBackgroundColor};
|
|
780
|
+
color: ${w.neutralColor};
|
|
917
781
|
border-style: none;
|
|
918
782
|
}
|
|
919
783
|
|
|
920
784
|
.ft-button--neutral[disabled] {
|
|
921
|
-
opacity: ${
|
|
785
|
+
opacity: ${w.neutralDisabledComponentOpacity};
|
|
922
786
|
}
|
|
923
787
|
|
|
924
788
|
.ft-button--neutral ft-icon {
|
|
925
|
-
color: ${
|
|
789
|
+
color: ${w.neutralIconColor};
|
|
926
790
|
}
|
|
927
791
|
|
|
928
792
|
/** Large styles **/
|
|
929
793
|
|
|
930
794
|
.ft-button--large {
|
|
931
|
-
${
|
|
932
|
-
${
|
|
795
|
+
${P(tt.size,w.largeIconSize)};
|
|
796
|
+
${P(st.size,w.largeIconSize)};
|
|
933
797
|
|
|
934
|
-
height: ${
|
|
935
|
-
padding: 0 ${
|
|
936
|
-
gap: ${
|
|
937
|
-
border-radius: ${
|
|
938
|
-
border-width: ${
|
|
798
|
+
height: ${w.largeHeight};
|
|
799
|
+
padding: 0 ${w.largeHorizontalPadding};
|
|
800
|
+
gap: ${w.largeGap};
|
|
801
|
+
border-radius: ${w.largeBorderRadius};
|
|
802
|
+
border-width: ${w.largeBorderWidth};
|
|
939
803
|
}
|
|
940
804
|
|
|
941
805
|
.ft-button--large:focus-visible {
|
|
942
|
-
outline-width: ${
|
|
943
|
-
outline-offset: ${
|
|
806
|
+
outline-width: ${w.largeFocusOutlineWidth};
|
|
807
|
+
outline-offset: ${w.largeFocusOutlineOffset};
|
|
944
808
|
}
|
|
945
809
|
|
|
946
810
|
.ft-button--large.ft-button--icon-only {
|
|
947
|
-
width: ${
|
|
811
|
+
width: ${w.largeIconOnlyWidth};
|
|
948
812
|
padding: unset;
|
|
949
813
|
}
|
|
950
814
|
|
|
951
815
|
/** Small styles **/
|
|
952
816
|
|
|
953
817
|
.ft-button--small {
|
|
954
|
-
${
|
|
955
|
-
${
|
|
818
|
+
${P(tt.size,w.smallIconSize)};
|
|
819
|
+
${P(st.size,w.smallIconSize)};
|
|
956
820
|
|
|
957
|
-
height: ${
|
|
958
|
-
padding: 0 ${
|
|
959
|
-
gap: ${
|
|
960
|
-
border-radius: ${
|
|
961
|
-
border-width: ${
|
|
821
|
+
height: ${w.smallHeight};
|
|
822
|
+
padding: 0 ${w.smallHorizontalPadding};
|
|
823
|
+
gap: ${w.smallGap};
|
|
824
|
+
border-radius: ${w.smallBorderRadius};
|
|
825
|
+
border-width: ${w.smallBorderWidth};
|
|
962
826
|
}
|
|
963
827
|
|
|
964
828
|
.ft-button--small:focus-visible {
|
|
965
|
-
outline-width: ${
|
|
966
|
-
outline-offset: ${
|
|
829
|
+
outline-width: ${w.smallFocusOutlineWidth};
|
|
830
|
+
outline-offset: ${w.smallFocusOutlineOffset};
|
|
967
831
|
}
|
|
968
832
|
|
|
969
833
|
.ft-button--small.ft-button--icon-only {
|
|
970
|
-
width: ${
|
|
834
|
+
width: ${w.smallIconOnlyWidth};
|
|
971
835
|
padding: unset;
|
|
972
836
|
}
|
|
973
|
-
`,
|
|
837
|
+
`,ye];var xr=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Rt=class extends Y{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?ve.caption1medium:ve.body2medium}};Rt.styles=[ur,fc];xr([C({type:Boolean})],Rt.prototype,"primary",void 0);xr([C({type:Boolean})],Rt.prototype,"secondary",void 0);xr([C({type:Boolean})],Rt.prototype,"tertiary",void 0);xr([C({type:Boolean})],Rt.prototype,"neutral",void 0);xr([C({type:Boolean})],Rt.prototype,"small",void 0);X("ft-button")(vt);X("ftds-button")(Rt);var uc=o.extend("--ft-chip-color","",M.colorOnSurface),mt={backgroundColor:o.extend("--ft-chip-background-color","",M.colorSurface),color:uc,fontSize:o.extend("--ft-chip-font-size","",Et.fontSize),iconSize:o.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:o.create("--ft-chip-border-radius","","SIZE",""),rippleColor:o.extend("--ft-chip-ripple-color","",uc),horizontalPadding:o.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:o.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:o.external(M.colorOutline,"Design system"),opacityDisabled:o.external(M.colorOpacityDisabled,"Design system")},hc=o.extend("--ft-chip-highlighted-color","",o.extend("--ft-chip-color","",M.colorOnPrimary)),Pi={backgroundColor:o.extend("--ft-chip-highlighted-background-color","",o.extend("--ft-chip-background-color","",M.colorPrimary)),color:hc,rippleColor:o.extend("--ft-chip-highlighted-ripple-color","",hc)},mc={horizontalPadding:o.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:o.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},yc=[ye,_`
|
|
974
838
|
:host {
|
|
975
839
|
display: inline-block;
|
|
976
840
|
max-width: 100%;
|
|
@@ -986,20 +850,20 @@ function(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
986
850
|
box-sizing: border-box;
|
|
987
851
|
pointer-events: auto;
|
|
988
852
|
|
|
989
|
-
--ft-chip-internal-font-size: ${
|
|
853
|
+
--ft-chip-internal-font-size: ${mt.fontSize};
|
|
990
854
|
--ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
|
|
991
|
-
${
|
|
992
|
-
--ft-chip-internal-vertical-padding: ${
|
|
993
|
-
--ft-chip-internal-horizontal-padding: ${
|
|
855
|
+
${P(tt.size,mt.iconSize)};
|
|
856
|
+
--ft-chip-internal-vertical-padding: ${mt.verticalPadding};
|
|
857
|
+
--ft-chip-internal-horizontal-padding: ${mt.horizontalPadding};
|
|
994
858
|
--ft-chip-internal-icon-padding: 3px;
|
|
995
|
-
--ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${
|
|
859
|
+
--ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${mt.iconSize});
|
|
996
860
|
|
|
997
|
-
border: 1px solid ${
|
|
998
|
-
color: ${
|
|
999
|
-
${
|
|
1000
|
-
border-radius: var(${
|
|
861
|
+
border: 1px solid ${mt.colorOutline};
|
|
862
|
+
color: ${mt.color};
|
|
863
|
+
${P(I.color,mt.rippleColor)};
|
|
864
|
+
border-radius: var(${_t(mt.borderRadius.name)}, calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding)));
|
|
1001
865
|
padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
|
|
1002
|
-
background-color: ${
|
|
866
|
+
background-color: ${mt.backgroundColor};
|
|
1003
867
|
line-height: var(--ft-chip-internal-content-height);
|
|
1004
868
|
}
|
|
1005
869
|
|
|
@@ -1009,8 +873,8 @@ function(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
1009
873
|
|
|
1010
874
|
.ft-chip--dense {
|
|
1011
875
|
--ft-chip-internal-icon-padding: 3px;
|
|
1012
|
-
--ft-chip-internal-vertical-padding: ${
|
|
1013
|
-
--ft-chip-internal-horizontal-padding: ${
|
|
876
|
+
--ft-chip-internal-vertical-padding: ${mc.verticalPadding};
|
|
877
|
+
--ft-chip-internal-horizontal-padding: ${mc.horizontalPadding};
|
|
1014
878
|
--ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
|
|
1015
879
|
}
|
|
1016
880
|
|
|
@@ -1022,15 +886,15 @@ function(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
1022
886
|
cursor: default;
|
|
1023
887
|
pointer-events: none;
|
|
1024
888
|
filter: grayscale(1);
|
|
1025
|
-
opacity: ${
|
|
889
|
+
opacity: ${mt.opacityDisabled};
|
|
1026
890
|
}
|
|
1027
891
|
|
|
1028
892
|
.ft-chip--highlighted {
|
|
1029
893
|
border: none;
|
|
1030
894
|
padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
|
|
1031
|
-
background-color: ${
|
|
1032
|
-
${
|
|
1033
|
-
color: ${
|
|
895
|
+
background-color: ${Pi.backgroundColor};
|
|
896
|
+
${P(I.color,Pi.rippleColor)};
|
|
897
|
+
color: ${Pi.color};
|
|
1034
898
|
}
|
|
1035
899
|
|
|
1036
900
|
.ft-chip--clickable {
|
|
@@ -1060,9 +924,9 @@ function(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
1060
924
|
}
|
|
1061
925
|
|
|
1062
926
|
.ft-chip--icon-button {
|
|
1063
|
-
${
|
|
1064
|
-
${
|
|
1065
|
-
${
|
|
927
|
+
${P(K.iconSize,mt.iconSize)};
|
|
928
|
+
${P(K.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
|
|
929
|
+
${P(K.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
|
|
1066
930
|
margin: calc((-1) * var(--ft-chip-internal-icon-padding));
|
|
1067
931
|
}
|
|
1068
932
|
|
|
@@ -1070,8 +934,8 @@ function(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
1070
934
|
vertical-align: bottom;
|
|
1071
935
|
display: block;
|
|
1072
936
|
margin: 0 var(--ft-chip-internal-horizontal-padding);
|
|
1073
|
-
${
|
|
1074
|
-
${
|
|
937
|
+
${P(Et.fontSize,"var(--ft-chip-internal-font-size)")};
|
|
938
|
+
${P(Et.lineHeight,"var(--ft-chip-internal-content-height)")};
|
|
1075
939
|
}
|
|
1076
940
|
|
|
1077
941
|
.ft-chip--safari-fix .ft-chip--label {
|
|
@@ -1107,8 +971,8 @@ function(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
1107
971
|
.ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
|
|
1108
972
|
order: -1;
|
|
1109
973
|
}
|
|
1110
|
-
`];var
|
|
1111
|
-
<div class="${
|
|
974
|
+
`];var ut=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},po=class extends CustomEvent{constructor(){super("icon-click")}},Z=class extends V{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.icon=void 0,this.trailingIcon=!1}render(){let t={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":br};return U`
|
|
975
|
+
<div class="${fe(t)}"
|
|
1112
976
|
aria-label="${this.getLabel()}"
|
|
1113
977
|
tabindex="${this.interactionsOnChip?0:-1}"
|
|
1114
978
|
@keyup=${this.onKeyUp}
|
|
@@ -1119,7 +983,7 @@ function(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
1119
983
|
</ft-typography>
|
|
1120
984
|
${this.internalIcon?this.renderIcon():null}
|
|
1121
985
|
</div>
|
|
1122
|
-
`}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?
|
|
986
|
+
`}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?U`
|
|
1123
987
|
<ft-button round
|
|
1124
988
|
class="ft-chip--icon-button"
|
|
1125
989
|
@click=${this.onIconClick}
|
|
@@ -1128,11 +992,11 @@ function(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
1128
992
|
label="${this.iconLabel}"
|
|
1129
993
|
part="icon-button"
|
|
1130
994
|
></ft-button>
|
|
1131
|
-
`:
|
|
995
|
+
`:U`
|
|
1132
996
|
<div class="ft-chip--icon-container ft-no-text-select" part="icon-container">
|
|
1133
997
|
<ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}" part="icon"></ft-icon>
|
|
1134
998
|
</div>
|
|
1135
|
-
`}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new
|
|
999
|
+
`}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new po))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new po))}getLabel(){return this.label||this.textContent}get textContent(){var t,r;return(r=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&r!==void 0?r:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};Z.elementDefinitions={"ft-ripple":j,"ft-typography":dt,"ft-icon":at,"ft-button":vt};Z.styles=yc;ut([C({type:Boolean})],Z.prototype,"highlighted",void 0);ut([C({type:Boolean})],Z.prototype,"removable",void 0);ut([C({type:Boolean})],Z.prototype,"disabled",void 0);ut([C({type:Boolean})],Z.prototype,"clickable",void 0);ut([C({type:Boolean})],Z.prototype,"iconClickable",void 0);ut([C({type:Boolean})],Z.prototype,"dense",void 0);ut([C({type:Boolean})],Z.prototype,"multiLine",void 0);ut([C()],Z.prototype,"label",void 0);ut([C()],Z.prototype,"iconLabel",void 0);ut([C()],Z.prototype,"icon",void 0);ut([C()],Z.prototype,"iconVariant",void 0);ut([C({type:Boolean})],Z.prototype,"trailingIcon",void 0);ut([et("ft-typography slot")],Z.prototype,"slottedContent",void 0);X("ft-chip")(Z);var fo=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var c=e.length-1;c>=0;c--)(s=e[c])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},$t=class extends ao{constructor(){super(...arguments),this.multiLine=!1,this.editorMode=!1}render(){return U`
|
|
1136
1000
|
<ft-tooltip text="${this.tooltipText}">
|
|
1137
1001
|
<ft-chip part="chip"
|
|
1138
1002
|
exportpartsPrefix="chip"
|
|
@@ -1141,10 +1005,209 @@ function(t){return(e,o)=>{const{slot:r,selector:i}=t??{},n="slot"+(r?`[name=${r}
|
|
|
1141
1005
|
</ft-chip>
|
|
1142
1006
|
</ft-tooltip>
|
|
1143
1007
|
${this.hideIfEmpty()}
|
|
1144
|
-
`}renderContent(){return this.metadata?
|
|
1008
|
+
`}renderContent(){return this.metadata?U`${this.valueText}`:this.key?U`no value for ${this.key}`:U`no metadata selected`}hideIfEmpty(){return!this.editorMode&&!this.metadata?U`
|
|
1145
1009
|
<style>
|
|
1146
1010
|
:host {
|
|
1147
1011
|
display: none !important;
|
|
1148
1012
|
}
|
|
1149
1013
|
</style>
|
|
1150
|
-
|
|
1014
|
+
`:z}get valueText(){var t,r;return(r=(t=this.metadata)===null||t===void 0?void 0:t.values.join(", "))!==null&&r!==void 0?r:""}get tooltipText(){var t,r;return this.metadata?`${(r=(t=this.metadata)===null||t===void 0?void 0:t.label)!==null&&r!==void 0?r:this.metadata.key}: ${this.valueText}`:""}update(t){super.update(t),["key","tocNode"].some(r=>t.has(r))&&this.updateContent()}onStoreAvailable(){super.onStoreAvailable(),this.updateContent()}updateContent(){var t;this.metadata=void 0,this.tocNode&&this.key&&((t=this.service)===null||t===void 0||t.getTopicInfo(this.tocNode).then(r=>this.metadata=r.metadata.find(n=>n.key===this.key)).catch(()=>null))}};$t.elementDefinitions={"ft-tooltip":F,"ft-chip":Z};$t.styles=Ls;fo([C()],$t.prototype,"key",void 0);fo([C({type:Boolean})],$t.prototype,"multiLine",void 0);fo([q()],$t.prototype,"editorMode",void 0);fo([q()],$t.prototype,"metadata",void 0);X("ft-reader-topic-metadata")($t);})();
|
|
1015
|
+
/*! Bundled license information:
|
|
1016
|
+
|
|
1017
|
+
@webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js:
|
|
1018
|
+
(**
|
|
1019
|
+
* @license
|
|
1020
|
+
* Copyright (c) 2020 The Polymer Project Authors. All rights reserved.
|
|
1021
|
+
* This code may only be used under the BSD style license found at
|
|
1022
|
+
* http://polymer.github.io/LICENSE.txt
|
|
1023
|
+
* The complete set of authors may be found at
|
|
1024
|
+
* http://polymer.github.io/AUTHORS.txt
|
|
1025
|
+
* The complete set of contributors may be found at
|
|
1026
|
+
* http://polymer.github.io/CONTRIBUTORS.txt
|
|
1027
|
+
* Code distributed by Google as part of the polymer project is also
|
|
1028
|
+
* subject to an additional IP rights grant found at
|
|
1029
|
+
* http://polymer.github.io/PATENTS.txt
|
|
1030
|
+
*)
|
|
1031
|
+
|
|
1032
|
+
@lit/reactive-element/css-tag.js:
|
|
1033
|
+
(**
|
|
1034
|
+
* @license
|
|
1035
|
+
* Copyright 2019 Google LLC
|
|
1036
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1037
|
+
*)
|
|
1038
|
+
|
|
1039
|
+
@lit/reactive-element/reactive-element.js:
|
|
1040
|
+
(**
|
|
1041
|
+
* @license
|
|
1042
|
+
* Copyright 2017 Google LLC
|
|
1043
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1044
|
+
*)
|
|
1045
|
+
|
|
1046
|
+
lit-html/lit-html.js:
|
|
1047
|
+
(**
|
|
1048
|
+
* @license
|
|
1049
|
+
* Copyright 2017 Google LLC
|
|
1050
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1051
|
+
*)
|
|
1052
|
+
|
|
1053
|
+
@lit/reactive-element/css-tag.js:
|
|
1054
|
+
(**
|
|
1055
|
+
* @license
|
|
1056
|
+
* Copyright 2019 Google LLC
|
|
1057
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1058
|
+
*)
|
|
1059
|
+
|
|
1060
|
+
@lit/reactive-element/reactive-element.js:
|
|
1061
|
+
(**
|
|
1062
|
+
* @license
|
|
1063
|
+
* Copyright 2017 Google LLC
|
|
1064
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1065
|
+
*)
|
|
1066
|
+
|
|
1067
|
+
lit-html/lit-html.js:
|
|
1068
|
+
(**
|
|
1069
|
+
* @license
|
|
1070
|
+
* Copyright 2017 Google LLC
|
|
1071
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1072
|
+
*)
|
|
1073
|
+
|
|
1074
|
+
lit-element/lit-element.js:
|
|
1075
|
+
(**
|
|
1076
|
+
* @license
|
|
1077
|
+
* Copyright 2017 Google LLC
|
|
1078
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1079
|
+
*)
|
|
1080
|
+
|
|
1081
|
+
lit-html/is-server.js:
|
|
1082
|
+
(**
|
|
1083
|
+
* @license
|
|
1084
|
+
* Copyright 2022 Google LLC
|
|
1085
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1086
|
+
*)
|
|
1087
|
+
|
|
1088
|
+
@lit/reactive-element/decorators/custom-element.js:
|
|
1089
|
+
(**
|
|
1090
|
+
* @license
|
|
1091
|
+
* Copyright 2017 Google LLC
|
|
1092
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1093
|
+
*)
|
|
1094
|
+
|
|
1095
|
+
@lit/reactive-element/decorators/property.js:
|
|
1096
|
+
(**
|
|
1097
|
+
* @license
|
|
1098
|
+
* Copyright 2017 Google LLC
|
|
1099
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1100
|
+
*)
|
|
1101
|
+
|
|
1102
|
+
@lit/reactive-element/decorators/state.js:
|
|
1103
|
+
(**
|
|
1104
|
+
* @license
|
|
1105
|
+
* Copyright 2017 Google LLC
|
|
1106
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1107
|
+
*)
|
|
1108
|
+
|
|
1109
|
+
@lit/reactive-element/decorators/event-options.js:
|
|
1110
|
+
(**
|
|
1111
|
+
* @license
|
|
1112
|
+
* Copyright 2017 Google LLC
|
|
1113
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1114
|
+
*)
|
|
1115
|
+
|
|
1116
|
+
@lit/reactive-element/decorators/base.js:
|
|
1117
|
+
(**
|
|
1118
|
+
* @license
|
|
1119
|
+
* Copyright 2017 Google LLC
|
|
1120
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1121
|
+
*)
|
|
1122
|
+
|
|
1123
|
+
@lit/reactive-element/decorators/query.js:
|
|
1124
|
+
(**
|
|
1125
|
+
* @license
|
|
1126
|
+
* Copyright 2017 Google LLC
|
|
1127
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1128
|
+
*)
|
|
1129
|
+
|
|
1130
|
+
@lit/reactive-element/decorators/query-all.js:
|
|
1131
|
+
(**
|
|
1132
|
+
* @license
|
|
1133
|
+
* Copyright 2017 Google LLC
|
|
1134
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1135
|
+
*)
|
|
1136
|
+
|
|
1137
|
+
@lit/reactive-element/decorators/query-async.js:
|
|
1138
|
+
(**
|
|
1139
|
+
* @license
|
|
1140
|
+
* Copyright 2017 Google LLC
|
|
1141
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1142
|
+
*)
|
|
1143
|
+
|
|
1144
|
+
@lit/reactive-element/decorators/query-assigned-elements.js:
|
|
1145
|
+
(**
|
|
1146
|
+
* @license
|
|
1147
|
+
* Copyright 2021 Google LLC
|
|
1148
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1149
|
+
*)
|
|
1150
|
+
|
|
1151
|
+
@lit/reactive-element/decorators/query-assigned-nodes.js:
|
|
1152
|
+
(**
|
|
1153
|
+
* @license
|
|
1154
|
+
* Copyright 2017 Google LLC
|
|
1155
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1156
|
+
*)
|
|
1157
|
+
|
|
1158
|
+
lit-html/directive.js:
|
|
1159
|
+
(**
|
|
1160
|
+
* @license
|
|
1161
|
+
* Copyright 2017 Google LLC
|
|
1162
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1163
|
+
*)
|
|
1164
|
+
|
|
1165
|
+
lit-html/directive-helpers.js:
|
|
1166
|
+
(**
|
|
1167
|
+
* @license
|
|
1168
|
+
* Copyright 2020 Google LLC
|
|
1169
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1170
|
+
*)
|
|
1171
|
+
|
|
1172
|
+
lit-html/directives/repeat.js:
|
|
1173
|
+
(**
|
|
1174
|
+
* @license
|
|
1175
|
+
* Copyright 2017 Google LLC
|
|
1176
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1177
|
+
*)
|
|
1178
|
+
|
|
1179
|
+
lit-html/directives/class-map.js:
|
|
1180
|
+
(**
|
|
1181
|
+
* @license
|
|
1182
|
+
* Copyright 2018 Google LLC
|
|
1183
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1184
|
+
*)
|
|
1185
|
+
|
|
1186
|
+
lit-html/directives/style-map.js:
|
|
1187
|
+
(**
|
|
1188
|
+
* @license
|
|
1189
|
+
* Copyright 2018 Google LLC
|
|
1190
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1191
|
+
*)
|
|
1192
|
+
|
|
1193
|
+
lit-html/directives/unsafe-html.js:
|
|
1194
|
+
(**
|
|
1195
|
+
* @license
|
|
1196
|
+
* Copyright 2017 Google LLC
|
|
1197
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1198
|
+
*)
|
|
1199
|
+
|
|
1200
|
+
@lit/reactive-element/css-tag.js:
|
|
1201
|
+
(**
|
|
1202
|
+
* @license
|
|
1203
|
+
* Copyright 2019 Google LLC
|
|
1204
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1205
|
+
*)
|
|
1206
|
+
|
|
1207
|
+
lit-html/static.js:
|
|
1208
|
+
(**
|
|
1209
|
+
* @license
|
|
1210
|
+
* Copyright 2020 Google LLC
|
|
1211
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
1212
|
+
*)
|
|
1213
|
+
*/
|