@fluid-topics/ft-search-input 1.0.60 → 1.0.62
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ft-search-input.light.js +115 -113
- package/build/ft-search-input.min.js +146 -144
- package/package.json +10 -10
|
@@ -54,19 +54,19 @@ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,o=window.cust
|
|
|
54
54
|
* @license
|
|
55
55
|
* Copyright 2017 Google LLC
|
|
56
56
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
57
|
-
*/;var N;const C=window,E=C.trustedTypes
|
|
57
|
+
*/;var N;const C=window,E=C.trustedTypes,R=E?E.emptyScript:"",$=C.reactiveElementPolyfillSupport,U={toAttribute(t,o){switch(o){case Boolean:t=t?R:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,o){let e=t;switch(o){case Boolean:e=null!==t;break;case Number:e=null===t?null:Number(t);break;case Object:case Array:try{e=JSON.parse(t)}catch(t){e=null}}return e}},I=(t,o)=>o!==t&&(o==o||t==t),k={attribute:!0,type:String,converter:U,reflect:!1,hasChanged:I};let L=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var o;this.finalize(),(null!==(o=this.h)&&void 0!==o?o:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach(((o,e)=>{const r=this._$Ep(e,o);void 0!==r&&(this._$Ev.set(r,e),t.push(r))})),t}static createProperty(t,o=k){if(o.state&&(o.attribute=!1),this.finalize(),this.elementProperties.set(t,o),!o.noAccessor&&!this.prototype.hasOwnProperty(t)){const e="symbol"==typeof t?Symbol():"__"+t,r=this.getPropertyDescriptor(t,e,o);void 0!==r&&Object.defineProperty(this.prototype,t,r)}}static getPropertyDescriptor(t,o,e){return{get(){return this[o]},set(r){const i=this[t];this[o]=r,this.requestUpdate(t,i,e)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||k}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),void 0!==t.h&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const t=this.properties,o=[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)];for(const e of o)this.createProperty(e,t[e])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const o=[];if(Array.isArray(t)){const e=new Set(t.flat(1/0).reverse());for(const t of e)o.unshift(S(t))}else void 0!==t&&o.push(S(t));return o}static _$Ep(t,o){const e=o.attribute;return!1===e?void 0:"string"==typeof e?e:"string"==typeof t?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(t=this.constructor.h)||void 0===t||t.forEach((t=>t(this)))}addController(t){var o,e;(null!==(o=this._$ES)&&void 0!==o?o:this._$ES=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(e=t.hostConnected)||void 0===e||e.call(t))}removeController(t){var o;null===(o=this._$ES)||void 0===o||o.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach(((t,o)=>{this.hasOwnProperty(o)&&(this._$Ei.set(o,this[o]),delete this[o])}))}createRenderRoot(){var t;const o=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return w(o,this.constructor.elementStyles),o}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var o;return null===(o=t.hostConnected)||void 0===o?void 0:o.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$ES)||void 0===t||t.forEach((t=>{var o;return null===(o=t.hostDisconnected)||void 0===o?void 0:o.call(t)}))}attributeChangedCallback(t,o,e){this._$AK(t,e)}_$EO(t,o,e=k){var r;const i=this.constructor._$Ep(t,e);if(void 0!==i&&!0===e.reflect){const n=(void 0!==(null===(r=e.converter)||void 0===r?void 0:r.toAttribute)?e.converter:U).toAttribute(o,e.type);this._$El=t,null==n?this.removeAttribute(i):this.setAttribute(i,n),this._$El=null}}_$AK(t,o){var e;const r=this.constructor,i=r._$Ev.get(t);if(void 0!==i&&this._$El!==i){const t=r.getPropertyOptions(i),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null===(e=t.converter)||void 0===e?void 0:e.fromAttribute)?t.converter:U;this._$El=i,this[i]=n.fromAttribute(o,t.type),this._$El=null}}requestUpdate(t,o,e){let r=!0;void 0!==t&&(((e=e||this.constructor.getPropertyOptions(t)).hasChanged||I)(this[t],o)?(this._$AL.has(t)||this._$AL.set(t,o),!0===e.reflect&&this._$El!==t&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(t,e))):r=!1),!this.isUpdatePending&&r&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach(((t,o)=>this[o]=t)),this._$Ei=void 0);let o=!1;const e=this._$AL;try{o=this.shouldUpdate(e),o?(this.willUpdate(e),null===(t=this._$ES)||void 0===t||t.forEach((t=>{var o;return null===(o=t.hostUpdate)||void 0===o?void 0:o.call(t)})),this.update(e)):this._$Ek()}catch(t){throw o=!1,this._$Ek(),t}o&&this._$AE(e)}willUpdate(t){}_$AE(t){var o;null===(o=this._$ES)||void 0===o||o.forEach((t=>{var o;return null===(o=t.hostUpdated)||void 0===o?void 0:o.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){void 0!==this._$EC&&(this._$EC.forEach(((t,o)=>this._$EO(o,this[o],t))),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}};
|
|
58
58
|
/**
|
|
59
59
|
* @license
|
|
60
60
|
* Copyright 2017 Google LLC
|
|
61
61
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
62
62
|
*/
|
|
63
|
-
var W;L.finalized=!0,L.elementProperties=new Map,L.elementStyles=[],L.shadowRootOptions={mode:"open"},null
|
|
63
|
+
var W;L.finalized=!0,L.elementProperties=new Map,L.elementStyles=[],L.shadowRootOptions={mode:"open"},null==$||$({ReactiveElement:L}),(null!==(N=C.reactiveElementVersions)&&void 0!==N?N:C.reactiveElementVersions=[]).push("1.6.1");const A=window,j=A.trustedTypes,F=j?j.createPolicy("lit-html",{createHTML:t=>t}):void 0,K="$lit$",D=`lit$${(Math.random()+"").slice(9)}$`,B="?"+D,P=`<${B}>`,M=document,z=()=>M.createComment(""),Z=t=>null===t||"object"!=typeof t&&"function"!=typeof t,T=Array.isArray,_=t=>T(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]),H="[ \t\n\f\r]",G=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,q=/-->/g,V=/>/g,Y=RegExp(`>|${H}(?:([^\\s"'>=/]+)(${H}*=${H}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),X=/'/g,J=/"/g,Q=/^(?:script|style|textarea|title)$/i,tt=(t=>(o,...e)=>({_$litType$:t,strings:o,values:e}))(1),ot=Symbol.for("lit-noChange"),et=Symbol.for("lit-nothing"),rt=new WeakMap,it=M.createTreeWalker(M,129,null,!1),nt=(t,o)=>{const e=t.length-1,r=[];let i,n=2===o?"<svg>":"",a=G;for(let o=0;o<e;o++){const e=t[o];let s,l,c=-1,f=0;for(;f<e.length&&(a.lastIndex=f,l=a.exec(e),null!==l);)f=a.lastIndex,a===G?"!--"===l[1]?a=q:void 0!==l[1]?a=V:void 0!==l[2]?(Q.test(l[2])&&(i=RegExp("</"+l[2],"g")),a=Y):void 0!==l[3]&&(a=Y):a===Y?">"===l[0]?(a=null!=i?i:G,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?Y:'"'===l[3]?J:X):a===J||a===X?a=Y:a===q||a===V?a=G:(a=Y,i=void 0);const p=a===Y&&t[o+1].startsWith("/>")?" ":"";n+=a===G?e+P:c>=0?(r.push(s),e.slice(0,c)+K+e.slice(c)+D+p):e+D+(-2===c?(r.push(void 0),o):p)}const s=n+(t[e]||"<?>")+(2===o?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==F?F.createHTML(s):s,r]};class at{constructor({strings:t,_$litType$:o},e){let r;this.parts=[];let i=0,n=0;const a=t.length-1,s=this.parts,[l,c]=nt(t,o);if(this.el=at.createElement(l,e),it.currentNode=this.el.content,2===o){const t=this.el.content,o=t.firstChild;o.remove(),t.append(...o.childNodes)}for(;null!==(r=it.nextNode())&&s.length<a;){if(1===r.nodeType){if(r.hasAttributes()){const t=[];for(const o of r.getAttributeNames())if(o.endsWith(K)||o.startsWith(D)){const e=c[n++];if(t.push(o),void 0!==e){const t=r.getAttribute(e.toLowerCase()+K).split(D),o=/([.?@])?(.*)/.exec(e);s.push({type:1,index:i,name:o[2],strings:t,ctor:"."===o[1]?pt:"?"===o[1]?dt:"@"===o[1]?ht:ft})}else s.push({type:6,index:i})}for(const o of t)r.removeAttribute(o)}if(Q.test(r.tagName)){const t=r.textContent.split(D),o=t.length-1;if(o>0){r.textContent=j?j.emptyScript:"";for(let e=0;e<o;e++)r.append(t[e],z()),it.nextNode(),s.push({type:2,index:++i});r.append(t[o],z())}}}else if(8===r.nodeType)if(r.data===B)s.push({type:2,index:i});else{let t=-1;for(;-1!==(t=r.data.indexOf(D,t+1));)s.push({type:7,index:i}),t+=D.length-1}i++}}static createElement(t,o){const e=M.createElement("template");return e.innerHTML=t,e}}function st(t,o,e=t,r){var i,n,a,s;if(o===ot)return o;let l=void 0!==r?null===(i=e._$Co)||void 0===i?void 0:i[r]:e._$Cl;const c=Z(o)?void 0:o._$litDirective$;return(null==l?void 0:l.constructor)!==c&&(null===(n=null==l?void 0:l._$AO)||void 0===n||n.call(l,!1),void 0===c?l=void 0:(l=new c(t),l._$AT(t,e,r)),void 0!==r?(null!==(a=(s=e)._$Co)&&void 0!==a?a:s._$Co=[])[r]=l:e._$Cl=l),void 0!==l&&(o=st(t,l._$AS(t,o.values),l,r)),o}let lt=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var o;const{el:{content:e},parts:r}=this._$AD,i=(null!==(o=null==t?void 0:t.creationScope)&&void 0!==o?o:M).importNode(e,!0);it.currentNode=i;let n=it.nextNode(),a=0,s=0,l=r[0];for(;void 0!==l;){if(a===l.index){let o;2===l.type?o=new ct(n,n.nextSibling,this,t):1===l.type?o=new l.ctor(n,l.name,l.strings,this,t):6===l.type&&(o=new yt(n,this,t)),this._$AV.push(o),l=r[++s]}a!==(null==l?void 0:l.index)&&(n=it.nextNode(),a++)}return i}v(t){let o=0;for(const e of this._$AV)void 0!==e&&(void 0!==e.strings?(e._$AI(t,e,o),o+=e.strings.length-2):e._$AI(t[o])),o++}},ct=class t{constructor(t,o,e,r){var i;this.type=2,this._$AH=et,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=e,this.options=r,this._$Cp=null===(i=null==r?void 0:r.isConnected)||void 0===i||i}get _$AU(){var t,o;return null!==(o=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==o?o:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const o=this._$AM;return void 0!==o&&11===(null==t?void 0:t.nodeType)&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=st(this,t,o),Z(t)?t===et||null==t||""===t?(this._$AH!==et&&this._$AR(),this._$AH=et):t!==this._$AH&&t!==ot&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):_(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==et&&Z(this._$AH)?this._$AA.nextSibling.data=t:this.$(M.createTextNode(t)),this._$AH=t}g(t){var o;const{values:e,_$litType$:r}=t,i="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=at.createElement(r.h,this.options)),r);if((null===(o=this._$AH)||void 0===o?void 0:o._$AD)===i)this._$AH.v(e);else{const t=new lt(i,this),o=t.u(this.options);t.v(e),this.$(o),this._$AH=t}}_$AC(t){let o=rt.get(t.strings);return void 0===o&&rt.set(t.strings,o=new at(t)),o}T(o){T(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,i=0;for(const n of o)i===e.length?e.push(r=new t(this.k(z()),this.k(z()),this,this.options)):r=e[i],r._$AI(n),i++;i<e.length&&(this._$AR(r&&r._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,o){var e;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,o);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){var o;void 0===this._$AM&&(this._$Cp=t,null===(o=this._$AP)||void 0===o||o.call(this,t))}},ft=class{constructor(t,o,e,r,i){this.type=1,this._$AH=et,this._$AN=void 0,this.element=t,this.name=o,this._$AM=r,this.options=i,e.length>2||""!==e[0]||""!==e[1]?(this._$AH=Array(e.length-1).fill(new String),this.strings=e):this._$AH=et}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,o=this,e,r){const i=this.strings;let n=!1;if(void 0===i)t=st(this,t,o,0),n=!Z(t)||t!==this._$AH&&t!==ot,n&&(this._$AH=t);else{const r=t;let a,s;for(t=i[0],a=0;a<i.length-1;a++)s=st(this,r[e+a],o,a),s===ot&&(s=this._$AH[a]),n||(n=!Z(s)||s!==this._$AH[a]),s===et?t=et:t!==et&&(t+=(null!=s?s:"")+i[a+1]),this._$AH[a]=s}n&&!r&&this.j(t)}j(t){t===et?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}},pt=class extends ft{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===et?void 0:t}};const ut=j?j.emptyScript:"";let dt=class extends ft{constructor(){super(...arguments),this.type=4}j(t){t&&t!==et?this.element.setAttribute(this.name,ut):this.element.removeAttribute(this.name)}},ht=class extends ft{constructor(t,o,e,r,i){super(t,o,e,r,i),this.type=5}_$AI(t,o=this){var e;if((t=null!==(e=st(this,t,o,0))&&void 0!==e?e:et)===ot)return;const r=this._$AH,i=t===et&&r!==et||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,n=t!==et&&(r===et||i);i&&this.element.removeEventListener(this.name,this,r),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var o,e;"function"==typeof this._$AH?this._$AH.call(null!==(e=null===(o=this.options)||void 0===o?void 0:o.host)&&void 0!==e?e:this.element,t):this._$AH.handleEvent(t)}},yt=class{constructor(t,o,e){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=e}get _$AU(){return this._$AM._$AU}_$AI(t){st(this,t)}};const gt={O:K,P:D,A:B,C:1,M:nt,L:lt,D:_,R:st,I:ct,V:ft,H:dt,N:ht,U:pt,F:yt},bt=A.litHtmlPolyfillSupport;null==bt||bt(at,ct),(null!==(W=A.litHtmlVersions)&&void 0!==W?W:A.litHtmlVersions=[]).push("2.7.3");
|
|
64
64
|
/**
|
|
65
65
|
* @license
|
|
66
66
|
* Copyright 2017 Google LLC
|
|
67
67
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
68
68
|
*/
|
|
69
|
-
var mt,vt;let xt=class extends L{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,o;const e=super.createRenderRoot();return null!==(t=(o=this.renderOptions).renderBefore)&&void 0!==t||(o.renderBefore=e.firstChild),e}update(t){const o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,o,e)=>{var r,i;const n=null!==(r=null==e?void 0:e.renderBefore)&&void 0!==r?r:o;let a=n._$litPart$;if(void 0===a){const t=null!==(i=null==e?void 0:e.renderBefore)&&void 0!==i?i:null;n._$litPart$=a=new ct(o.insertBefore(D(),t),t,void 0,null!=e?e:{})}return a._$AI(t),a})(o,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return ot}};xt.finalized=!0,xt._$litElement$=!0,null===(mt=globalThis.litElementHydrateSupport)||void 0===mt||mt.call(globalThis,{LitElement:xt});const Ot=globalThis.litElementPolyfillSupport;null==Ot||Ot({LitElement:xt}),(null!==(vt=globalThis.litElementVersions)&&void 0!==vt?vt:globalThis.litElementVersions=[]).push("3.3.2");const wt=t=>"string"==typeof t?x(t):t;class St{static create(t,o,e,r){const i=t=>wt(null!=t?t:r),n=O`var(${wt(t)}, ${i(r)})`;return n.name=t,n.description=t,n.category=e,n.defaultValue=r,n.defaultCssValue=i,n.get=o=>O`var(${wt(t)}, ${i(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>r,n}static extend(t,o,e,r){const i=t=>e.get(null!=t?t:r),n=O`var(${wt(t)}, ${i(r)})`;return n.name=t,n.description=o,n.category=e.category,n.fallbackVariable=e,n.defaultValue=r,n.defaultCssValue=i,n.get=o=>O`var(${wt(t)}, ${i(o)})`,n.breadcrumb=()=>[e.name,...e.breadcrumb()],n.lastResortDefaultValue=()=>null!=r?r:e.lastResortDefaultValue(),n}static external(t,o){const e=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):wt(null!=o?o:t.lastResortDefaultValue()),r=O`var(${wt(t.name)}, ${e(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=o,r.defaultCssValue=e,r.get=o=>O`var(${wt(t.name)}, ${e(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}function Nt(t,o){return wt(`${t.name}: ${o}`)}const Ct={colorWhite:St.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:St.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:St.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:St.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:St.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:St.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:St.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:St.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:St.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:St.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:St.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:St.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:St.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:St.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:St.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:St.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:St.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:St.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:St.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:St.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:St.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:St.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:St.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:St.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:St.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:St.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:St.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:St.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:St.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:St.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:St.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:St.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:St.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:St.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:St.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:St.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:St.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:St.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:St.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:St.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:St.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:St.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:St.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:St.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:St.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:St.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:St.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:St.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:St.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:St.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:St.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:St.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:St.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:St.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:St.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:St.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:St.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:St.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:St.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:St.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:St.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:St.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:St.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:St.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:St.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:St.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:St.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:St.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:St.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:St.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:St.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:St.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:St.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:St.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:St.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:St.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:St.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:St.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:St.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:St.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:St.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:St.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:St.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:St.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:St.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:St.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:St.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:St.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:St.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:St.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:St.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:St.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:St.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:St.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:St.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:St.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:St.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:St.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:St.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:St.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:St.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:St.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:St.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:St.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:St.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:St.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:St.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:St.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:St.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:St.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:St.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:St.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:St.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:St.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:St.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:St.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:St.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:St.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:St.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:St.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:St.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:St.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:St.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:St.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:St.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:St.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:St.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:St.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:St.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:St.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:St.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:St.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:St.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:St.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:St.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:St.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:St.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:St.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:St.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:St.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:St.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:St.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:St.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:St.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:St.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:St.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:St.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:St.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:St.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:St.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:St.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:St.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:St.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:St.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:St.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:St.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:St.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:St.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:St.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:St.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:St.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:St.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:St.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:St.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:St.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:St.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:St.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:St.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:St.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:St.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:St.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:St.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:St.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:St.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:St.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:St.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:St.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:St.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:St.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:St.create("--ft-icon-size-6","","SIZE","48px"),opacity0:St.create("--ft-opacity-0","","NUMBER","0"),opacity8:St.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:St.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:St.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:St.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:St.create("--ft-opacity-80","","NUMBER","0.8")},Et={display:{fontFamily:St.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:St.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:St.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:St.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:St.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:St.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:St.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:St.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:St.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:St.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:St.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:St.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:St.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:St.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:St.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:St.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:St.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:St.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:St.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:St.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:St.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:St.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:St.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:St.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:St.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:St.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:St.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:St.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:St.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:St.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:St.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:St.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:St.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:St.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:St.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:St.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:St.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:St.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:St.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:St.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:St.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:St.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:St.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:St.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:St.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:St.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:St.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:St.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:St.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:St.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:St.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:St.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:St.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:St.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:St.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:St.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:St.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:St.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:St.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:St.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:St.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:St.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:St.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:St.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:St.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:St.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:St.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:St.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:St.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:St.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:St.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:St.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:St.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:St.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:St.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:St.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:St.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:St.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:St.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:St.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:St.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:St.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:St.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:St.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:St.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:St.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:St.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:St.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:St.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:St.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:St.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:St.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:St.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:St.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:St.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:St.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:St.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:St.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:St.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:St.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:St.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:St.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:St.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:St.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:St.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:St.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:St.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:St.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:St.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:St.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:St.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:St.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:St.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:St.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:St.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:St.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:St.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:St.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:St.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:St.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:St.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:St.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:St.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:St.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:St.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:St.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:St.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:St.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:St.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:St.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:St.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:St.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},$t={backgroundActionPrimary:St.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Ct.colorBrand0),backgroundErrorPrimary:St.extend("--ft-background-error-primary","Used as background of error components.",Ct.colorRed0),backgroundErrorSubtle:St.extend("--ft-background-error-subtle","Used as background of subtle error components.",Ct.colorRed10),backgroundInfoPrimary:St.extend("--ft-background-info-primary","Used as background of information components.",Ct.colorCyan200),backgroundInfoSubtle:St.extend("--ft-background-info-subtle","Used as background of subtle information components.",Ct.colorCyan10),backgroundWarningPrimary:St.extend("--ft-background-warning-primary","Used as background of warning components.",Ct.colorOrange300),backgroundWarningSubtle:St.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Ct.colorOrange10),backgroundSuccessPrimary:St.extend("--ft-background-success-primary","Used as background of success components.",Ct.colorGreen200),backgroundSuccessSubtle:St.extend("--ft-background-success-subtle","Used as background of subtle success components.",Ct.colorGreen10),backgroundGlobalSurface:St.extend("--ft-background-global-surface","Used as app background.",Ct.colorWhite),backgroundGlobalOnSurface:St.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Ct.colorGray10),backgroundGlobalOnSurfaceDark:St.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Ct.colorGray30),contentActionPrimary:St.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Ct.colorBrand0),contentWarningPrimary:St.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Ct.colorOrange300),contentWarningIconOnly:St.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Ct.colorOrange0),contentErrorPrimary:St.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Ct.colorRed0),contentErrorIconOnly:St.extend("--ft-content-error-icon-only","Used on error status icons alone",Ct.colorRed0),contentInfoPrimary:St.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Ct.colorCyan200),contentInfoIconOnly:St.extend("--ft-content-info-icon-only","Used on info status icons alone",Ct.colorCyan0),contentSuccessIconOnly:St.extend("--ft-content-success-icon-only","Used on success status icons alone",Ct.colorGreen0),contentSuccessPrimary:St.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Ct.colorGreen200),contentGlobalPrimary:St.extend("--ft-content-global-primary","Used for main content on the page.",Ct.colorGray500),contentGlobalSecondary:St.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Ct.colorGray200),contentGlobalSubtle:St.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Ct.colorGray0),contentGlobalOnColor:St.extend("--ft-content-global-on-color","Used for content on a dominant color.",Ct.colorWhite),borderActionPrimary:St.extend("--ft-border-action-primary","Used as border for primary action components.",Ct.colorBrand0),borderActionFocusRing:St.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Ct.colorCyan0),borderWarningPrimary:St.extend("--ft-border-warning-primary","Used as border for warning components.",Ct.colorOrange30),borderSuccessPrimary:St.extend("--ft-border-success-primary","Used as border for success components.",Ct.colorGreen30),borderErrorPrimary:St.extend("--ft-border-error-primary","Used as border for error components.",Ct.colorRed30),borderInfoPrimary:St.extend("--ft-border-info-primary","Used as border for information components.",Ct.colorCyan30),borderGlobalSubtle:St.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Ct.colorGray30),borderGlobalPrimary:St.extend("--ft-border-global-primary","Used as border for element like input.",Ct.colorGray50),borderInputPrimary:St.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Ct.colorGray80)},Rt={largeHeight:St.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:St.extend("--ft-button-large-horizontal-padding","",Ct.spacing4),largeGap:St.extend("--ft-button-large-gap","",Ct.spacing2),largeBorderRadius:St.extend("--ft-button-large-border-radius","",Ct.borderRadiusS),largeIconSize:St.extend("--ft-button-large-icon-size","",Ct.iconSize3),largeBorderWidth:St.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:St.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:St.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:St.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:St.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:St.extend("--ft-button-small-horizontal-padding","",Ct.spacing3),smallGap:St.extend("--ft-button-small-gap","",Ct.spacing2),smallBorderRadius:St.extend("--ft-button-small-border-radius","",Ct.borderRadiusS),smallIconSize:St.extend("--ft-button-small-icon-size","",Ct.iconSize2),smallBorderWidth:St.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:St.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:St.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:St.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:St.extend("--ft-button-primary-background-color","",$t.backgroundActionPrimary),primaryColor:St.extend("--ft-button-primary-color","",$t.contentGlobalOnColor),primaryIconColor:St.extend("--ft-button-primary-icon-color","",$t.contentGlobalOnColor),primaryStateLayerColor:St.extend("--ft-button-primary-state-layer-color","",$t.contentGlobalOnColor),primaryStateLayerOpacityHover:St.extend("--ft-button-primary-state-layer-opacity-hover","",Ct.opacity16),primaryStateLayerOpacityFocus:St.extend("--ft-button-primary-state-layer-opacity-focus","",Ct.opacity16),primaryStateLayerOpacityActive:St.extend("--ft-button-primary-state-layer-opacity-active","",Ct.opacity24),primaryComponentOpacityDisabled:St.extend("--ft-button-primary-component-opacity-disabled","",Ct.opacity40),focusFocusRingColor:St.extend("--ft-button-focus-focus-ring-color","",$t.borderActionFocusRing),tertiaryBackgroundColor:St.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:St.extend("--ft-button-tertiary-color","",$t.contentActionPrimary),tertiaryIconColor:St.extend("--ft-button-tertiary-icon-color","",$t.contentActionPrimary),tertiaryStateLayerColor:St.extend("--ft-button-tertiary-state-layer-color","",$t.contentActionPrimary),tertiaryStateLayerOpacityHover:St.extend("--ft-button-tertiary-state-layer-opacity-hover","",Ct.opacity8),tertiaryStateLayerOpacityFocus:St.extend("--ft-button-tertiary-state-layer-opacity-focus","",Ct.opacity8),tertiaryStateLayerOpacityActive:St.extend("--ft-button-tertiary-state-layer-opacity-active","",Ct.opacity16),tertiaryComponentOpacityDisabled:St.extend("--ft-button-tertiary-component-opacity-disabled","",Ct.opacity40),secondaryBackgroundColor:St.extend("--ft-button-secondary-background-color","",Ct.colorWhite),secondaryColor:St.extend("--ft-button-secondary-color","",$t.contentActionPrimary),secondaryIconColor:St.extend("--ft-button-secondary-icon-color","",$t.contentActionPrimary),secondaryStateLayerColor:St.extend("--ft-button-secondary-state-layer-color","",$t.contentActionPrimary),secondaryStateLayerOpacityHover:St.extend("--ft-button-secondary-state-layer-opacity-hover","",Ct.opacity8),secondaryStateLayerOpacityFocus:St.extend("--ft-button-secondary-state-layer-opacity-focus","",Ct.opacity8),secondaryStateLayerOpacityActive:St.extend("--ft-button-secondary-state-layer-opacity-active","",Ct.opacity16),secondaryComponentOpacityDisabled:St.extend("--ft-button-secondary-component-opacity-disabled","",Ct.opacity40),secondaryBorderColor:St.extend("--ft-button-secondary-border-color","",$t.borderActionPrimary),neutralBackgroundColor:St.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:St.extend("--ft-button-neutral-icon-color","",$t.contentGlobalSecondary),neutralColor:St.extend("--ft-button-neutral-color","",$t.contentGlobalSecondary),neutralStateLayerColor:St.extend("--ft-button-neutral-state-layer-color","",$t.contentGlobalSecondary),neutralStateLayerOpacityHover:St.extend("--ft-button-neutral-state-layer-opacity-hover","",Ct.opacity8),neutralStateLayerOpacityFocus:St.extend("--ft-button-neutral-state-layer-opacity-focus","",Ct.opacity8),neutralStateLayerOpacityActive:St.extend("--ft-button-neutral-state-layer-opacity-active","",Ct.opacity16),neutralComponentOpacityDisabled:St.extend("--ft-button-neutral-component-opacity-disabled","",Ct.opacity40)};St.extend("--ft-tabs-top-left-border-radius","",Ct.borderRadiusS),St.extend("--ft-tabs-top-right-border-radius","",Ct.borderRadiusS),St.extend("--ft-tabs-label-horizontal-padding","",Ct.spacing4),St.extend("--ft-tabs-label-vertical-padding","",Ct.spacing3),St.extend("--ft-tabs-label-gap","",Ct.spacing1),St.extend("--ft-switch-group-horizontal-padding","",Ct.spacing1),St.extend("--ft-switch-group-vertical-padding","",Ct.spacing1),St.extend("--ft-switch-group-gap","",Ct.spacing1),St.extend("--ft-switch-group-background-color","",$t.backgroundGlobalSurface),St.extend("--ft-switch-group-border-color","",$t.borderGlobalSubtle),St.create("--ft-switch-group-border-radius","","SIZE","6px"),St.extend("--ft-switch-label-horizontal-padding","",Ct.spacing2),St.extend("--ft-switch-label-vertical-padding","",Ct.spacing1),St.extend("--ft-switch-icon-horizontal-padding","",Ct.spacing1),St.extend("--ft-switch-icon-vertical-padding","",Ct.spacing1),St.create("--ft-switch-focus-outline-width","","SIZE","2px"),St.extend("--ft-switch-focus-focus-ring-color","",$t.borderActionFocusRing),St.extend("--ft-switch-option-border-radius","",Ct.borderRadiusS),St.extend("--ft-switch-off-state-layer-opacity-hover","",Ct.opacity8),St.extend("--ft-switch-off-state-layer-opacity-focus","",Ct.opacity8),St.extend("--ft-switch-off-state-layer-opacity-active","",Ct.opacity16),St.extend("--ft-switch-off-component-opacity-disabled","",Ct.opacity40),St.extend("--ft-switch-off-color","",$t.contentGlobalSubtle),St.extend("--ft-switch-off-state-layer-color","",$t.contentGlobalSubtle),St.extend("--ft-chart-1-light","for area color charts",Ct.colorBrand40),St.extend("--ft-chart-1-base","for line charts",Ct.colorBrand0),St.extend("--ft-chart-2-light","for area color charts",Ct.colorYellow60),St.extend("--ft-chart-2-base","for line charts",Ct.colorYellow100),St.extend("--ft-chart-3-light","",Ct.colorUltramarine40),St.extend("--ft-chart-3-base","",Ct.colorUltramarine70),St.extend("--ft-chart-4-light","",Ct.colorCyan50),St.extend("--ft-chart-4-base","",Ct.colorCyan100),St.extend("--ft-chart-5-light","",Ct.colorRed40),St.extend("--ft-chart-5-base","",Ct.colorRed60),St.extend("--ft-chart-6-light","",Ct.colorGreen40),St.extend("--ft-chart-6-base","",Ct.colorGreen70),St.extend("--ft-chart-7-light","",Ct.colorOrange70),St.extend("--ft-chart-7-base","",Ct.colorOrange100),St.extend("--ft-chart-8-light","",Ct.colorAvocado70),St.extend("--ft-chart-8-base","",Ct.colorAvocado200),St.extend("--ft-chart-9-light","",Ct.colorBrown50),St.extend("--ft-chart-9-base","",Ct.colorBrown200),St.extend("--ft-chart-10-light","",Ct.colorGray50),St.extend("--ft-chart-10-base","",Ct.colorGray80),St.extend("--ft-chart-monochrome-10","",Ct.colorBrand10),St.extend("--ft-chart-monochrome-20","",Ct.colorBrand20),St.extend("--ft-chart-monochrome-30","",Ct.colorBrand40),St.extend("--ft-chart-monochrome-40","",Ct.colorBrand60),St.extend("--ft-chart-monochrome-50","",Ct.colorBrand0),St.extend("--ft-chart-monochrome-60","",Ct.colorBrand200),St.extend("--ft-chip-large-horizontal-padding","",Ct.spacing4),St.extend("--ft-chip-large-vertical-padding","",Ct.spacing2),St.extend("--ft-chip-large-gap","",Ct.spacing1),St.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),St.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),St.extend("--ft-chip-large-border-radius","",Ct.borderRadiusPill),St.create("--ft-chip-large-border-width","","SIZE","1px"),St.extend("--ft-chip-large-icon-size","",Ct.iconSize3),St.extend("--ft-chip-medium-horizontal-padding","",Ct.spacing3),St.extend("--ft-chip-medium-vertical-padding","",Ct.spacing1),St.extend("--ft-chip-medium-gap","",Ct.spacing1),St.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),St.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),St.extend("--ft-chip-medium-border-radius","",Ct.borderRadiusPill),St.create("--ft-chip-medium-border-width","","SIZE","1px"),St.extend("--ft-chip-medium-icon-size","",Ct.iconSize2),St.extend("--ft-chip-small-horizontal-padding","",Ct.spacing2),St.extend("--ft-chip-small-vertical-padding","",Ct.spacing05),St.extend("--ft-chip-small-gap","",Ct.spacing1),St.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),St.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),St.extend("--ft-chip-small-border-radius","",Ct.borderRadiusPill),St.create("--ft-chip-small-border-width","","SIZE","1px"),St.extend("--ft-chip-small-icon-size","",Ct.iconSize1),St.extend("--ft-chip-neutral-background-color","",$t.backgroundGlobalOnSurface),St.extend("--ft-chip-neutral-color","",$t.contentGlobalPrimary),St.extend("--ft-chip-neutral-border-color","",$t.borderGlobalSubtle),St.extend("--ft-chip-info-background-color","",$t.backgroundInfoSubtle),St.extend("--ft-chip-info-color","",$t.contentInfoPrimary),St.extend("--ft-chip-info-border-color","",$t.borderInfoPrimary),St.extend("--ft-chip-success-background-color","",$t.backgroundSuccessSubtle),St.extend("--ft-chip-success-color","",$t.contentSuccessPrimary),St.extend("--ft-chip-success-border-color","",$t.borderSuccessPrimary),St.extend("--ft-chip-warning-background-color","",$t.backgroundWarningSubtle),St.extend("--ft-chip-warning-color","",$t.contentWarningPrimary),St.extend("--ft-chip-warning-border-color","",$t.borderWarningPrimary),St.extend("--ft-chip-error-background-color","",$t.backgroundErrorSubtle),St.extend("--ft-chip-error-color","",$t.contentErrorPrimary),St.extend("--ft-chip-error-border-color","",$t.borderErrorPrimary),St.create("--ft-notice-border-width","","SIZE","1px"),St.extend("--ft-notice-horizontal-padding","",Ct.spacing2),St.extend("--ft-notice-vertical-padding","",Ct.spacing1),St.extend("--ft-notice-border-radius","",Ct.borderRadiusS),St.extend("--ft-notice-gap","",Ct.spacing2),St.extend("--ft-notice-icon-size","",Ct.iconSize3),St.extend("--ft-notice-info-background-color","",$t.backgroundInfoSubtle),St.extend("--ft-notice-info-border-color","",$t.borderInfoPrimary),St.extend("--ft-notice-info-color","",$t.contentInfoPrimary),St.extend("--ft-notice-warning-background-color","",$t.backgroundWarningSubtle),St.extend("--ft-notice-warning-border-color","",$t.borderWarningPrimary),St.extend("--ft-notice-warning-color","",$t.contentWarningPrimary),St.extend("--ft-checkbox-label-color","",$t.contentGlobalPrimary),St.extend("--ft-checkbox-checked-background-color","",$t.contentActionPrimary),St.extend("--ft-checkbox-checked-state-layer-color","",$t.contentActionPrimary),St.extend("--ft-checkbox-checked-color","",$t.contentGlobalOnColor),St.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Ct.opacity16),St.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Ct.opacity16),St.extend("--ft-checkbox-checked-state-layer-opacity-active","",Ct.opacity24),St.extend("--ft-checkbox-checked-component-opacity-disabled","",Ct.opacity40),St.extend("--ft-checkbox-unchecked-border-color","",Ct.colorGray80),St.extend("--ft-checkbox-unchecked-state-layer-color","",Ct.colorGray80),St.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Ct.opacity16),St.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Ct.opacity16),St.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Ct.opacity24),St.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Ct.opacity40),St.extend("--ft-checkbox-focus-focus-ring-color","",$t.borderActionFocusRing),St.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),St.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),St.extend("--ft-checkbox-gap","",Ct.spacing3),St.extend("--ft-toggle-off-state-layer-opacity-hover","",Ct.opacity16),St.extend("--ft-toggle-off-state-layer-opacity-focus","",Ct.opacity16),St.extend("--ft-toggle-off-state-layer-opacity-active","",Ct.opacity24),St.extend("--ft-toggle-off-component-opacity-disabled","",Ct.opacity40),St.extend("--ft-toggle-off-background-color","",$t.contentGlobalSubtle),St.extend("--ft-toggle-off-icon-color","",$t.contentGlobalSubtle),St.extend("--ft-toggle-off-state-layer-color","",$t.contentGlobalSubtle),St.extend("--ft-toggle-on-state-layer-opacity-hover","",Ct.opacity16),St.extend("--ft-toggle-on-state-layer-opacity-focus","",Ct.opacity16),St.extend("--ft-toggle-on-state-layer-opacity-active","",Ct.opacity24),St.extend("--ft-toggle-on-component-opacity-disabled","",Ct.opacity40),St.extend("--ft-toggle-on-background-color","",$t.contentActionPrimary),St.extend("--ft-toggle-on-icon-color","",$t.contentActionPrimary),St.extend("--ft-toggle-on-state-layer-color","",$t.contentActionPrimary),St.extend("--ft-toggle-label-color","",$t.contentGlobalPrimary),St.extend("--ft-toggle-focus-focus-ring-color","",$t.borderActionFocusRing),St.extend("--ft-toggle-gap","",Ct.spacing3),St.extend("--ft-radio-label-color","",$t.contentGlobalPrimary),St.extend("--ft-radio-selected-color","",$t.contentActionPrimary),St.extend("--ft-radio-selected-state-layer-color","",$t.contentActionPrimary),St.extend("--ft-radio-selected-state-layer-opacity-hover","",Ct.opacity16),St.extend("--ft-radio-selected-state-layer-opacity-focus","",Ct.opacity16),St.extend("--ft-radio-selected-state-layer-opacity-active","",Ct.opacity24),St.extend("--ft-radio-selected-component-opacity-disabled","",Ct.opacity40),St.extend("--ft-radio-unselected-state-layer-color","",Ct.colorGray80),St.extend("--ft-radio-unselected-state-layer-opacity-hover","",Ct.opacity16),St.extend("--ft-radio-unselected-state-layer-opacity-focus","",Ct.opacity16),St.extend("--ft-radio-unselected-state-layer-opacity-active","",Ct.opacity24),St.extend("--ft-radio-unselected-component-opacity-disabled","",Ct.opacity40),St.extend("--ft-radio-focus-focus-ring-color","",$t.borderActionFocusRing),St.create("--ft-radio-focus-outline-offset","","SIZE","3px"),St.create("--ft-radio-focus-outline-width","","SIZE","2px"),St.extend("--ft-radio-gap","",Ct.spacing3),St.extend("--ft-notification-icon-size","",Ct.iconSize4),St.extend("--ft-notification-horizontal-padding","",Ct.spacing4),St.extend("--ft-notification-vertical-padding","",Ct.spacing4),St.extend("--ft-notification-info-background-color","",$t.backgroundInfoSubtle),St.extend("--ft-notification-info-color","",$t.contentInfoPrimary),St.extend("--ft-notification-info-border-color","",$t.borderInfoPrimary),St.extend("--ft-notification-success-background-color","",$t.backgroundSuccessSubtle),St.extend("--ft-notification-success-color","",$t.contentSuccessPrimary),St.extend("--ft-notification-success-border-color","",$t.borderSuccessPrimary),St.extend("--ft-notification-warning-background-color","",$t.backgroundWarningSubtle),St.extend("--ft-notification-warning-color","",$t.contentWarningPrimary),St.extend("--ft-notification-warning-border-color","",$t.borderWarningPrimary),St.extend("--ft-notification-error-background-color","",$t.backgroundErrorSubtle),St.extend("--ft-notification-error-color","",$t.contentErrorPrimary),St.extend("--ft-notification-error-border-color","",$t.borderErrorPrimary),St.extend("--ft-notification-border-radius","",Ct.borderRadiusPill),St.create("--ft-notification-border-width","","SIZE","1px"),St.extend("--ft-notification-gap-leading","",Ct.spacing2),St.extend("--ft-notification-gap-trailing","",Ct.spacing8);const kt={colorPrimary:St.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:St.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:St.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:St.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:St.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:St.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:St.create("--ft-color-error","","COLOR","#B00020"),colorOutline:St.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:St.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:St.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:St.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:St.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:St.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:St.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:St.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:St.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:St.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:St.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:St.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:St.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:St.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:St.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:St.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:St.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:St.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:St.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:St.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:St.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:St.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:St.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:St.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:St.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:St.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:St.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:St.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:St.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:St.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:St.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:St.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:St.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:St.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:St.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:St.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:St.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:St.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:St.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:St.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:St.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:St.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:St.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:St.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:St.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:St.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:St.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:St.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:St.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:St.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:St.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:St.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:St.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:St.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:St.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};class Ut extends xt{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return w(e,t.elementStyles),e}}var It,Lt=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const Wt=Symbol("constructorPrototype"),jt=Symbol("constructorName"),Kt=Symbol("exportpartsDebouncer");class Ft extends Ut{constructor(){super(),this[It]=new i(5),this[jt]=this.constructor.name,this[Wt]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[jt]&&Object.setPrototypeOf(this,this[Wt])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var o,e;if((null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==e?e:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[Kt].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,e,r,i,n,a;const s=t=>null!=t&&t.trim().length>0,l=t.filter(s).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],e=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...o,...e).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const f=[...c.values()].flatMap((t=>l.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}It=Kt,Lt([a()],Ft.prototype,"exportpartsPrefix",void 0),Lt([h([])],Ft.prototype,"exportpartsPrefixes",void 0),Lt([a()],Ft.prototype,"customStylesheet",void 0);const zt=O`
|
|
69
|
+
var mt,vt;let xt=class extends L{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,o;const e=super.createRenderRoot();return null!==(t=(o=this.renderOptions).renderBefore)&&void 0!==t||(o.renderBefore=e.firstChild),e}update(t){const o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,o,e)=>{var r,i;const n=null!==(r=null==e?void 0:e.renderBefore)&&void 0!==r?r:o;let a=n._$litPart$;if(void 0===a){const t=null!==(i=null==e?void 0:e.renderBefore)&&void 0!==i?i:null;n._$litPart$=a=new ct(o.insertBefore(z(),t),t,void 0,null!=e?e:{})}return a._$AI(t),a})(o,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Do)||void 0===t||t.setConnected(!1)}render(){return ot}};xt.finalized=!0,xt._$litElement$=!0,null===(mt=globalThis.litElementHydrateSupport)||void 0===mt||mt.call(globalThis,{LitElement:xt});const Ot=globalThis.litElementPolyfillSupport;null==Ot||Ot({LitElement:xt}),(null!==(vt=globalThis.litElementVersions)&&void 0!==vt?vt:globalThis.litElementVersions=[]).push("3.3.2");const wt=t=>"string"==typeof t?x(t):t;class St{static create(t,o,e,r){const i=t=>wt(null!=t?t:r),n=O`var(${wt(t)}, ${i(r)})`;return n.name=t,n.description=t,n.category=e,n.defaultValue=r,n.defaultCssValue=i,n.get=o=>O`var(${wt(t)}, ${i(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>r,n}static extend(t,o,e,r){const i=t=>e.get(null!=t?t:r),n=O`var(${wt(t)}, ${i(r)})`;return n.name=t,n.description=o,n.category=e.category,n.fallbackVariable=e,n.defaultValue=r,n.defaultCssValue=i,n.get=o=>O`var(${wt(t)}, ${i(o)})`,n.breadcrumb=()=>[e.name,...e.breadcrumb()],n.lastResortDefaultValue=()=>null!=r?r:e.lastResortDefaultValue(),n}static external(t,o){const e=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):wt(null!=o?o:t.lastResortDefaultValue()),r=O`var(${wt(t.name)}, ${e(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=o,r.defaultCssValue=e,r.get=o=>O`var(${wt(t.name)}, ${e(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}function Nt(t,o){return wt(`${t.name}: ${o}`)}const Ct={colorWhite:St.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:St.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:St.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:St.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:St.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:St.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:St.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:St.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:St.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:St.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:St.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:St.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:St.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:St.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:St.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:St.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:St.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:St.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:St.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:St.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:St.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:St.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:St.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:St.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:St.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:St.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:St.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:St.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:St.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:St.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:St.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:St.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:St.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:St.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:St.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:St.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:St.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:St.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:St.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:St.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:St.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:St.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:St.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:St.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:St.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:St.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:St.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:St.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:St.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:St.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:St.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:St.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:St.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:St.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:St.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:St.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:St.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:St.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:St.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:St.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:St.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:St.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:St.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:St.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:St.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:St.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:St.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:St.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:St.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:St.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:St.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:St.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:St.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:St.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:St.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:St.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:St.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:St.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:St.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:St.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:St.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:St.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:St.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:St.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:St.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:St.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:St.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:St.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:St.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:St.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:St.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:St.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:St.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:St.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:St.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:St.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:St.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:St.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:St.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:St.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:St.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:St.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:St.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:St.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:St.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:St.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:St.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:St.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:St.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:St.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:St.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:St.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:St.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:St.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:St.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:St.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:St.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:St.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:St.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:St.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:St.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:St.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:St.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:St.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:St.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:St.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:St.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:St.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:St.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:St.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:St.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:St.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:St.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:St.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:St.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:St.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:St.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:St.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:St.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:St.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:St.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:St.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:St.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:St.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:St.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:St.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:St.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:St.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:St.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:St.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:St.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:St.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:St.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:St.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:St.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:St.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:St.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:St.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:St.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:St.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:St.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:St.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:St.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:St.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:St.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:St.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:St.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:St.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:St.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:St.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:St.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:St.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:St.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:St.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:St.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:St.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:St.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:St.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:St.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:St.create("--ft-icon-size-6","","SIZE","48px"),opacity0:St.create("--ft-opacity-0","","NUMBER","0"),opacity8:St.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:St.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:St.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:St.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:St.create("--ft-opacity-80","","NUMBER","0.8")},Et={display:{fontFamily:St.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:St.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:St.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:St.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:St.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:St.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:St.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:St.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:St.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:St.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:St.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:St.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:St.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:St.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:St.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:St.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:St.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:St.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:St.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:St.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:St.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:St.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:St.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:St.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:St.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:St.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:St.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:St.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:St.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:St.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:St.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:St.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:St.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:St.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:St.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:St.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:St.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:St.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:St.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:St.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:St.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:St.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:St.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:St.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:St.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:St.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:St.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:St.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:St.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:St.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:St.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:St.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:St.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:St.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:St.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:St.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:St.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:St.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:St.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:St.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:St.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:St.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:St.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:St.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:St.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:St.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:St.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:St.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:St.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:St.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:St.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:St.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:St.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:St.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:St.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:St.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:St.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:St.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:St.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:St.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:St.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:St.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:St.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:St.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:St.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:St.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:St.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:St.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:St.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:St.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:St.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:St.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:St.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:St.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:St.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:St.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:St.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:St.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:St.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:St.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:St.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:St.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:St.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:St.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:St.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:St.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:St.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:St.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:St.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:St.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:St.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:St.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:St.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:St.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:St.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:St.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:St.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:St.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:St.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:St.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:St.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:St.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:St.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:St.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:St.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:St.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:St.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:St.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:St.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:St.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:St.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:St.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:St.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:St.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:St.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Rt={backgroundActionPrimary:St.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Ct.colorBrand0),backgroundErrorPrimary:St.extend("--ft-background-error-primary","Used as background of error components.",Ct.colorRed0),backgroundErrorSubtle:St.extend("--ft-background-error-subtle","Used as background of subtle error components.",Ct.colorRed10),backgroundInfoPrimary:St.extend("--ft-background-info-primary","Used as background of information components.",Ct.colorCyan200),backgroundInfoSubtle:St.extend("--ft-background-info-subtle","Used as background of subtle information components.",Ct.colorCyan10),backgroundWarningPrimary:St.extend("--ft-background-warning-primary","Used as background of warning components.",Ct.colorOrange300),backgroundWarningSubtle:St.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Ct.colorOrange10),backgroundSuccessPrimary:St.extend("--ft-background-success-primary","Used as background of success components.",Ct.colorGreen200),backgroundSuccessSubtle:St.extend("--ft-background-success-subtle","Used as background of subtle success components.",Ct.colorGreen10),backgroundGlobalSurface:St.extend("--ft-background-global-surface","Used as app background.",Ct.colorWhite),backgroundGlobalOnSurface:St.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Ct.colorGray10),backgroundGlobalOnSurfaceDark:St.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Ct.colorGray30),contentActionPrimary:St.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Ct.colorBrand0),contentWarningPrimary:St.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Ct.colorOrange300),contentWarningIconOnly:St.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Ct.colorOrange0),contentErrorPrimary:St.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Ct.colorRed0),contentErrorIconOnly:St.extend("--ft-content-error-icon-only","Used on error status icons alone",Ct.colorRed0),contentInfoPrimary:St.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Ct.colorCyan200),contentInfoIconOnly:St.extend("--ft-content-info-icon-only","Used on info status icons alone",Ct.colorCyan0),contentSuccessIconOnly:St.extend("--ft-content-success-icon-only","Used on success status icons alone",Ct.colorGreen0),contentSuccessPrimary:St.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Ct.colorGreen200),contentGlobalPrimary:St.extend("--ft-content-global-primary","Used for main content on the page.",Ct.colorGray500),contentGlobalSecondary:St.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Ct.colorGray200),contentGlobalSubtle:St.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Ct.colorGray0),contentGlobalOnColor:St.extend("--ft-content-global-on-color","Used for content on a dominant color.",Ct.colorWhite),borderActionPrimary:St.extend("--ft-border-action-primary","Used as border for primary action components.",Ct.colorBrand0),borderActionFocusRing:St.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Ct.colorCyan0),borderWarningPrimary:St.extend("--ft-border-warning-primary","Used as border for warning components.",Ct.colorOrange30),borderSuccessPrimary:St.extend("--ft-border-success-primary","Used as border for success components.",Ct.colorGreen30),borderErrorPrimary:St.extend("--ft-border-error-primary","Used as border for error components.",Ct.colorRed30),borderInfoPrimary:St.extend("--ft-border-info-primary","Used as border for information components.",Ct.colorCyan30),borderGlobalSubtle:St.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Ct.colorGray30),borderGlobalPrimary:St.extend("--ft-border-global-primary","Used as border for element like input.",Ct.colorGray50),borderInputPrimary:St.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Ct.colorGray80)},$t={largeHeight:St.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:St.extend("--ft-button-large-horizontal-padding","",Ct.spacing4),largeGap:St.extend("--ft-button-large-gap","",Ct.spacing2),largeBorderRadius:St.extend("--ft-button-large-border-radius","",Ct.borderRadiusS),largeIconSize:St.extend("--ft-button-large-icon-size","",Ct.iconSize3),largeBorderWidth:St.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:St.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:St.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:St.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:St.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:St.extend("--ft-button-small-horizontal-padding","",Ct.spacing3),smallGap:St.extend("--ft-button-small-gap","",Ct.spacing2),smallBorderRadius:St.extend("--ft-button-small-border-radius","",Ct.borderRadiusS),smallIconSize:St.extend("--ft-button-small-icon-size","",Ct.iconSize2),smallBorderWidth:St.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:St.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:St.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:St.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:St.extend("--ft-button-primary-background-color","",Rt.backgroundActionPrimary),primaryColor:St.extend("--ft-button-primary-color","",Rt.contentGlobalOnColor),primaryIconColor:St.extend("--ft-button-primary-icon-color","",Rt.contentGlobalOnColor),primaryStateLayerColor:St.extend("--ft-button-primary-state-layer-color","",Rt.contentGlobalOnColor),primaryStateLayerOpacityHover:St.extend("--ft-button-primary-state-layer-opacity-hover","",Ct.opacity16),primaryStateLayerOpacityFocus:St.extend("--ft-button-primary-state-layer-opacity-focus","",Ct.opacity16),primaryStateLayerOpacityActive:St.extend("--ft-button-primary-state-layer-opacity-active","",Ct.opacity24),primaryComponentOpacityDisabled:St.extend("--ft-button-primary-component-opacity-disabled","",Ct.opacity40),focusFocusRingColor:St.extend("--ft-button-focus-focus-ring-color","",Rt.borderActionFocusRing),tertiaryBackgroundColor:St.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:St.extend("--ft-button-tertiary-color","",Rt.contentActionPrimary),tertiaryIconColor:St.extend("--ft-button-tertiary-icon-color","",Rt.contentActionPrimary),tertiaryStateLayerColor:St.extend("--ft-button-tertiary-state-layer-color","",Rt.contentActionPrimary),tertiaryStateLayerOpacityHover:St.extend("--ft-button-tertiary-state-layer-opacity-hover","",Ct.opacity8),tertiaryStateLayerOpacityFocus:St.extend("--ft-button-tertiary-state-layer-opacity-focus","",Ct.opacity8),tertiaryStateLayerOpacityActive:St.extend("--ft-button-tertiary-state-layer-opacity-active","",Ct.opacity16),tertiaryComponentOpacityDisabled:St.extend("--ft-button-tertiary-component-opacity-disabled","",Ct.opacity40),secondaryBackgroundColor:St.extend("--ft-button-secondary-background-color","",Ct.colorWhite),secondaryColor:St.extend("--ft-button-secondary-color","",Rt.contentActionPrimary),secondaryIconColor:St.extend("--ft-button-secondary-icon-color","",Rt.contentActionPrimary),secondaryStateLayerColor:St.extend("--ft-button-secondary-state-layer-color","",Rt.contentActionPrimary),secondaryStateLayerOpacityHover:St.extend("--ft-button-secondary-state-layer-opacity-hover","",Ct.opacity8),secondaryStateLayerOpacityFocus:St.extend("--ft-button-secondary-state-layer-opacity-focus","",Ct.opacity8),secondaryStateLayerOpacityActive:St.extend("--ft-button-secondary-state-layer-opacity-active","",Ct.opacity16),secondaryComponentOpacityDisabled:St.extend("--ft-button-secondary-component-opacity-disabled","",Ct.opacity40),secondaryBorderColor:St.extend("--ft-button-secondary-border-color","",Rt.borderActionPrimary),neutralBackgroundColor:St.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:St.extend("--ft-button-neutral-icon-color","",Rt.contentGlobalSecondary),neutralColor:St.extend("--ft-button-neutral-color","",Rt.contentGlobalSecondary),neutralStateLayerColor:St.extend("--ft-button-neutral-state-layer-color","",Rt.contentGlobalSecondary),neutralStateLayerOpacityHover:St.extend("--ft-button-neutral-state-layer-opacity-hover","",Ct.opacity8),neutralStateLayerOpacityFocus:St.extend("--ft-button-neutral-state-layer-opacity-focus","",Ct.opacity8),neutralStateLayerOpacityActive:St.extend("--ft-button-neutral-state-layer-opacity-active","",Ct.opacity16),neutralComponentOpacityDisabled:St.extend("--ft-button-neutral-component-opacity-disabled","",Ct.opacity40)};St.extend("--ft-tabs-top-left-border-radius","",Ct.borderRadiusS),St.extend("--ft-tabs-top-right-border-radius","",Ct.borderRadiusS),St.extend("--ft-tabs-label-horizontal-padding","",Ct.spacing4),St.extend("--ft-tabs-label-vertical-padding","",Ct.spacing3),St.extend("--ft-tabs-label-gap","",Ct.spacing1),St.extend("--ft-switch-group-horizontal-padding","",Ct.spacing1),St.extend("--ft-switch-group-vertical-padding","",Ct.spacing1),St.extend("--ft-switch-group-gap","",Ct.spacing1),St.extend("--ft-switch-group-background-color","",Rt.backgroundGlobalSurface),St.extend("--ft-switch-group-border-color","",Rt.borderGlobalSubtle),St.create("--ft-switch-group-border-radius","","SIZE","6px"),St.extend("--ft-switch-label-horizontal-padding","",Ct.spacing2),St.extend("--ft-switch-label-vertical-padding","",Ct.spacing1),St.extend("--ft-switch-icon-horizontal-padding","",Ct.spacing1),St.extend("--ft-switch-icon-vertical-padding","",Ct.spacing1),St.create("--ft-switch-focus-outline-width","","SIZE","2px"),St.extend("--ft-switch-focus-focus-ring-color","",Rt.borderActionFocusRing),St.extend("--ft-switch-option-border-radius","",Ct.borderRadiusS),St.extend("--ft-switch-off-state-layer-opacity-hover","",Ct.opacity8),St.extend("--ft-switch-off-state-layer-opacity-focus","",Ct.opacity8),St.extend("--ft-switch-off-state-layer-opacity-active","",Ct.opacity16),St.extend("--ft-switch-off-component-opacity-disabled","",Ct.opacity40),St.extend("--ft-switch-off-color","",Rt.contentGlobalSubtle),St.extend("--ft-switch-off-state-layer-color","",Rt.contentGlobalSubtle),St.extend("--ft-chart-1-light","for area color charts",Ct.colorBrand40),St.extend("--ft-chart-1-base","for line charts",Ct.colorBrand0),St.extend("--ft-chart-2-light","for area color charts",Ct.colorYellow60),St.extend("--ft-chart-2-base","for line charts",Ct.colorYellow100),St.extend("--ft-chart-3-light","",Ct.colorUltramarine40),St.extend("--ft-chart-3-base","",Ct.colorUltramarine70),St.extend("--ft-chart-4-light","",Ct.colorCyan50),St.extend("--ft-chart-4-base","",Ct.colorCyan100),St.extend("--ft-chart-5-light","",Ct.colorRed40),St.extend("--ft-chart-5-base","",Ct.colorRed60),St.extend("--ft-chart-6-light","",Ct.colorGreen40),St.extend("--ft-chart-6-base","",Ct.colorGreen70),St.extend("--ft-chart-7-light","",Ct.colorOrange70),St.extend("--ft-chart-7-base","",Ct.colorOrange100),St.extend("--ft-chart-8-light","",Ct.colorAvocado70),St.extend("--ft-chart-8-base","",Ct.colorAvocado200),St.extend("--ft-chart-9-light","",Ct.colorBrown50),St.extend("--ft-chart-9-base","",Ct.colorBrown200),St.extend("--ft-chart-10-light","",Ct.colorGray50),St.extend("--ft-chart-10-base","",Ct.colorGray80),St.extend("--ft-chart-monochrome-10","",Ct.colorBrand10),St.extend("--ft-chart-monochrome-20","",Ct.colorBrand20),St.extend("--ft-chart-monochrome-30","",Ct.colorBrand40),St.extend("--ft-chart-monochrome-40","",Ct.colorBrand60),St.extend("--ft-chart-monochrome-50","",Ct.colorBrand0),St.extend("--ft-chart-monochrome-60","",Ct.colorBrand200),St.extend("--ft-chip-large-horizontal-padding","",Ct.spacing4),St.extend("--ft-chip-large-vertical-padding","",Ct.spacing2),St.extend("--ft-chip-large-gap","",Ct.spacing1),St.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),St.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),St.extend("--ft-chip-large-border-radius","",Ct.borderRadiusPill),St.create("--ft-chip-large-border-width","","SIZE","1px"),St.extend("--ft-chip-large-icon-size","",Ct.iconSize3),St.extend("--ft-chip-medium-horizontal-padding","",Ct.spacing3),St.extend("--ft-chip-medium-vertical-padding","",Ct.spacing1),St.extend("--ft-chip-medium-gap","",Ct.spacing1),St.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),St.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),St.extend("--ft-chip-medium-border-radius","",Ct.borderRadiusPill),St.create("--ft-chip-medium-border-width","","SIZE","1px"),St.extend("--ft-chip-medium-icon-size","",Ct.iconSize2),St.extend("--ft-chip-small-horizontal-padding","",Ct.spacing2),St.extend("--ft-chip-small-vertical-padding","",Ct.spacing05),St.extend("--ft-chip-small-gap","",Ct.spacing1),St.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),St.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),St.extend("--ft-chip-small-border-radius","",Ct.borderRadiusPill),St.create("--ft-chip-small-border-width","","SIZE","1px"),St.extend("--ft-chip-small-icon-size","",Ct.iconSize1),St.extend("--ft-chip-neutral-background-color","",Rt.backgroundGlobalOnSurface),St.extend("--ft-chip-neutral-color","",Rt.contentGlobalPrimary),St.extend("--ft-chip-neutral-border-color","",Rt.borderGlobalSubtle),St.extend("--ft-chip-info-background-color","",Rt.backgroundInfoSubtle),St.extend("--ft-chip-info-color","",Rt.contentInfoPrimary),St.extend("--ft-chip-info-border-color","",Rt.borderInfoPrimary),St.extend("--ft-chip-success-background-color","",Rt.backgroundSuccessSubtle),St.extend("--ft-chip-success-color","",Rt.contentSuccessPrimary),St.extend("--ft-chip-success-border-color","",Rt.borderSuccessPrimary),St.extend("--ft-chip-warning-background-color","",Rt.backgroundWarningSubtle),St.extend("--ft-chip-warning-color","",Rt.contentWarningPrimary),St.extend("--ft-chip-warning-border-color","",Rt.borderWarningPrimary),St.extend("--ft-chip-error-background-color","",Rt.backgroundErrorSubtle),St.extend("--ft-chip-error-color","",Rt.contentErrorPrimary),St.extend("--ft-chip-error-border-color","",Rt.borderErrorPrimary),St.create("--ft-notice-border-width","","SIZE","1px"),St.extend("--ft-notice-horizontal-padding","",Ct.spacing2),St.extend("--ft-notice-vertical-padding","",Ct.spacing1),St.extend("--ft-notice-border-radius","",Ct.borderRadiusS),St.extend("--ft-notice-gap","",Ct.spacing2),St.extend("--ft-notice-icon-size","",Ct.iconSize3),St.extend("--ft-notice-info-background-color","",Rt.backgroundInfoSubtle),St.extend("--ft-notice-info-border-color","",Rt.borderInfoPrimary),St.extend("--ft-notice-info-color","",Rt.contentInfoPrimary),St.extend("--ft-notice-warning-background-color","",Rt.backgroundWarningSubtle),St.extend("--ft-notice-warning-border-color","",Rt.borderWarningPrimary),St.extend("--ft-notice-warning-color","",Rt.contentWarningPrimary),St.extend("--ft-checkbox-label-color","",Rt.contentGlobalPrimary),St.extend("--ft-checkbox-checked-background-color","",Rt.contentActionPrimary),St.extend("--ft-checkbox-checked-state-layer-color","",Rt.contentActionPrimary),St.extend("--ft-checkbox-checked-color","",Rt.contentGlobalOnColor),St.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Ct.opacity16),St.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Ct.opacity16),St.extend("--ft-checkbox-checked-state-layer-opacity-active","",Ct.opacity24),St.extend("--ft-checkbox-checked-component-opacity-disabled","",Ct.opacity40),St.extend("--ft-checkbox-unchecked-border-color","",Ct.colorGray80),St.extend("--ft-checkbox-unchecked-state-layer-color","",Ct.colorGray80),St.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Ct.opacity16),St.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Ct.opacity16),St.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Ct.opacity24),St.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Ct.opacity40),St.extend("--ft-checkbox-focus-focus-ring-color","",Rt.borderActionFocusRing),St.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),St.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),St.extend("--ft-checkbox-gap","",Ct.spacing3),St.extend("--ft-toggle-off-state-layer-opacity-hover","",Ct.opacity16),St.extend("--ft-toggle-off-state-layer-opacity-focus","",Ct.opacity16),St.extend("--ft-toggle-off-state-layer-opacity-active","",Ct.opacity24),St.extend("--ft-toggle-off-component-opacity-disabled","",Ct.opacity40),St.extend("--ft-toggle-off-background-color","",Rt.contentGlobalSubtle),St.extend("--ft-toggle-off-icon-color","",Rt.contentGlobalSubtle),St.extend("--ft-toggle-off-state-layer-color","",Rt.contentGlobalSubtle),St.extend("--ft-toggle-on-state-layer-opacity-hover","",Ct.opacity16),St.extend("--ft-toggle-on-state-layer-opacity-focus","",Ct.opacity16),St.extend("--ft-toggle-on-state-layer-opacity-active","",Ct.opacity24),St.extend("--ft-toggle-on-component-opacity-disabled","",Ct.opacity40),St.extend("--ft-toggle-on-background-color","",Rt.contentActionPrimary),St.extend("--ft-toggle-on-icon-color","",Rt.contentActionPrimary),St.extend("--ft-toggle-on-state-layer-color","",Rt.contentActionPrimary),St.extend("--ft-toggle-label-color","",Rt.contentGlobalPrimary),St.extend("--ft-toggle-focus-focus-ring-color","",Rt.borderActionFocusRing),St.extend("--ft-toggle-gap","",Ct.spacing3),St.extend("--ft-radio-label-color","",Rt.contentGlobalPrimary),St.extend("--ft-radio-selected-color","",Rt.contentActionPrimary),St.extend("--ft-radio-selected-state-layer-color","",Rt.contentActionPrimary),St.extend("--ft-radio-selected-state-layer-opacity-hover","",Ct.opacity16),St.extend("--ft-radio-selected-state-layer-opacity-focus","",Ct.opacity16),St.extend("--ft-radio-selected-state-layer-opacity-active","",Ct.opacity24),St.extend("--ft-radio-selected-component-opacity-disabled","",Ct.opacity40),St.extend("--ft-radio-unselected-state-layer-color","",Ct.colorGray80),St.extend("--ft-radio-unselected-state-layer-opacity-hover","",Ct.opacity16),St.extend("--ft-radio-unselected-state-layer-opacity-focus","",Ct.opacity16),St.extend("--ft-radio-unselected-state-layer-opacity-active","",Ct.opacity24),St.extend("--ft-radio-unselected-component-opacity-disabled","",Ct.opacity40),St.extend("--ft-radio-focus-focus-ring-color","",Rt.borderActionFocusRing),St.create("--ft-radio-focus-outline-offset","","SIZE","3px"),St.create("--ft-radio-focus-outline-width","","SIZE","2px"),St.extend("--ft-radio-gap","",Ct.spacing3),St.extend("--ft-notification-icon-size","",Ct.iconSize4),St.extend("--ft-notification-horizontal-padding","",Ct.spacing4),St.extend("--ft-notification-vertical-padding","",Ct.spacing4),St.extend("--ft-notification-info-background-color","",Rt.backgroundInfoSubtle),St.extend("--ft-notification-info-color","",Rt.contentInfoPrimary),St.extend("--ft-notification-info-border-color","",Rt.borderInfoPrimary),St.extend("--ft-notification-success-background-color","",Rt.backgroundSuccessSubtle),St.extend("--ft-notification-success-color","",Rt.contentSuccessPrimary),St.extend("--ft-notification-success-border-color","",Rt.borderSuccessPrimary),St.extend("--ft-notification-warning-background-color","",Rt.backgroundWarningSubtle),St.extend("--ft-notification-warning-color","",Rt.contentWarningPrimary),St.extend("--ft-notification-warning-border-color","",Rt.borderWarningPrimary),St.extend("--ft-notification-error-background-color","",Rt.backgroundErrorSubtle),St.extend("--ft-notification-error-color","",Rt.contentErrorPrimary),St.extend("--ft-notification-error-border-color","",Rt.borderErrorPrimary),St.extend("--ft-notification-border-radius","",Ct.borderRadiusPill),St.create("--ft-notification-border-width","","SIZE","1px"),St.extend("--ft-notification-gap-leading","",Ct.spacing2),St.extend("--ft-notification-gap-trailing","",Ct.spacing8);const Ut={colorPrimary:St.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:St.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:St.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:St.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:St.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:St.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:St.create("--ft-color-error","","COLOR","#B00020"),colorOutline:St.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:St.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:St.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:St.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:St.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:St.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:St.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:St.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:St.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:St.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:St.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:St.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:St.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:St.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:St.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:St.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:St.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:St.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:St.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:St.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:St.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:St.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:St.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:St.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:St.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:St.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:St.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:St.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:St.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:St.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:St.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:St.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:St.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:St.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:St.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:St.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:St.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:St.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:St.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:St.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:St.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:St.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:St.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:St.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:St.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:St.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:St.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:St.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:St.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:St.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:St.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:St.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:St.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:St.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:St.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};class It extends xt{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return w(e,t.elementStyles),e}}var kt,Lt=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const Wt=Symbol("constructorPrototype"),At=Symbol("constructorName"),jt=Symbol("exportpartsDebouncer");class Ft extends It{constructor(){super(),this[kt]=new i(5),this[At]=this.constructor.name,this[Wt]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[At]&&Object.setPrototypeOf(this,this[Wt])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var o,e;if((null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==e?e:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[jt].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,e,r,i,n,a;const s=t=>null!=t&&t.trim().length>0,l=t.filter(s).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],e=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...o,...e).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const f=[...c.values()].flatMap((t=>l.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}kt=jt,Lt([a()],Ft.prototype,"exportpartsPrefix",void 0),Lt([h([])],Ft.prototype,"exportpartsPrefixes",void 0),Lt([a()],Ft.prototype,"customStylesheet",void 0);const Kt=O`
|
|
70
70
|
.ft-no-text-select {
|
|
71
71
|
-webkit-touch-callout: none;
|
|
72
72
|
-webkit-user-select: none;
|
|
@@ -75,7 +75,7 @@ var mt,vt;let xt=class extends L{constructor(){super(...arguments),this.renderOp
|
|
|
75
75
|
-ms-user-select: none;
|
|
76
76
|
user-select: none;
|
|
77
77
|
}
|
|
78
|
-
`,
|
|
78
|
+
`,Dt=O`
|
|
79
79
|
.ft-word-wrap {
|
|
80
80
|
white-space: normal;
|
|
81
81
|
word-wrap: break-word;
|
|
@@ -87,7 +87,7 @@ var mt,vt;let xt=class extends L{constructor(){super(...arguments),this.renderOp
|
|
|
87
87
|
-webkit-hyphens: auto;
|
|
88
88
|
hyphens: auto
|
|
89
89
|
}
|
|
90
|
-
`,
|
|
90
|
+
`,Bt=O`
|
|
91
91
|
.ft-safari-ellipsis-fix {
|
|
92
92
|
margin-right: 0;
|
|
93
93
|
|
|
@@ -98,7 +98,7 @@ var mt,vt;let xt=class extends L{constructor(){super(...arguments),this.renderOp
|
|
|
98
98
|
display: inline-block;
|
|
99
99
|
width: 0;
|
|
100
100
|
}
|
|
101
|
-
`;class Mt{constructor(t,o){this.defaultLabels=t,this.labels=o}resolve(t,...o){var e,r;t=this.resolvePluralKey(t,o);let i=null!==(r=null!==(e=this.labels[t])&&void 0!==e?e:this.defaultLabels[t])&&void 0!==r?r:"";return o.forEach(((t,o)=>i=i.replace(new RegExp(`\\{${o}([^}]*)\\}`,"g"),((o,e)=>this.formatValue(t,e))))),i}resolvePluralKey(t,o){for(let e of o)if("number"==typeof e){const o=`${String(t)}[\\=${e}]`;if(o in this.labels||o in this.defaultLabels)return o}return t}formatValue(t,o){return t instanceof Date?this.formatDate(t,o):null!=t?t:""}formatDate(t,o){const e=e=>(null==o?void 0:o.includes("date"))?t.toLocaleDateString(e):(null==o?void 0:o.includes("time"))?t.toLocaleTimeString(e):t.toLocaleString(e);try{return e(document.documentElement.lang)}catch(t){return e()}}}function Bt(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var Dt,Pt,Ht;const Tt=Symbol("internalReduxEventsUnsubscribers"),_t=Symbol("internalStoresUnsubscribers"),Gt=Symbol("internalStores");class qt extends Ft{constructor(){super(...arguments),this[Dt]=new Map,this[Pt]=new Map,this[Ht]=[]}update(t){var o;super.update(t),(null===(o=this.reduxReactiveProperties)||void 0===o?void 0:o.some((o=>t.has(o))))&&this.updateFromStores()}getUnnamedStore(){if(this[Gt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Gt].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Gt].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:Bt(t)?t.name:void 0)&&void 0!==e?e:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){const o="string"==typeof t?t:t.name;this.unsubscribeFromStore(o),this[Gt].delete(o)}setupStore(t,o){this[Gt].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Gt].forEach(((t,o)=>this.subscribeToStore(o,t))),this.updateFromStores()}updateFromStores(){this.reduxProperties&&this.reduxProperties.forEach(((t,o)=>{const e=this.constructor.getPropertyOptions(o);if(!(null==e?void 0:e.attribute)||!this.hasAttribute("string"==typeof(null==e?void 0:e.attribute)?e.attribute:o)){const e=this.getStore(t.store);e&&(t.store?this[_t].has(t.store):this[_t].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[_t].set(t,o.subscribe((()=>this.updateFromStores()))),Bt(o)&&o.eventBus&&(null===(e=this.reduxEventListeners)||void 0===e||e.forEach(((t,e)=>{if("function"==typeof this[e]&&(!t.store||o.name===t.store)){const r=t=>this[e](t);o.eventBus.addEventListener(t.eventName,r),this[Tt].push((()=>o.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[_t].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[Tt].forEach((t=>t())),this[Tt]=[]}unsubscribeFromStore(t){this[_t].has(t)&&this[_t].get(t)(),this[_t].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function Vt(t){for(var o=arguments.length,e=Array(o>1?o-1:0),r=1;r<o;r++)e[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(e.length?" "+e.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Yt(t){return!!t&&!!t[zo]}function Jt(t){var o;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;var e=Object.hasOwnProperty.call(o,"constructor")&&o.constructor;return e===Object||"function"==typeof e&&Function.toString.call(e)===Zo}(t)||Array.isArray(t)||!!t[Fo]||!!(null===(o=t.constructor)||void 0===o?void 0:o[Fo])||ro(t)||io(t))}function Xt(t,o,e){void 0===e&&(e=!1),0===Qt(t)?(e?Object.keys:Ao)(t).forEach((function(r){e&&"symbol"==typeof r||o(r,t[r],t)})):t.forEach((function(e,r){return o(r,e,t)}))}function Qt(t){var o=t[zo];return o?o.i>3?o.i-4:o.i:Array.isArray(t)?1:ro(t)?2:io(t)?3:0}function to(t,o){return 2===Qt(t)?t.has(o):Object.prototype.hasOwnProperty.call(t,o)}function oo(t,o,e){var r=Qt(t);2===r?t.set(o,e):3===r?t.add(e):t[o]=e}function eo(t,o){return t===o?0!==t||1/t==1/o:t!=t&&o!=o}function ro(t){return Lo&&t instanceof Map}function io(t){return Wo&&t instanceof Set}function no(t){return t.o||t.t}function ao(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var o=Mo(t);delete o[zo];for(var e=Ao(o),r=0;r<e.length;r++){var i=e[r],n=o[i];!1===n.writable&&(n.writable=!0,n.configurable=!0),(n.get||n.set)&&(o[i]={configurable:!0,writable:!0,enumerable:n.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),o)}function so(t,o){return void 0===o&&(o=!1),co(t)||Yt(t)||!Jt(t)||(Qt(t)>1&&(t.set=t.add=t.clear=t.delete=lo),Object.freeze(t),o&&Xt(t,(function(t,o){return so(o,!0)}),!0)),t}function lo(){Vt(2)}function co(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function fo(t){var o=Bo[t];return o||Vt(18,t),o}function po(){return Uo}function uo(t,o){o&&(fo("Patches"),t.u=[],t.s=[],t.v=o)}function ho(t){yo(t),t.p.forEach(bo),t.p=null}function yo(t){t===Uo&&(Uo=t.l)}function go(t){return Uo={p:[],l:Uo,h:t,m:!0,_:0}}function bo(t){var o=t[zo];0===o.i||1===o.i?o.j():o.g=!0}function mo(t,o){o._=o.p.length;var e=o.p[0],r=void 0!==t&&t!==e;return o.h.O||fo("ES5").S(o,t,r),r?(e[zo].P&&(ho(o),Vt(4)),Jt(t)&&(t=vo(o,t),o.l||Oo(o,t)),o.u&&fo("Patches").M(e[zo].t,t,o.u,o.s)):t=vo(o,e,[]),ho(o),o.u&&o.v(o.u,o.s),t!==Ko?t:void 0}function vo(t,o,e){if(co(o))return o;var r=o[zo];if(!r)return Xt(o,(function(i,n){return xo(t,r,o,i,n,e)}),!0),o;if(r.A!==t)return o;if(!r.P)return Oo(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=ao(r.k):r.o,n=i,a=!1;3===r.i&&(n=new Set(i),i.clear(),a=!0),Xt(n,(function(o,n){return xo(t,r,i,o,n,e,a)})),Oo(t,i,!1),e&&t.u&&fo("Patches").N(r,e,t.u,t.s)}return r.o}function xo(t,o,e,r,i,n,a){if(Yt(i)){var s=vo(t,i,n&&o&&3!==o.i&&!to(o.R,r)?n.concat(r):void 0);if(oo(e,r,s),!Yt(s))return;t.m=!1}else a&&e.add(i);if(Jt(i)&&!co(i)){if(!t.h.D&&t._<1)return;vo(t,i),o&&o.A.l||Oo(t,i)}}function Oo(t,o,e){void 0===e&&(e=!1),!t.l&&t.h.D&&t.m&&so(o,e)}function wo(t,o){var e=t[zo];return(e?no(e):t)[o]}function So(t,o){if(o in t)for(var e=Object.getPrototypeOf(t);e;){var r=Object.getOwnPropertyDescriptor(e,o);if(r)return r;e=Object.getPrototypeOf(e)}}function No(t){t.P||(t.P=!0,t.l&&No(t.l))}function Co(t){t.o||(t.o=ao(t.t))}function Eo(t,o,e){var r=ro(o)?fo("MapSet").F(o,e):io(o)?fo("MapSet").T(o,e):t.O?function(t,o){var e=Array.isArray(t),r={i:e?1:0,A:o?o.A:po(),P:!1,I:!1,R:{},l:o,t,k:null,o:null,j:null,C:!1},i=r,n=Do;e&&(i=[r],n=Po);var a=Proxy.revocable(i,n),s=a.revoke,l=a.proxy;return r.k=l,r.j=s,l}(o,e):fo("ES5").J(o,e);return(e?e.A:po()).p.push(r),r}function $o(t){return Yt(t)||Vt(22,t),function t(o){if(!Jt(o))return o;var e,r=o[zo],i=Qt(o);if(r){if(!r.P&&(r.i<4||!fo("ES5").K(r)))return r.t;r.I=!0,e=Ro(o,i),r.I=!1}else e=Ro(o,i);return Xt(e,(function(o,i){r&&function(t,o){return 2===Qt(t)?t.get(o):t[o]}(r.t,o)===i||oo(e,o,t(i))})),3===i?new Set(e):e}(t)}function Ro(t,o){switch(o){case 2:return new Map(t);case 3:return Array.from(t)}return ao(t)}Dt=_t,Pt=Gt,Ht=Tt;var ko,Uo,Io="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Lo="undefined"!=typeof Map,Wo="undefined"!=typeof Set,jo="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Ko=Io?Symbol.for("immer-nothing"):((ko={})["immer-nothing"]=!0,ko),Fo=Io?Symbol.for("immer-draftable"):"__$immer_draftable",zo=Io?Symbol.for("immer-state"):"__$immer_state",Zo=""+Object.prototype.constructor,Ao="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Mo=Object.getOwnPropertyDescriptors||function(t){var o={};return Ao(t).forEach((function(e){o[e]=Object.getOwnPropertyDescriptor(t,e)})),o},Bo={},Do={get:function(t,o){if(o===zo)return t;var e=no(t);if(!to(e,o))return function(t,o,e){var r,i=So(o,e);return i?"value"in i?i.value:null===(r=i.get)||void 0===r?void 0:r.call(t.k):void 0}(t,e,o);var r=e[o];return t.I||!Jt(r)?r:r===wo(t.t,o)?(Co(t),t.o[o]=Eo(t.A.h,r,t)):r},has:function(t,o){return o in no(t)},ownKeys:function(t){return Reflect.ownKeys(no(t))},set:function(t,o,e){var r=So(no(t),o);if(null==r?void 0:r.set)return r.set.call(t.k,e),!0;if(!t.P){var i=wo(no(t),o),n=null==i?void 0:i[zo];if(n&&n.t===e)return t.o[o]=e,t.R[o]=!1,!0;if(eo(e,i)&&(void 0!==e||to(t.t,o)))return!0;Co(t),No(t)}return t.o[o]===e&&(void 0!==e||o in t.o)||Number.isNaN(e)&&Number.isNaN(t.o[o])||(t.o[o]=e,t.R[o]=!0),!0},deleteProperty:function(t,o){return void 0!==wo(t.t,o)||o in t.t?(t.R[o]=!1,Co(t),No(t)):delete t.R[o],t.o&&delete t.o[o],!0},getOwnPropertyDescriptor:function(t,o){var e=no(t),r=Reflect.getOwnPropertyDescriptor(e,o);return r?{writable:!0,configurable:1!==t.i||"length"!==o,enumerable:r.enumerable,value:e[o]}:r},defineProperty:function(){Vt(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Vt(12)}},Po={};Xt(Do,(function(t,o){Po[t]=function(){return arguments[0]=arguments[0][0],o.apply(this,arguments)}})),Po.deleteProperty=function(t,o){return Po.set.call(this,t,o,void 0)},Po.set=function(t,o,e){return Do.set.call(this,t[0],o,e,t[0])};var Ho=function(){function t(t){var o=this;this.O=jo,this.D=!0,this.produce=function(t,e,r){if("function"==typeof t&&"function"!=typeof e){var i=e;e=t;var n=o;return function(t){var o=this;void 0===t&&(t=i);for(var r=arguments.length,a=Array(r>1?r-1:0),s=1;s<r;s++)a[s-1]=arguments[s];return n.produce(t,(function(t){var r;return(r=e).call.apply(r,[o,t].concat(a))}))}}var a;if("function"!=typeof e&&Vt(6),void 0!==r&&"function"!=typeof r&&Vt(7),Jt(t)){var s=go(o),l=Eo(o,t,void 0),c=!0;try{a=e(l),c=!1}finally{c?ho(s):yo(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return uo(s,r),mo(t,s)}),(function(t){throw ho(s),t})):(uo(s,r),mo(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=e(t))&&(a=t),a===Ko&&(a=void 0),o.D&&so(a,!0),r){var f=[],p=[];fo("Patches").M(t,a,f,p),r(f,p)}return a}Vt(21,t)},this.produceWithPatches=function(t,e){if("function"==typeof t)return function(e){for(var r=arguments.length,i=Array(r>1?r-1:0),n=1;n<r;n++)i[n-1]=arguments[n];return o.produceWithPatches(e,(function(o){return t.apply(void 0,[o].concat(i))}))};var r,i,n=o.produce(t,e,(function(t,o){r=t,i=o}));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 o=t.prototype;return o.createDraft=function(t){Jt(t)||Vt(8),Yt(t)&&(t=$o(t));var o=go(this),e=Eo(this,t,void 0);return e[zo].C=!0,yo(o),e},o.finishDraft=function(t,o){var e=(t&&t[zo]).A;return uo(e,o),mo(void 0,e)},o.setAutoFreeze=function(t){this.D=t},o.setUseProxies=function(t){t&&!jo&&Vt(20),this.O=t},o.applyPatches=function(t,o){var e;for(e=o.length-1;e>=0;e--){var r=o[e];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}e>-1&&(o=o.slice(e+1));var i=fo("Patches").$;return Yt(t)?i(t,o):this.produce(t,(function(t){return i(t,o)}))},t}(),To=new Ho,_o=To.produce;function Go(t){return Go="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},Go(t)}function qo(t){var o=function(t,o){if("object"!==Go(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,o||"default");if("object"!==Go(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(t,"string");return"symbol"===Go(o)?o:String(o)}function Vo(t,o,e){return(o=qo(o))in t?Object.defineProperty(t,o,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[o]=e,t}function Yo(t,o){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);o&&(r=r.filter((function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable}))),e.push.apply(e,r)}return e}function Jo(t){for(var o=1;o<arguments.length;o++){var e=null!=arguments[o]?arguments[o]:{};o%2?Yo(Object(e),!0).forEach((function(o){Vo(t,o,e[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Yo(Object(e)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(e,o))}))}return t}function Xo(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. "}To.produceWithPatches.bind(To),To.setAutoFreeze.bind(To),To.setUseProxies.bind(To),To.applyPatches.bind(To),To.createDraft.bind(To),To.finishDraft.bind(To);var Qo="function"==typeof Symbol&&Symbol.observable||"@@observable",te=function(){return Math.random().toString(36).substring(7).split("").join(".")},oe={INIT:"@@redux/INIT"+te(),REPLACE:"@@redux/REPLACE"+te(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+te()}};function ee(t,o,e){var r;if("function"==typeof o&&"function"==typeof e||"function"==typeof e&&"function"==typeof arguments[3])throw new Error(Xo(0));if("function"==typeof o&&void 0===e&&(e=o,o=void 0),void 0!==e){if("function"!=typeof e)throw new Error(Xo(1));return e(ee)(t,o)}if("function"!=typeof t)throw new Error(Xo(2));var i=t,n=o,a=[],s=a,l=!1;function c(){s===a&&(s=a.slice())}function f(){if(l)throw new Error(Xo(3));return n}function p(t){if("function"!=typeof t)throw new Error(Xo(4));if(l)throw new Error(Xo(5));var o=!0;return c(),s.push(t),function(){if(o){if(l)throw new Error(Xo(6));o=!1,c();var e=s.indexOf(t);s.splice(e,1),a=null}}}function u(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var o=t;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return Object.getPrototypeOf(t)===o}(t))throw new Error(Xo(7));if(void 0===t.type)throw new Error(Xo(8));if(l)throw new Error(Xo(9));try{l=!0,n=i(n,t)}finally{l=!1}for(var o=a=s,e=0;e<o.length;e++){(0,o[e])()}return t}return u({type:oe.INIT}),(r={dispatch:u,subscribe:p,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(Xo(10));i=t,u({type:oe.REPLACE})}})[Qo]=function(){var t,o=p;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(Xo(11));function e(){t.next&&t.next(f())}return e(),{unsubscribe:o(e)}}})[Qo]=function(){return this},t},r}function re(t){for(var o=Object.keys(t),e={},r=0;r<o.length;r++){var i=o[r];"function"==typeof t[i]&&(e[i]=t[i])}var n,a=Object.keys(e);try{!function(t){Object.keys(t).forEach((function(o){var e=t[o];if(void 0===e(void 0,{type:oe.INIT}))throw new Error(Xo(12));if(void 0===e(void 0,{type:oe.PROBE_UNKNOWN_ACTION()}))throw new Error(Xo(13))}))}(e)}catch(t){n=t}return function(t,o){if(void 0===t&&(t={}),n)throw n;for(var r=!1,i={},s=0;s<a.length;s++){var l=a[s],c=e[l],f=t[l],p=c(f,o);if(void 0===p)throw o&&o.type,new Error(Xo(14));i[l]=p,r=r||p!==f}return(r=r||a.length!==Object.keys(t).length)?i:t}}function ie(){for(var t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return 0===o.length?function(t){return t}:1===o.length?o[0]:o.reduce((function(t,o){return function(){return t(o.apply(void 0,arguments))}}))}function ne(){for(var t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return function(t){return function(){var e=t.apply(void 0,arguments),r=function(){throw new Error(Xo(15))},i={getState:e.getState,dispatch:function(){return r.apply(void 0,arguments)}},n=o.map((function(t){return t(i)}));return r=ie.apply(void 0,n)(e.dispatch),Jo(Jo({},e),{},{dispatch:r})}}}function ae(t){return function(o){var e=o.dispatch,r=o.getState;return function(o){return function(i){return"function"==typeof i?i(e,r,t):o(i)}}}}var se=ae();se.withExtraArgument=ae;var le,ce=se,fe=(le=function(t,o){return le=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var e in o)Object.prototype.hasOwnProperty.call(o,e)&&(t[e]=o[e])},le(t,o)},function(t,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function e(){this.constructor=t}le(t,o),t.prototype=null===o?Object.create(o):(e.prototype=o.prototype,new e)}),pe=function(t,o){var e,r,i,n,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return n={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function s(n){return function(s){return function(n){if(e)throw new TypeError("Generator is already executing.");for(;a;)try{if(e=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=o.call(t,a)}catch(t){n=[6,t],r=0}finally{e=i=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,s])}}},ue=function(t,o){for(var e=0,r=o.length,i=t.length;e<r;e++,i++)t[i]=o[e];return t},de=Object.defineProperty,he=Object.defineProperties,ye=Object.getOwnPropertyDescriptors,ge=Object.getOwnPropertySymbols,be=Object.prototype.hasOwnProperty,me=Object.prototype.propertyIsEnumerable,ve=function(t,o,e){return o in t?de(t,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[o]=e},xe=function(t,o){for(var e in o||(o={}))be.call(o,e)&&ve(t,e,o[e]);if(ge)for(var r=0,i=ge(o);r<i.length;r++){e=i[r];me.call(o,e)&&ve(t,e,o[e])}return t},Oe=function(t,o){return he(t,ye(o))},we="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?ie:ie.apply(null,arguments)};var Se=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var i=t.apply(this,e)||this;return Object.setPrototypeOf(i,o.prototype),i}return fe(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],e=0;e<arguments.length;e++)o[e]=arguments[e];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,ue([void 0],t[0].concat(this)))):new(o.bind.apply(o,ue([void 0],t.concat(this))))},o}(Array),Ne=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var i=t.apply(this,e)||this;return Object.setPrototypeOf(i,o.prototype),i}return fe(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],e=0;e<arguments.length;e++)o[e]=arguments[e];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,ue([void 0],t[0].concat(this)))):new(o.bind.apply(o,ue([void 0],t.concat(this))))},o}(Array);function Ce(t){return Jt(t)?_o(t,(function(){})):t}function Ee(){return function(t){return function(t){void 0===t&&(t={});var o=t.thunk,e=void 0===o||o;t.immutableCheck,t.serializableCheck;var r=new Se;e&&(!function(t){return"boolean"==typeof t}(e)?r.push(ce.withExtraArgument(e.extraArgument)):r.push(ce));return r}(t)}}function $e(t){var o,e=Ee(),r=t||{},i=r.reducer,n=void 0===i?void 0:i,a=r.middleware,s=void 0===a?e():a,l=r.devTools,c=void 0===l||l,f=r.preloadedState,p=void 0===f?void 0:f,u=r.enhancers,d=void 0===u?void 0:u;if("function"==typeof n)o=n;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;for(var e=o;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return o===e}(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');o=re(n)}var h=s;"function"==typeof h&&(h=h(e));var y=ne.apply(void 0,h),g=ie;c&&(g=we(xe({trace:!1},"object"==typeof c&&c)));var b=new Ne(y),m=b;return Array.isArray(d)?m=ue([y],d):"function"==typeof d&&(m=d(b)),ee(o,p,g.apply(void 0,m))}function Re(t,o){function e(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];if(o){var i=o.apply(void 0,e);if(!i)throw new Error("prepareAction did not return an object");return xe(xe({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:e[0]}}return e.toString=function(){return""+t},e.type=t,e.match=function(o){return o.type===t},e}function ke(t){var o,e={},r=[],i={addCase:function(t,o){var r="string"==typeof t?t:t.type;if(r in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[r]=o,i},addMatcher:function(t,o){return r.push({matcher:t,reducer:o}),i},addDefaultCase:function(t){return o=t,i}};return t(i),[e,r,o]}function Ue(t){var o=t.name;if(!o)throw new Error("`name` is a required option for createSlice");var e,r="function"==typeof t.initialState?t.initialState:Ce(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},s={},l={};function c(){var o="function"==typeof t.extraReducers?ke(t.extraReducers):[t.extraReducers],e=o[0],i=void 0===e?{}:e,n=o[1],a=void 0===n?[]:n,l=o[2],c=void 0===l?void 0:l,f=xe(xe({},i),s);return function(t,o,e,r){void 0===e&&(e=[]);var i,n="function"==typeof o?ke(o):[o,e,r],a=n[0],s=n[1],l=n[2];if(function(t){return"function"==typeof t}(t))i=function(){return Ce(t())};else{var c=Ce(t);i=function(){return c}}function f(t,o){void 0===t&&(t=i());var e=ue([a[o.type]],s.filter((function(t){return(0,t.matcher)(o)})).map((function(t){return t.reducer})));return 0===e.filter((function(t){return!!t})).length&&(e=[l]),e.reduce((function(t,e){if(e){var r;if(Yt(t))return void 0===(r=e(t,o))?t:r;if(Jt(t))return _o(t,(function(t){return e(t,o)}));if(void 0===(r=e(t,o))){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 o in f)t.addCase(o,f[o]);for(var e=0,r=a;e<r.length;e++){var i=r[e];t.addMatcher(i.matcher,i.reducer)}c&&t.addDefaultCase(c)}))}return n.forEach((function(t){var e,r,n=i[t],c=o+"/"+t;"reducer"in n?(e=n.reducer,r=n.prepare):e=n,a[t]=e,s[c]=e,l[t]=r?Re(c,r):Re(c)})),{name:o,reducer:function(t,o){return e||(e=c()),e(t,o)},actions:l,caseReducers:a,getInitialState:function(){return e||(e=c()),e.getInitialState()}}}var Ie=["name","message","stack","code"],Le=function(t,o){this.payload=t,this.meta=o},We=function(t,o){this.payload=t,this.meta=o},je=function(t){if("object"==typeof t&&null!==t){for(var o={},e=0,r=Ie;e<r.length;e++){var i=r[e];"string"==typeof t[i]&&(o[i]=t[i])}return o}return{message:String(t)}};function Ke(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,o,e){var r=Re(t+"/fulfilled",(function(t,o,e,r){return{payload:t,meta:Oe(xe({},r||{}),{arg:e,requestId:o,requestStatus:"fulfilled"})}})),i=Re(t+"/pending",(function(t,o,e){return{payload:void 0,meta:Oe(xe({},e||{}),{arg:o,requestId:t,requestStatus:"pending"})}})),n=Re(t+"/rejected",(function(t,o,r,i,n){return{payload:i,error:(e&&e.serializeError||je)(t||"Rejected"),meta:Oe(xe({},n||{}),{arg:r,requestId:o,rejectedWithValue:!!i,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),a="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(s,l,c){var f,p=(null==e?void 0:e.idGenerator)?e.idGenerator(t):function(t){void 0===t&&(t=21);for(var o="",e=t;e--;)o+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return o}(),u=new a;function d(t){f=t,u.abort()}var h=function(){return a=this,h=null,y=function(){var a,h,y,g,b,m;return pe(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),g=null==(a=null==e?void 0:e.condition)?void 0:a.call(e,t,{getState:l,extra:c}),null===(x=g)||"object"!=typeof x||"function"!=typeof x.then?[3,2]:[4,g];case 1:g=v.sent(),v.label=2;case 2:if(!1===g||u.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,o){return u.signal.addEventListener("abort",(function(){return o({name:"AbortError",message:f||"Aborted"})}))})),s(i(p,t,null==(h=null==e?void 0:e.getPendingMeta)?void 0:h.call(e,{requestId:p,arg:t},{getState:l,extra:c}))),[4,Promise.race([b,Promise.resolve(o(t,{dispatch:s,getState:l,extra:c,requestId:p,signal:u.signal,abort:d,rejectWithValue:function(t,o){return new Le(t,o)},fulfillWithValue:function(t,o){return new We(t,o)}})).then((function(o){if(o instanceof Le)throw o;return o instanceof We?r(o.payload,p,t,o.meta):r(o,p,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof Le?n(null,p,t,m.payload,m.meta):n(m,p,t),[3,5];case 5:return e&&!e.dispatchConditionRejection&&n.match(y)&&y.meta.condition||s(y),[2,y]}var x}))},new Promise((function(t,o){var e=function(t){try{i(y.next(t))}catch(t){o(t)}},r=function(t){try{i(y.throw(t))}catch(t){o(t)}},i=function(o){return o.done?t(o.value):Promise.resolve(o.value).then(e,r)};i((y=y.apply(a,h)).next())}));var a,h,y}();return Object.assign(h,{abort:d,requestId:p,arg:t,unwrap:function(){return h.then(Ke)}})}}),{pending:i,rejected:n,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var Fe="listenerMiddleware";Re(Fe+"/add"),Re(Fe+"/removeAll"),Re(Fe+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,o){var e=i[t];return e?e.enumerable=o:i[t]=e={configurable:!0,enumerable:o,get:function(){var o=this[zo];return Do.get(o,t)},set:function(o){var e=this[zo];Do.set(e,t,o)}},e}function o(t){for(var o=t.length-1;o>=0;o--){var i=t[o][zo];if(!i.P)switch(i.i){case 5:r(i)&&No(i);break;case 4:e(i)&&No(i)}}}function e(t){for(var o=t.t,e=t.k,r=Ao(e),i=r.length-1;i>=0;i--){var n=r[i];if(n!==zo){var a=o[n];if(void 0===a&&!to(o,n))return!0;var s=e[n],l=s&&s[zo];if(l?l.t!==a:!eo(s,a))return!0}}var c=!!o[zo];return r.length!==Ao(o).length+(c?0:1)}function r(t){var o=t.k;if(o.length!==t.t.length)return!0;var e=Object.getOwnPropertyDescriptor(o,o.length-1);if(e&&!e.get)return!0;for(var r=0;r<o.length;r++)if(!o.hasOwnProperty(r))return!0;return!1}var i={};!function(t,o){Bo[t]||(Bo[t]=o)}("ES5",{J:function(o,e){var r=Array.isArray(o),i=function(o,e){if(o){for(var r=Array(e.length),i=0;i<e.length;i++)Object.defineProperty(r,""+i,t(i,!0));return r}var n=Mo(e);delete n[zo];for(var a=Ao(n),s=0;s<a.length;s++){var l=a[s];n[l]=t(l,o||!!n[l].enumerable)}return Object.create(Object.getPrototypeOf(e),n)}(r,o),n={i:r?5:4,A:e?e.A:po(),P:!1,I:!1,R:{},l:e,t:o,k:i,o:null,g:!1,C:!1};return Object.defineProperty(i,zo,{value:n,writable:!0}),i},S:function(t,e,i){i?Yt(e)&&e[zo].A===t&&o(t.p):(t.u&&function t(o){if(o&&"object"==typeof o){var e=o[zo];if(e){var i=e.t,n=e.k,a=e.R,s=e.i;if(4===s)Xt(n,(function(o){o!==zo&&(void 0!==i[o]||to(i,o)?a[o]||t(n[o]):(a[o]=!0,No(e)))})),Xt(i,(function(t){void 0!==n[t]||to(n,t)||(a[t]=!1,No(e))}));else if(5===s){if(r(e)&&(No(e),a.length=!0),n.length<i.length)for(var l=n.length;l<i.length;l++)a[l]=!1;else for(var c=i.length;c<n.length;c++)a[c]=!0;for(var f=Math.min(n.length,i.length),p=0;p<f;p++)n.hasOwnProperty(p)||(a[p]=!0),void 0===a[p]&&t(n[p])}}}}(t.p[0]),o(t.p))},K:function(t){return 4===t.i?e(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class ze{static get(t){var o;const e="string"==typeof t?t:t.name,r="string"==typeof t?void 0:t,i=window.ftReduxStores[e];if(Bt(i))return i;if(null==r)return;const n=Ue({...r,reducers:null!==(o=r.reducers)&&void 0!==o?o:{}}),a=$e({reducer:(t,o)=>{var e;switch(o.type){case"CLEAR_FT_REDUX_STORE":return n.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(e=o.overwrites)&&void 0!==e?e:{}};default:return n.reducer(t,o)}}});return window.ftReduxStores[r.name]=new ze(n,a)}constructor(t,o){this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.actions=new Proxy(this.reduxSlice.actions,{get:(t,o,e)=>{const r=o,i=t[r];return i?(...t)=>{const o=i(...t);return this.reduxStore.dispatch(o),o}:t=>{this.setState({[r]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_STATE_FIELDS_VALUES_SETTER",overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}const Ze=t=>{const o=null!=t?t:{};return(t,e)=>{var r;const i={hasChanged:(t,o)=>!u(t,o),attribute:!1,...o};a(i)(t,e);const n=t;n.reduxProperties=n.reduxProperties||new Map,n.reduxProperties.set(e,{selector:null!==(r=o.selector)&&void 0!==r?r:t=>t[e],store:o.store})}},Ae=Symbol("elementInternals");var Me,Be,De;const Pe=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(De=null===(Be=null===(Me=window.safari)||void 0===Me?void 0:Me.pushNotification)||void 0===Be?void 0:Be.toString())&&void 0!==De?De:""),He=St.extend("--ft-ripple-color","",kt.colorContent),Te={color:He,backgroundColor:St.extend("--ft-ripple-background-color","",He),opacityContentOnSurfacePressed:St.external(kt.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:St.external(kt.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:St.external(kt.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:St.external(kt.opacityContentOnSurfaceSelected,"Design system"),borderRadius:St.create("--ft-ripple-border-radius","","SIZE","0px")},_e=St.extend("--ft-ripple-color","",kt.colorPrimary),Ge=_e,qe=St.extend("--ft-ripple-background-color","",_e),Ve=St.extend("--ft-ripple-color","",kt.colorSecondary),Ye=Ve,Je=St.extend("--ft-ripple-background-color","",Ve),Xe=O`
|
|
101
|
+
`;class Pt{constructor(t,o){this.defaultLabels=t,this.labels=o}resolve(t,...o){var e,r;t=this.resolvePluralKey(t,o);let i=null!==(r=null!==(e=this.labels[t])&&void 0!==e?e:this.defaultLabels[t])&&void 0!==r?r:"";return o.forEach(((t,o)=>i=i.replace(new RegExp(`\\{${o}([^}]*)\\}`,"g"),((o,e)=>this.formatValue(t,e))))),i}resolvePluralKey(t,o){for(let e of o)if("number"==typeof e){const o=`${String(t)}[\\=${e}]`;if(o in this.labels||o in this.defaultLabels)return o}return t}formatValue(t,o){return t instanceof Date?this.formatDate(t,o):null!=t?t:""}formatDate(t,o){const e=e=>(null==o?void 0:o.includes("date"))?t.toLocaleDateString(e):(null==o?void 0:o.includes("time"))?t.toLocaleTimeString(e):t.toLocaleString(e);try{return e(document.documentElement.lang)}catch(t){return e()}}}function Mt(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var zt,Zt,Tt;const _t=Symbol("internalReduxEventsUnsubscribers"),Ht=Symbol("internalStoresUnsubscribers"),Gt=Symbol("internalStores");class qt extends Ft{constructor(){super(...arguments),this[zt]=new Map,this[Zt]=new Map,this[Tt]=[]}update(t){var o;super.update(t),(null===(o=this.reduxReactiveProperties)||void 0===o?void 0:o.some((o=>t.has(o))))&&this.updateFromStores()}getUnnamedStore(){if(this[Gt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Gt].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Gt].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:Mt(t)?t.name:void 0)&&void 0!==e?e:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){const o="string"==typeof t?t:t.name;this.unsubscribeFromStore(o),this[Gt].delete(o)}setupStore(t,o){this[Gt].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Gt].forEach(((t,o)=>this.subscribeToStore(o,t))),this.updateFromStores()}updateFromStores(){this.reduxProperties&&this.reduxProperties.forEach(((t,o)=>{const e=this.constructor.getPropertyOptions(o);if(!(null==e?void 0:e.attribute)||!this.hasAttribute("string"==typeof(null==e?void 0:e.attribute)?e.attribute:o)){const e=this.getStore(t.store);e&&(t.store?this[Ht].has(t.store):this[Ht].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[Ht].set(t,o.subscribe((()=>this.updateFromStores()))),Mt(o)&&o.eventBus&&(null===(e=this.reduxEventListeners)||void 0===e||e.forEach(((t,e)=>{if("function"==typeof this[e]&&(!t.store||o.name===t.store)){const r=t=>this[e](t);o.eventBus.addEventListener(t.eventName,r),this[_t].push((()=>o.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Ht].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[_t].forEach((t=>t())),this[_t]=[]}unsubscribeFromStore(t){this[Ht].has(t)&&this[Ht].get(t)(),this[Ht].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function Vt(t){for(var o=arguments.length,e=Array(o>1?o-1:0),r=1;r<o;r++)e[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(e.length?" "+e.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Yt(t){return!!t&&!!t[Ko]}function Xt(t){var o;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;var e=Object.hasOwnProperty.call(o,"constructor")&&o.constructor;return e===Object||"function"==typeof e&&Function.toString.call(e)===Do}(t)||Array.isArray(t)||!!t[Fo]||!!(null===(o=t.constructor)||void 0===o?void 0:o[Fo])||ro(t)||io(t))}function Jt(t,o,e){void 0===e&&(e=!1),0===Qt(t)?(e?Object.keys:Bo)(t).forEach((function(r){e&&"symbol"==typeof r||o(r,t[r],t)})):t.forEach((function(e,r){return o(r,e,t)}))}function Qt(t){var o=t[Ko];return o?o.i>3?o.i-4:o.i:Array.isArray(t)?1:ro(t)?2:io(t)?3:0}function to(t,o){return 2===Qt(t)?t.has(o):Object.prototype.hasOwnProperty.call(t,o)}function oo(t,o,e){var r=Qt(t);2===r?t.set(o,e):3===r?t.add(e):t[o]=e}function eo(t,o){return t===o?0!==t||1/t==1/o:t!=t&&o!=o}function ro(t){return Lo&&t instanceof Map}function io(t){return Wo&&t instanceof Set}function no(t){return t.o||t.t}function ao(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var o=Po(t);delete o[Ko];for(var e=Bo(o),r=0;r<e.length;r++){var i=e[r],n=o[i];!1===n.writable&&(n.writable=!0,n.configurable=!0),(n.get||n.set)&&(o[i]={configurable:!0,writable:!0,enumerable:n.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),o)}function so(t,o){return void 0===o&&(o=!1),co(t)||Yt(t)||!Xt(t)||(Qt(t)>1&&(t.set=t.add=t.clear=t.delete=lo),Object.freeze(t),o&&Jt(t,(function(t,o){return so(o,!0)}),!0)),t}function lo(){Vt(2)}function co(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function fo(t){var o=Mo[t];return o||Vt(18,t),o}function po(){return Io}function uo(t,o){o&&(fo("Patches"),t.u=[],t.s=[],t.v=o)}function ho(t){yo(t),t.p.forEach(bo),t.p=null}function yo(t){t===Io&&(Io=t.l)}function go(t){return Io={p:[],l:Io,h:t,m:!0,_:0}}function bo(t){var o=t[Ko];0===o.i||1===o.i?o.j():o.g=!0}function mo(t,o){o._=o.p.length;var e=o.p[0],r=void 0!==t&&t!==e;return o.h.O||fo("ES5").S(o,t,r),r?(e[Ko].P&&(ho(o),Vt(4)),Xt(t)&&(t=vo(o,t),o.l||Oo(o,t)),o.u&&fo("Patches").M(e[Ko].t,t,o.u,o.s)):t=vo(o,e,[]),ho(o),o.u&&o.v(o.u,o.s),t!==jo?t:void 0}function vo(t,o,e){if(co(o))return o;var r=o[Ko];if(!r)return Jt(o,(function(i,n){return xo(t,r,o,i,n,e)}),!0),o;if(r.A!==t)return o;if(!r.P)return Oo(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=ao(r.k):r.o,n=i,a=!1;3===r.i&&(n=new Set(i),i.clear(),a=!0),Jt(n,(function(o,n){return xo(t,r,i,o,n,e,a)})),Oo(t,i,!1),e&&t.u&&fo("Patches").N(r,e,t.u,t.s)}return r.o}function xo(t,o,e,r,i,n,a){if(Yt(i)){var s=vo(t,i,n&&o&&3!==o.i&&!to(o.R,r)?n.concat(r):void 0);if(oo(e,r,s),!Yt(s))return;t.m=!1}else a&&e.add(i);if(Xt(i)&&!co(i)){if(!t.h.D&&t._<1)return;vo(t,i),o&&o.A.l||Oo(t,i)}}function Oo(t,o,e){void 0===e&&(e=!1),!t.l&&t.h.D&&t.m&&so(o,e)}function wo(t,o){var e=t[Ko];return(e?no(e):t)[o]}function So(t,o){if(o in t)for(var e=Object.getPrototypeOf(t);e;){var r=Object.getOwnPropertyDescriptor(e,o);if(r)return r;e=Object.getPrototypeOf(e)}}function No(t){t.P||(t.P=!0,t.l&&No(t.l))}function Co(t){t.o||(t.o=ao(t.t))}function Eo(t,o,e){var r=ro(o)?fo("MapSet").F(o,e):io(o)?fo("MapSet").T(o,e):t.O?function(t,o){var e=Array.isArray(t),r={i:e?1:0,A:o?o.A:po(),P:!1,I:!1,R:{},l:o,t,k:null,o:null,j:null,C:!1},i=r,n=zo;e&&(i=[r],n=Zo);var a=Proxy.revocable(i,n),s=a.revoke,l=a.proxy;return r.k=l,r.j=s,l}(o,e):fo("ES5").J(o,e);return(e?e.A:po()).p.push(r),r}function Ro(t){return Yt(t)||Vt(22,t),function t(o){if(!Xt(o))return o;var e,r=o[Ko],i=Qt(o);if(r){if(!r.P&&(r.i<4||!fo("ES5").K(r)))return r.t;r.I=!0,e=$o(o,i),r.I=!1}else e=$o(o,i);return Jt(e,(function(o,i){r&&function(t,o){return 2===Qt(t)?t.get(o):t[o]}(r.t,o)===i||oo(e,o,t(i))})),3===i?new Set(e):e}(t)}function $o(t,o){switch(o){case 2:return new Map(t);case 3:return Array.from(t)}return ao(t)}zt=Ht,Zt=Gt,Tt=_t;var Uo,Io,ko="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Lo="undefined"!=typeof Map,Wo="undefined"!=typeof Set,Ao="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,jo=ko?Symbol.for("immer-nothing"):((Uo={})["immer-nothing"]=!0,Uo),Fo=ko?Symbol.for("immer-draftable"):"__$immer_draftable",Ko=ko?Symbol.for("immer-state"):"__$immer_state",Do=""+Object.prototype.constructor,Bo="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Po=Object.getOwnPropertyDescriptors||function(t){var o={};return Bo(t).forEach((function(e){o[e]=Object.getOwnPropertyDescriptor(t,e)})),o},Mo={},zo={get:function(t,o){if(o===Ko)return t;var e=no(t);if(!to(e,o))return function(t,o,e){var r,i=So(o,e);return i?"value"in i?i.value:null===(r=i.get)||void 0===r?void 0:r.call(t.k):void 0}(t,e,o);var r=e[o];return t.I||!Xt(r)?r:r===wo(t.t,o)?(Co(t),t.o[o]=Eo(t.A.h,r,t)):r},has:function(t,o){return o in no(t)},ownKeys:function(t){return Reflect.ownKeys(no(t))},set:function(t,o,e){var r=So(no(t),o);if(null==r?void 0:r.set)return r.set.call(t.k,e),!0;if(!t.P){var i=wo(no(t),o),n=null==i?void 0:i[Ko];if(n&&n.t===e)return t.o[o]=e,t.R[o]=!1,!0;if(eo(e,i)&&(void 0!==e||to(t.t,o)))return!0;Co(t),No(t)}return t.o[o]===e&&(void 0!==e||o in t.o)||Number.isNaN(e)&&Number.isNaN(t.o[o])||(t.o[o]=e,t.R[o]=!0),!0},deleteProperty:function(t,o){return void 0!==wo(t.t,o)||o in t.t?(t.R[o]=!1,Co(t),No(t)):delete t.R[o],t.o&&delete t.o[o],!0},getOwnPropertyDescriptor:function(t,o){var e=no(t),r=Reflect.getOwnPropertyDescriptor(e,o);return r?{writable:!0,configurable:1!==t.i||"length"!==o,enumerable:r.enumerable,value:e[o]}:r},defineProperty:function(){Vt(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Vt(12)}},Zo={};Jt(zo,(function(t,o){Zo[t]=function(){return arguments[0]=arguments[0][0],o.apply(this,arguments)}})),Zo.deleteProperty=function(t,o){return Zo.set.call(this,t,o,void 0)},Zo.set=function(t,o,e){return zo.set.call(this,t[0],o,e,t[0])};var To=function(){function t(t){var o=this;this.O=Ao,this.D=!0,this.produce=function(t,e,r){if("function"==typeof t&&"function"!=typeof e){var i=e;e=t;var n=o;return function(t){var o=this;void 0===t&&(t=i);for(var r=arguments.length,a=Array(r>1?r-1:0),s=1;s<r;s++)a[s-1]=arguments[s];return n.produce(t,(function(t){var r;return(r=e).call.apply(r,[o,t].concat(a))}))}}var a;if("function"!=typeof e&&Vt(6),void 0!==r&&"function"!=typeof r&&Vt(7),Xt(t)){var s=go(o),l=Eo(o,t,void 0),c=!0;try{a=e(l),c=!1}finally{c?ho(s):yo(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return uo(s,r),mo(t,s)}),(function(t){throw ho(s),t})):(uo(s,r),mo(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=e(t))&&(a=t),a===jo&&(a=void 0),o.D&&so(a,!0),r){var f=[],p=[];fo("Patches").M(t,a,f,p),r(f,p)}return a}Vt(21,t)},this.produceWithPatches=function(t,e){if("function"==typeof t)return function(e){for(var r=arguments.length,i=Array(r>1?r-1:0),n=1;n<r;n++)i[n-1]=arguments[n];return o.produceWithPatches(e,(function(o){return t.apply(void 0,[o].concat(i))}))};var r,i,n=o.produce(t,e,(function(t,o){r=t,i=o}));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 o=t.prototype;return o.createDraft=function(t){Xt(t)||Vt(8),Yt(t)&&(t=Ro(t));var o=go(this),e=Eo(this,t,void 0);return e[Ko].C=!0,yo(o),e},o.finishDraft=function(t,o){var e=(t&&t[Ko]).A;return uo(e,o),mo(void 0,e)},o.setAutoFreeze=function(t){this.D=t},o.setUseProxies=function(t){t&&!Ao&&Vt(20),this.O=t},o.applyPatches=function(t,o){var e;for(e=o.length-1;e>=0;e--){var r=o[e];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}e>-1&&(o=o.slice(e+1));var i=fo("Patches").$;return Yt(t)?i(t,o):this.produce(t,(function(t){return i(t,o)}))},t}(),_o=new To,Ho=_o.produce;function Go(t){return Go="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},Go(t)}function qo(t){var o=function(t,o){if("object"!==Go(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,o||"default");if("object"!==Go(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(t,"string");return"symbol"===Go(o)?o:String(o)}function Vo(t,o,e){return(o=qo(o))in t?Object.defineProperty(t,o,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[o]=e,t}function Yo(t,o){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);o&&(r=r.filter((function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable}))),e.push.apply(e,r)}return e}function Xo(t){for(var o=1;o<arguments.length;o++){var e=null!=arguments[o]?arguments[o]:{};o%2?Yo(Object(e),!0).forEach((function(o){Vo(t,o,e[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Yo(Object(e)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(e,o))}))}return t}function Jo(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. "}_o.produceWithPatches.bind(_o),_o.setAutoFreeze.bind(_o),_o.setUseProxies.bind(_o),_o.applyPatches.bind(_o),_o.createDraft.bind(_o),_o.finishDraft.bind(_o);var Qo="function"==typeof Symbol&&Symbol.observable||"@@observable",te=function(){return Math.random().toString(36).substring(7).split("").join(".")},oe={INIT:"@@redux/INIT"+te(),REPLACE:"@@redux/REPLACE"+te(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+te()}};function ee(t,o,e){var r;if("function"==typeof o&&"function"==typeof e||"function"==typeof e&&"function"==typeof arguments[3])throw new Error(Jo(0));if("function"==typeof o&&void 0===e&&(e=o,o=void 0),void 0!==e){if("function"!=typeof e)throw new Error(Jo(1));return e(ee)(t,o)}if("function"!=typeof t)throw new Error(Jo(2));var i=t,n=o,a=[],s=a,l=!1;function c(){s===a&&(s=a.slice())}function f(){if(l)throw new Error(Jo(3));return n}function p(t){if("function"!=typeof t)throw new Error(Jo(4));if(l)throw new Error(Jo(5));var o=!0;return c(),s.push(t),function(){if(o){if(l)throw new Error(Jo(6));o=!1,c();var e=s.indexOf(t);s.splice(e,1),a=null}}}function u(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var o=t;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return Object.getPrototypeOf(t)===o}(t))throw new Error(Jo(7));if(void 0===t.type)throw new Error(Jo(8));if(l)throw new Error(Jo(9));try{l=!0,n=i(n,t)}finally{l=!1}for(var o=a=s,e=0;e<o.length;e++){(0,o[e])()}return t}return u({type:oe.INIT}),(r={dispatch:u,subscribe:p,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(Jo(10));i=t,u({type:oe.REPLACE})}})[Qo]=function(){var t,o=p;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(Jo(11));function e(){t.next&&t.next(f())}return e(),{unsubscribe:o(e)}}})[Qo]=function(){return this},t},r}function re(t){for(var o=Object.keys(t),e={},r=0;r<o.length;r++){var i=o[r];"function"==typeof t[i]&&(e[i]=t[i])}var n,a=Object.keys(e);try{!function(t){Object.keys(t).forEach((function(o){var e=t[o];if(void 0===e(void 0,{type:oe.INIT}))throw new Error(Jo(12));if(void 0===e(void 0,{type:oe.PROBE_UNKNOWN_ACTION()}))throw new Error(Jo(13))}))}(e)}catch(t){n=t}return function(t,o){if(void 0===t&&(t={}),n)throw n;for(var r=!1,i={},s=0;s<a.length;s++){var l=a[s],c=e[l],f=t[l],p=c(f,o);if(void 0===p)throw o&&o.type,new Error(Jo(14));i[l]=p,r=r||p!==f}return(r=r||a.length!==Object.keys(t).length)?i:t}}function ie(){for(var t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return 0===o.length?function(t){return t}:1===o.length?o[0]:o.reduce((function(t,o){return function(){return t(o.apply(void 0,arguments))}}))}function ne(){for(var t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return function(t){return function(){var e=t.apply(void 0,arguments),r=function(){throw new Error(Jo(15))},i={getState:e.getState,dispatch:function(){return r.apply(void 0,arguments)}},n=o.map((function(t){return t(i)}));return r=ie.apply(void 0,n)(e.dispatch),Xo(Xo({},e),{},{dispatch:r})}}}function ae(t){return function(o){var e=o.dispatch,r=o.getState;return function(o){return function(i){return"function"==typeof i?i(e,r,t):o(i)}}}}var se=ae();se.withExtraArgument=ae;var le,ce=se,fe=(le=function(t,o){return le=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var e in o)Object.prototype.hasOwnProperty.call(o,e)&&(t[e]=o[e])},le(t,o)},function(t,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function e(){this.constructor=t}le(t,o),t.prototype=null===o?Object.create(o):(e.prototype=o.prototype,new e)}),pe=function(t,o){var e,r,i,n,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return n={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function s(n){return function(s){return function(n){if(e)throw new TypeError("Generator is already executing.");for(;a;)try{if(e=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=o.call(t,a)}catch(t){n=[6,t],r=0}finally{e=i=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,s])}}},ue=function(t,o){for(var e=0,r=o.length,i=t.length;e<r;e++,i++)t[i]=o[e];return t},de=Object.defineProperty,he=Object.defineProperties,ye=Object.getOwnPropertyDescriptors,ge=Object.getOwnPropertySymbols,be=Object.prototype.hasOwnProperty,me=Object.prototype.propertyIsEnumerable,ve=function(t,o,e){return o in t?de(t,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[o]=e},xe=function(t,o){for(var e in o||(o={}))be.call(o,e)&&ve(t,e,o[e]);if(ge)for(var r=0,i=ge(o);r<i.length;r++){e=i[r];me.call(o,e)&&ve(t,e,o[e])}return t},Oe=function(t,o){return he(t,ye(o))},we="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?ie:ie.apply(null,arguments)};var Se=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var i=t.apply(this,e)||this;return Object.setPrototypeOf(i,o.prototype),i}return fe(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],e=0;e<arguments.length;e++)o[e]=arguments[e];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,ue([void 0],t[0].concat(this)))):new(o.bind.apply(o,ue([void 0],t.concat(this))))},o}(Array),Ne=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var i=t.apply(this,e)||this;return Object.setPrototypeOf(i,o.prototype),i}return fe(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],e=0;e<arguments.length;e++)o[e]=arguments[e];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,ue([void 0],t[0].concat(this)))):new(o.bind.apply(o,ue([void 0],t.concat(this))))},o}(Array);function Ce(t){return Xt(t)?Ho(t,(function(){})):t}function Ee(){return function(t){return function(t){void 0===t&&(t={});var o=t.thunk,e=void 0===o||o;t.immutableCheck,t.serializableCheck;var r=new Se;e&&(!function(t){return"boolean"==typeof t}(e)?r.push(ce.withExtraArgument(e.extraArgument)):r.push(ce));return r}(t)}}function Re(t){var o,e=Ee(),r=t||{},i=r.reducer,n=void 0===i?void 0:i,a=r.middleware,s=void 0===a?e():a,l=r.devTools,c=void 0===l||l,f=r.preloadedState,p=void 0===f?void 0:f,u=r.enhancers,d=void 0===u?void 0:u;if("function"==typeof n)o=n;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;for(var e=o;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return o===e}(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');o=re(n)}var h=s;"function"==typeof h&&(h=h(e));var y=ne.apply(void 0,h),g=ie;c&&(g=we(xe({trace:!1},"object"==typeof c&&c)));var b=new Ne(y),m=b;return Array.isArray(d)?m=ue([y],d):"function"==typeof d&&(m=d(b)),ee(o,p,g.apply(void 0,m))}function $e(t,o){function e(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];if(o){var i=o.apply(void 0,e);if(!i)throw new Error("prepareAction did not return an object");return xe(xe({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:e[0]}}return e.toString=function(){return""+t},e.type=t,e.match=function(o){return o.type===t},e}function Ue(t){var o,e={},r=[],i={addCase:function(t,o){var r="string"==typeof t?t:t.type;if(r in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[r]=o,i},addMatcher:function(t,o){return r.push({matcher:t,reducer:o}),i},addDefaultCase:function(t){return o=t,i}};return t(i),[e,r,o]}function Ie(t){var o=t.name;if(!o)throw new Error("`name` is a required option for createSlice");var e,r="function"==typeof t.initialState?t.initialState:Ce(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},s={},l={};function c(){var o="function"==typeof t.extraReducers?Ue(t.extraReducers):[t.extraReducers],e=o[0],i=void 0===e?{}:e,n=o[1],a=void 0===n?[]:n,l=o[2],c=void 0===l?void 0:l,f=xe(xe({},i),s);return function(t,o,e,r){void 0===e&&(e=[]);var i,n="function"==typeof o?Ue(o):[o,e,r],a=n[0],s=n[1],l=n[2];if(function(t){return"function"==typeof t}(t))i=function(){return Ce(t())};else{var c=Ce(t);i=function(){return c}}function f(t,o){void 0===t&&(t=i());var e=ue([a[o.type]],s.filter((function(t){return(0,t.matcher)(o)})).map((function(t){return t.reducer})));return 0===e.filter((function(t){return!!t})).length&&(e=[l]),e.reduce((function(t,e){if(e){var r;if(Yt(t))return void 0===(r=e(t,o))?t:r;if(Xt(t))return Ho(t,(function(t){return e(t,o)}));if(void 0===(r=e(t,o))){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 o in f)t.addCase(o,f[o]);for(var e=0,r=a;e<r.length;e++){var i=r[e];t.addMatcher(i.matcher,i.reducer)}c&&t.addDefaultCase(c)}))}return n.forEach((function(t){var e,r,n=i[t],c=o+"/"+t;"reducer"in n?(e=n.reducer,r=n.prepare):e=n,a[t]=e,s[c]=e,l[t]=r?$e(c,r):$e(c)})),{name:o,reducer:function(t,o){return e||(e=c()),e(t,o)},actions:l,caseReducers:a,getInitialState:function(){return e||(e=c()),e.getInitialState()}}}var ke=["name","message","stack","code"],Le=function(t,o){this.payload=t,this.meta=o},We=function(t,o){this.payload=t,this.meta=o},Ae=function(t){if("object"==typeof t&&null!==t){for(var o={},e=0,r=ke;e<r.length;e++){var i=r[e];"string"==typeof t[i]&&(o[i]=t[i])}return o}return{message:String(t)}};function je(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,o,e){var r=$e(t+"/fulfilled",(function(t,o,e,r){return{payload:t,meta:Oe(xe({},r||{}),{arg:e,requestId:o,requestStatus:"fulfilled"})}})),i=$e(t+"/pending",(function(t,o,e){return{payload:void 0,meta:Oe(xe({},e||{}),{arg:o,requestId:t,requestStatus:"pending"})}})),n=$e(t+"/rejected",(function(t,o,r,i,n){return{payload:i,error:(e&&e.serializeError||Ae)(t||"Rejected"),meta:Oe(xe({},n||{}),{arg:r,requestId:o,rejectedWithValue:!!i,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),a="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(s,l,c){var f,p=(null==e?void 0:e.idGenerator)?e.idGenerator(t):function(t){void 0===t&&(t=21);for(var o="",e=t;e--;)o+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return o}(),u=new a;function d(t){f=t,u.abort()}var h=function(){return a=this,h=null,y=function(){var a,h,y,g,b,m;return pe(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),g=null==(a=null==e?void 0:e.condition)?void 0:a.call(e,t,{getState:l,extra:c}),null===(x=g)||"object"!=typeof x||"function"!=typeof x.then?[3,2]:[4,g];case 1:g=v.sent(),v.label=2;case 2:if(!1===g||u.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,o){return u.signal.addEventListener("abort",(function(){return o({name:"AbortError",message:f||"Aborted"})}))})),s(i(p,t,null==(h=null==e?void 0:e.getPendingMeta)?void 0:h.call(e,{requestId:p,arg:t},{getState:l,extra:c}))),[4,Promise.race([b,Promise.resolve(o(t,{dispatch:s,getState:l,extra:c,requestId:p,signal:u.signal,abort:d,rejectWithValue:function(t,o){return new Le(t,o)},fulfillWithValue:function(t,o){return new We(t,o)}})).then((function(o){if(o instanceof Le)throw o;return o instanceof We?r(o.payload,p,t,o.meta):r(o,p,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof Le?n(null,p,t,m.payload,m.meta):n(m,p,t),[3,5];case 5:return e&&!e.dispatchConditionRejection&&n.match(y)&&y.meta.condition||s(y),[2,y]}var x}))},new Promise((function(t,o){var e=function(t){try{i(y.next(t))}catch(t){o(t)}},r=function(t){try{i(y.throw(t))}catch(t){o(t)}},i=function(o){return o.done?t(o.value):Promise.resolve(o.value).then(e,r)};i((y=y.apply(a,h)).next())}));var a,h,y}();return Object.assign(h,{abort:d,requestId:p,arg:t,unwrap:function(){return h.then(je)}})}}),{pending:i,rejected:n,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var Fe="listenerMiddleware";$e(Fe+"/add"),$e(Fe+"/removeAll"),$e(Fe+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,o){var e=i[t];return e?e.enumerable=o:i[t]=e={configurable:!0,enumerable:o,get:function(){var o=this[Ko];return zo.get(o,t)},set:function(o){var e=this[Ko];zo.set(e,t,o)}},e}function o(t){for(var o=t.length-1;o>=0;o--){var i=t[o][Ko];if(!i.P)switch(i.i){case 5:r(i)&&No(i);break;case 4:e(i)&&No(i)}}}function e(t){for(var o=t.t,e=t.k,r=Bo(e),i=r.length-1;i>=0;i--){var n=r[i];if(n!==Ko){var a=o[n];if(void 0===a&&!to(o,n))return!0;var s=e[n],l=s&&s[Ko];if(l?l.t!==a:!eo(s,a))return!0}}var c=!!o[Ko];return r.length!==Bo(o).length+(c?0:1)}function r(t){var o=t.k;if(o.length!==t.t.length)return!0;var e=Object.getOwnPropertyDescriptor(o,o.length-1);if(e&&!e.get)return!0;for(var r=0;r<o.length;r++)if(!o.hasOwnProperty(r))return!0;return!1}var i={};!function(t,o){Mo[t]||(Mo[t]=o)}("ES5",{J:function(o,e){var r=Array.isArray(o),i=function(o,e){if(o){for(var r=Array(e.length),i=0;i<e.length;i++)Object.defineProperty(r,""+i,t(i,!0));return r}var n=Po(e);delete n[Ko];for(var a=Bo(n),s=0;s<a.length;s++){var l=a[s];n[l]=t(l,o||!!n[l].enumerable)}return Object.create(Object.getPrototypeOf(e),n)}(r,o),n={i:r?5:4,A:e?e.A:po(),P:!1,I:!1,R:{},l:e,t:o,k:i,o:null,g:!1,C:!1};return Object.defineProperty(i,Ko,{value:n,writable:!0}),i},S:function(t,e,i){i?Yt(e)&&e[Ko].A===t&&o(t.p):(t.u&&function t(o){if(o&&"object"==typeof o){var e=o[Ko];if(e){var i=e.t,n=e.k,a=e.R,s=e.i;if(4===s)Jt(n,(function(o){o!==Ko&&(void 0!==i[o]||to(i,o)?a[o]||t(n[o]):(a[o]=!0,No(e)))})),Jt(i,(function(t){void 0!==n[t]||to(n,t)||(a[t]=!1,No(e))}));else if(5===s){if(r(e)&&(No(e),a.length=!0),n.length<i.length)for(var l=n.length;l<i.length;l++)a[l]=!1;else for(var c=i.length;c<n.length;c++)a[c]=!0;for(var f=Math.min(n.length,i.length),p=0;p<f;p++)n.hasOwnProperty(p)||(a[p]=!0),void 0===a[p]&&t(n[p])}}}}(t.p[0]),o(t.p))},K:function(t){return 4===t.i?e(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Ke{static get(t){var o;const e="string"==typeof t?t:t.name,r="string"==typeof t?void 0:t,i=window.ftReduxStores[e];if(Mt(i))return i;if(null==r)return;const n=Ie({...r,reducers:null!==(o=r.reducers)&&void 0!==o?o:{}}),a=Re({reducer:(t,o)=>{var e;switch(o.type){case"CLEAR_FT_REDUX_STORE":return n.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(e=o.overwrites)&&void 0!==e?e:{}};default:return n.reducer(t,o)}}});return window.ftReduxStores[r.name]=new Ke(n,a)}constructor(t,o){this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.actions=new Proxy(this.reduxSlice.actions,{get:(t,o,e)=>{const r=o,i=t[r];return i?(...t)=>{const o=i(...t);return this.reduxStore.dispatch(o),o}:t=>{this.setState({[r]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_STATE_FIELDS_VALUES_SETTER",overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}const De=t=>{const o=null!=t?t:{};return(t,e)=>{var r;const i={hasChanged:(t,o)=>!u(t,o),attribute:!1,...o};a(i)(t,e);const n=t;n.reduxProperties=n.reduxProperties||new Map,n.reduxProperties.set(e,{selector:null!==(r=o.selector)&&void 0!==r?r:t=>t[e],store:o.store})}},Be=Symbol("elementInternals");var Pe,Me,ze;const Ze=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(ze=null===(Me=null===(Pe=window.safari)||void 0===Pe?void 0:Pe.pushNotification)||void 0===Me?void 0:Me.toString())&&void 0!==ze?ze:""),Te=St.extend("--ft-ripple-color","",Ut.colorContent),_e={color:Te,backgroundColor:St.extend("--ft-ripple-background-color","",Te),opacityContentOnSurfacePressed:St.external(Ut.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:St.external(Ut.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:St.external(Ut.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:St.external(Ut.opacityContentOnSurfaceSelected,"Design system"),borderRadius:St.create("--ft-ripple-border-radius","","SIZE","0px")},He=St.extend("--ft-ripple-color","",Ut.colorPrimary),Ge=He,qe=St.extend("--ft-ripple-background-color","",He),Ve=St.extend("--ft-ripple-color","",Ut.colorSecondary),Ye=Ve,Xe=St.extend("--ft-ripple-background-color","",Ve),Je=O`
|
|
102
102
|
:host {
|
|
103
103
|
display: contents;
|
|
104
104
|
}
|
|
@@ -111,7 +111,7 @@ var mt,vt;let xt=class extends L{constructor(){super(...arguments),this.renderOp
|
|
|
111
111
|
|
|
112
112
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
113
113
|
overflow: hidden;
|
|
114
|
-
border-radius: ${
|
|
114
|
+
border-radius: ${_e.borderRadius};
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
.ft-ripple .ft-ripple--background,
|
|
@@ -145,15 +145,15 @@ var mt,vt;let xt=class extends L{constructor(){super(...arguments),this.renderOp
|
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
.ft-ripple .ft-ripple--background {
|
|
148
|
-
background-color: ${
|
|
148
|
+
background-color: ${_e.backgroundColor};
|
|
149
149
|
}
|
|
150
150
|
|
|
151
151
|
.ft-ripple .ft-ripple--effect {
|
|
152
|
-
background-color: ${
|
|
152
|
+
background-color: ${_e.color};
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
156
|
-
background-color: ${
|
|
156
|
+
background-color: ${Xe};
|
|
157
157
|
}
|
|
158
158
|
|
|
159
159
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
@@ -195,22 +195,22 @@ var mt,vt;let xt=class extends L{constructor(){super(...arguments),this.renderOp
|
|
|
195
195
|
}
|
|
196
196
|
|
|
197
197
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
198
|
-
opacity: ${
|
|
198
|
+
opacity: ${_e.opacityContentOnSurfaceHover};
|
|
199
199
|
}
|
|
200
200
|
|
|
201
201
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
202
|
-
opacity: ${
|
|
202
|
+
opacity: ${_e.opacityContentOnSurfaceSelected};
|
|
203
203
|
}
|
|
204
204
|
|
|
205
205
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
206
|
-
opacity: ${
|
|
206
|
+
opacity: ${_e.opacityContentOnSurfaceFocused};
|
|
207
207
|
}
|
|
208
208
|
|
|
209
209
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
210
|
-
opacity: ${
|
|
210
|
+
opacity: ${_e.opacityContentOnSurfacePressed};
|
|
211
211
|
transform: translate(-50%, -50%) scale(1);
|
|
212
212
|
}
|
|
213
|
-
`;const Qe=St.extend("--ft-typography-font-family","",
|
|
213
|
+
`;const Qe=St.extend("--ft-typography-font-family","",Ut.titleFont),tr=St.extend("--ft-typography-font-family","",Ut.contentFont),or={fontFamily:tr,fontSize:St.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:St.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:St.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:St.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:St.create("--ft-typography-text-transform","","UNKNOWN","inherit")},er=St.extend("--ft-typography-title-font-family","",Qe),rr=St.extend("--ft-typography-title-font-size","",or.fontSize,"20px"),ir=St.extend("--ft-typography-title-font-weight","",or.fontWeight,"normal"),nr=St.extend("--ft-typography-title-letter-spacing","",or.letterSpacing,"0.15px"),ar=St.extend("--ft-typography-title-line-height","",or.lineHeight,"1.2"),sr=St.extend("--ft-typography-title-text-transform","",or.textTransform,"inherit"),lr=St.extend("--ft-typography-title-dense-font-family","",Qe),cr=St.extend("--ft-typography-title-dense-font-size","",or.fontSize,"14px"),fr=St.extend("--ft-typography-title-dense-font-weight","",or.fontWeight,"normal"),pr=St.extend("--ft-typography-title-dense-letter-spacing","",or.letterSpacing,"0.105px"),ur=St.extend("--ft-typography-title-dense-line-height","",or.lineHeight,"1.7"),dr=St.extend("--ft-typography-title-dense-text-transform","",or.textTransform,"inherit"),hr=St.extend("--ft-typography-subtitle1-font-family","",tr),yr=St.extend("--ft-typography-subtitle1-font-size","",or.fontSize,"16px"),gr=St.extend("--ft-typography-subtitle1-font-weight","",or.fontWeight,"600"),br=St.extend("--ft-typography-subtitle1-letter-spacing","",or.letterSpacing,"0.144px"),mr=St.extend("--ft-typography-subtitle1-line-height","",or.lineHeight,"1.5"),vr=St.extend("--ft-typography-subtitle1-text-transform","",or.textTransform,"inherit"),xr=St.extend("--ft-typography-subtitle2-font-family","",tr),Or=St.extend("--ft-typography-subtitle2-font-size","",or.fontSize,"14px"),wr=St.extend("--ft-typography-subtitle2-font-weight","",or.fontWeight,"normal"),Sr=St.extend("--ft-typography-subtitle2-letter-spacing","",or.letterSpacing,"0.098px"),Nr=St.extend("--ft-typography-subtitle2-line-height","",or.lineHeight,"1.7"),Cr=St.extend("--ft-typography-subtitle2-text-transform","",or.textTransform,"inherit"),Er=St.extend("--ft-typography-body1-font-family","",tr),Rr=St.extend("--ft-typography-body1-font-size","",or.fontSize,"16px"),$r=St.extend("--ft-typography-body1-font-weight","",or.fontWeight,"normal"),Ur=St.extend("--ft-typography-body1-letter-spacing","",or.letterSpacing,"0.496px"),Ir=St.extend("--ft-typography-body1-line-height","",or.lineHeight,"1.5"),kr=St.extend("--ft-typography-body1-text-transform","",or.textTransform,"inherit"),Lr=St.extend("--ft-typography-body2-font-family","",tr),Wr=St.extend("--ft-typography-body2-font-size","",or.fontSize,"14px"),Ar=St.extend("--ft-typography-body2-font-weight","",or.fontWeight,"normal"),jr=St.extend("--ft-typography-body2-letter-spacing","",or.letterSpacing,"0.252px"),Fr=St.extend("--ft-typography-body2-line-height","",or.lineHeight,"1.4"),Kr=St.extend("--ft-typography-body2-text-transform","",or.textTransform,"inherit"),Dr=St.extend("--ft-typography-caption-font-family","",tr),Br=St.extend("--ft-typography-caption-font-size","",or.fontSize,"12px"),Pr=St.extend("--ft-typography-caption-font-weight","",or.fontWeight,"normal"),Mr=St.extend("--ft-typography-caption-letter-spacing","",or.letterSpacing,"0.396px"),zr=St.extend("--ft-typography-caption-line-height","",or.lineHeight,"1.33"),Zr=St.extend("--ft-typography-caption-text-transform","",or.textTransform,"inherit"),Tr=St.extend("--ft-typography-breadcrumb-font-family","",tr),_r=St.extend("--ft-typography-breadcrumb-font-size","",or.fontSize,"10px"),Hr=St.extend("--ft-typography-breadcrumb-font-weight","",or.fontWeight,"normal"),Gr=St.extend("--ft-typography-breadcrumb-letter-spacing","",or.letterSpacing,"0.33px"),qr=St.extend("--ft-typography-breadcrumb-line-height","",or.lineHeight,"1.6"),Vr=St.extend("--ft-typography-breadcrumb-text-transform","",or.textTransform,"inherit"),Yr=St.extend("--ft-typography-overline-font-family","",tr),Xr=St.extend("--ft-typography-overline-font-size","",or.fontSize,"10px"),Jr=St.extend("--ft-typography-overline-font-weight","",or.fontWeight,"normal"),Qr=St.extend("--ft-typography-overline-letter-spacing","",or.letterSpacing,"1.5px"),ti=St.extend("--ft-typography-overline-line-height","",or.lineHeight,"1.6"),oi=St.extend("--ft-typography-overline-text-transform","",or.textTransform,"uppercase"),ei={fontFamily:St.extend("--ft-typography-button-font-family","",tr),fontSize:St.extend("--ft-typography-button-font-size","",or.fontSize,"14px"),fontWeight:St.extend("--ft-typography-button-font-weight","",or.fontWeight,"600"),letterSpacing:St.extend("--ft-typography-button-letter-spacing","",or.letterSpacing,"1.246px"),lineHeight:St.extend("--ft-typography-button-line-height","",or.lineHeight,"1.15"),textTransform:St.extend("--ft-typography-button-text-transform","",or.textTransform,"uppercase")},ri=O`
|
|
214
214
|
.ft-typography--title {
|
|
215
215
|
font-family: ${er};
|
|
216
216
|
font-size: ${rr};
|
|
@@ -250,35 +250,35 @@ var mt,vt;let xt=class extends L{constructor(){super(...arguments),this.renderOp
|
|
|
250
250
|
`,si=O`
|
|
251
251
|
.ft-typography--body1 {
|
|
252
252
|
font-family: ${Er};
|
|
253
|
-
font-size: ${
|
|
254
|
-
font-weight: ${
|
|
255
|
-
letter-spacing: ${
|
|
256
|
-
line-height: ${
|
|
257
|
-
text-transform: ${
|
|
253
|
+
font-size: ${Rr};
|
|
254
|
+
font-weight: ${$r};
|
|
255
|
+
letter-spacing: ${Ur};
|
|
256
|
+
line-height: ${Ir};
|
|
257
|
+
text-transform: ${kr};
|
|
258
258
|
}
|
|
259
259
|
`,li=O`
|
|
260
260
|
.ft-typography--body2 {
|
|
261
261
|
font-family: ${Lr};
|
|
262
262
|
font-size: ${Wr};
|
|
263
|
-
font-weight: ${
|
|
264
|
-
letter-spacing: ${
|
|
263
|
+
font-weight: ${Ar};
|
|
264
|
+
letter-spacing: ${jr};
|
|
265
265
|
line-height: ${Fr};
|
|
266
|
-
text-transform: ${
|
|
266
|
+
text-transform: ${Kr};
|
|
267
267
|
}
|
|
268
268
|
`,ci=O`
|
|
269
269
|
.ft-typography--caption {
|
|
270
|
-
font-family: ${
|
|
271
|
-
font-size: ${
|
|
272
|
-
font-weight: ${
|
|
273
|
-
letter-spacing: ${
|
|
274
|
-
line-height: ${
|
|
275
|
-
text-transform: ${
|
|
270
|
+
font-family: ${Dr};
|
|
271
|
+
font-size: ${Br};
|
|
272
|
+
font-weight: ${Pr};
|
|
273
|
+
letter-spacing: ${Mr};
|
|
274
|
+
line-height: ${zr};
|
|
275
|
+
text-transform: ${Zr};
|
|
276
276
|
}
|
|
277
277
|
`,fi=O`
|
|
278
278
|
.ft-typography--breadcrumb {
|
|
279
|
-
font-family: ${
|
|
280
|
-
font-size: ${
|
|
281
|
-
font-weight: ${
|
|
279
|
+
font-family: ${Tr};
|
|
280
|
+
font-size: ${_r};
|
|
281
|
+
font-weight: ${Hr};
|
|
282
282
|
letter-spacing: ${Gr};
|
|
283
283
|
line-height: ${qr};
|
|
284
284
|
text-transform: ${Vr};
|
|
@@ -286,8 +286,8 @@ var mt,vt;let xt=class extends L{constructor(){super(...arguments),this.renderOp
|
|
|
286
286
|
`,pi=O`
|
|
287
287
|
.ft-typography--overline {
|
|
288
288
|
font-family: ${Yr};
|
|
289
|
-
font-size: ${
|
|
290
|
-
font-weight: ${
|
|
289
|
+
font-size: ${Xr};
|
|
290
|
+
font-weight: ${Jr};
|
|
291
291
|
letter-spacing: ${Qr};
|
|
292
292
|
line-height: ${ti};
|
|
293
293
|
text-transform: ${oi};
|
|
@@ -306,13 +306,15 @@ var mt,vt;let xt=class extends L{constructor(){super(...arguments),this.renderOp
|
|
|
306
306
|
vertical-align: inherit;
|
|
307
307
|
}
|
|
308
308
|
`,hi=[Object.keys(Et).map((t=>function(t){const o=Et[t];return O`
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
309
|
+
.ft-typography--${x(t)} {
|
|
310
|
+
font-family: ${o.fontFamily};
|
|
311
|
+
font-size: ${o.fontSize};
|
|
312
|
+
font-weight: ${o.fontWeight};
|
|
313
|
+
letter-spacing: ${o.letterSpacing};
|
|
314
|
+
line-height: ${o.lineHeight};
|
|
315
|
+
text-transform: ${o.textCase};
|
|
316
|
+
}
|
|
317
|
+
`}(t)))],yi={color:St.extend("--ft-loader-color","",Ut.colorPrimary),size:St.create("--ft-loader-size","","SIZE","80px")},gi=O`
|
|
316
318
|
:host {
|
|
317
319
|
line-height: 0;
|
|
318
320
|
}
|
|
@@ -429,7 +431,7 @@ var mt,vt;let xt=class extends L{constructor(){super(...arguments),this.renderOp
|
|
|
429
431
|
.ft-icon--material {
|
|
430
432
|
font-family: ${bi.materialFontFamily}, "Material Icons", sans-serif;
|
|
431
433
|
}
|
|
432
|
-
`,vi=St.extend("--ft-button-color","",
|
|
434
|
+
`,vi=St.extend("--ft-button-color","",Ut.colorPrimary),xi={backgroundColor:St.extend("--ft-button-background-color","",Ut.colorSurface),borderRadius:St.extend("--ft-button-border-radius","",Ut.borderRadiusL),color:vi,fontSize:St.extend("--ft-button-font-size","",ei.fontSize),iconSize:St.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:St.extend("--ft-button-ripple-color","",vi),verticalPadding:St.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:St.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:St.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:St.external(Ut.colorOpacityDisabled,"Design system")},Oi=St.extend("--ft-button-primary-color","",St.extend("--ft-button-color","",Ut.colorOnPrimary)),wi={backgroundColor:St.extend("--ft-button-primary-background-color","",St.extend("--ft-button-background-color","",Ut.colorPrimary)),color:Oi,rippleColor:St.extend("--ft-button-primary-ripple-color","",Oi)},Si=St.extend("--ft-button-dense-border-radius","",St.extend("--ft-button-border-radius","",Ut.borderRadiusM)),Ni=St.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Ci=St.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Ei=St.create("--ft-button-dense-icon-padding","","SIZE","4px"),Ri=[O`
|
|
433
435
|
:host {
|
|
434
436
|
display: inline-block;
|
|
435
437
|
max-width: 100%;
|
|
@@ -472,7 +474,7 @@ var mt,vt;let xt=class extends L{constructor(){super(...arguments),this.renderOp
|
|
|
472
474
|
--ft-button-internal-line-height: max(calc(${xi.fontSize} + 2px), ${xi.iconSize});
|
|
473
475
|
--ft-button-internal-color: ${xi.color};
|
|
474
476
|
${Nt(bi.size,xi.iconSize)};
|
|
475
|
-
${Nt(
|
|
477
|
+
${Nt(_e.color,xi.rippleColor)};
|
|
476
478
|
|
|
477
479
|
border-radius: ${xi.borderRadius};
|
|
478
480
|
padding: ${xi.verticalPadding} ${xi.horizontalPadding};
|
|
@@ -516,7 +518,7 @@ var mt,vt;let xt=class extends L{constructor(){super(...arguments),this.renderOp
|
|
|
516
518
|
.ft-button.ft-button--primary {
|
|
517
519
|
background-color: ${wi.backgroundColor};
|
|
518
520
|
--ft-button-internal-color: ${wi.color};
|
|
519
|
-
${Nt(
|
|
521
|
+
${Nt(_e.color,wi.rippleColor)};
|
|
520
522
|
}
|
|
521
523
|
|
|
522
524
|
.ft-button:focus {
|
|
@@ -566,12 +568,12 @@ var mt,vt;let xt=class extends L{constructor(){super(...arguments),this.renderOp
|
|
|
566
568
|
${Nt(yi.size,xi.iconSize)};
|
|
567
569
|
${Nt(yi.color,"var(--ft-button-internal-color)")};
|
|
568
570
|
}
|
|
569
|
-
`,
|
|
571
|
+
`,Kt],$i=1,Ui=2,Ii=t=>(...o)=>({_$litDirective$:t,values:o});class ki{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,e){this._$Ct=t,this._$AM=o,this._$Ci=e}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}}
|
|
570
572
|
/**
|
|
571
573
|
* @license
|
|
572
574
|
* Copyright 2018 Google LLC
|
|
573
575
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
574
|
-
*/const Li=
|
|
576
|
+
*/const Li=Ii(class extends ki{constructor(t){var o;if(super(t),t.type!==$i||"class"!==t.name||(null===(o=t.strings)||void 0===o?void 0:o.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((o=>t[o])).join(" ")+" "}update(t,[o]){var e,r;if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in o)o[t]&&!(null===(e=this.nt)||void 0===e?void 0:e.has(t))&&this.it.add(t);return this.render(o)}const i=t.element.classList;this.it.forEach((t=>{t in o||(i.remove(t),this.it.delete(t))}));for(const t in o){const e=!!o[t];e===this.it.has(t)||(null===(r=this.nt)||void 0===r?void 0:r.has(t))||(e?(i.add(t),this.it.add(t)):(i.remove(t),this.it.delete(t)))}return ot}});var Wi=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Ai extends Ft{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new i(1e3),this.onTransitionStart=t=>{"transform"===t.propertyName&&(this.rippling=this.pressed,this.debouncer.run((()=>this.rippling=!1)))},this.onTransitionEnd=t=>{"transform"===t.propertyName&&(this.rippling=!1)},this.setupDebouncer=new i(10),this.moveRipple=t=>{var o,e;let{x:r,y:i}=this.getCoordinates(t),n=null!==(e=null===(o=this.ripple)||void 0===o?void 0:o.getBoundingClientRect())&&void 0!==e?e:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=r?r-n.x:n.width/2),this.originY=Math.round(null!=i?i-n.y:n.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(null==t?void 0:t.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return tt`
|
|
575
577
|
<style>
|
|
576
578
|
.ft-ripple .ft-ripple--effect {
|
|
577
579
|
left: ${this.originX}px;
|
|
@@ -582,20 +584,20 @@ var mt,vt;let xt=class extends L{constructor(){super(...arguments),this.renderOp
|
|
|
582
584
|
<div class="ft-ripple--background"></div>
|
|
583
585
|
<div class="ft-ripple--effect"></div>
|
|
584
586
|
</div>
|
|
585
|
-
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),r=o("touchend","touchcancel"),i=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",r),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",i),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",r),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",i),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let r,i;return null!=o.x?({x:r,y:i}=o):null!=e.touches&&(r=e.touches[0].clientX,i=e.touches[0].clientY),{x:r,y:i}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}
|
|
587
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,e;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(o=this.target)||void 0===o||o.removeAttribute("data-is-ft-ripple-target")):null===(e=this.target)||void 0===e||e.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,o;const e=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;e&&this.setupFor(null!==(o=this.target)&&void 0!==o?o:e)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const o=(...t)=>o=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(o)},e=o("mouseup","contextmenu"),r=o("touchend","touchcancel"),i=t=>{["Enter"," "].includes(t.key)&&o("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",e),t.addEventListener("touchstart",r),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",i),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",e),t.removeEventListener("touchstart",r),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",i),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const o=t,e=t;let r,i;return null!=o.x?({x:r,y:i}=o):null!=e.touches&&(r=e.touches[0].clientX,i=e.touches[0].clientY),{x:r,y:i}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Ai.elementDefinitions={},Ai.styles=Je,Wi([a({type:Boolean})],Ai.prototype,"primary",void 0),Wi([a({type:Boolean})],Ai.prototype,"secondary",void 0),Wi([a({type:Boolean})],Ai.prototype,"unbounded",void 0),Wi([a({type:Boolean})],Ai.prototype,"activated",void 0),Wi([a({type:Boolean})],Ai.prototype,"selected",void 0),Wi([a({type:Boolean})],Ai.prototype,"disabled",void 0),Wi([s()],Ai.prototype,"hovered",void 0),Wi([s()],Ai.prototype,"focused",void 0),Wi([s()],Ai.prototype,"pressed",void 0),Wi([s()],Ai.prototype,"rippling",void 0),Wi([s()],Ai.prototype,"originX",void 0),Wi([s()],Ai.prototype,"originY",void 0),Wi([c(".ft-ripple")],Ai.prototype,"ripple",void 0),Wi([c(".ft-ripple--effect")],Ai.prototype,"rippleEffect",void 0),d("ft-ripple")(Ai);
|
|
586
588
|
/**
|
|
587
589
|
* @license
|
|
588
590
|
* Copyright 2020 Google LLC
|
|
589
591
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
590
592
|
*/
|
|
591
|
-
const
|
|
592
|
-
<${
|
|
593
|
+
const ji=Symbol.for(""),Fi=t=>{if((null==t?void 0:t.r)===ji)return null==t?void 0:t._$litStatic$},Ki=t=>({_$litStatic$:t,r:ji}),Di=new Map,Bi=(t=>(o,...e)=>{const r=e.length;let i,n;const a=[],s=[];let l,c=0,f=!1;for(;c<r;){for(l=o[c];c<r&&void 0!==(n=e[c],i=Fi(n));)l+=i+o[++c],f=!0;c!==r&&s.push(n),a.push(l),c++}if(c===r&&a.push(o[r]),f){const t=a.join("$$lit$$");void 0===(o=Di.get(t))&&(a.raw=a,Di.set(t,o=a)),e=s}return t(o,...e)})(tt);var Pi;!function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"}(Pi||(Pi={}));var Mi=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class zi extends Ft{constructor(){super(...arguments),this.variant=Pi.body1}render(){return this.element?Bi`
|
|
594
|
+
<${Ki(this.element)}
|
|
593
595
|
class="ft-typography ft-typography--${this.variant}">
|
|
594
596
|
<slot></slot>
|
|
595
|
-
</${
|
|
596
|
-
`:
|
|
597
|
+
</${Ki(this.element)}>
|
|
598
|
+
`:Bi`
|
|
597
599
|
<slot class="ft-typography ft-typography--${this.variant}"></slot>
|
|
598
|
-
`}}
|
|
600
|
+
`}}zi.styles=[ri,ii,ni,ai,si,li,ci,fi,pi,ui,di,...hi],Mi([a()],zi.prototype,"element",void 0),Mi([a()],zi.prototype,"variant",void 0),d("ft-typography")(zi);const Zi={distance:St.create("--ft-tooltip-distance","","SIZE","4px"),color:St.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:St.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:St.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:St.external(Ut.borderRadiusS,"Design system"),maxWidth:St.create("--ft-tooltip-max-width","","SIZE","150px")},Ti=O`
|
|
599
601
|
.ft-tooltip--container {
|
|
600
602
|
display: block;
|
|
601
603
|
}
|
|
@@ -610,21 +612,21 @@ const Ki=Symbol.for(""),Fi=t=>{if((null==t?void 0:t.r)===Ki)return null==t?void
|
|
|
610
612
|
box-sizing: border-box;
|
|
611
613
|
overflow: hidden;
|
|
612
614
|
width: max-content;
|
|
613
|
-
max-width: ${
|
|
615
|
+
max-width: ${Zi.maxWidth};
|
|
614
616
|
text-align: center;
|
|
615
|
-
padding: ${
|
|
616
|
-
z-index: ${
|
|
617
|
+
padding: ${Zi.distance};
|
|
618
|
+
z-index: ${Zi.zIndex};
|
|
617
619
|
}
|
|
618
620
|
|
|
619
621
|
.ft-tooltip--content {
|
|
620
622
|
padding: 4px 8px;
|
|
621
|
-
border-radius: ${
|
|
622
|
-
background-color: ${
|
|
623
|
-
color: ${
|
|
623
|
+
border-radius: ${Zi.borderRadiusS};
|
|
624
|
+
background-color: ${Zi.backgroundColor};
|
|
625
|
+
color: ${Zi.color};
|
|
624
626
|
position: relative;
|
|
625
627
|
word-break: break-word;
|
|
626
628
|
}
|
|
627
|
-
`;var
|
|
629
|
+
`;var _i=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Hi extends Ft{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 i,this.revealDebouncer=new i}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return tt`
|
|
628
630
|
<div part="container"
|
|
629
631
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
630
632
|
@mouseenter=${this.onHover}
|
|
@@ -642,19 +644,19 @@ const Ki=Symbol.for(""),Fi=t=>{if((null==t?void 0:t.r)===Ki)return null==t?void
|
|
|
642
644
|
</div>
|
|
643
645
|
</div>
|
|
644
646
|
</div>
|
|
645
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const o=this.tooltip.offsetWidth,e=this.tooltip.offsetHeight,r=(t.offsetHeight-e)/2,i=(t.offsetWidth-o)/2;let n=0,a=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":a=t.offsetTop-e-this.tooltip.offsetTop,n=t.offsetLeft+i-this.tooltip.offsetLeft;break;case"bottom":a=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,n=t.offsetLeft+i-this.tooltip.offsetLeft;break;case"left":a=t.offsetTop+r-this.tooltip.offsetTop,n=t.offsetLeft-o-this.tooltip.offsetLeft;break;case"right":a=t.offsetTop+r-this.tooltip.offsetTop,n=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const s=this.tooltip.style;s.left=n+"px",s.top=a+"px";const l=this.tooltip.getBoundingClientRect();let c=-l.x,f=l.x+l.width-window.innerWidth;s.left=n+Math.round(this.correctOutOfWindowPixels(c,f))+"px";let p=-l.y,u=l.y+l.height-window.innerHeight;s.top=a+Math.round(this.correctOutOfWindowPixels(p,u))+"px",s.maxWidth=`max(${t.offsetWidth}px, ${
|
|
647
|
+
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((o=>t.has(o)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&this.hideDebounce.run((()=>this.hide()),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent();const t=this.slottedElement;if(this.tooltip&&t){const o=this.tooltip.offsetWidth,e=this.tooltip.offsetHeight,r=(t.offsetHeight-e)/2,i=(t.offsetWidth-o)/2;let n=0,a=0;switch(this.tooltip.style.top="0",this.tooltip.style.left="0",this.validPosition){case"top":a=t.offsetTop-e-this.tooltip.offsetTop,n=t.offsetLeft+i-this.tooltip.offsetLeft;break;case"bottom":a=t.offsetTop+t.offsetHeight-this.tooltip.offsetTop,n=t.offsetLeft+i-this.tooltip.offsetLeft;break;case"left":a=t.offsetTop+r-this.tooltip.offsetTop,n=t.offsetLeft-o-this.tooltip.offsetLeft;break;case"right":a=t.offsetTop+r-this.tooltip.offsetTop,n=t.offsetLeft+t.offsetWidth-this.tooltip.offsetLeft}const s=this.tooltip.style;s.left=n+"px",s.top=a+"px";const l=this.tooltip.getBoundingClientRect();let c=-l.x,f=l.x+l.width-window.innerWidth;s.left=n+Math.round(this.correctOutOfWindowPixels(c,f))+"px";let p=-l.y,u=l.y+l.height-window.innerHeight;s.top=a+Math.round(this.correctOutOfWindowPixels(p,u))+"px",s.maxWidth=`max(${t.offsetWidth}px, ${Zi.maxWidth})`}this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,o){return Math.max(t,Math.min(0,-o))}}Hi.elementDefinitions={"ft-typography":zi},Hi.styles=Ti,_i([a()],Hi.prototype,"text",void 0),_i([a({type:Boolean})],Hi.prototype,"manual",void 0),_i([a({type:Boolean})],Hi.prototype,"inline",void 0),_i([a({type:Number})],Hi.prototype,"delay",void 0),_i([a()],Hi.prototype,"position",void 0),_i([
|
|
646
648
|
/**
|
|
647
649
|
* @license
|
|
648
650
|
* Copyright 2017 Google LLC
|
|
649
651
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
650
652
|
*/
|
|
651
|
-
function(t,o,e){let r,i=t;return"object"==typeof t?(i=t.slot,r=t):r={flatten:o},e?function(t){const{slot:o,selector:e}=null!=t?t:{};return l({descriptor:r=>({get(){var r;const i="slot"+(o?`[name=${o}]`:":not([name])"),n=null===(r=this.renderRoot)||void 0===r?void 0:r.querySelector(i),a=null!=n?p(n,t):[];return e?a.filter((t=>t.matches(e))):a},enumerable:!0,configurable:!0})})}({slot:i,flatten:o,selector:e}):l({descriptor:t=>({get(){var t,o;const e="slot"+(i?`[name=${i}]`:":not([name])"),n=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(e);return null!==(o=null==n?void 0:n.assignedNodes(r))&&void 0!==o?o:[]},enumerable:!0,configurable:!0})})}("",!0)],
|
|
653
|
+
function(t,o,e){let r,i=t;return"object"==typeof t?(i=t.slot,r=t):r={flatten:o},e?function(t){const{slot:o,selector:e}=null!=t?t:{};return l({descriptor:r=>({get(){var r;const i="slot"+(o?`[name=${o}]`:":not([name])"),n=null===(r=this.renderRoot)||void 0===r?void 0:r.querySelector(i),a=null!=n?p(n,t):[];return e?a.filter((t=>t.matches(e))):a},enumerable:!0,configurable:!0})})}({slot:i,flatten:o,selector:e}):l({descriptor:t=>({get(){var t,o;const e="slot"+(i?`[name=${i}]`:":not([name])"),n=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(e);return null!==(o=null==n?void 0:n.assignedNodes(r))&&void 0!==o?o:[]},enumerable:!0,configurable:!0})})}("",!0)],Hi.prototype,"slotNodes",void 0),_i([c(".ft-tooltip--container")],Hi.prototype,"container",void 0),_i([c(".ft-tooltip")],Hi.prototype,"tooltip",void 0),_i([c(".ft-tooltip--content")],Hi.prototype,"tooltipContent",void 0),_i([s()],Hi.prototype,"visible",void 0),d("ft-tooltip")(Hi);
|
|
652
654
|
/**
|
|
653
655
|
* @license
|
|
654
656
|
* Copyright 2017 Google LLC
|
|
655
657
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
656
658
|
*/
|
|
657
|
-
class Gi extends
|
|
659
|
+
class Gi extends ki{constructor(t){if(super(t),this.et=et,t.type!==Ui)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===et||null==t)return this.ft=void 0,this.et=t;if(t===ot)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.ft;this.et=t;const o=[t];return o.raw=o,this.ft={_$litType$:this.constructor.resultType,strings:o,values:[]}}}Gi.directiveName="unsafeHTML",Gi.resultType=1;const qi=Ii(Gi);var Vi,Yi;!function(t){t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.STAR="",t.STAR_PLAIN="",t.DESKTOP="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.ARROW_RIGHT_TO_LINE="",t.THIN_ARROW_UP="",t.CONTEXTUAL="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.LINE_CHART="",t.STACKED_CHART="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.UNSTRUCTURED_DOC="",t.RESET="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.MY_COLLECTIONS="",t.OFFLINE_SETTINGS="",t.MY_LIBRARY="",t.RATE_PLAIN="",t.RATE="",t.FEEDBACK_PLAIN="",t.PAUSE="",t.PLAY="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.SHORTCUT_MENU="",t.PRINT="",t.DEFAULT_ROLES="",t.ACCOUNT_SETTINGS="",t.ONLINE="",t.OFFLINE="",t.UPLOAD="",t.BOOK_PLAIN="",t.SYNC="",t.SHARED_PBK="",t.COLLECTIONS="",t.SEARCH_IN_PUBLICATION="",t.BOOKS="",t.LOCKER="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SAVE="",t.MAILS_AND_NOTIFICATIONS="",t.DOT="",t.MINUS="",t.PLUS="",t.FILTERS="",t.STRIPE_ARROW_RIGHT="",t.STRIPE_ARROW_LEFT="",t.ATTACHMENTS="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.EXPORT="",t.MENU="",t.TAG="",t.TAG_PLAIN="",t.COPY_TO_CLIPBOARD="",t.COLUMNS="",t.ARTICLE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.LOGOUT="",t.SIGN_IN="",t.THIN_ARROW="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.FACET_HAS_DESCENDANT="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.INFO="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.SHARE="󨃱",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.EXTLINK="",t.EXTLINK_LIGHT="",t.CALENDAR="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.TOPICS="",t.EYE="",t.EYE_SLASH="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN_THEME="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.HOME="",t.TRANSLATE="",t.USER="",t.ADMIN="",t.ANALYTICS="",t.ADMIN_KHUB="",t.ADMIN_USERS="",t.ADMIN_INTEGRATION="",t.ADMIN_PORTAL="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.PIP="",t.PIP_WIDE="",t.EXPAND_WIDE="",t.X_MARK=""}(Vi||(Vi={})),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=""}(Yi||(Yi={}));const Xi=new Map([...["abw"].map((t=>[t,Yi.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,Yi.AUDIO])),...["avi"].map((t=>[t,Yi.AVI])),...["chm","xhs"].map((t=>[t,Yi.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,Yi.CODE])),...["csv"].map((t=>[t,Yi.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Yi.DITA])),...["epub"].map((t=>[t,Yi.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Yi.EXCEL])),...["flac"].map((t=>[t,Yi.FLAC])),...["gif"].map((t=>[t,Yi.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Yi.GZIP])),...["html","htm","xhtml"].map((t=>[t,Yi.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,Yi.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Yi.JPEG])),...["json"].map((t=>[t,Yi.JSON])),...["m4a","m4p"].map((t=>[t,Yi.M4A])),...["mov","qt"].map((t=>[t,Yi.MOV])),...["mp3"].map((t=>[t,Yi.MP3])),...["mp4","m4v"].map((t=>[t,Yi.MP4])),...["ogg","oga"].map((t=>[t,Yi.OGG])),...["pdf","ps"].map((t=>[t,Yi.PDF])),...["png"].map((t=>[t,Yi.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Yi.POWERPOINT])),...["rar"].map((t=>[t,Yi.RAR])),...["stp"].map((t=>[t,Yi.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Yi.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,Yi.VIDEO])),...["wav"].map((t=>[t,Yi.WAV])),...["wma"].map((t=>[t,Yi.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Yi.WORD])),...["xml","xsl","rdf"].map((t=>[t,Yi.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Yi.YAML])),...["zip"].map((t=>[t,Yi.ZIP]))]),Ji=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);var Qi;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Qi||(Qi={}));var tn=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class on extends Ft{constructor(){super(...arguments),this.resolvedIcon=et}render(){const t=this.variant&&Object.values(Qi).includes(this.variant)?this.variant:Qi.fluid_topics,o=t!==Qi.material||!!this.value;return tt`
|
|
658
660
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
659
661
|
${qi(this.resolvedIcon)}
|
|
660
662
|
<slot ?hidden=${o}></slot>
|
|
@@ -666,7 +668,7 @@ class Gi extends Ii{constructor(t){if(super(t),this.et=et,t.type!==ki)throw Erro
|
|
|
666
668
|
<div></div>
|
|
667
669
|
<div></div>
|
|
668
670
|
</div>
|
|
669
|
-
`}}en.styles=gi,d("ft-loader")(en);var rn=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class nn extends(function(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[
|
|
671
|
+
`}}en.styles=gi,d("ft-loader")(en);var rn=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class nn extends(function(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[Be].form}constructor(...t){super(t),this[Be]=this.attachInternals(),this[Be].role=o}setFormValue(t){this[Be].setFormValue(t)}}}(Ft,"button")){constructor(){super(...arguments),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.onclick=t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(o=this.form)||void 0===o||o.requestSubmit())}}render(){return this.addTooltipIfNeeded(tt`
|
|
670
672
|
<button part="button"
|
|
671
673
|
class="${Li(this.buttonClasses)}"
|
|
672
674
|
aria-label="${this.getLabel()}"
|
|
@@ -675,7 +677,7 @@ class Gi extends Ii{constructor(t){if(super(t),this.et=et,t.type!==ki)throw Erro
|
|
|
675
677
|
<ft-typography part="label"
|
|
676
678
|
variant=${this.typographyVariant}
|
|
677
679
|
element="span"
|
|
678
|
-
class="ft-button--label ${
|
|
680
|
+
class="ft-button--label ${Ze?"ft-safari-ellipsis-fix":""}"
|
|
679
681
|
?hidden=${!this.hasTextContent()}>
|
|
680
682
|
<slot @slotchange=${this.onSlotchange}></slot>
|
|
681
683
|
</ft-typography>
|
|
@@ -689,7 +691,7 @@ class Gi extends Ii{constructor(t){if(super(t),this.et=et,t.type!==ki)throw Erro
|
|
|
689
691
|
</ft-tooltip>
|
|
690
692
|
`:t}resolveIcon(){return this.loading?tt`
|
|
691
693
|
<ft-loader part="loader icon"></ft-loader> `:this.icon?tt`
|
|
692
|
-
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:et}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}nn.elementDefinitions={"ft-ripple":
|
|
694
|
+
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:et}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}nn.elementDefinitions={"ft-ripple":Ai,"ft-tooltip":Hi,"ft-typography":zi,"ft-icon":on,"ft-loader":en},rn([a({type:String,reflect:!0})],nn.prototype,"role",void 0),rn([a()],nn.prototype,"type",void 0),rn([a({type:Boolean})],nn.prototype,"disabled",void 0),rn([a()],nn.prototype,"label",void 0),rn([a()],nn.prototype,"icon",void 0),rn([a()],nn.prototype,"iconVariant",void 0),rn([a({type:Boolean})],nn.prototype,"trailingIcon",void 0),rn([a({type:Boolean})],nn.prototype,"loading",void 0),rn([a()],nn.prototype,"tooltipPosition",void 0),rn([a({type:Boolean})],nn.prototype,"hideTooltip",void 0),rn([a({type:Boolean})],nn.prototype,"forceTooltip",void 0),rn([c(".ft-button")],nn.prototype,"button",void 0),rn([c(".ft-button--label slot")],nn.prototype,"slottedContent",void 0);var an=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class sn extends nn{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"}}sn.styles=[Bt,Ri],an([a({type:Boolean})],sn.prototype,"primary",void 0),an([a({type:Boolean})],sn.prototype,"outlined",void 0),an([a({type:Boolean})],sn.prototype,"dense",void 0),an([a({type:Boolean})],sn.prototype,"round",void 0);const ln=[O`
|
|
693
695
|
:host {
|
|
694
696
|
display: inline-block;
|
|
695
697
|
max-width: 100%;
|
|
@@ -739,7 +741,7 @@ class Gi extends Ii{constructor(t){if(super(t),this.et=et,t.type!==ki)throw Erro
|
|
|
739
741
|
}
|
|
740
742
|
|
|
741
743
|
.ft-button:focus-visible {
|
|
742
|
-
outline-color: ${
|
|
744
|
+
outline-color: ${$t.focusFocusRingColor};
|
|
743
745
|
outline-style: solid;
|
|
744
746
|
}
|
|
745
747
|
|
|
@@ -768,146 +770,146 @@ class Gi extends Ii{constructor(t){if(super(t),this.et=et,t.type!==ki)throw Erro
|
|
|
768
770
|
/** Primary styles **/
|
|
769
771
|
|
|
770
772
|
.ft-button--primary {
|
|
771
|
-
${Nt(yi.color
|
|
773
|
+
${Nt(yi.color,$t.primaryIconColor)};
|
|
772
774
|
|
|
773
|
-
${Nt(
|
|
774
|
-
${Nt(
|
|
775
|
-
${Nt(
|
|
776
|
-
${Nt(
|
|
777
|
-
${Nt(
|
|
775
|
+
${Nt(_e.color,$t.primaryStateLayerColor)};
|
|
776
|
+
${Nt(_e.opacityContentOnSurfaceHover,$t.primaryStateLayerOpacityHover)};
|
|
777
|
+
${Nt(_e.opacityContentOnSurfaceFocused,$t.primaryStateLayerOpacityFocus)};
|
|
778
|
+
${Nt(_e.opacityContentOnSurfaceSelected,$t.primaryStateLayerOpacityActive)};
|
|
779
|
+
${Nt(_e.opacityContentOnSurfacePressed,$t.primaryStateLayerOpacityActive)};
|
|
778
780
|
|
|
779
|
-
background-color: ${
|
|
780
|
-
color: ${
|
|
781
|
+
background-color: ${$t.primaryBackgroundColor};
|
|
782
|
+
color: ${$t.primaryColor};
|
|
781
783
|
border-style: none;
|
|
782
784
|
}
|
|
783
785
|
|
|
784
786
|
.ft-button--primary[disabled] {
|
|
785
|
-
opacity: ${
|
|
787
|
+
opacity: ${$t.primaryComponentOpacityDisabled};
|
|
786
788
|
}
|
|
787
789
|
|
|
788
790
|
.ft-button--primary ft-icon {
|
|
789
|
-
color: ${
|
|
791
|
+
color: ${$t.primaryIconColor};
|
|
790
792
|
}
|
|
791
793
|
|
|
792
794
|
/** Secondary styles **/
|
|
793
795
|
|
|
794
796
|
.ft-button--secondary {
|
|
795
|
-
${Nt(yi.color
|
|
797
|
+
${Nt(yi.color,$t.secondaryIconColor)};
|
|
796
798
|
|
|
797
|
-
${Nt(
|
|
798
|
-
${Nt(
|
|
799
|
-
${Nt(
|
|
800
|
-
${Nt(
|
|
801
|
-
${Nt(
|
|
799
|
+
${Nt(_e.color,$t.secondaryStateLayerColor)};
|
|
800
|
+
${Nt(_e.opacityContentOnSurfaceHover,$t.secondaryStateLayerOpacityHover)};
|
|
801
|
+
${Nt(_e.opacityContentOnSurfaceFocused,$t.secondaryStateLayerOpacityFocus)};
|
|
802
|
+
${Nt(_e.opacityContentOnSurfaceSelected,$t.secondaryStateLayerOpacityActive)};
|
|
803
|
+
${Nt(_e.opacityContentOnSurfacePressed,$t.secondaryStateLayerOpacityActive)};
|
|
802
804
|
|
|
803
|
-
background-color: ${
|
|
804
|
-
color: ${
|
|
805
|
-
border-color: ${
|
|
805
|
+
background-color: ${$t.secondaryBackgroundColor};
|
|
806
|
+
color: ${$t.secondaryColor};
|
|
807
|
+
border-color: ${$t.secondaryBorderColor};
|
|
806
808
|
border-style: solid;
|
|
807
809
|
}
|
|
808
810
|
|
|
809
811
|
.ft-button--secondary[disabled] {
|
|
810
|
-
opacity: ${
|
|
812
|
+
opacity: ${$t.secondaryComponentOpacityDisabled};
|
|
811
813
|
}
|
|
812
814
|
|
|
813
815
|
.ft-button--secondary ft-icon {
|
|
814
|
-
color: ${
|
|
816
|
+
color: ${$t.secondaryIconColor};
|
|
815
817
|
}
|
|
816
818
|
|
|
817
819
|
/** Tertiary styles **/
|
|
818
820
|
|
|
819
821
|
.ft-button--tertiary {
|
|
820
|
-
${Nt(yi.color
|
|
822
|
+
${Nt(yi.color,$t.tertiaryIconColor)};
|
|
821
823
|
|
|
822
|
-
${Nt(
|
|
823
|
-
${Nt(
|
|
824
|
-
${Nt(
|
|
825
|
-
${Nt(
|
|
826
|
-
${Nt(
|
|
824
|
+
${Nt(_e.color,$t.tertiaryStateLayerColor)};
|
|
825
|
+
${Nt(_e.opacityContentOnSurfaceHover,$t.tertiaryStateLayerOpacityHover)};
|
|
826
|
+
${Nt(_e.opacityContentOnSurfaceFocused,$t.tertiaryStateLayerOpacityFocus)};
|
|
827
|
+
${Nt(_e.opacityContentOnSurfaceSelected,$t.tertiaryStateLayerOpacityActive)};
|
|
828
|
+
${Nt(_e.opacityContentOnSurfacePressed,$t.tertiaryStateLayerOpacityActive)};
|
|
827
829
|
|
|
828
|
-
background-color: ${
|
|
829
|
-
color: ${
|
|
830
|
+
background-color: ${$t.tertiaryBackgroundColor};
|
|
831
|
+
color: ${$t.tertiaryColor};
|
|
830
832
|
border-style: none;
|
|
831
833
|
}
|
|
832
834
|
|
|
833
835
|
.ft-button--tertiary[disabled] {
|
|
834
|
-
opacity: ${
|
|
836
|
+
opacity: ${$t.tertiaryComponentOpacityDisabled};
|
|
835
837
|
}
|
|
836
838
|
|
|
837
839
|
.ft-button--tertiary ft-icon {
|
|
838
|
-
color: ${
|
|
840
|
+
color: ${$t.tertiaryIconColor};
|
|
839
841
|
}
|
|
840
842
|
|
|
841
843
|
/** Neutral styles **/
|
|
842
844
|
|
|
843
845
|
.ft-button--neutral {
|
|
844
|
-
${Nt(yi.color
|
|
846
|
+
${Nt(yi.color,$t.neutralIconColor)};
|
|
845
847
|
|
|
846
|
-
${Nt(
|
|
847
|
-
${Nt(
|
|
848
|
-
${Nt(
|
|
849
|
-
${Nt(
|
|
850
|
-
${Nt(
|
|
848
|
+
${Nt(_e.backgroundColor,$t.neutralStateLayerColor)};
|
|
849
|
+
${Nt(_e.opacityContentOnSurfaceHover,$t.neutralStateLayerOpacityHover)};
|
|
850
|
+
${Nt(_e.opacityContentOnSurfaceFocused,$t.neutralStateLayerOpacityFocus)};
|
|
851
|
+
${Nt(_e.opacityContentOnSurfaceSelected,$t.neutralStateLayerOpacityActive)};
|
|
852
|
+
${Nt(_e.opacityContentOnSurfacePressed,$t.neutralStateLayerOpacityActive)};
|
|
851
853
|
|
|
852
|
-
background-color: ${
|
|
853
|
-
color: ${
|
|
854
|
+
background-color: ${$t.neutralBackgroundColor};
|
|
855
|
+
color: ${$t.neutralColor};
|
|
854
856
|
border-style: none;
|
|
855
857
|
}
|
|
856
858
|
|
|
857
859
|
.ft-button--neutral[disabled] {
|
|
858
|
-
opacity: ${
|
|
860
|
+
opacity: ${$t.neutralComponentOpacityDisabled};
|
|
859
861
|
}
|
|
860
862
|
|
|
861
863
|
.ft-button--neutral ft-icon {
|
|
862
|
-
color: ${
|
|
864
|
+
color: ${$t.neutralIconColor};
|
|
863
865
|
}
|
|
864
866
|
|
|
865
867
|
/** Large styles **/
|
|
866
868
|
|
|
867
869
|
.ft-button--large {
|
|
868
|
-
${Nt(bi.size
|
|
869
|
-
${Nt(yi.size
|
|
870
|
-
|
|
871
|
-
height: ${
|
|
872
|
-
padding: 0 ${
|
|
873
|
-
gap: ${
|
|
874
|
-
border-radius: ${
|
|
875
|
-
border-width: ${
|
|
870
|
+
${Nt(bi.size,$t.largeIconSize)};
|
|
871
|
+
${Nt(yi.size,$t.largeIconSize)};
|
|
872
|
+
|
|
873
|
+
height: ${$t.largeHeight};
|
|
874
|
+
padding: 0 ${$t.largeHorizontalPadding};
|
|
875
|
+
gap: ${$t.largeGap};
|
|
876
|
+
border-radius: ${$t.largeBorderRadius};
|
|
877
|
+
border-width: ${$t.largeBorderWidth};
|
|
876
878
|
}
|
|
877
879
|
|
|
878
880
|
.ft-button--large:focus-visible {
|
|
879
|
-
outline-width: ${
|
|
880
|
-
outline-offset: ${
|
|
881
|
+
outline-width: ${$t.largeFocusOutlineWidth};
|
|
882
|
+
outline-offset: ${$t.largeFocusOutlineOffset};
|
|
881
883
|
}
|
|
882
884
|
|
|
883
885
|
.ft-button--large.ft-button--icon-only {
|
|
884
|
-
width: ${
|
|
886
|
+
width: ${$t.largeIconOnlyWidth};
|
|
885
887
|
padding: unset;
|
|
886
888
|
}
|
|
887
889
|
|
|
888
890
|
/** Small styles **/
|
|
889
891
|
|
|
890
892
|
.ft-button--small {
|
|
891
|
-
${Nt(bi.size
|
|
892
|
-
${Nt(yi.size
|
|
893
|
-
|
|
894
|
-
height: ${
|
|
895
|
-
padding: 0 ${
|
|
896
|
-
gap: ${
|
|
897
|
-
border-radius: ${
|
|
898
|
-
border-width: ${
|
|
893
|
+
${Nt(bi.size,$t.smallIconSize)};
|
|
894
|
+
${Nt(yi.size,$t.smallIconSize)};
|
|
895
|
+
|
|
896
|
+
height: ${$t.smallHeight};
|
|
897
|
+
padding: 0 ${$t.smallHorizontalPadding};
|
|
898
|
+
gap: ${$t.smallGap};
|
|
899
|
+
border-radius: ${$t.smallBorderRadius};
|
|
900
|
+
border-width: ${$t.smallBorderWidth};
|
|
899
901
|
}
|
|
900
902
|
|
|
901
903
|
.ft-button--small:focus-visible {
|
|
902
|
-
outline-width: ${
|
|
903
|
-
outline-offset: ${
|
|
904
|
+
outline-width: ${$t.smallFocusOutlineWidth};
|
|
905
|
+
outline-offset: ${$t.smallFocusOutlineOffset};
|
|
904
906
|
}
|
|
905
907
|
|
|
906
908
|
.ft-button--small.ft-button--icon-only {
|
|
907
|
-
width: ${
|
|
909
|
+
width: ${$t.smallIconOnlyWidth};
|
|
908
910
|
padding: unset;
|
|
909
911
|
}
|
|
910
|
-
`,
|
|
912
|
+
`,Kt];var cn=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class fn extends nn{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?Pi.caption1medium:Pi.body2medium}}fn.styles=[Bt,ln],cn([a({type:Boolean})],fn.prototype,"primary",void 0),cn([a({type:Boolean})],fn.prototype,"secondary",void 0),cn([a({type:Boolean})],fn.prototype,"tertiary",void 0),cn([a({type:Boolean})],fn.prototype,"neutral",void 0),cn([a({type:Boolean})],fn.prototype,"small",void 0),d("ft-button")(sn),d("ftds-button")(fn);const pn={height:St.create("--ft-search-input-height","","SIZE","38px"),borderRadius:St.extend("--ft-search-input-border-radius","",Ut.borderRadiusS),desktopFiltersHeight:St.create("--ft-search-input-desktop-filters-height","","SIZE","350px"),floatingZIndex:St.create("--ft-search-input-floating-components-z-index","","NUMBER","3"),colorSurface:St.external(Ut.colorSurface,"Design system"),colorOnSurface:St.external(Ut.colorOnSurface,"Design system"),colorOnSurfaceMedium:St.external(Ut.colorOnSurfaceMedium,"Design system"),colorOutline:St.external(Ut.colorOutline,"Design system"),colorPrimary:St.external(Ut.colorPrimary,"Design system"),elevation02:St.external(Ut.elevation02,"Design system"),buttonColor:St.external(xi.color,"Button"),buttonRippleColor:St.external(xi.rippleColor,"Button")},un=O`
|
|
911
913
|
* {
|
|
912
914
|
box-sizing: border-box;
|
|
913
915
|
}
|
|
@@ -962,7 +964,7 @@ class Gi extends Ii{constructor(t){if(super(t),this.et=et,t.type!==ki)throw Erro
|
|
|
962
964
|
align-items: center;
|
|
963
965
|
height: 100%;
|
|
964
966
|
|
|
965
|
-
${Nt(
|
|
967
|
+
${Nt(Zi.zIndex,`calc(${pn.floatingZIndex} + 1)`)};
|
|
966
968
|
}
|
|
967
969
|
|
|
968
970
|
.ft-search-input > ft-button,
|
|
@@ -988,15 +990,15 @@ class Gi extends Ii{constructor(t){if(super(t),this.et=et,t.type!==ki)throw Erro
|
|
|
988
990
|
height: 20px;
|
|
989
991
|
border-right: 1px solid ${pn.colorOutline};
|
|
990
992
|
}
|
|
991
|
-
`,dn=O`
|
|
992
|
-
|
|
993
|
+
`;var dn,hn,yn,gn,bn,mn,vn,xn,On,wn,Sn,Nn,Cn,En;!function(t){!function(o){var e={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(e.arrayBuffer)var r=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],i=ArrayBuffer.isView||function(t){return t&&r.indexOf(Object.prototype.toString.call(t))>-1};function n(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function a(t){return"string"!=typeof t&&(t=String(t)),t}function s(t){var o={next:function(){var o=t.shift();return{done:void 0===o,value:o}}};return e.iterable&&(o[Symbol.iterator]=function(){return o}),o}function l(t){this.map={},t instanceof l?t.forEach((function(t,o){this.append(o,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(o){this.append(o,t[o])}),this)}function c(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function f(t){return new Promise((function(o,e){t.onload=function(){o(t.result)},t.onerror=function(){e(t.error)}}))}function p(t){var o=new FileReader,e=f(o);return o.readAsArrayBuffer(t),e}function u(t){if(t.slice)return t.slice(0);var o=new Uint8Array(t.byteLength);return o.set(new Uint8Array(t)),o.buffer}function d(){return this.bodyUsed=!1,this._initBody=function(t){var o;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:e.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:e.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():e.arrayBuffer&&e.blob&&((o=t)&&DataView.prototype.isPrototypeOf(o))?(this._bodyArrayBuffer=u(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):e.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||i(t))?this._bodyArrayBuffer=u(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},e.blob&&(this.blob=function(){var t=c(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?c(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(p)}),this.text=function(){var t=c(this);if(t)return t;if(this._bodyBlob)return function(t){var o=new FileReader,e=f(o);return o.readAsText(t),e}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var o=new Uint8Array(t),e=new Array(o.length),r=0;r<o.length;r++)e[r]=String.fromCharCode(o[r]);return e.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},e.formData&&(this.formData=function(){return this.text().then(g)}),this.json=function(){return this.text().then(JSON.parse)},this}l.prototype.append=function(t,o){t=n(t),o=a(o);var e=this.map[t];this.map[t]=e?e+", "+o:o},l.prototype.delete=function(t){delete this.map[n(t)]},l.prototype.get=function(t){return t=n(t),this.has(t)?this.map[t]:null},l.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},l.prototype.set=function(t,o){this.map[n(t)]=a(o)},l.prototype.forEach=function(t,o){for(var e in this.map)this.map.hasOwnProperty(e)&&t.call(o,this.map[e],e,this)},l.prototype.keys=function(){var t=[];return this.forEach((function(o,e){t.push(e)})),s(t)},l.prototype.values=function(){var t=[];return this.forEach((function(o){t.push(o)})),s(t)},l.prototype.entries=function(){var t=[];return this.forEach((function(o,e){t.push([e,o])})),s(t)},e.iterable&&(l.prototype[Symbol.iterator]=l.prototype.entries);var h=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function y(t,o){var e,r,i=(o=o||{}).body;if(t instanceof y){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,o.headers||(this.headers=new l(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,i||null==t._bodyInit||(i=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=o.credentials||this.credentials||"same-origin",!o.headers&&this.headers||(this.headers=new l(o.headers)),this.method=(e=o.method||this.method||"GET",r=e.toUpperCase(),h.indexOf(r)>-1?r:e),this.mode=o.mode||this.mode||null,this.signal=o.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i)}function g(t){var o=new FormData;return t.trim().split("&").forEach((function(t){if(t){var e=t.split("="),r=e.shift().replace(/\+/g," "),i=e.join("=").replace(/\+/g," ");o.append(decodeURIComponent(r),decodeURIComponent(i))}})),o}function b(t,o){o||(o={}),this.type="default",this.status=void 0===o.status?200:o.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in o?o.statusText:"OK",this.headers=new l(o.headers),this.url=o.url||"",this._initBody(t)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},d.call(y.prototype),d.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];b.redirect=function(t,o){if(-1===m.indexOf(o))throw new RangeError("Invalid status code");return new b(null,{status:o,headers:{location:t}})},o.DOMException=t.DOMException;try{new o.DOMException}catch(t){o.DOMException=function(t,o){this.message=t,this.name=o;var e=Error(t);this.stack=e.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function v(t,r){return new Promise((function(i,n){var a=new y(t,r);if(a.signal&&a.signal.aborted)return n(new o.DOMException("Aborted","AbortError"));var s=new XMLHttpRequest;function c(){s.abort()}s.onload=function(){var t,o,e={status:s.status,statusText:s.statusText,headers:(t=s.getAllResponseHeaders()||"",o=new l,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var e=t.split(":"),r=e.shift().trim();if(r){var i=e.join(":").trim();o.append(r,i)}})),o)};e.url="responseURL"in s?s.responseURL:e.headers.get("X-Request-URL");var r="response"in s?s.response:s.responseText;i(new b(r,e))},s.onerror=function(){n(new TypeError("Network request failed"))},s.ontimeout=function(){n(new TypeError("Network request failed"))},s.onabort=function(){n(new o.DOMException("Aborted","AbortError"))},s.open(a.method,a.url,!0),"include"===a.credentials?s.withCredentials=!0:"omit"===a.credentials&&(s.withCredentials=!1),"responseType"in s&&e.blob&&(s.responseType="blob"),a.headers.forEach((function(t,o){s.setRequestHeader(o,t)})),a.signal&&(a.signal.addEventListener("abort",c),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",c)}),s.send(void 0===a._bodyInit?null:a._bodyInit)}))}v.polyfill=!0,t.fetch||(t.fetch=v,t.Headers=l,t.Request=y,t.Response=b),o.Headers=l,o.Request=y,o.Response=b,o.fetch=v,Object.defineProperty(o,"W",{value:!0})}({})}("undefined"!=typeof self?self:void 0),function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"}(dn||(dn={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(hn||(hn={})),function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"}(yn||(yn={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(gn||(gn={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(bn||(bn={})),function(t){t.ASC="ASC",t.DESC="DESC"}(mn||(mn={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(vn||(vn={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(xn||(xn={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(On||(On={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(wn||(wn={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Sn||(Sn={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(Nn||(Nn={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS"}(Cn||(Cn={})),function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"}(En||(En={})),En.PERSONAL_BOOK_SHARE_USER,En.PERSONAL_BOOK_USER,En.HTML_EXPORT_USER,En.PERSONAL_BOOK_USER,En.PDF_EXPORT_USER,En.PERSONAL_BOOK_USER,En.KHUB_ADMIN,En.CONTENT_PUBLISHER,En.ADMIN,En.KHUB_ADMIN,En.USERS_ADMIN,En.PORTAL_ADMIN,En.DEVELOPER,En.BETA_USER,En.DEBUG_USER;const Rn=O`
|
|
994
|
+
`,$n=Ke.get({name:"ft-app-info",reducers:{setBaseUrl:(t,o)=>{t.baseUrl=o.payload},setApiIntegrationIdentifier:(t,o)=>{t.apiIntegrationIdentifier=o.payload},setUiLocale:(t,o)=>{t.uiLocale=o.payload},setAvailableUiLocales:(t,o)=>{t.availableUiLocales=o.payload},setEditorMode:(t,o)=>{t.editorMode=o.payload},setNoCustom:(t,o)=>{t.noCustom=o.payload},setNoCustomComponent:(t,o)=>{t.noCustomComponent=o.payload},setSession:(t,o)=>{t.session=o.payload}},initialState:{uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],editorMode:!1,noCustom:!1,noCustomComponent:!1}});class Un{static build(t){const{baseUrl:o,apiIntegrationIdentifier:e}=$n.getState(),r=null!=t?t:e;if(o&&r&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,r,!0)}static get(t){var o;return null!=t?Un.build(t):null!==(o=Un.API)&&void 0!==o?o:Un.API=Un.build()}static await(t){return new Promise((o=>{let e=Un.get(t);if(e)o(e);else{const r=$n.subscribe((()=>{e=Un.get(t),e&&(r(),o(e))}))}}))}}var In;const kn=Symbol("clearAfterUnitTest");class Ln{constructor(t){this.messageContextProvider=t,this.defaultMessages={},this.cache=new r,this.listeners={},this.currentUiLocale="",this[In]=()=>{this.defaultMessages={},this.cache=new r,this.listeners={}},this.currentUiLocale=$n.getState().uiLocale,$n.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=$n.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,o){var e;if(t=t.toLowerCase(),Object.keys(o).length>0){const r={...null!==(e=this.defaultMessages[t])&&void 0!==e?e:{},...o};u(this.defaultMessages[t],r)||(this.defaultMessages[t]=r,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,o,...e){var r,i,n;t=t.toLowerCase(),this.fetchContext(t);const a=null!==(i=null===(r=this.cache.getNow(t))||void 0===r?void 0:r.messages)&&void 0!==i?i:{};return new Pt(null!==(n=this.defaultMessages[t])&&void 0!==n?n:{},a).resolve(o,...e)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,o){var e;return t=t.toLowerCase(),this.listeners[t]=null!==(e=this.listeners[t])&&void 0!==e?e:new Set,this.listeners[t].add(o),()=>{var e;return null===(e=this.listeners[t])||void 0===e?void 0:e.delete(o)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>{return(o=0,new Promise((t=>setTimeout(t,o)))).then((()=>t())).catch((()=>null));var o})))}}In=kn,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new Ln((async(t,o)=>(await Un.await()).getFluidTopicsMessageContext(t,o)))),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new Ln((async(t,o)=>(await Un.await()).getCustomMessageContext(t,o))));const Wn=window.FluidTopicsI18nService,An=window.FluidTopicsCustomI18nService;var jn=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Fn extends Ft{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.availableUiLocales=[],this.editorMode=!1,this.noCustom=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.messageContexts=[],this.apiProvider=()=>Un.get(),this.cache=new r,this.cleanSessionDebouncer=new i}render(){return tt`
|
|
993
995
|
<slot></slot>
|
|
994
|
-
`}update(t){super.update(t),t.has("baseUrl")
|
|
995
|
-
`;var
|
|
996
|
+
`}update(t){super.update(t),t.has("baseUrl")&&$n.actions.setBaseUrl(this.baseUrl),t.has("apiIntegrationIdentifier")&&$n.actions.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&$n.actions.setUiLocale(this.uiLocale),t.has("noCustom")&&$n.actions.setNoCustom(this.noCustom),t.has("editorMode")&&$n.actions.setEditorMode(this.editorMode),t.has("noCustomComponent")&&$n.actions.setNoCustomComponent(this.noCustomComponent),t.has("session")&&$n.actions.setSession(this.session),t.has("availableUiLocales")&&$n.actions.setAvailableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Wn.addContext(t))),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){const t=this.apiProvider();!this.withManualResources&&t&&(null==this.session&&(this.session=await this.cache.get("session",(async()=>{const o=await t.getCurrentSession();return o.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),o.idleTimeoutInMillis),o}))),null==this.availableUiLocales&&(this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>t.getAvailableUiLocales()))))}}Fn.elementDefinitions={},Fn.styles=Rn,jn([a()],Fn.prototype,"baseUrl",void 0),jn([a()],Fn.prototype,"apiIntegrationIdentifier",void 0),jn([a()],Fn.prototype,"uiLocale",void 0),jn([h([])],Fn.prototype,"availableUiLocales",void 0),jn([a({type:Boolean})],Fn.prototype,"editorMode",void 0),jn([a({type:Boolean})],Fn.prototype,"noCustom",void 0),jn([a({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Fn.prototype,"noCustomComponent",void 0),jn([a({type:Boolean})],Fn.prototype,"withManualResources",void 0),jn([h([])],Fn.prototype,"messageContexts",void 0),jn([h(void 0)],Fn.prototype,"session",void 0),jn([a({type:Object})],Fn.prototype,"apiProvider",void 0);class Kn{async listMySearches(){var t;return(null===(t=$n.getState().session)||void 0===t?void 0:t.sessionAuthenticated)?(await Un.await()).listMySearches($n.getState().session.profile.userId):[]}}const Dn=new r;class Bn{async listMyBookmarks(){return Dn.get("bookmarks",(async()=>(await Un.await()).listMyBookmarks($n.getState().session.profile.userId)))}clearCache(){Dn.clear("bookmarks")}}const Pn=Ke.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});new class{constructor(){this.currentSession=$n.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Bn,$n.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:o}=$n.getState();u(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==o?void 0:o.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){Pn.actions.savedSearches(void 0)}clearMyBookmarks(){Pn.actions.bookmarks(void 0)}async reloadMySearches(){const t=new Kn,o=await t.listMySearches();Pn.actions.savedSearches(o)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const o=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;Pn.actions.bookmarks(o)}}},d("ft-app-context")(Fn);class Mn extends Event{constructor(){super(Mn.eventName)}}Mn.eventName="search-context-clear-all-filters";var zn=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class Zn extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const Tn=Symbol("registerInterval");class _n extends(function(t){var o;class e extends t{constructor(){super(...arguments),this[o]=0}setSearchStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[Tn]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[Tn]):this.dispatchEvent(new Zn)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return o=Tn,zn([s()],e.prototype,"stateManager",void 0),e}(qt)){}const Hn=O`
|
|
997
|
+
`;var Gn=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const qn=Symbol("i18nProperties"),Vn=Symbol("i18nUnsubs");function Yn(t){var o;class e extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[o]=new Map}get i18nService(){return this.useCustomMessageContexts?An:Wn}i18n(t,o,...e){var r;if("string"==typeof t)return this.i18nService.resolveMessage(t,o,...e);const i=null!==(r=t.args)&&void 0!==r?r:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...i)}onI18nUpdate(t){var o;null===(o=this[qn])||void 0===o||o.forEach(((o,e)=>{o.context.toLowerCase()===t.toLowerCase()&&(this[e]=this.i18n(o))})),setTimeout((()=>this.requestUpdate()),0)}update(t){var o;super.update(t),null===(o=this[qn])||void 0===o||o.forEach(((t,o)=>{null!=t.argsProvider&&(this[o]=this.i18n(t))}))}connectedCallback(){super.connectedCallback(),null!=this[qn]&&new Set([...this[qn].values()].map((t=>t.context))).forEach((t=>this.addI18nMessages(t)))}addI18nMessages(t,o){t=t.toLowerCase(),this[Vn].has(t)||this[Vn].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=o?o:{})}addI18nContext(t,o){this.addI18nMessages(t.name,o)}disconnectedCallback(){super.disconnectedCallback(),this[Vn].forEach((t=>t())),this[Vn].clear()}}return o=Vn,Gn([a({type:Boolean})],e.prototype,"useCustomMessageContexts",void 0),e}class Xn extends(Yn(Ft)){}class Jn extends(Yn(qt)){}var Qn=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ta extends Jn{constructor(){super(),this.editorMode=!1,this.addStore($n)}render(){return this.key&&this.context?tt`
|
|
996
998
|
<span class="ft-i18n">
|
|
997
999
|
${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
|
|
998
1000
|
</span>
|
|
999
|
-
`:this.editorMode?"Select a context and a label key.":et}update(t){super.update(t),this.context&&this.key&&this.defaultMessage&&this.addI18nMessages(this.context,{[this.key]:this.defaultMessage})}}
|
|
1001
|
+
`:this.editorMode?"Select a context and a label key.":et}update(t){super.update(t),this.context&&this.key&&this.defaultMessage&&this.addI18nMessages(this.context,{[this.key]:this.defaultMessage})}}ta.elementDefinitions={},ta.styles=Hn,Qn([De()],ta.prototype,"editorMode",void 0),Qn([a()],ta.prototype,"context",void 0),Qn([a()],ta.prototype,"key",void 0),Qn([h([])],ta.prototype,"args",void 0),Qn([a()],ta.prototype,"defaultMessage",void 0);class oa{static build(t){return new oa(t)}static fromGwt(t){return new oa(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,o)=>{const e=o;return t=>({context:this.name,key:e,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,o)=>(...t)=>Wn.resolveMessage(this.name,o,...t)})}}d("ft-i18n")(ta);const ea=oa.build("designedSearchInput"),ra=O`
|
|
1000
1002
|
* {
|
|
1001
1003
|
box-sizing: border-box;
|
|
1002
1004
|
}
|
|
@@ -1043,11 +1045,11 @@ class Gi extends Ii{constructor(t){if(super(t),this.et=et,t.type!==ki)throw Erro
|
|
|
1043
1045
|
* @license
|
|
1044
1046
|
* Copyright 2020 Google LLC
|
|
1045
1047
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1046
|
-
*/,{I:
|
|
1048
|
+
*/,{I:ia}=gt,na=()=>document.createComment(""),aa=(t,o,e)=>{var r;const i=t._$AA.parentNode,n=void 0===o?t._$AB:o._$AA;if(void 0===e){const o=i.insertBefore(na(),n),r=i.insertBefore(na(),n);e=new ia(o,r,t,t.options)}else{const o=e._$AB.nextSibling,a=e._$AM,s=a!==t;if(s){let o;null===(r=e._$AQ)||void 0===r||r.call(e,t),e._$AM=t,void 0!==e._$AP&&(o=t._$AU)!==a._$AU&&e._$AP(o)}if(o!==n||s){let t=e._$AA;for(;t!==o;){const o=t.nextSibling;i.insertBefore(t,n),t=o}}}return e},sa=(t,o,e=t)=>(t._$AI(o,e),t),la={},ca=t=>{var o;null===(o=t._$AP)||void 0===o||o.call(t,!1,!0);let e=t._$AA;const r=t._$AB.nextSibling;for(;e!==r;){const t=e.nextSibling;e.remove(),e=t}},fa=(t,o,e)=>{const r=new Map;for(let i=o;i<=e;i++)r.set(t[i],i);return r},pa=Ii(class extends ki{constructor(t){if(super(t),t.type!==Ui)throw Error("repeat() can only be used in text expressions")}dt(t,o,e){let r;void 0===e?e=o:void 0!==o&&(r=o);const i=[],n=[];let a=0;for(const o of t)i[a]=r?r(o,a):a,n[a]=e(o,a),a++;return{values:n,keys:i}}render(t,o,e){return this.dt(t,o,e).values}update(t,[o,e,r]){var i;const n=(t=>t._$AH)(t),{values:a,keys:s}=this.dt(o,e,r);if(!Array.isArray(n))return this.ht=s,a;const l=null!==(i=this.ht)&&void 0!==i?i:this.ht=[],c=[];let f,p,u=0,d=n.length-1,h=0,y=a.length-1;for(;u<=d&&h<=y;)if(null===n[u])u++;else if(null===n[d])d--;else if(l[u]===s[h])c[h]=sa(n[u],a[h]),u++,h++;else if(l[d]===s[y])c[y]=sa(n[d],a[y]),d--,y--;else if(l[u]===s[y])c[y]=sa(n[u],a[y]),aa(t,c[y+1],n[u]),u++,y--;else if(l[d]===s[h])c[h]=sa(n[d],a[h]),aa(t,n[u],n[d]),d--,h++;else if(void 0===f&&(f=fa(s,h,y),p=fa(l,u,d)),f.has(l[u]))if(f.has(l[d])){const o=p.get(s[h]),e=void 0!==o?n[o]:null;if(null===e){const o=aa(t,n[u]);sa(o,a[h]),c[h]=o}else c[h]=sa(e,a[h]),aa(t,n[u],e),n[o]=null;h++}else ca(n[d]),d--;else ca(n[u]),u++;for(;h<=y;){const o=aa(t,c[y+1]);sa(o,a[h]),c[h++]=o}for(;u<=d;){const t=n[u++];null!==t&&ca(t)}return this.ht=s,((t,o=la)=>{t._$AH=o})(t,c),ot}});var ua=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class da extends CustomEvent{constructor(t){super("suggestion-selected",{detail:t})}}let ha=class extends _n{render(){return tt`
|
|
1047
1049
|
<div class="ft-search-input-suggestion ft-word-wrap"
|
|
1048
1050
|
part="container"
|
|
1049
1051
|
@keydown=${t=>this.onSuggestKeyDown(t)}>
|
|
1050
|
-
${
|
|
1052
|
+
${pa(this.suggestResults||[],(t=>t.value),(t=>tt`
|
|
1051
1053
|
<a href="#"
|
|
1052
1054
|
part="suggestion"
|
|
1053
1055
|
class="ft-search-input-suggestion--suggestion"
|
|
@@ -1059,16 +1061,16 @@ class Gi extends Ii{constructor(t){if(super(t),this.et=et,t.type!==ki)throw Erro
|
|
|
1059
1061
|
</a>
|
|
1060
1062
|
`))}
|
|
1061
1063
|
</div>
|
|
1062
|
-
`}onSuggestKeyDown(t){var o,e,r,i,n,a;switch(t.key){case"ArrowUp":null===(r=null!==(e=null===(o=this.getFocusedSuggestionElement())||void 0===o?void 0:o.previousElementSibling)&&void 0!==e?e:this.getLastSuggestionElement())||void 0===r||r.focus(),t.preventDefault(),t.stopPropagation();break;case"ArrowDown":null===(a=null!==(n=null===(i=this.getFocusedSuggestionElement())||void 0===i?void 0:i.nextElementSibling)&&void 0!==n?n:this.getFirstSuggestionElement())||void 0===a||a.focus(),t.preventDefault(),t.stopPropagation()}}onSuggestKeyUp(t,o){"Enter"!==t.key&&" "!==t.key||this.onSuggestSelected(t,o)}onSuggestSelected(t,o){t.preventDefault(),this.dispatchEvent(new
|
|
1064
|
+
`}onSuggestKeyDown(t){var o,e,r,i,n,a;switch(t.key){case"ArrowUp":null===(r=null!==(e=null===(o=this.getFocusedSuggestionElement())||void 0===o?void 0:o.previousElementSibling)&&void 0!==e?e:this.getLastSuggestionElement())||void 0===r||r.focus(),t.preventDefault(),t.stopPropagation();break;case"ArrowDown":null===(a=null!==(n=null===(i=this.getFocusedSuggestionElement())||void 0===i?void 0:i.nextElementSibling)&&void 0!==n?n:this.getFirstSuggestionElement())||void 0===a||a.focus(),t.preventDefault(),t.stopPropagation()}}onSuggestKeyUp(t,o){"Enter"!==t.key&&" "!==t.key||this.onSuggestSelected(t,o)}onSuggestSelected(t,o){t.preventDefault(),this.dispatchEvent(new da(o))}getIcon(t){const o="DOCUMENT"===t.type?Qi.file_format:Qi.fluid_topics;let e;switch(t.type){case"MAP":e="BOOK"===t.editorialType?Vi.BOOK:Vi.ARTICLE;break;case"DOCUMENT":e=function(t,o){var e,r,i,n;t=(null!=t?t:"").toLowerCase(),o=(null!=o?o:"").toLowerCase();const[a,s]=((null!==(e=Ji.get(t))&&void 0!==e?e:t)+"/").split("/");return null!==(n=null!==(i=null!==(r=Xi.get(s))&&void 0!==r?r:Xi.get(o))&&void 0!==i?i:Xi.get(a))&&void 0!==n?n:Yi.UNKNOWN}(t.mimeType,t.filenameExtension);break;case"TOPIC":e=Vi.TOPICS}return tt`
|
|
1063
1065
|
<ft-icon .variant="${o}" .value="${e}" part="suggestion-icon"></ft-icon>
|
|
1064
|
-
`}getFocusedSuggestionElement(){return this.shadowRoot.querySelector(".ft-search-input-suggestion--suggestion:focus-within")}getLastSuggestionElement(){let t=this.shadowRoot.querySelectorAll(".ft-search-input-suggestion--suggestion");return t.length>0?t[t.length-1]:null}getFirstSuggestionElement(){return this.shadowRoot.querySelector(".ft-search-input-suggestion--suggestion")}focusFirstSuggestion(){var t;null===(t=this.getFirstSuggestionElement())||void 0===t||t.focus()}};
|
|
1066
|
+
`}getFocusedSuggestionElement(){return this.shadowRoot.querySelector(".ft-search-input-suggestion--suggestion:focus-within")}getLastSuggestionElement(){let t=this.shadowRoot.querySelectorAll(".ft-search-input-suggestion--suggestion");return t.length>0?t[t.length-1]:null}getFirstSuggestionElement(){return this.shadowRoot.querySelector(".ft-search-input-suggestion--suggestion")}focusFirstSuggestion(){var t;null===(t=this.getFirstSuggestionElement())||void 0===t||t.focus()}};ha.elementDefinitions={"ft-ripple":Ai,"ft-typography":zi,"ft-icon":on},ha.styles=[Dt,ra],ua([De()],ha.prototype,"suggestResults",void 0),ha=ua([(t=>o=>"function"==typeof o?((t,o)=>(customElements.define(t,o),o))(t,o):((t,o)=>{const{kind:e,elements:r}=o;return{kind:e,elements:r,finisher(o){customElements.define(t,o)}}})(t,o))("ft-search-input-suggestion")],ha);var ya=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ga extends(Yn(_n)){constructor(){super(),this.liveQuery="",this.forceCloseSuggestion=!1,this.addI18nContext(ea)}render(){var t,o;let e={"ft-search-input":!0,"ft-search-input--with-suggestions":null!==(o=null===(t=this.suggestResults)||void 0===t?void 0:t.length)&&void 0!==o&&o,"ft-search-input--with-suggestions-closed":this.forceCloseSuggestion};return tt`
|
|
1065
1067
|
<div class="${Li(e)}" @focusout=${()=>this.forceCloseSuggestion=!1}>
|
|
1066
1068
|
<div class="ft-search-input--input-container" part="input-container" tabindex="-1">
|
|
1067
1069
|
<div class="ft-search-input--input-outline" part="input-outline">
|
|
1068
1070
|
<input class="ft-search-input--input ft-typography--body2"
|
|
1069
1071
|
part="input"
|
|
1070
1072
|
type="text"
|
|
1071
|
-
placeholder="${
|
|
1073
|
+
placeholder="${ea.messages.placeholder()}"
|
|
1072
1074
|
.value="${this.liveQuery}"
|
|
1073
1075
|
@keydown=${t=>this.onSearchBarKeyDown(t)}
|
|
1074
1076
|
@keyup=${t=>this.onSearchBarKeyUp(t)}>
|
|
@@ -1084,7 +1086,7 @@ class Gi extends Ii{constructor(t){if(super(t),this.et=et,t.type!==ki)throw Erro
|
|
|
1084
1086
|
part="clear-query"
|
|
1085
1087
|
icon="close"
|
|
1086
1088
|
round dense
|
|
1087
|
-
label="${
|
|
1089
|
+
label="${ea.messages.clearButton()}"
|
|
1088
1090
|
@click=${()=>this.liveQuery=""}
|
|
1089
1091
|
></ft-button>
|
|
1090
1092
|
<div class="ft-search-input--separator"></div>
|
|
@@ -1093,9 +1095,9 @@ class Gi extends Ii{constructor(t){if(super(t),this.et=et,t.type!==ki)throw Erro
|
|
|
1093
1095
|
part="launch-search-in-input"
|
|
1094
1096
|
icon="search"
|
|
1095
1097
|
round dense
|
|
1096
|
-
label="${
|
|
1098
|
+
label="${ea.messages.searchButton()}"
|
|
1097
1099
|
@click=${()=>this.launchSearch()}
|
|
1098
1100
|
></ft-button>
|
|
1099
1101
|
</div>
|
|
1100
1102
|
</div>
|
|
1101
|
-
`}onSearchBarKeyDown(t){if("ArrowDown"===t.key)t.stopPropagation(),t.preventDefault(),this.suggestion.focusFirstSuggestion()}onSearchBarKeyUp(t){var o,e;"Enter"===t.key?(null===(o=this.stateManager)||void 0===o||o.setQuery(this.input.value),this.forceCloseSuggestion=!0):null===(e=this.stateManager)||void 0===e||e.setLiveQuery(this.input.value)}launchSearch(){var t;null===(t=this.stateManager)||void 0===t||t.setQuery(this.liveQuery),this.forceCloseSuggestion=!0}onSuggestionSelected(t){var o;null===(o=this.stateManager)||void 0===o||o.setQuery(t.detail),this.forceCloseSuggestion=!0}}
|
|
1103
|
+
`}onSearchBarKeyDown(t){if("ArrowDown"===t.key)t.stopPropagation(),t.preventDefault(),this.suggestion.focusFirstSuggestion()}onSearchBarKeyUp(t){var o,e;"Enter"===t.key?(null===(o=this.stateManager)||void 0===o||o.setQuery(this.input.value),this.forceCloseSuggestion=!0):null===(e=this.stateManager)||void 0===e||e.setLiveQuery(this.input.value)}launchSearch(){var t;null===(t=this.stateManager)||void 0===t||t.setQuery(this.liveQuery),this.forceCloseSuggestion=!0}onSuggestionSelected(t){var o;null===(o=this.stateManager)||void 0===o||o.setQuery(t.detail),this.forceCloseSuggestion=!0}}ga.elementDefinitions={"ft-search-input-suggestion":ha,"ft-button":sn},ga.styles=[li,un],ya([De()],ga.prototype,"request",void 0),ya([De()],ga.prototype,"liveQuery",void 0),ya([De()],ga.prototype,"suggestResults",void 0),ya([s()],ga.prototype,"forceCloseSuggestion",void 0),ya([c(".ft-search-input--input")],ga.prototype,"input",void 0),ya([c("ft-search-input-suggestion")],ga.prototype,"suggestion",void 0),d("ft-search-input")(ga),t.FtSearchInput=ga,t.FtSearchInputCssVariables=pn,t.styles=un}({});
|