@fluid-topics/ft-search-type 1.0.61 → 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.
|
@@ -580,7 +580,7 @@ const M=Symbol.for(""),_=t=>{if((null==t?void 0:t.r)===M)return null==t?void 0:t
|
|
|
580
580
|
</ft-tooltip>
|
|
581
581
|
`:t}resolveIcon(){return this.loading?e.html`
|
|
582
582
|
<ft-loader part="loader icon"></ft-loader> `:this.icon?e.html`
|
|
583
|
-
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:e.nothing}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}}ie.elementDefinitions={"ft-ripple":Fo,"ft-tooltip":Qo,"ft-typography":go,"ft-icon":te,"ft-loader":oe},ee([i.property({type:String,reflect:!0})],ie.prototype,"role",void 0),ee([i.property()],ie.prototype,"type",void 0),ee([i.property({type:Boolean})],ie.prototype,"disabled",void 0),ee([i.property()],ie.prototype,"label",void 0),ee([i.property()],ie.prototype,"icon",void 0),ee([i.property()],ie.prototype,"iconVariant",void 0),ee([i.property({type:Boolean})],ie.prototype,"trailingIcon",void 0),ee([i.property({type:Boolean})],ie.prototype,"loading",void 0),ee([i.property()],ie.prototype,"tooltipPosition",void 0),ee([i.property({type:Boolean})],ie.prototype,"hideTooltip",void 0),ee([i.property({type:Boolean})],ie.prototype,"forceTooltip",void 0),ee([i.query(".ft-button")],ie.prototype,"button",void 0),ee([i.query(".ft-button--label slot")],ie.prototype,"slottedContent",void 0);var re=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ne extends ie{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.
|
|
583
|
+
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:e.nothing}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}}ie.elementDefinitions={"ft-ripple":Fo,"ft-tooltip":Qo,"ft-typography":go,"ft-icon":te,"ft-loader":oe},ee([i.property({type:String,reflect:!0})],ie.prototype,"role",void 0),ee([i.property()],ie.prototype,"type",void 0),ee([i.property({type:Boolean})],ie.prototype,"disabled",void 0),ee([i.property()],ie.prototype,"label",void 0),ee([i.property()],ie.prototype,"icon",void 0),ee([i.property()],ie.prototype,"iconVariant",void 0),ee([i.property({type:Boolean})],ie.prototype,"trailingIcon",void 0),ee([i.property({type:Boolean})],ie.prototype,"loading",void 0),ee([i.property()],ie.prototype,"tooltipPosition",void 0),ee([i.property({type:Boolean})],ie.prototype,"hideTooltip",void 0),ee([i.property({type:Boolean})],ie.prototype,"forceTooltip",void 0),ee([i.query(".ft-button")],ie.prototype,"button",void 0),ee([i.query(".ft-button--label slot")],ie.prototype,"slottedContent",void 0);var re=function(t,o,e,i){for(var r,n=arguments.length,a=n<3?o:null===i?i=Object.getOwnPropertyDescriptor(o,e):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(o,e,a):r(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ne extends ie{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"}}ne.styles=[o.safariEllipsisFix,Do],re([i.property({type:Boolean})],ne.prototype,"primary",void 0),re([i.property({type:Boolean})],ne.prototype,"outlined",void 0),re([i.property({type:Boolean})],ne.prototype,"dense",void 0),re([i.property({type:Boolean})],ne.prototype,"round",void 0);const ae=[e.css`
|
|
584
584
|
:host {
|
|
585
585
|
display: inline-block;
|
|
586
586
|
max-width: 100%;
|
|
@@ -66,13 +66,13 @@ var h;const p=null!=(null===(h=window.HTMLSlotElement)||void 0===h?void 0:h.prot
|
|
|
66
66
|
* Copyright 2017 Google LLC
|
|
67
67
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
68
68
|
*/
|
|
69
|
-
var D;F.finalized=!0,F.elementProperties=new Map,F.elementStyles=[],F.shadowRootOptions={mode:"open"},null==L||L({ReactiveElement:F}),(null!==(k=R.reactiveElementVersions)&&void 0!==k?k:R.reactiveElementVersions=[]).push("1.6.1");const
|
|
69
|
+
var D;F.finalized=!0,F.elementProperties=new Map,F.elementStyles=[],F.shadowRootOptions={mode:"open"},null==L||L({ReactiveElement:F}),(null!==(k=R.reactiveElementVersions)&&void 0!==k?k:R.reactiveElementVersions=[]).push("1.6.1");const z=window,B=z.trustedTypes,K=B?B.createPolicy("lit-html",{createHTML:t=>t}):void 0,P="$lit$",M=`lit$${(Math.random()+"").slice(9)}$`,T="?"+M,Z=`<${T}>`,_=document,H=()=>_.createComment(""),G=t=>null===t||"object"!=typeof t&&"function"!=typeof t,V=Array.isArray,q=t=>V(t)||"function"==typeof(null==t?void 0:t[Symbol.iterator]),Y="[ \t\n\f\r]",X=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,J=/-->/g,Q=/>/g,tt=RegExp(`>|${Y}(?:([^\\s"'>=/]+)(${Y}*=${Y}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),et=/'/g,ot=/"/g,it=/^(?:script|style|textarea|title)$/i,rt=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),nt=Symbol.for("lit-noChange"),at=Symbol.for("lit-nothing"),st=new WeakMap,lt=_.createTreeWalker(_,129,null,!1),ct=(t,e)=>{const o=t.length-1,i=[];let r,n=2===e?"<svg>":"",a=X;for(let e=0;e<o;e++){const o=t[e];let s,l,c=-1,f=0;for(;f<o.length&&(a.lastIndex=f,l=a.exec(o),null!==l);)f=a.lastIndex,a===X?"!--"===l[1]?a=J:void 0!==l[1]?a=Q:void 0!==l[2]?(it.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=tt):void 0!==l[3]&&(a=tt):a===tt?">"===l[0]?(a=null!=r?r:X,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?tt:'"'===l[3]?ot:et):a===ot||a===et?a=tt:a===J||a===Q?a=X:(a=tt,r=void 0);const h=a===tt&&t[e+1].startsWith("/>")?" ":"";n+=a===X?o+Z:c>=0?(i.push(s),o.slice(0,c)+P+o.slice(c)+M+h):o+M+(-2===c?(i.push(void 0),e):h)}const s=n+(t[o]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==K?K.createHTML(s):s,i]};class ft{constructor({strings:t,_$litType$:e},o){let i;this.parts=[];let r=0,n=0;const a=t.length-1,s=this.parts,[l,c]=ct(t,e);if(this.el=ft.createElement(l,o),lt.currentNode=this.el.content,2===e){const t=this.el.content,e=t.firstChild;e.remove(),t.append(...e.childNodes)}for(;null!==(i=lt.nextNode())&&s.length<a;){if(1===i.nodeType){if(i.hasAttributes()){const t=[];for(const e of i.getAttributeNames())if(e.endsWith(P)||e.startsWith(M)){const o=c[n++];if(t.push(e),void 0!==o){const t=i.getAttribute(o.toLowerCase()+P).split(M),e=/([.?@])?(.*)/.exec(o);s.push({type:1,index:r,name:e[2],strings:t,ctor:"."===e[1]?yt:"?"===e[1]?gt:"@"===e[1]?vt:dt})}else s.push({type:6,index:r})}for(const e of t)i.removeAttribute(e)}if(it.test(i.tagName)){const t=i.textContent.split(M),e=t.length-1;if(e>0){i.textContent=B?B.emptyScript:"";for(let o=0;o<e;o++)i.append(t[o],H()),lt.nextNode(),s.push({type:2,index:++r});i.append(t[e],H())}}}else if(8===i.nodeType)if(i.data===T)s.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(M,t+1));)s.push({type:7,index:r}),t+=M.length-1}r++}}static createElement(t,e){const o=_.createElement("template");return o.innerHTML=t,o}}function ht(t,e,o=t,i){var r,n,a,s;if(e===nt)return e;let l=void 0!==i?null===(r=o._$Co)||void 0===r?void 0:r[i]:o._$Cl;const c=G(e)?void 0:e._$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,o,i)),void 0!==i?(null!==(a=(s=o)._$Co)&&void 0!==a?a:s._$Co=[])[i]=l:o._$Cl=l),void 0!==l&&(e=ht(t,l._$AS(t,e.values),l,i)),e}let pt=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var e;const{el:{content:o},parts:i}=this._$AD,r=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:_).importNode(o,!0);lt.currentNode=r;let n=lt.nextNode(),a=0,s=0,l=i[0];for(;void 0!==l;){if(a===l.index){let e;2===l.type?e=new ut(n,n.nextSibling,this,t):1===l.type?e=new l.ctor(n,l.name,l.strings,this,t):6===l.type&&(e=new mt(n,this,t)),this._$AV.push(e),l=i[++s]}a!==(null==l?void 0:l.index)&&(n=lt.nextNode(),a++)}return r}v(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}},ut=class t{constructor(t,e,o,i){var r;this.type=2,this._$AH=at,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=i,this._$Cp=null===(r=null==i?void 0:i.isConnected)||void 0===r||r}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===(null==t?void 0:t.nodeType)&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=ht(this,t,e),G(t)?t===at||null==t||""===t?(this._$AH!==at&&this._$AR(),this._$AH=at):t!==this._$AH&&t!==nt&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):q(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!==at&&G(this._$AH)?this._$AA.nextSibling.data=t:this.$(_.createTextNode(t)),this._$AH=t}g(t){var e;const{values:o,_$litType$:i}=t,r="number"==typeof i?this._$AC(t):(void 0===i.el&&(i.el=ft.createElement(i.h,this.options)),i);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===r)this._$AH.v(o);else{const t=new pt(r,this),e=t.u(this.options);t.v(o),this.$(e),this._$AH=t}}_$AC(t){let e=st.get(t.strings);return void 0===e&&st.set(t.strings,e=new ft(t)),e}T(e){V(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let i,r=0;for(const n of e)r===o.length?o.push(i=new t(this.k(H()),this.k(H()),this,this.options)):i=o[r],i._$AI(n),r++;r<o.length&&(this._$AR(i&&i._$AB.nextSibling,r),o.length=r)}_$AR(t=this._$AA.nextSibling,e){var o;for(null===(o=this._$AP)||void 0===o||o.call(this,!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){var e;void 0===this._$AM&&(this._$Cp=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}},dt=class{constructor(t,e,o,i,r){this.type=1,this._$AH=at,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=at}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,o,i){const r=this.strings;let n=!1;if(void 0===r)t=ht(this,t,e,0),n=!G(t)||t!==this._$AH&&t!==nt,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=ht(this,i[o+a],e,a),s===nt&&(s=this._$AH[a]),n||(n=!G(s)||s!==this._$AH[a]),s===at?t=at:t!==at&&(t+=(null!=s?s:"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.j(t)}j(t){t===at?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}},yt=class extends dt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===at?void 0:t}};const bt=B?B.emptyScript:"";let gt=class extends dt{constructor(){super(...arguments),this.type=4}j(t){t&&t!==at?this.element.setAttribute(this.name,bt):this.element.removeAttribute(this.name)}},vt=class extends dt{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){var o;if((t=null!==(o=ht(this,t,e,0))&&void 0!==o?o:at)===nt)return;const i=this._$AH,r=t===at&&i!==at||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,n=t!==at&&(i===at||r);r&&this.element.removeEventListener(this.name,this,i),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,o;"function"==typeof this._$AH?this._$AH.call(null!==(o=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==o?o:this.element,t):this._$AH.handleEvent(t)}},mt=class{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){ht(this,t)}};const xt={O:P,P:M,A:T,C:1,M:ct,L:pt,D:q,R:ht,I:ut,V:dt,H:gt,N:vt,U:yt,F:mt},Ot=z.litHtmlPolyfillSupport;null==Ot||Ot(ft,ut),(null!==(D=z.litHtmlVersions)&&void 0!==D?D:z.litHtmlVersions=[]).push("2.7.3");
|
|
70
70
|
/**
|
|
71
71
|
* @license
|
|
72
72
|
* Copyright 2017 Google LLC
|
|
73
73
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
74
74
|
*/
|
|
75
|
-
var wt,St;let Nt=class extends F{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const o=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=o.firstChild),o}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,o)=>{var i,r;const n=null!==(i=null==o?void 0:o.renderBefore)&&void 0!==i?i:e;let a=n._$litPart$;if(void 0===a){const t=null!==(r=null==o?void 0:o.renderBefore)&&void 0!==r?r:null;n._$litPart$=a=new ut(e.insertBefore(H(),t),t,void 0,null!=o?o:{})}return a._$AI(t),a})(e,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 nt}};Nt.finalized=!0,Nt._$litElement$=!0,null===(wt=globalThis.litElementHydrateSupport)||void 0===wt||wt.call(globalThis,{LitElement:Nt});const Ct=globalThis.litElementPolyfillSupport;null==Ct||Ct({LitElement:Nt}),(null!==(St=globalThis.litElementVersions)&&void 0!==St?St:globalThis.litElementVersions=[]).push("3.3.2");const $t=t=>"string"==typeof t?N(t):t;class Et{static create(t,e,o,i){const r=t=>$t(null!=t?t:i),n=C`var(${$t(t)}, ${r(i)})`;return n.name=t,n.description=t,n.category=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>C`var(${$t(t)}, ${r(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,e,o,i){const r=t=>o.get(null!=t?t:i),n=C`var(${$t(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o.category,n.fallbackVariable=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>C`var(${$t(t)}, ${r(e)})`,n.breadcrumb=()=>[o.name,...o.breadcrumb()],n.lastResortDefaultValue=()=>null!=i?i:o.lastResortDefaultValue(),n}static external(t,e){const o=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):$t(null!=e?e:t.lastResortDefaultValue()),i=C`var(${$t(t.name)}, ${o(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=e,i.defaultCssValue=o,i.get=e=>C`var(${$t(t.name)}, ${o(e)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function kt(t,e){return $t(`${t.name}: ${e}`)}const Rt={colorWhite:Et.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Et.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Et.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Et.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Et.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Et.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Et.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Et.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Et.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Et.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Et.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Et.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Et.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Et.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Et.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Et.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Et.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Et.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Et.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Et.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Et.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Et.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Et.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Et.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Et.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Et.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Et.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Et.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Et.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Et.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Et.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Et.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Et.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Et.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Et.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Et.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Et.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Et.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Et.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Et.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Et.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Et.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Et.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Et.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Et.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Et.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Et.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Et.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Et.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Et.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Et.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Et.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Et.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Et.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Et.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Et.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Et.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Et.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Et.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Et.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Et.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Et.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Et.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Et.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Et.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Et.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Et.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Et.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Et.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Et.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Et.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Et.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Et.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Et.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Et.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Et.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Et.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Et.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Et.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Et.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Et.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Et.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Et.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Et.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Et.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Et.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Et.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Et.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Et.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Et.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Et.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Et.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Et.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Et.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Et.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Et.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Et.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Et.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Et.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Et.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Et.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Et.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Et.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Et.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Et.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Et.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Et.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Et.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Et.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Et.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Et.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Et.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Et.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Et.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Et.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Et.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Et.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Et.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Et.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Et.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Et.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Et.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Et.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Et.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Et.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Et.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Et.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Et.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Et.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Et.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Et.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Et.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Et.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Et.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Et.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Et.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Et.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Et.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Et.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Et.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Et.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Et.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Et.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Et.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Et.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Et.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Et.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Et.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Et.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Et.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Et.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Et.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Et.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Et.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Et.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Et.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Et.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Et.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Et.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Et.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Et.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Et.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Et.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Et.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Et.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Et.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Et.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Et.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Et.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Et.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Et.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Et.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Et.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Et.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Et.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Et.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Et.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Et.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Et.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Et.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Et.create("--ft-opacity-0","","NUMBER","0"),opacity8:Et.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Et.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Et.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Et.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Et.create("--ft-opacity-80","","NUMBER","0.8")},It={display:{fontFamily:Et.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Et.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Et.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Et.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Et.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Et.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Et.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Et.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Et.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:Et.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Et.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Et.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Et.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:Et.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Et.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:Et.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Et.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Et.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Et.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:Et.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Et.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:Et.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Et.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Et.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Et.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Et.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Et.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Et.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Et.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Et.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Et.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Et.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Et.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Et.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Et.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Et.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Et.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Et.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Et.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Et.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Et.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Et.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Et.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Et.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Et.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Et.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Et.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Et.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Et.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Et.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Et.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Et.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Et.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Et.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Et.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Et.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Et.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Et.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Et.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Et.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Et.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Et.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Et.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Et.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Et.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Et.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Et.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Et.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Et.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Et.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Et.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Et.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Et.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Et.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Et.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Et.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Et.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Et.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Et.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Et.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Et.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Et.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Et.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Et.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Et.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Et.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Et.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Et.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Et.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Et.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Et.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Et.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Et.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Et.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Et.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Et.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Et.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Et.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Et.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Et.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Et.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Et.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Et.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Et.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Et.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Et.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Et.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Et.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Et.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Et.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Et.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Et.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Et.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Et.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Et.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Et.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Et.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Et.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Et.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Et.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Et.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Et.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Et.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Et.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Et.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Et.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Et.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Et.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Et.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Et.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Et.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Et.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Ut={backgroundActionPrimary:Et.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Rt.colorBrand0),backgroundErrorPrimary:Et.extend("--ft-background-error-primary","Used as background of error components.",Rt.colorRed0),backgroundErrorSubtle:Et.extend("--ft-background-error-subtle","Used as background of subtle error components.",Rt.colorRed10),backgroundInfoPrimary:Et.extend("--ft-background-info-primary","Used as background of information components.",Rt.colorCyan200),backgroundInfoSubtle:Et.extend("--ft-background-info-subtle","Used as background of subtle information components.",Rt.colorCyan10),backgroundWarningPrimary:Et.extend("--ft-background-warning-primary","Used as background of warning components.",Rt.colorOrange300),backgroundWarningSubtle:Et.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Rt.colorOrange10),backgroundSuccessPrimary:Et.extend("--ft-background-success-primary","Used as background of success components.",Rt.colorGreen200),backgroundSuccessSubtle:Et.extend("--ft-background-success-subtle","Used as background of subtle success components.",Rt.colorGreen10),backgroundGlobalSurface:Et.extend("--ft-background-global-surface","Used as app background.",Rt.colorWhite),backgroundGlobalOnSurface:Et.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Rt.colorGray10),backgroundGlobalOnSurfaceDark:Et.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Rt.colorGray30),contentActionPrimary:Et.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Rt.colorBrand0),contentWarningPrimary:Et.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Rt.colorOrange300),contentWarningIconOnly:Et.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Rt.colorOrange0),contentErrorPrimary:Et.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Rt.colorRed0),contentErrorIconOnly:Et.extend("--ft-content-error-icon-only","Used on error status icons alone",Rt.colorRed0),contentInfoPrimary:Et.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Rt.colorCyan200),contentInfoIconOnly:Et.extend("--ft-content-info-icon-only","Used on info status icons alone",Rt.colorCyan0),contentSuccessIconOnly:Et.extend("--ft-content-success-icon-only","Used on success status icons alone",Rt.colorGreen0),contentSuccessPrimary:Et.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Rt.colorGreen200),contentGlobalPrimary:Et.extend("--ft-content-global-primary","Used for main content on the page.",Rt.colorGray500),contentGlobalSecondary:Et.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Rt.colorGray200),contentGlobalSubtle:Et.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Rt.colorGray0),contentGlobalOnColor:Et.extend("--ft-content-global-on-color","Used for content on a dominant color.",Rt.colorWhite),borderActionPrimary:Et.extend("--ft-border-action-primary","Used as border for primary action components.",Rt.colorBrand0),borderActionFocusRing:Et.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Rt.colorCyan0),borderWarningPrimary:Et.extend("--ft-border-warning-primary","Used as border for warning components.",Rt.colorOrange30),borderSuccessPrimary:Et.extend("--ft-border-success-primary","Used as border for success components.",Rt.colorGreen30),borderErrorPrimary:Et.extend("--ft-border-error-primary","Used as border for error components.",Rt.colorRed30),borderInfoPrimary:Et.extend("--ft-border-info-primary","Used as border for information components.",Rt.colorCyan30),borderGlobalSubtle:Et.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Rt.colorGray30),borderGlobalPrimary:Et.extend("--ft-border-global-primary","Used as border for element like input.",Rt.colorGray50),borderInputPrimary:Et.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Rt.colorGray80)},Lt={largeHeight:Et.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:Et.extend("--ft-button-large-horizontal-padding","",Rt.spacing4),largeGap:Et.extend("--ft-button-large-gap","",Rt.spacing2),largeBorderRadius:Et.extend("--ft-button-large-border-radius","",Rt.borderRadiusS),largeIconSize:Et.extend("--ft-button-large-icon-size","",Rt.iconSize3),largeBorderWidth:Et.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:Et.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:Et.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:Et.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:Et.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:Et.extend("--ft-button-small-horizontal-padding","",Rt.spacing3),smallGap:Et.extend("--ft-button-small-gap","",Rt.spacing2),smallBorderRadius:Et.extend("--ft-button-small-border-radius","",Rt.borderRadiusS),smallIconSize:Et.extend("--ft-button-small-icon-size","",Rt.iconSize2),smallBorderWidth:Et.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:Et.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:Et.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:Et.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:Et.extend("--ft-button-primary-background-color","",Ut.backgroundActionPrimary),primaryColor:Et.extend("--ft-button-primary-color","",Ut.contentGlobalOnColor),primaryIconColor:Et.extend("--ft-button-primary-icon-color","",Ut.contentGlobalOnColor),primaryStateLayerColor:Et.extend("--ft-button-primary-state-layer-color","",Ut.contentGlobalOnColor),primaryStateLayerOpacityHover:Et.extend("--ft-button-primary-state-layer-opacity-hover","",Rt.opacity16),primaryStateLayerOpacityFocus:Et.extend("--ft-button-primary-state-layer-opacity-focus","",Rt.opacity16),primaryStateLayerOpacityActive:Et.extend("--ft-button-primary-state-layer-opacity-active","",Rt.opacity24),primaryComponentOpacityDisabled:Et.extend("--ft-button-primary-component-opacity-disabled","",Rt.opacity40),focusFocusRingColor:Et.extend("--ft-button-focus-focus-ring-color","",Ut.borderActionFocusRing),tertiaryBackgroundColor:Et.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:Et.extend("--ft-button-tertiary-color","",Ut.contentActionPrimary),tertiaryIconColor:Et.extend("--ft-button-tertiary-icon-color","",Ut.contentActionPrimary),tertiaryStateLayerColor:Et.extend("--ft-button-tertiary-state-layer-color","",Ut.contentActionPrimary),tertiaryStateLayerOpacityHover:Et.extend("--ft-button-tertiary-state-layer-opacity-hover","",Rt.opacity8),tertiaryStateLayerOpacityFocus:Et.extend("--ft-button-tertiary-state-layer-opacity-focus","",Rt.opacity8),tertiaryStateLayerOpacityActive:Et.extend("--ft-button-tertiary-state-layer-opacity-active","",Rt.opacity16),tertiaryComponentOpacityDisabled:Et.extend("--ft-button-tertiary-component-opacity-disabled","",Rt.opacity40),secondaryBackgroundColor:Et.extend("--ft-button-secondary-background-color","",Rt.colorWhite),secondaryColor:Et.extend("--ft-button-secondary-color","",Ut.contentActionPrimary),secondaryIconColor:Et.extend("--ft-button-secondary-icon-color","",Ut.contentActionPrimary),secondaryStateLayerColor:Et.extend("--ft-button-secondary-state-layer-color","",Ut.contentActionPrimary),secondaryStateLayerOpacityHover:Et.extend("--ft-button-secondary-state-layer-opacity-hover","",Rt.opacity8),secondaryStateLayerOpacityFocus:Et.extend("--ft-button-secondary-state-layer-opacity-focus","",Rt.opacity8),secondaryStateLayerOpacityActive:Et.extend("--ft-button-secondary-state-layer-opacity-active","",Rt.opacity16),secondaryComponentOpacityDisabled:Et.extend("--ft-button-secondary-component-opacity-disabled","",Rt.opacity40),secondaryBorderColor:Et.extend("--ft-button-secondary-border-color","",Ut.borderActionPrimary),neutralBackgroundColor:Et.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:Et.extend("--ft-button-neutral-icon-color","",Ut.contentGlobalSecondary),neutralColor:Et.extend("--ft-button-neutral-color","",Ut.contentGlobalSecondary),neutralStateLayerColor:Et.extend("--ft-button-neutral-state-layer-color","",Ut.contentGlobalSecondary),neutralStateLayerOpacityHover:Et.extend("--ft-button-neutral-state-layer-opacity-hover","",Rt.opacity8),neutralStateLayerOpacityFocus:Et.extend("--ft-button-neutral-state-layer-opacity-focus","",Rt.opacity8),neutralStateLayerOpacityActive:Et.extend("--ft-button-neutral-state-layer-opacity-active","",Rt.opacity16),neutralComponentOpacityDisabled:Et.extend("--ft-button-neutral-component-opacity-disabled","",Rt.opacity40)};Et.extend("--ft-tabs-top-left-border-radius","",Rt.borderRadiusS),Et.extend("--ft-tabs-top-right-border-radius","",Rt.borderRadiusS),Et.extend("--ft-tabs-label-horizontal-padding","",Rt.spacing4),Et.extend("--ft-tabs-label-vertical-padding","",Rt.spacing3),Et.extend("--ft-tabs-label-gap","",Rt.spacing1),Et.extend("--ft-switch-group-horizontal-padding","",Rt.spacing1),Et.extend("--ft-switch-group-vertical-padding","",Rt.spacing1),Et.extend("--ft-switch-group-gap","",Rt.spacing1),Et.extend("--ft-switch-group-background-color","",Ut.backgroundGlobalSurface),Et.extend("--ft-switch-group-border-color","",Ut.borderGlobalSubtle),Et.create("--ft-switch-group-border-radius","","SIZE","6px"),Et.extend("--ft-switch-label-horizontal-padding","",Rt.spacing2),Et.extend("--ft-switch-label-vertical-padding","",Rt.spacing1),Et.extend("--ft-switch-icon-horizontal-padding","",Rt.spacing1),Et.extend("--ft-switch-icon-vertical-padding","",Rt.spacing1),Et.create("--ft-switch-focus-outline-width","","SIZE","2px"),Et.extend("--ft-switch-focus-focus-ring-color","",Ut.borderActionFocusRing),Et.extend("--ft-switch-option-border-radius","",Rt.borderRadiusS),Et.extend("--ft-switch-off-state-layer-opacity-hover","",Rt.opacity8),Et.extend("--ft-switch-off-state-layer-opacity-focus","",Rt.opacity8),Et.extend("--ft-switch-off-state-layer-opacity-active","",Rt.opacity16),Et.extend("--ft-switch-off-component-opacity-disabled","",Rt.opacity40),Et.extend("--ft-switch-off-color","",Ut.contentGlobalSubtle),Et.extend("--ft-switch-off-state-layer-color","",Ut.contentGlobalSubtle),Et.extend("--ft-chart-1-light","for area color charts",Rt.colorBrand40),Et.extend("--ft-chart-1-base","for line charts",Rt.colorBrand0),Et.extend("--ft-chart-2-light","for area color charts",Rt.colorYellow60),Et.extend("--ft-chart-2-base","for line charts",Rt.colorYellow100),Et.extend("--ft-chart-3-light","",Rt.colorUltramarine40),Et.extend("--ft-chart-3-base","",Rt.colorUltramarine70),Et.extend("--ft-chart-4-light","",Rt.colorCyan50),Et.extend("--ft-chart-4-base","",Rt.colorCyan100),Et.extend("--ft-chart-5-light","",Rt.colorRed40),Et.extend("--ft-chart-5-base","",Rt.colorRed60),Et.extend("--ft-chart-6-light","",Rt.colorGreen40),Et.extend("--ft-chart-6-base","",Rt.colorGreen70),Et.extend("--ft-chart-7-light","",Rt.colorOrange70),Et.extend("--ft-chart-7-base","",Rt.colorOrange100),Et.extend("--ft-chart-8-light","",Rt.colorAvocado70),Et.extend("--ft-chart-8-base","",Rt.colorAvocado200),Et.extend("--ft-chart-9-light","",Rt.colorBrown50),Et.extend("--ft-chart-9-base","",Rt.colorBrown200),Et.extend("--ft-chart-10-light","",Rt.colorGray50),Et.extend("--ft-chart-10-base","",Rt.colorGray80),Et.extend("--ft-chart-monochrome-10","",Rt.colorBrand10),Et.extend("--ft-chart-monochrome-20","",Rt.colorBrand20),Et.extend("--ft-chart-monochrome-30","",Rt.colorBrand40),Et.extend("--ft-chart-monochrome-40","",Rt.colorBrand60),Et.extend("--ft-chart-monochrome-50","",Rt.colorBrand0),Et.extend("--ft-chart-monochrome-60","",Rt.colorBrand200),Et.extend("--ft-chip-large-horizontal-padding","",Rt.spacing4),Et.extend("--ft-chip-large-vertical-padding","",Rt.spacing2),Et.extend("--ft-chip-large-gap","",Rt.spacing1),Et.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Et.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Et.extend("--ft-chip-large-border-radius","",Rt.borderRadiusPill),Et.create("--ft-chip-large-border-width","","SIZE","1px"),Et.extend("--ft-chip-large-icon-size","",Rt.iconSize3),Et.extend("--ft-chip-medium-horizontal-padding","",Rt.spacing3),Et.extend("--ft-chip-medium-vertical-padding","",Rt.spacing1),Et.extend("--ft-chip-medium-gap","",Rt.spacing1),Et.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Et.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Et.extend("--ft-chip-medium-border-radius","",Rt.borderRadiusPill),Et.create("--ft-chip-medium-border-width","","SIZE","1px"),Et.extend("--ft-chip-medium-icon-size","",Rt.iconSize2),Et.extend("--ft-chip-small-horizontal-padding","",Rt.spacing2),Et.extend("--ft-chip-small-vertical-padding","",Rt.spacing05),Et.extend("--ft-chip-small-gap","",Rt.spacing1),Et.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Et.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Et.extend("--ft-chip-small-border-radius","",Rt.borderRadiusPill),Et.create("--ft-chip-small-border-width","","SIZE","1px"),Et.extend("--ft-chip-small-icon-size","",Rt.iconSize1),Et.extend("--ft-chip-neutral-background-color","",Ut.backgroundGlobalOnSurface),Et.extend("--ft-chip-neutral-color","",Ut.contentGlobalPrimary),Et.extend("--ft-chip-neutral-border-color","",Ut.borderGlobalSubtle),Et.extend("--ft-chip-info-background-color","",Ut.backgroundInfoSubtle),Et.extend("--ft-chip-info-color","",Ut.contentInfoPrimary),Et.extend("--ft-chip-info-border-color","",Ut.borderInfoPrimary),Et.extend("--ft-chip-success-background-color","",Ut.backgroundSuccessSubtle),Et.extend("--ft-chip-success-color","",Ut.contentSuccessPrimary),Et.extend("--ft-chip-success-border-color","",Ut.borderSuccessPrimary),Et.extend("--ft-chip-warning-background-color","",Ut.backgroundWarningSubtle),Et.extend("--ft-chip-warning-color","",Ut.contentWarningPrimary),Et.extend("--ft-chip-warning-border-color","",Ut.borderWarningPrimary),Et.extend("--ft-chip-error-background-color","",Ut.backgroundErrorSubtle),Et.extend("--ft-chip-error-color","",Ut.contentErrorPrimary),Et.extend("--ft-chip-error-border-color","",Ut.borderErrorPrimary),Et.create("--ft-notice-border-width","","SIZE","1px"),Et.extend("--ft-notice-horizontal-padding","",Rt.spacing2),Et.extend("--ft-notice-vertical-padding","",Rt.spacing1),Et.extend("--ft-notice-border-radius","",Rt.borderRadiusS),Et.extend("--ft-notice-gap","",Rt.spacing2),Et.extend("--ft-notice-icon-size","",Rt.iconSize3),Et.extend("--ft-notice-info-background-color","",Ut.backgroundInfoSubtle),Et.extend("--ft-notice-info-border-color","",Ut.borderInfoPrimary),Et.extend("--ft-notice-info-color","",Ut.contentInfoPrimary),Et.extend("--ft-notice-warning-background-color","",Ut.backgroundWarningSubtle),Et.extend("--ft-notice-warning-border-color","",Ut.borderWarningPrimary),Et.extend("--ft-notice-warning-color","",Ut.contentWarningPrimary),Et.extend("--ft-checkbox-label-color","",Ut.contentGlobalPrimary),Et.extend("--ft-checkbox-checked-background-color","",Ut.contentActionPrimary),Et.extend("--ft-checkbox-checked-state-layer-color","",Ut.contentActionPrimary),Et.extend("--ft-checkbox-checked-color","",Ut.contentGlobalOnColor),Et.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Rt.opacity16),Et.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Rt.opacity16),Et.extend("--ft-checkbox-checked-state-layer-opacity-active","",Rt.opacity24),Et.extend("--ft-checkbox-checked-component-opacity-disabled","",Rt.opacity40),Et.extend("--ft-checkbox-unchecked-border-color","",Rt.colorGray80),Et.extend("--ft-checkbox-unchecked-state-layer-color","",Rt.colorGray80),Et.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Rt.opacity16),Et.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Rt.opacity16),Et.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Rt.opacity24),Et.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Rt.opacity40),Et.extend("--ft-checkbox-focus-focus-ring-color","",Ut.borderActionFocusRing),Et.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Et.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Et.extend("--ft-checkbox-gap","",Rt.spacing3),Et.extend("--ft-toggle-off-state-layer-opacity-hover","",Rt.opacity16),Et.extend("--ft-toggle-off-state-layer-opacity-focus","",Rt.opacity16),Et.extend("--ft-toggle-off-state-layer-opacity-active","",Rt.opacity24),Et.extend("--ft-toggle-off-component-opacity-disabled","",Rt.opacity40),Et.extend("--ft-toggle-off-background-color","",Ut.contentGlobalSubtle),Et.extend("--ft-toggle-off-icon-color","",Ut.contentGlobalSubtle),Et.extend("--ft-toggle-off-state-layer-color","",Ut.contentGlobalSubtle),Et.extend("--ft-toggle-on-state-layer-opacity-hover","",Rt.opacity16),Et.extend("--ft-toggle-on-state-layer-opacity-focus","",Rt.opacity16),Et.extend("--ft-toggle-on-state-layer-opacity-active","",Rt.opacity24),Et.extend("--ft-toggle-on-component-opacity-disabled","",Rt.opacity40),Et.extend("--ft-toggle-on-background-color","",Ut.contentActionPrimary),Et.extend("--ft-toggle-on-icon-color","",Ut.contentActionPrimary),Et.extend("--ft-toggle-on-state-layer-color","",Ut.contentActionPrimary),Et.extend("--ft-toggle-label-color","",Ut.contentGlobalPrimary),Et.extend("--ft-toggle-focus-focus-ring-color","",Ut.borderActionFocusRing),Et.extend("--ft-toggle-gap","",Rt.spacing3),Et.extend("--ft-radio-label-color","",Ut.contentGlobalPrimary),Et.extend("--ft-radio-selected-color","",Ut.contentActionPrimary),Et.extend("--ft-radio-selected-state-layer-color","",Ut.contentActionPrimary),Et.extend("--ft-radio-selected-state-layer-opacity-hover","",Rt.opacity16),Et.extend("--ft-radio-selected-state-layer-opacity-focus","",Rt.opacity16),Et.extend("--ft-radio-selected-state-layer-opacity-active","",Rt.opacity24),Et.extend("--ft-radio-selected-component-opacity-disabled","",Rt.opacity40),Et.extend("--ft-radio-unselected-state-layer-color","",Rt.colorGray80),Et.extend("--ft-radio-unselected-state-layer-opacity-hover","",Rt.opacity16),Et.extend("--ft-radio-unselected-state-layer-opacity-focus","",Rt.opacity16),Et.extend("--ft-radio-unselected-state-layer-opacity-active","",Rt.opacity24),Et.extend("--ft-radio-unselected-component-opacity-disabled","",Rt.opacity40),Et.extend("--ft-radio-focus-focus-ring-color","",Ut.borderActionFocusRing),Et.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Et.create("--ft-radio-focus-outline-width","","SIZE","2px"),Et.extend("--ft-radio-gap","",Rt.spacing3),Et.extend("--ft-notification-icon-size","",Rt.iconSize4),Et.extend("--ft-notification-horizontal-padding","",Rt.spacing4),Et.extend("--ft-notification-vertical-padding","",Rt.spacing4),Et.extend("--ft-notification-info-background-color","",Ut.backgroundInfoSubtle),Et.extend("--ft-notification-info-color","",Ut.contentInfoPrimary),Et.extend("--ft-notification-info-border-color","",Ut.borderInfoPrimary),Et.extend("--ft-notification-success-background-color","",Ut.backgroundSuccessSubtle),Et.extend("--ft-notification-success-color","",Ut.contentSuccessPrimary),Et.extend("--ft-notification-success-border-color","",Ut.borderSuccessPrimary),Et.extend("--ft-notification-warning-background-color","",Ut.backgroundWarningSubtle),Et.extend("--ft-notification-warning-color","",Ut.contentWarningPrimary),Et.extend("--ft-notification-warning-border-color","",Ut.borderWarningPrimary),Et.extend("--ft-notification-error-background-color","",Ut.backgroundErrorSubtle),Et.extend("--ft-notification-error-color","",Ut.contentErrorPrimary),Et.extend("--ft-notification-error-border-color","",Ut.borderErrorPrimary),Et.extend("--ft-notification-border-radius","",Rt.borderRadiusPill),Et.create("--ft-notification-border-width","","SIZE","1px"),Et.extend("--ft-notification-gap-leading","",Rt.spacing2),Et.extend("--ft-notification-gap-trailing","",Rt.spacing8);const Wt={colorPrimary:Et.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:Et.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:Et.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:Et.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:Et.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:Et.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:Et.create("--ft-color-error","","COLOR","#B00020"),colorOutline:Et.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:Et.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:Et.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:Et.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:Et.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:Et.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:Et.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:Et.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:Et.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:Et.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:Et.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:Et.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:Et.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:Et.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:Et.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:Et.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:Et.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:Et.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:Et.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:Et.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:Et.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:Et.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:Et.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:Et.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:Et.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:Et.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:Et.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:Et.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:Et.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:Et.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:Et.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:Et.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:Et.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:Et.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:Et.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:Et.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:Et.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:Et.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:Et.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:Et.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:Et.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:Et.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:Et.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:Et.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:Et.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:Et.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:Et.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:Et.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:Et.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:Et.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:Et.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:Et.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:Et.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:Et.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:Et.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};class At extends Nt{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,o])=>t.registry.define(e,o))));const e={...t.shadowRootOptions,customElements:t.registry},o=this.renderOptions.creationScope=this.attachShadow(e);return $(o,t.elementStyles),o}}var jt,Ft=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const Dt=Symbol("constructorPrototype"),Bt=Symbol("constructorName"),zt=Symbol("exportpartsDebouncer");class Kt extends At{constructor(){super(),this[jt]=new n(5),this[Bt]=this.constructor.name,this[Dt]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Bt]&&Object.setPrototypeOf(this,this[Dt])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,o;if((null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==o?o:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[zt].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,o,i,r,n,a;const s=t=>null!=t&&t.trim().length>0,l=t.filter(s).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==o?o:[]){const e=null!==(r=null===(i=t.getAttribute("part"))||void 0===i?void 0:i.split(" "))&&void 0!==r?r:[],o=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...e,...o).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const f=[...c.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}jt=zt,Ft([s()],Kt.prototype,"exportpartsPrefix",void 0),Ft([v([])],Kt.prototype,"exportpartsPrefixes",void 0),Ft([s()],Kt.prototype,"customStylesheet",void 0);const Pt=C`
|
|
75
|
+
var wt,St;let Nt=class extends F{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;const o=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=o.firstChild),o}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,o)=>{var i,r;const n=null!==(i=null==o?void 0:o.renderBefore)&&void 0!==i?i:e;let a=n._$litPart$;if(void 0===a){const t=null!==(r=null==o?void 0:o.renderBefore)&&void 0!==r?r:null;n._$litPart$=a=new ut(e.insertBefore(H(),t),t,void 0,null!=o?o:{})}return a._$AI(t),a})(e,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 nt}};Nt.finalized=!0,Nt._$litElement$=!0,null===(wt=globalThis.litElementHydrateSupport)||void 0===wt||wt.call(globalThis,{LitElement:Nt});const Ct=globalThis.litElementPolyfillSupport;null==Ct||Ct({LitElement:Nt}),(null!==(St=globalThis.litElementVersions)&&void 0!==St?St:globalThis.litElementVersions=[]).push("3.3.2");const $t=t=>"string"==typeof t?N(t):t;class Et{static create(t,e,o,i){const r=t=>$t(null!=t?t:i),n=C`var(${$t(t)}, ${r(i)})`;return n.name=t,n.description=t,n.category=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>C`var(${$t(t)}, ${r(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,e,o,i){const r=t=>o.get(null!=t?t:i),n=C`var(${$t(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o.category,n.fallbackVariable=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>C`var(${$t(t)}, ${r(e)})`,n.breadcrumb=()=>[o.name,...o.breadcrumb()],n.lastResortDefaultValue=()=>null!=i?i:o.lastResortDefaultValue(),n}static external(t,e){const o=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):$t(null!=e?e:t.lastResortDefaultValue()),i=C`var(${$t(t.name)}, ${o(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=e,i.defaultCssValue=o,i.get=e=>C`var(${$t(t.name)}, ${o(e)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function kt(t,e){return $t(`${t.name}: ${e}`)}const Rt={colorWhite:Et.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Et.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Et.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Et.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Et.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Et.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Et.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Et.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Et.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Et.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Et.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Et.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Et.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Et.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Et.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Et.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Et.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Et.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Et.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Et.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Et.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Et.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Et.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Et.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Et.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Et.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Et.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Et.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Et.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Et.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Et.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Et.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Et.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Et.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Et.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Et.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Et.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Et.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Et.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Et.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Et.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Et.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Et.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Et.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Et.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Et.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Et.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Et.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Et.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Et.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Et.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Et.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Et.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Et.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Et.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Et.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Et.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Et.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Et.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Et.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Et.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Et.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Et.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Et.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Et.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Et.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Et.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Et.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Et.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Et.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Et.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Et.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Et.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Et.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Et.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Et.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Et.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Et.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Et.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Et.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Et.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Et.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Et.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Et.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Et.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Et.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Et.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Et.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Et.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Et.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Et.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Et.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Et.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Et.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Et.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Et.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Et.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Et.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Et.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Et.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Et.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Et.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Et.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Et.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Et.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Et.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Et.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Et.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Et.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Et.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Et.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Et.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Et.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Et.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Et.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Et.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Et.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Et.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Et.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Et.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Et.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Et.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Et.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Et.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Et.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Et.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Et.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Et.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Et.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Et.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Et.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Et.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Et.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Et.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Et.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Et.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Et.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Et.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Et.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Et.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Et.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Et.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Et.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Et.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Et.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Et.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Et.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Et.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Et.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Et.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Et.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Et.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Et.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Et.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Et.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Et.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Et.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Et.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Et.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Et.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Et.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Et.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Et.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Et.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Et.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Et.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Et.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Et.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Et.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Et.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Et.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Et.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Et.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Et.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Et.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Et.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Et.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Et.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Et.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Et.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Et.create("--ft-opacity-0","","NUMBER","0"),opacity8:Et.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Et.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Et.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Et.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Et.create("--ft-opacity-80","","NUMBER","0.8")},It={display:{fontFamily:Et.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Et.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Et.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Et.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Et.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Et.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Et.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Et.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Et.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:Et.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Et.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Et.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Et.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:Et.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Et.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:Et.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Et.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Et.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Et.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:Et.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Et.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:Et.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Et.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Et.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Et.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Et.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Et.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Et.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Et.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Et.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Et.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Et.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Et.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Et.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Et.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Et.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Et.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Et.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Et.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Et.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Et.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Et.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Et.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Et.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Et.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Et.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Et.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Et.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Et.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Et.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Et.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Et.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Et.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Et.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Et.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Et.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Et.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Et.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Et.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Et.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Et.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Et.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Et.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Et.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Et.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Et.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Et.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Et.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Et.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Et.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Et.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Et.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Et.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Et.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Et.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Et.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Et.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Et.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Et.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Et.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Et.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Et.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Et.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Et.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Et.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Et.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Et.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Et.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Et.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Et.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Et.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Et.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Et.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Et.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Et.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Et.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Et.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Et.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Et.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Et.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Et.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Et.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Et.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Et.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Et.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Et.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Et.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Et.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Et.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Et.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Et.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Et.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Et.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Et.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Et.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Et.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Et.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Et.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Et.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Et.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Et.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Et.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Et.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Et.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Et.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Et.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Et.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Et.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Et.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Et.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Et.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Et.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Et.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Et.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Et.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Ut={backgroundActionPrimary:Et.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Rt.colorBrand0),backgroundErrorPrimary:Et.extend("--ft-background-error-primary","Used as background of error components.",Rt.colorRed0),backgroundErrorSubtle:Et.extend("--ft-background-error-subtle","Used as background of subtle error components.",Rt.colorRed10),backgroundInfoPrimary:Et.extend("--ft-background-info-primary","Used as background of information components.",Rt.colorCyan200),backgroundInfoSubtle:Et.extend("--ft-background-info-subtle","Used as background of subtle information components.",Rt.colorCyan10),backgroundWarningPrimary:Et.extend("--ft-background-warning-primary","Used as background of warning components.",Rt.colorOrange300),backgroundWarningSubtle:Et.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Rt.colorOrange10),backgroundSuccessPrimary:Et.extend("--ft-background-success-primary","Used as background of success components.",Rt.colorGreen200),backgroundSuccessSubtle:Et.extend("--ft-background-success-subtle","Used as background of subtle success components.",Rt.colorGreen10),backgroundGlobalSurface:Et.extend("--ft-background-global-surface","Used as app background.",Rt.colorWhite),backgroundGlobalOnSurface:Et.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Rt.colorGray10),backgroundGlobalOnSurfaceDark:Et.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Rt.colorGray30),contentActionPrimary:Et.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Rt.colorBrand0),contentWarningPrimary:Et.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Rt.colorOrange300),contentWarningIconOnly:Et.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Rt.colorOrange0),contentErrorPrimary:Et.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Rt.colorRed0),contentErrorIconOnly:Et.extend("--ft-content-error-icon-only","Used on error status icons alone",Rt.colorRed0),contentInfoPrimary:Et.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Rt.colorCyan200),contentInfoIconOnly:Et.extend("--ft-content-info-icon-only","Used on info status icons alone",Rt.colorCyan0),contentSuccessIconOnly:Et.extend("--ft-content-success-icon-only","Used on success status icons alone",Rt.colorGreen0),contentSuccessPrimary:Et.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Rt.colorGreen200),contentGlobalPrimary:Et.extend("--ft-content-global-primary","Used for main content on the page.",Rt.colorGray500),contentGlobalSecondary:Et.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Rt.colorGray200),contentGlobalSubtle:Et.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Rt.colorGray0),contentGlobalOnColor:Et.extend("--ft-content-global-on-color","Used for content on a dominant color.",Rt.colorWhite),borderActionPrimary:Et.extend("--ft-border-action-primary","Used as border for primary action components.",Rt.colorBrand0),borderActionFocusRing:Et.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Rt.colorCyan0),borderWarningPrimary:Et.extend("--ft-border-warning-primary","Used as border for warning components.",Rt.colorOrange30),borderSuccessPrimary:Et.extend("--ft-border-success-primary","Used as border for success components.",Rt.colorGreen30),borderErrorPrimary:Et.extend("--ft-border-error-primary","Used as border for error components.",Rt.colorRed30),borderInfoPrimary:Et.extend("--ft-border-info-primary","Used as border for information components.",Rt.colorCyan30),borderGlobalSubtle:Et.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Rt.colorGray30),borderGlobalPrimary:Et.extend("--ft-border-global-primary","Used as border for element like input.",Rt.colorGray50),borderInputPrimary:Et.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Rt.colorGray80)},Lt={largeHeight:Et.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:Et.extend("--ft-button-large-horizontal-padding","",Rt.spacing4),largeGap:Et.extend("--ft-button-large-gap","",Rt.spacing2),largeBorderRadius:Et.extend("--ft-button-large-border-radius","",Rt.borderRadiusS),largeIconSize:Et.extend("--ft-button-large-icon-size","",Rt.iconSize3),largeBorderWidth:Et.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:Et.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:Et.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:Et.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:Et.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:Et.extend("--ft-button-small-horizontal-padding","",Rt.spacing3),smallGap:Et.extend("--ft-button-small-gap","",Rt.spacing2),smallBorderRadius:Et.extend("--ft-button-small-border-radius","",Rt.borderRadiusS),smallIconSize:Et.extend("--ft-button-small-icon-size","",Rt.iconSize2),smallBorderWidth:Et.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:Et.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:Et.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:Et.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:Et.extend("--ft-button-primary-background-color","",Ut.backgroundActionPrimary),primaryColor:Et.extend("--ft-button-primary-color","",Ut.contentGlobalOnColor),primaryIconColor:Et.extend("--ft-button-primary-icon-color","",Ut.contentGlobalOnColor),primaryStateLayerColor:Et.extend("--ft-button-primary-state-layer-color","",Ut.contentGlobalOnColor),primaryStateLayerOpacityHover:Et.extend("--ft-button-primary-state-layer-opacity-hover","",Rt.opacity16),primaryStateLayerOpacityFocus:Et.extend("--ft-button-primary-state-layer-opacity-focus","",Rt.opacity16),primaryStateLayerOpacityActive:Et.extend("--ft-button-primary-state-layer-opacity-active","",Rt.opacity24),primaryComponentOpacityDisabled:Et.extend("--ft-button-primary-component-opacity-disabled","",Rt.opacity40),focusFocusRingColor:Et.extend("--ft-button-focus-focus-ring-color","",Ut.borderActionFocusRing),tertiaryBackgroundColor:Et.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:Et.extend("--ft-button-tertiary-color","",Ut.contentActionPrimary),tertiaryIconColor:Et.extend("--ft-button-tertiary-icon-color","",Ut.contentActionPrimary),tertiaryStateLayerColor:Et.extend("--ft-button-tertiary-state-layer-color","",Ut.contentActionPrimary),tertiaryStateLayerOpacityHover:Et.extend("--ft-button-tertiary-state-layer-opacity-hover","",Rt.opacity8),tertiaryStateLayerOpacityFocus:Et.extend("--ft-button-tertiary-state-layer-opacity-focus","",Rt.opacity8),tertiaryStateLayerOpacityActive:Et.extend("--ft-button-tertiary-state-layer-opacity-active","",Rt.opacity16),tertiaryComponentOpacityDisabled:Et.extend("--ft-button-tertiary-component-opacity-disabled","",Rt.opacity40),secondaryBackgroundColor:Et.extend("--ft-button-secondary-background-color","",Rt.colorWhite),secondaryColor:Et.extend("--ft-button-secondary-color","",Ut.contentActionPrimary),secondaryIconColor:Et.extend("--ft-button-secondary-icon-color","",Ut.contentActionPrimary),secondaryStateLayerColor:Et.extend("--ft-button-secondary-state-layer-color","",Ut.contentActionPrimary),secondaryStateLayerOpacityHover:Et.extend("--ft-button-secondary-state-layer-opacity-hover","",Rt.opacity8),secondaryStateLayerOpacityFocus:Et.extend("--ft-button-secondary-state-layer-opacity-focus","",Rt.opacity8),secondaryStateLayerOpacityActive:Et.extend("--ft-button-secondary-state-layer-opacity-active","",Rt.opacity16),secondaryComponentOpacityDisabled:Et.extend("--ft-button-secondary-component-opacity-disabled","",Rt.opacity40),secondaryBorderColor:Et.extend("--ft-button-secondary-border-color","",Ut.borderActionPrimary),neutralBackgroundColor:Et.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:Et.extend("--ft-button-neutral-icon-color","",Ut.contentGlobalSecondary),neutralColor:Et.extend("--ft-button-neutral-color","",Ut.contentGlobalSecondary),neutralStateLayerColor:Et.extend("--ft-button-neutral-state-layer-color","",Ut.contentGlobalSecondary),neutralStateLayerOpacityHover:Et.extend("--ft-button-neutral-state-layer-opacity-hover","",Rt.opacity8),neutralStateLayerOpacityFocus:Et.extend("--ft-button-neutral-state-layer-opacity-focus","",Rt.opacity8),neutralStateLayerOpacityActive:Et.extend("--ft-button-neutral-state-layer-opacity-active","",Rt.opacity16),neutralComponentOpacityDisabled:Et.extend("--ft-button-neutral-component-opacity-disabled","",Rt.opacity40)};Et.extend("--ft-tabs-top-left-border-radius","",Rt.borderRadiusS),Et.extend("--ft-tabs-top-right-border-radius","",Rt.borderRadiusS),Et.extend("--ft-tabs-label-horizontal-padding","",Rt.spacing4),Et.extend("--ft-tabs-label-vertical-padding","",Rt.spacing3),Et.extend("--ft-tabs-label-gap","",Rt.spacing1),Et.extend("--ft-switch-group-horizontal-padding","",Rt.spacing1),Et.extend("--ft-switch-group-vertical-padding","",Rt.spacing1),Et.extend("--ft-switch-group-gap","",Rt.spacing1),Et.extend("--ft-switch-group-background-color","",Ut.backgroundGlobalSurface),Et.extend("--ft-switch-group-border-color","",Ut.borderGlobalSubtle),Et.create("--ft-switch-group-border-radius","","SIZE","6px"),Et.extend("--ft-switch-label-horizontal-padding","",Rt.spacing2),Et.extend("--ft-switch-label-vertical-padding","",Rt.spacing1),Et.extend("--ft-switch-icon-horizontal-padding","",Rt.spacing1),Et.extend("--ft-switch-icon-vertical-padding","",Rt.spacing1),Et.create("--ft-switch-focus-outline-width","","SIZE","2px"),Et.extend("--ft-switch-focus-focus-ring-color","",Ut.borderActionFocusRing),Et.extend("--ft-switch-option-border-radius","",Rt.borderRadiusS),Et.extend("--ft-switch-off-state-layer-opacity-hover","",Rt.opacity8),Et.extend("--ft-switch-off-state-layer-opacity-focus","",Rt.opacity8),Et.extend("--ft-switch-off-state-layer-opacity-active","",Rt.opacity16),Et.extend("--ft-switch-off-component-opacity-disabled","",Rt.opacity40),Et.extend("--ft-switch-off-color","",Ut.contentGlobalSubtle),Et.extend("--ft-switch-off-state-layer-color","",Ut.contentGlobalSubtle),Et.extend("--ft-chart-1-light","for area color charts",Rt.colorBrand40),Et.extend("--ft-chart-1-base","for line charts",Rt.colorBrand0),Et.extend("--ft-chart-2-light","for area color charts",Rt.colorYellow60),Et.extend("--ft-chart-2-base","for line charts",Rt.colorYellow100),Et.extend("--ft-chart-3-light","",Rt.colorUltramarine40),Et.extend("--ft-chart-3-base","",Rt.colorUltramarine70),Et.extend("--ft-chart-4-light","",Rt.colorCyan50),Et.extend("--ft-chart-4-base","",Rt.colorCyan100),Et.extend("--ft-chart-5-light","",Rt.colorRed40),Et.extend("--ft-chart-5-base","",Rt.colorRed60),Et.extend("--ft-chart-6-light","",Rt.colorGreen40),Et.extend("--ft-chart-6-base","",Rt.colorGreen70),Et.extend("--ft-chart-7-light","",Rt.colorOrange70),Et.extend("--ft-chart-7-base","",Rt.colorOrange100),Et.extend("--ft-chart-8-light","",Rt.colorAvocado70),Et.extend("--ft-chart-8-base","",Rt.colorAvocado200),Et.extend("--ft-chart-9-light","",Rt.colorBrown50),Et.extend("--ft-chart-9-base","",Rt.colorBrown200),Et.extend("--ft-chart-10-light","",Rt.colorGray50),Et.extend("--ft-chart-10-base","",Rt.colorGray80),Et.extend("--ft-chart-monochrome-10","",Rt.colorBrand10),Et.extend("--ft-chart-monochrome-20","",Rt.colorBrand20),Et.extend("--ft-chart-monochrome-30","",Rt.colorBrand40),Et.extend("--ft-chart-monochrome-40","",Rt.colorBrand60),Et.extend("--ft-chart-monochrome-50","",Rt.colorBrand0),Et.extend("--ft-chart-monochrome-60","",Rt.colorBrand200),Et.extend("--ft-chip-large-horizontal-padding","",Rt.spacing4),Et.extend("--ft-chip-large-vertical-padding","",Rt.spacing2),Et.extend("--ft-chip-large-gap","",Rt.spacing1),Et.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Et.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Et.extend("--ft-chip-large-border-radius","",Rt.borderRadiusPill),Et.create("--ft-chip-large-border-width","","SIZE","1px"),Et.extend("--ft-chip-large-icon-size","",Rt.iconSize3),Et.extend("--ft-chip-medium-horizontal-padding","",Rt.spacing3),Et.extend("--ft-chip-medium-vertical-padding","",Rt.spacing1),Et.extend("--ft-chip-medium-gap","",Rt.spacing1),Et.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Et.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Et.extend("--ft-chip-medium-border-radius","",Rt.borderRadiusPill),Et.create("--ft-chip-medium-border-width","","SIZE","1px"),Et.extend("--ft-chip-medium-icon-size","",Rt.iconSize2),Et.extend("--ft-chip-small-horizontal-padding","",Rt.spacing2),Et.extend("--ft-chip-small-vertical-padding","",Rt.spacing05),Et.extend("--ft-chip-small-gap","",Rt.spacing1),Et.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Et.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Et.extend("--ft-chip-small-border-radius","",Rt.borderRadiusPill),Et.create("--ft-chip-small-border-width","","SIZE","1px"),Et.extend("--ft-chip-small-icon-size","",Rt.iconSize1),Et.extend("--ft-chip-neutral-background-color","",Ut.backgroundGlobalOnSurface),Et.extend("--ft-chip-neutral-color","",Ut.contentGlobalPrimary),Et.extend("--ft-chip-neutral-border-color","",Ut.borderGlobalSubtle),Et.extend("--ft-chip-info-background-color","",Ut.backgroundInfoSubtle),Et.extend("--ft-chip-info-color","",Ut.contentInfoPrimary),Et.extend("--ft-chip-info-border-color","",Ut.borderInfoPrimary),Et.extend("--ft-chip-success-background-color","",Ut.backgroundSuccessSubtle),Et.extend("--ft-chip-success-color","",Ut.contentSuccessPrimary),Et.extend("--ft-chip-success-border-color","",Ut.borderSuccessPrimary),Et.extend("--ft-chip-warning-background-color","",Ut.backgroundWarningSubtle),Et.extend("--ft-chip-warning-color","",Ut.contentWarningPrimary),Et.extend("--ft-chip-warning-border-color","",Ut.borderWarningPrimary),Et.extend("--ft-chip-error-background-color","",Ut.backgroundErrorSubtle),Et.extend("--ft-chip-error-color","",Ut.contentErrorPrimary),Et.extend("--ft-chip-error-border-color","",Ut.borderErrorPrimary),Et.create("--ft-notice-border-width","","SIZE","1px"),Et.extend("--ft-notice-horizontal-padding","",Rt.spacing2),Et.extend("--ft-notice-vertical-padding","",Rt.spacing1),Et.extend("--ft-notice-border-radius","",Rt.borderRadiusS),Et.extend("--ft-notice-gap","",Rt.spacing2),Et.extend("--ft-notice-icon-size","",Rt.iconSize3),Et.extend("--ft-notice-info-background-color","",Ut.backgroundInfoSubtle),Et.extend("--ft-notice-info-border-color","",Ut.borderInfoPrimary),Et.extend("--ft-notice-info-color","",Ut.contentInfoPrimary),Et.extend("--ft-notice-warning-background-color","",Ut.backgroundWarningSubtle),Et.extend("--ft-notice-warning-border-color","",Ut.borderWarningPrimary),Et.extend("--ft-notice-warning-color","",Ut.contentWarningPrimary),Et.extend("--ft-checkbox-label-color","",Ut.contentGlobalPrimary),Et.extend("--ft-checkbox-checked-background-color","",Ut.contentActionPrimary),Et.extend("--ft-checkbox-checked-state-layer-color","",Ut.contentActionPrimary),Et.extend("--ft-checkbox-checked-color","",Ut.contentGlobalOnColor),Et.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Rt.opacity16),Et.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Rt.opacity16),Et.extend("--ft-checkbox-checked-state-layer-opacity-active","",Rt.opacity24),Et.extend("--ft-checkbox-checked-component-opacity-disabled","",Rt.opacity40),Et.extend("--ft-checkbox-unchecked-border-color","",Rt.colorGray80),Et.extend("--ft-checkbox-unchecked-state-layer-color","",Rt.colorGray80),Et.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Rt.opacity16),Et.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Rt.opacity16),Et.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Rt.opacity24),Et.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Rt.opacity40),Et.extend("--ft-checkbox-focus-focus-ring-color","",Ut.borderActionFocusRing),Et.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Et.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Et.extend("--ft-checkbox-gap","",Rt.spacing3),Et.extend("--ft-toggle-off-state-layer-opacity-hover","",Rt.opacity16),Et.extend("--ft-toggle-off-state-layer-opacity-focus","",Rt.opacity16),Et.extend("--ft-toggle-off-state-layer-opacity-active","",Rt.opacity24),Et.extend("--ft-toggle-off-component-opacity-disabled","",Rt.opacity40),Et.extend("--ft-toggle-off-background-color","",Ut.contentGlobalSubtle),Et.extend("--ft-toggle-off-icon-color","",Ut.contentGlobalSubtle),Et.extend("--ft-toggle-off-state-layer-color","",Ut.contentGlobalSubtle),Et.extend("--ft-toggle-on-state-layer-opacity-hover","",Rt.opacity16),Et.extend("--ft-toggle-on-state-layer-opacity-focus","",Rt.opacity16),Et.extend("--ft-toggle-on-state-layer-opacity-active","",Rt.opacity24),Et.extend("--ft-toggle-on-component-opacity-disabled","",Rt.opacity40),Et.extend("--ft-toggle-on-background-color","",Ut.contentActionPrimary),Et.extend("--ft-toggle-on-icon-color","",Ut.contentActionPrimary),Et.extend("--ft-toggle-on-state-layer-color","",Ut.contentActionPrimary),Et.extend("--ft-toggle-label-color","",Ut.contentGlobalPrimary),Et.extend("--ft-toggle-focus-focus-ring-color","",Ut.borderActionFocusRing),Et.extend("--ft-toggle-gap","",Rt.spacing3),Et.extend("--ft-radio-label-color","",Ut.contentGlobalPrimary),Et.extend("--ft-radio-selected-color","",Ut.contentActionPrimary),Et.extend("--ft-radio-selected-state-layer-color","",Ut.contentActionPrimary),Et.extend("--ft-radio-selected-state-layer-opacity-hover","",Rt.opacity16),Et.extend("--ft-radio-selected-state-layer-opacity-focus","",Rt.opacity16),Et.extend("--ft-radio-selected-state-layer-opacity-active","",Rt.opacity24),Et.extend("--ft-radio-selected-component-opacity-disabled","",Rt.opacity40),Et.extend("--ft-radio-unselected-state-layer-color","",Rt.colorGray80),Et.extend("--ft-radio-unselected-state-layer-opacity-hover","",Rt.opacity16),Et.extend("--ft-radio-unselected-state-layer-opacity-focus","",Rt.opacity16),Et.extend("--ft-radio-unselected-state-layer-opacity-active","",Rt.opacity24),Et.extend("--ft-radio-unselected-component-opacity-disabled","",Rt.opacity40),Et.extend("--ft-radio-focus-focus-ring-color","",Ut.borderActionFocusRing),Et.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Et.create("--ft-radio-focus-outline-width","","SIZE","2px"),Et.extend("--ft-radio-gap","",Rt.spacing3),Et.extend("--ft-notification-icon-size","",Rt.iconSize4),Et.extend("--ft-notification-horizontal-padding","",Rt.spacing4),Et.extend("--ft-notification-vertical-padding","",Rt.spacing4),Et.extend("--ft-notification-info-background-color","",Ut.backgroundInfoSubtle),Et.extend("--ft-notification-info-color","",Ut.contentInfoPrimary),Et.extend("--ft-notification-info-border-color","",Ut.borderInfoPrimary),Et.extend("--ft-notification-success-background-color","",Ut.backgroundSuccessSubtle),Et.extend("--ft-notification-success-color","",Ut.contentSuccessPrimary),Et.extend("--ft-notification-success-border-color","",Ut.borderSuccessPrimary),Et.extend("--ft-notification-warning-background-color","",Ut.backgroundWarningSubtle),Et.extend("--ft-notification-warning-color","",Ut.contentWarningPrimary),Et.extend("--ft-notification-warning-border-color","",Ut.borderWarningPrimary),Et.extend("--ft-notification-error-background-color","",Ut.backgroundErrorSubtle),Et.extend("--ft-notification-error-color","",Ut.contentErrorPrimary),Et.extend("--ft-notification-error-border-color","",Ut.borderErrorPrimary),Et.extend("--ft-notification-border-radius","",Rt.borderRadiusPill),Et.create("--ft-notification-border-width","","SIZE","1px"),Et.extend("--ft-notification-gap-leading","",Rt.spacing2),Et.extend("--ft-notification-gap-trailing","",Rt.spacing8);const Wt={colorPrimary:Et.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:Et.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:Et.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:Et.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:Et.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:Et.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:Et.create("--ft-color-error","","COLOR","#B00020"),colorOutline:Et.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:Et.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:Et.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:Et.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:Et.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:Et.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:Et.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:Et.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:Et.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:Et.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:Et.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:Et.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:Et.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:Et.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:Et.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:Et.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:Et.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:Et.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:Et.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:Et.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:Et.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:Et.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:Et.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:Et.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:Et.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:Et.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:Et.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:Et.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:Et.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:Et.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:Et.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:Et.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:Et.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:Et.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:Et.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:Et.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:Et.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:Et.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:Et.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:Et.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:Et.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:Et.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:Et.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:Et.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:Et.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:Et.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:Et.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:Et.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:Et.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:Et.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:Et.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:Et.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:Et.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:Et.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:Et.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};class At extends Nt{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,o])=>t.registry.define(e,o))));const e={...t.shadowRootOptions,customElements:t.registry},o=this.renderOptions.creationScope=this.attachShadow(e);return $(o,t.elementStyles),o}}var jt,Ft=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const Dt=Symbol("constructorPrototype"),zt=Symbol("constructorName"),Bt=Symbol("exportpartsDebouncer");class Kt extends At{constructor(){super(),this[jt]=new n(5),this[zt]=this.constructor.name,this[Dt]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[zt]&&Object.setPrototypeOf(this,this[Dt])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,o;if((null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==o?o:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[Bt].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,o,i,r,n,a;const s=t=>null!=t&&t.trim().length>0,l=t.filter(s).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==o?o:[]){const e=null!==(r=null===(i=t.getAttribute("part"))||void 0===i?void 0:i.split(" "))&&void 0!==r?r:[],o=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...e,...o).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const f=[...c.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}jt=Bt,Ft([s()],Kt.prototype,"exportpartsPrefix",void 0),Ft([v([])],Kt.prototype,"exportpartsPrefixes",void 0),Ft([s()],Kt.prototype,"customStylesheet",void 0);const Pt=C`
|
|
76
76
|
.ft-no-text-select {
|
|
77
77
|
-webkit-touch-callout: none;
|
|
78
78
|
-webkit-user-select: none;
|
|
@@ -104,13 +104,13 @@ var wt,St;let Nt=class extends F{constructor(){super(...arguments),this.renderOp
|
|
|
104
104
|
display: inline-block;
|
|
105
105
|
width: 0;
|
|
106
106
|
}
|
|
107
|
-
`;class Tt{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var o,i;t=this.resolvePluralKey(t,e);let r=null!==(i=null!==(o=this.labels[t])&&void 0!==o?o:this.defaultLabels[t])&&void 0!==i?i:"";return e.forEach(((t,e)=>r=r.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,o)=>this.formatValue(t,o))))),r}resolvePluralKey(t,e){for(let o of e)if("number"==typeof o){const e=`${String(t)}[\\=${o}]`;if(e in this.labels||e in this.defaultLabels)return e}return t}formatValue(t,e){return t instanceof Date?this.formatDate(t,e):null!=t?t:""}formatDate(t,e){const o=o=>(null==e?void 0:e.includes("date"))?t.toLocaleDateString(o):(null==e?void 0:e.includes("time"))?t.toLocaleTimeString(o):t.toLocaleString(o);try{return o(document.documentElement.lang)}catch(t){return o()}}}function Zt(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var _t,Ht,Gt;const Vt=Symbol("internalReduxEventsUnsubscribers"),qt=Symbol("internalStoresUnsubscribers"),Yt=Symbol("internalStores");class Xt extends Kt{constructor(){super(...arguments),this[_t]=new Map,this[Ht]=new Map,this[Gt]=[]}update(t){var e;super.update(t),(null===(e=this.reduxReactiveProperties)||void 0===e?void 0:e.some((e=>t.has(e))))&&this.updateFromStores()}getUnnamedStore(){if(this[Yt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Yt].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Yt].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:Zt(t)?t.name:void 0)&&void 0!==o?o:"default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[Yt].delete(e)}setupStore(t,e){this[Yt].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Yt].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxProperties&&this.reduxProperties.forEach(((t,e)=>{const o=this.constructor.getPropertyOptions(e);if(!(null==o?void 0:o.attribute)||!this.hasAttribute("string"==typeof(null==o?void 0:o.attribute)?o.attribute:e)){const o=this.getStore(t.store);o&&(t.store?this[qt].has(t.store):this[qt].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[qt].set(t,e.subscribe((()=>this.updateFromStores()))),Zt(e)&&e.eventBus&&(null===(o=this.reduxEventListeners)||void 0===o||o.forEach(((t,o)=>{if("function"==typeof this[o]&&(!t.store||e.name===t.store)){const i=t=>this[o](t);e.eventBus.addEventListener(t.eventName,i),this[Vt].push((()=>e.eventBus.removeEventListener(t.eventName,i)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[qt].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[Vt].forEach((t=>t())),this[Vt]=[]}unsubscribeFromStore(t){this[qt].has(t)&&this[qt].get(t)(),this[qt].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function Jt(t){for(var e=arguments.length,o=Array(e>1?e-1:0),i=1;i<e;i++)o[i-1]=arguments[i];throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Qt(t){return!!t&&!!t[ze]}function te(t){var e;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;var o=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return o===Object||"function"==typeof o&&Function.toString.call(o)===Ke}(t)||Array.isArray(t)||!!t[Be]||!!(null===(e=t.constructor)||void 0===e?void 0:e[Be])||ae(t)||se(t))}function ee(t,e,o){void 0===o&&(o=!1),0===oe(t)?(o?Object.keys:Pe)(t).forEach((function(i){o&&"symbol"==typeof i||e(i,t[i],t)})):t.forEach((function(o,i){return e(i,o,t)}))}function oe(t){var e=t[ze];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:ae(t)?2:se(t)?3:0}function ie(t,e){return 2===oe(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function re(t,e,o){var i=oe(t);2===i?t.set(e,o):3===i?t.add(o):t[e]=o}function ne(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function ae(t){return Ae&&t instanceof Map}function se(t){return je&&t instanceof Set}function le(t){return t.o||t.t}function ce(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Me(t);delete e[ze];for(var o=Pe(e),i=0;i<o.length;i++){var r=o[i],n=e[r];!1===n.writable&&(n.writable=!0,n.configurable=!0),(n.get||n.set)&&(e[r]={configurable:!0,writable:!0,enumerable:n.enumerable,value:t[r]})}return Object.create(Object.getPrototypeOf(t),e)}function fe(t,e){return void 0===e&&(e=!1),pe(t)||Qt(t)||!te(t)||(oe(t)>1&&(t.set=t.add=t.clear=t.delete=he),Object.freeze(t),e&&ee(t,(function(t,e){return fe(e,!0)}),!0)),t}function he(){Jt(2)}function pe(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function ue(t){var e=Te[t];return e||Jt(18,t),e}function de(){return Le}function ye(t,e){e&&(ue("Patches"),t.u=[],t.s=[],t.v=e)}function be(t){ge(t),t.p.forEach(me),t.p=null}function ge(t){t===Le&&(Le=t.l)}function ve(t){return Le={p:[],l:Le,h:t,m:!0,_:0}}function me(t){var e=t[ze];0===e.i||1===e.i?e.j():e.g=!0}function xe(t,e){e._=e.p.length;var o=e.p[0],i=void 0!==t&&t!==o;return e.h.O||ue("ES5").S(e,t,i),i?(o[ze].P&&(be(e),Jt(4)),te(t)&&(t=Oe(e,t),e.l||Se(e,t)),e.u&&ue("Patches").M(o[ze].t,t,e.u,e.s)):t=Oe(e,o,[]),be(e),e.u&&e.v(e.u,e.s),t!==De?t:void 0}function Oe(t,e,o){if(pe(e))return e;var i=e[ze];if(!i)return ee(e,(function(r,n){return we(t,i,e,r,n,o)}),!0),e;if(i.A!==t)return e;if(!i.P)return Se(t,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var r=4===i.i||5===i.i?i.o=ce(i.k):i.o,n=r,a=!1;3===i.i&&(n=new Set(r),r.clear(),a=!0),ee(n,(function(e,n){return we(t,i,r,e,n,o,a)})),Se(t,r,!1),o&&t.u&&ue("Patches").N(i,o,t.u,t.s)}return i.o}function we(t,e,o,i,r,n,a){if(Qt(r)){var s=Oe(t,r,n&&e&&3!==e.i&&!ie(e.R,i)?n.concat(i):void 0);if(re(o,i,s),!Qt(s))return;t.m=!1}else a&&o.add(r);if(te(r)&&!pe(r)){if(!t.h.D&&t._<1)return;Oe(t,r),e&&e.A.l||Se(t,r)}}function Se(t,e,o){void 0===o&&(o=!1),!t.l&&t.h.D&&t.m&&fe(e,o)}function Ne(t,e){var o=t[ze];return(o?le(o):t)[e]}function Ce(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var i=Object.getOwnPropertyDescriptor(o,e);if(i)return i;o=Object.getPrototypeOf(o)}}function $e(t){t.P||(t.P=!0,t.l&&$e(t.l))}function Ee(t){t.o||(t.o=ce(t.t))}function ke(t,e,o){var i=ae(e)?ue("MapSet").F(e,o):se(e)?ue("MapSet").T(e,o):t.O?function(t,e){var o=Array.isArray(t),i={i:o?1:0,A:e?e.A:de(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},r=i,n=Ze;o&&(r=[i],n=_e);var a=Proxy.revocable(r,n),s=a.revoke,l=a.proxy;return i.k=l,i.j=s,l}(e,o):ue("ES5").J(e,o);return(o?o.A:de()).p.push(i),i}function Re(t){return Qt(t)||Jt(22,t),function t(e){if(!te(e))return e;var o,i=e[ze],r=oe(e);if(i){if(!i.P&&(i.i<4||!ue("ES5").K(i)))return i.t;i.I=!0,o=Ie(e,r),i.I=!1}else o=Ie(e,r);return ee(o,(function(e,r){i&&function(t,e){return 2===oe(t)?t.get(e):t[e]}(i.t,e)===r||re(o,e,t(r))})),3===r?new Set(o):o}(t)}function Ie(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return ce(t)}_t=qt,Ht=Yt,Gt=Vt;var Ue,Le,We="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Ae="undefined"!=typeof Map,je="undefined"!=typeof Set,Fe="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,De=We?Symbol.for("immer-nothing"):((Ue={})["immer-nothing"]=!0,Ue),Be=We?Symbol.for("immer-draftable"):"__$immer_draftable",ze=We?Symbol.for("immer-state"):"__$immer_state",Ke=""+Object.prototype.constructor,Pe="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Me=Object.getOwnPropertyDescriptors||function(t){var e={};return Pe(t).forEach((function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)})),e},Te={},Ze={get:function(t,e){if(e===ze)return t;var o=le(t);if(!ie(o,e))return function(t,e,o){var i,r=Ce(e,o);return r?"value"in r?r.value:null===(i=r.get)||void 0===i?void 0:i.call(t.k):void 0}(t,o,e);var i=o[e];return t.I||!te(i)?i:i===Ne(t.t,e)?(Ee(t),t.o[e]=ke(t.A.h,i,t)):i},has:function(t,e){return e in le(t)},ownKeys:function(t){return Reflect.ownKeys(le(t))},set:function(t,e,o){var i=Ce(le(t),e);if(null==i?void 0:i.set)return i.set.call(t.k,o),!0;if(!t.P){var r=Ne(le(t),e),n=null==r?void 0:r[ze];if(n&&n.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(ne(o,r)&&(void 0!==o||ie(t.t,e)))return!0;Ee(t),$e(t)}return t.o[e]===o&&(void 0!==o||e in t.o)||Number.isNaN(o)&&Number.isNaN(t.o[e])||(t.o[e]=o,t.R[e]=!0),!0},deleteProperty:function(t,e){return void 0!==Ne(t.t,e)||e in t.t?(t.R[e]=!1,Ee(t),$e(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=le(t),i=Reflect.getOwnPropertyDescriptor(o,e);return i?{writable:!0,configurable:1!==t.i||"length"!==e,enumerable:i.enumerable,value:o[e]}:i},defineProperty:function(){Jt(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Jt(12)}},_e={};ee(Ze,(function(t,e){_e[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),_e.deleteProperty=function(t,e){return _e.set.call(this,t,e,void 0)},_e.set=function(t,e,o){return Ze.set.call(this,t[0],e,o,t[0])};var He=function(){function t(t){var e=this;this.O=Fe,this.D=!0,this.produce=function(t,o,i){if("function"==typeof t&&"function"!=typeof o){var r=o;o=t;var n=e;return function(t){var e=this;void 0===t&&(t=r);for(var i=arguments.length,a=Array(i>1?i-1:0),s=1;s<i;s++)a[s-1]=arguments[s];return n.produce(t,(function(t){var i;return(i=o).call.apply(i,[e,t].concat(a))}))}}var a;if("function"!=typeof o&&Jt(6),void 0!==i&&"function"!=typeof i&&Jt(7),te(t)){var s=ve(e),l=ke(e,t,void 0),c=!0;try{a=o(l),c=!1}finally{c?be(s):ge(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return ye(s,i),xe(t,s)}),(function(t){throw be(s),t})):(ye(s,i),xe(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=o(t))&&(a=t),a===De&&(a=void 0),e.D&&fe(a,!0),i){var f=[],h=[];ue("Patches").M(t,a,f,h),i(f,h)}return a}Jt(21,t)},this.produceWithPatches=function(t,o){if("function"==typeof t)return function(o){for(var i=arguments.length,r=Array(i>1?i-1:0),n=1;n<i;n++)r[n-1]=arguments[n];return e.produceWithPatches(o,(function(e){return t.apply(void 0,[e].concat(r))}))};var i,r,n=e.produce(t,o,(function(t,e){i=t,r=e}));return"undefined"!=typeof Promise&&n instanceof Promise?n.then((function(t){return[t,i,r]})):[n,i,r]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var e=t.prototype;return e.createDraft=function(t){te(t)||Jt(8),Qt(t)&&(t=Re(t));var e=ve(this),o=ke(this,t,void 0);return o[ze].C=!0,ge(e),o},e.finishDraft=function(t,e){var o=(t&&t[ze]).A;return ye(o,e),xe(void 0,o)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!Fe&&Jt(20),this.O=t},e.applyPatches=function(t,e){var o;for(o=e.length-1;o>=0;o--){var i=e[o];if(0===i.path.length&&"replace"===i.op){t=i.value;break}}o>-1&&(e=e.slice(o+1));var r=ue("Patches").$;return Qt(t)?r(t,e):this.produce(t,(function(t){return r(t,e)}))},t}(),Ge=new He,Ve=Ge.produce;function qe(t){return qe="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},qe(t)}function Ye(t){var e=function(t,e){if("object"!==qe(t)||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var i=o.call(t,e||"default");if("object"!==qe(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===qe(e)?e:String(e)}function Xe(t,e,o){return(e=Ye(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function Je(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,i)}return o}function Qe(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?Je(Object(o),!0).forEach((function(e){Xe(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):Je(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function to(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. "}Ge.produceWithPatches.bind(Ge),Ge.setAutoFreeze.bind(Ge),Ge.setUseProxies.bind(Ge),Ge.applyPatches.bind(Ge),Ge.createDraft.bind(Ge),Ge.finishDraft.bind(Ge);var eo="function"==typeof Symbol&&Symbol.observable||"@@observable",oo=function(){return Math.random().toString(36).substring(7).split("").join(".")},io={INIT:"@@redux/INIT"+oo(),REPLACE:"@@redux/REPLACE"+oo(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+oo()}};function ro(t,e,o){var i;if("function"==typeof e&&"function"==typeof o||"function"==typeof o&&"function"==typeof arguments[3])throw new Error(to(0));if("function"==typeof e&&void 0===o&&(o=e,e=void 0),void 0!==o){if("function"!=typeof o)throw new Error(to(1));return o(ro)(t,e)}if("function"!=typeof t)throw new Error(to(2));var r=t,n=e,a=[],s=a,l=!1;function c(){s===a&&(s=a.slice())}function f(){if(l)throw new Error(to(3));return n}function h(t){if("function"!=typeof t)throw new Error(to(4));if(l)throw new Error(to(5));var e=!0;return c(),s.push(t),function(){if(e){if(l)throw new Error(to(6));e=!1,c();var o=s.indexOf(t);s.splice(o,1),a=null}}}function p(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}(t))throw new Error(to(7));if(void 0===t.type)throw new Error(to(8));if(l)throw new Error(to(9));try{l=!0,n=r(n,t)}finally{l=!1}for(var e=a=s,o=0;o<e.length;o++){(0,e[o])()}return t}return p({type:io.INIT}),(i={dispatch:p,subscribe:h,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(to(10));r=t,p({type:io.REPLACE})}})[eo]=function(){var t,e=h;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(to(11));function o(){t.next&&t.next(f())}return o(),{unsubscribe:e(o)}}})[eo]=function(){return this},t},i}function no(t){for(var e=Object.keys(t),o={},i=0;i<e.length;i++){var r=e[i];"function"==typeof t[r]&&(o[r]=t[r])}var n,a=Object.keys(o);try{!function(t){Object.keys(t).forEach((function(e){var o=t[e];if(void 0===o(void 0,{type:io.INIT}))throw new Error(to(12));if(void 0===o(void 0,{type:io.PROBE_UNKNOWN_ACTION()}))throw new Error(to(13))}))}(o)}catch(t){n=t}return function(t,e){if(void 0===t&&(t={}),n)throw n;for(var i=!1,r={},s=0;s<a.length;s++){var l=a[s],c=o[l],f=t[l],h=c(f,e);if(void 0===h)throw e&&e.type,new Error(to(14));r[l]=h,i=i||h!==f}return(i=i||a.length!==Object.keys(t).length)?r:t}}function ao(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce((function(t,e){return function(){return t(e.apply(void 0,arguments))}}))}function so(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(t){return function(){var o=t.apply(void 0,arguments),i=function(){throw new Error(to(15))},r={getState:o.getState,dispatch:function(){return i.apply(void 0,arguments)}},n=e.map((function(t){return t(r)}));return i=ao.apply(void 0,n)(o.dispatch),Qe(Qe({},o),{},{dispatch:i})}}}function lo(t){return function(e){var o=e.dispatch,i=e.getState;return function(e){return function(r){return"function"==typeof r?r(o,i,t):e(r)}}}}var co=lo();co.withExtraArgument=lo;var fo,ho=co,po=(fo=function(t,e){return fo=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])},fo(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function o(){this.constructor=t}fo(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),uo=function(t,e){var o,i,r,n,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return n={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function s(n){return function(s){return function(n){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,i&&(r=2&n[0]?i.return:n[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,n[1])).done)return r;switch(i=0,r&&(n=[2&n[0],r.value]),n[0]){case 0:case 1:r=n;break;case 4:return a.label++,{value:n[1],done:!1};case 5:a.label++,i=n[1],n=[0];continue;case 7:n=a.ops.pop(),a.trys.pop();continue;default:if(!(r=a.trys,(r=r.length>0&&r[r.length-1])||6!==n[0]&&2!==n[0])){a=0;continue}if(3===n[0]&&(!r||n[1]>r[0]&&n[1]<r[3])){a.label=n[1];break}if(6===n[0]&&a.label<r[1]){a.label=r[1],r=n;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(n);break}r[2]&&a.ops.pop(),a.trys.pop();continue}n=e.call(t,a)}catch(t){n=[6,t],i=0}finally{o=r=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,s])}}},yo=function(t,e){for(var o=0,i=e.length,r=t.length;o<i;o++,r++)t[r]=e[o];return t},bo=Object.defineProperty,go=Object.defineProperties,vo=Object.getOwnPropertyDescriptors,mo=Object.getOwnPropertySymbols,xo=Object.prototype.hasOwnProperty,Oo=Object.prototype.propertyIsEnumerable,wo=function(t,e,o){return e in t?bo(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},So=function(t,e){for(var o in e||(e={}))xo.call(e,o)&&wo(t,o,e[o]);if(mo)for(var i=0,r=mo(e);i<r.length;i++){o=r[i];Oo.call(e,o)&&wo(t,o,e[o])}return t},No=function(t,e){return go(t,vo(e))},Co="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?ao:ao.apply(null,arguments)};var $o=function(t){function e(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];var r=t.apply(this,o)||this;return Object.setPrototypeOf(r,e.prototype),r}return po(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,yo([void 0],t[0].concat(this)))):new(e.bind.apply(e,yo([void 0],t.concat(this))))},e}(Array),Eo=function(t){function e(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];var r=t.apply(this,o)||this;return Object.setPrototypeOf(r,e.prototype),r}return po(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,yo([void 0],t[0].concat(this)))):new(e.bind.apply(e,yo([void 0],t.concat(this))))},e}(Array);function ko(t){return te(t)?Ve(t,(function(){})):t}function Ro(){return function(t){return function(t){void 0===t&&(t={});var e=t.thunk,o=void 0===e||e;t.immutableCheck,t.serializableCheck;var i=new $o;o&&(!function(t){return"boolean"==typeof t}(o)?i.push(ho.withExtraArgument(o.extraArgument)):i.push(ho));return i}(t)}}function Io(t){var e,o=Ro(),i=t||{},r=i.reducer,n=void 0===r?void 0:r,a=i.middleware,s=void 0===a?o():a,l=i.devTools,c=void 0===l||l,f=i.preloadedState,h=void 0===f?void 0:f,p=i.enhancers,u=void 0===p?void 0:p;if("function"==typeof n)e=n;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var o=e;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return e===o}(n))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');e=no(n)}var d=s;"function"==typeof d&&(d=d(o));var y=so.apply(void 0,d),b=ao;c&&(b=Co(So({trace:!1},"object"==typeof c&&c)));var g=new Eo(y),v=g;return Array.isArray(u)?v=yo([y],u):"function"==typeof u&&(v=u(g)),ro(e,h,b.apply(void 0,v))}function Uo(t,e){function o(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];if(e){var r=e.apply(void 0,o);if(!r)throw new Error("prepareAction did not return an object");return So(So({type:t,payload:r.payload},"meta"in r&&{meta:r.meta}),"error"in r&&{error:r.error})}return{type:t,payload:o[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(e){return e.type===t},o}function Lo(t){var e,o={},i=[],r={addCase:function(t,e){var i="string"==typeof t?t:t.type;if(i in o)throw new Error("addCase cannot be called with two reducers for the same action type");return o[i]=e,r},addMatcher:function(t,e){return i.push({matcher:t,reducer:e}),r},addDefaultCase:function(t){return e=t,r}};return t(r),[o,i,e]}function Wo(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");var o,i="function"==typeof t.initialState?t.initialState:ko(t.initialState),r=t.reducers||{},n=Object.keys(r),a={},s={},l={};function c(){var e="function"==typeof t.extraReducers?Lo(t.extraReducers):[t.extraReducers],o=e[0],r=void 0===o?{}:o,n=e[1],a=void 0===n?[]:n,l=e[2],c=void 0===l?void 0:l,f=So(So({},r),s);return function(t,e,o,i){void 0===o&&(o=[]);var r,n="function"==typeof e?Lo(e):[e,o,i],a=n[0],s=n[1],l=n[2];if(function(t){return"function"==typeof t}(t))r=function(){return ko(t())};else{var c=ko(t);r=function(){return c}}function f(t,e){void 0===t&&(t=r());var o=yo([a[e.type]],s.filter((function(t){return(0,t.matcher)(e)})).map((function(t){return t.reducer})));return 0===o.filter((function(t){return!!t})).length&&(o=[l]),o.reduce((function(t,o){if(o){var i;if(Qt(t))return void 0===(i=o(t,e))?t:i;if(te(t))return Ve(t,(function(t){return o(t,e)}));if(void 0===(i=o(t,e))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return i}return t}),t)}return f.getInitialState=r,f}(i,(function(t){for(var e in f)t.addCase(e,f[e]);for(var o=0,i=a;o<i.length;o++){var r=i[o];t.addMatcher(r.matcher,r.reducer)}c&&t.addDefaultCase(c)}))}return n.forEach((function(t){var o,i,n=r[t],c=e+"/"+t;"reducer"in n?(o=n.reducer,i=n.prepare):o=n,a[t]=o,s[c]=o,l[t]=i?Uo(c,i):Uo(c)})),{name:e,reducer:function(t,e){return o||(o=c()),o(t,e)},actions:l,caseReducers:a,getInitialState:function(){return o||(o=c()),o.getInitialState()}}}var Ao=["name","message","stack","code"],jo=function(t,e){this.payload=t,this.meta=e},Fo=function(t,e){this.payload=t,this.meta=e},Do=function(t){if("object"==typeof t&&null!==t){for(var e={},o=0,i=Ao;o<i.length;o++){var r=i[o];"string"==typeof t[r]&&(e[r]=t[r])}return e}return{message:String(t)}};function Bo(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,e,o){var i=Uo(t+"/fulfilled",(function(t,e,o,i){return{payload:t,meta:No(So({},i||{}),{arg:o,requestId:e,requestStatus:"fulfilled"})}})),r=Uo(t+"/pending",(function(t,e,o){return{payload:void 0,meta:No(So({},o||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),n=Uo(t+"/rejected",(function(t,e,i,r,n){return{payload:r,error:(o&&o.serializeError||Do)(t||"Rejected"),meta:No(So({},n||{}),{arg:i,requestId:e,rejectedWithValue:!!r,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,h=(null==o?void 0:o.idGenerator)?o.idGenerator(t):function(t){void 0===t&&(t=21);for(var e="",o=t;o--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e}(),p=new a;function u(t){f=t,p.abort()}var d=function(){return a=this,d=null,y=function(){var a,d,y,b,g,v;return uo(this,(function(m){switch(m.label){case 0:return m.trys.push([0,4,,5]),b=null==(a=null==o?void 0:o.condition)?void 0:a.call(o,t,{getState:l,extra:c}),null===(x=b)||"object"!=typeof x||"function"!=typeof x.then?[3,2]:[4,b];case 1:b=m.sent(),m.label=2;case 2:if(!1===b||p.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return g=new Promise((function(t,e){return p.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:f||"Aborted"})}))})),s(r(h,t,null==(d=null==o?void 0:o.getPendingMeta)?void 0:d.call(o,{requestId:h,arg:t},{getState:l,extra:c}))),[4,Promise.race([g,Promise.resolve(e(t,{dispatch:s,getState:l,extra:c,requestId:h,signal:p.signal,abort:u,rejectWithValue:function(t,e){return new jo(t,e)},fulfillWithValue:function(t,e){return new Fo(t,e)}})).then((function(e){if(e instanceof jo)throw e;return e instanceof Fo?i(e.payload,h,t,e.meta):i(e,h,t)}))])];case 3:return y=m.sent(),[3,5];case 4:return v=m.sent(),y=v instanceof jo?n(null,h,t,v.payload,v.meta):n(v,h,t),[3,5];case 5:return o&&!o.dispatchConditionRejection&&n.match(y)&&y.meta.condition||s(y),[2,y]}var x}))},new Promise((function(t,e){var o=function(t){try{r(y.next(t))}catch(t){e(t)}},i=function(t){try{r(y.throw(t))}catch(t){e(t)}},r=function(e){return e.done?t(e.value):Promise.resolve(e.value).then(o,i)};r((y=y.apply(a,d)).next())}));var a,d,y}();return Object.assign(d,{abort:u,requestId:h,arg:t,unwrap:function(){return d.then(Bo)}})}}),{pending:r,rejected:n,fulfilled:i,typePrefix:t})}t.withTypes=function(){return t}}();var zo="listenerMiddleware";Uo(zo+"/add"),Uo(zo+"/removeAll"),Uo(zo+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,e){var o=r[t];return o?o.enumerable=e:r[t]=o={configurable:!0,enumerable:e,get:function(){var e=this[ze];return Ze.get(e,t)},set:function(e){var o=this[ze];Ze.set(o,t,e)}},o}function e(t){for(var e=t.length-1;e>=0;e--){var r=t[e][ze];if(!r.P)switch(r.i){case 5:i(r)&&$e(r);break;case 4:o(r)&&$e(r)}}}function o(t){for(var e=t.t,o=t.k,i=Pe(o),r=i.length-1;r>=0;r--){var n=i[r];if(n!==ze){var a=e[n];if(void 0===a&&!ie(e,n))return!0;var s=o[n],l=s&&s[ze];if(l?l.t!==a:!ne(s,a))return!0}}var c=!!e[ze];return i.length!==Pe(e).length+(c?0:1)}function i(t){var e=t.k;if(e.length!==t.t.length)return!0;var o=Object.getOwnPropertyDescriptor(e,e.length-1);if(o&&!o.get)return!0;for(var i=0;i<e.length;i++)if(!e.hasOwnProperty(i))return!0;return!1}var r={};!function(t,e){Te[t]||(Te[t]=e)}("ES5",{J:function(e,o){var i=Array.isArray(e),r=function(e,o){if(e){for(var i=Array(o.length),r=0;r<o.length;r++)Object.defineProperty(i,""+r,t(r,!0));return i}var n=Me(o);delete n[ze];for(var a=Pe(n),s=0;s<a.length;s++){var l=a[s];n[l]=t(l,e||!!n[l].enumerable)}return Object.create(Object.getPrototypeOf(o),n)}(i,e),n={i:i?5:4,A:o?o.A:de(),P:!1,I:!1,R:{},l:o,t:e,k:r,o:null,g:!1,C:!1};return Object.defineProperty(r,ze,{value:n,writable:!0}),r},S:function(t,o,r){r?Qt(o)&&o[ze].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var o=e[ze];if(o){var r=o.t,n=o.k,a=o.R,s=o.i;if(4===s)ee(n,(function(e){e!==ze&&(void 0!==r[e]||ie(r,e)?a[e]||t(n[e]):(a[e]=!0,$e(o)))})),ee(r,(function(t){void 0!==n[t]||ie(n,t)||(a[t]=!1,$e(o))}));else if(5===s){if(i(o)&&($e(o),a.length=!0),n.length<r.length)for(var l=n.length;l<r.length;l++)a[l]=!1;else for(var c=r.length;c<n.length;c++)a[c]=!0;for(var f=Math.min(n.length,r.length),h=0;h<f;h++)n.hasOwnProperty(h)||(a[h]=!0),void 0===a[h]&&t(n[h])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?o(t):i(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Ko{static get(t){var e;const o="string"==typeof t?t:t.name,i="string"==typeof t?void 0:t,r=window.ftReduxStores[o];if(Zt(r))return r;if(null==i)return;const n=Wo({...i,reducers:null!==(e=i.reducers)&&void 0!==e?e:{}}),a=Io({reducer:(t,e)=>{var o;switch(e.type){case"CLEAR_FT_REDUX_STORE":return n.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(o=e.overwrites)&&void 0!==o?o:{}};default:return n.reducer(t,e)}}});return window.ftReduxStores[i.name]=new Ko(n,a)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.actions=new Proxy(this.reduxSlice.actions,{get:(t,e,o)=>{const i=e,r=t[i];return r?(...t)=>{const e=r(...t);return this.reduxStore.dispatch(e),e}:t=>{this.setState({[i]: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 Po=t=>{const e=null!=t?t:{};return(t,o)=>{var i;const r={hasChanged:(t,e)=>!b(t,e),attribute:!1,...e};s(r)(t,o);const n=t;n.reduxProperties=n.reduxProperties||new Map,n.reduxProperties.set(o,{selector:null!==(i=e.selector)&&void 0!==i?i:t=>t[o],store:e.store})}},Mo=Symbol("elementInternals");var To,Zo,_o;const Ho=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(_o=null===(Zo=null===(To=window.safari)||void 0===To?void 0:To.pushNotification)||void 0===Zo?void 0:Zo.toString())&&void 0!==_o?_o:""),Go=C`
|
|
107
|
+
`;class Tt{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var o,i;t=this.resolvePluralKey(t,e);let r=null!==(i=null!==(o=this.labels[t])&&void 0!==o?o:this.defaultLabels[t])&&void 0!==i?i:"";return e.forEach(((t,e)=>r=r.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,o)=>this.formatValue(t,o))))),r}resolvePluralKey(t,e){for(let o of e)if("number"==typeof o){const e=`${String(t)}[\\=${o}]`;if(e in this.labels||e in this.defaultLabels)return e}return t}formatValue(t,e){return t instanceof Date?this.formatDate(t,e):null!=t?t:""}formatDate(t,e){const o=o=>(null==e?void 0:e.includes("date"))?t.toLocaleDateString(o):(null==e?void 0:e.includes("time"))?t.toLocaleTimeString(o):t.toLocaleString(o);try{return o(document.documentElement.lang)}catch(t){return o()}}}function Zt(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var _t,Ht,Gt;const Vt=Symbol("internalReduxEventsUnsubscribers"),qt=Symbol("internalStoresUnsubscribers"),Yt=Symbol("internalStores");class Xt extends Kt{constructor(){super(...arguments),this[_t]=new Map,this[Ht]=new Map,this[Gt]=[]}update(t){var e;super.update(t),(null===(e=this.reduxReactiveProperties)||void 0===e?void 0:e.some((e=>t.has(e))))&&this.updateFromStores()}getUnnamedStore(){if(this[Yt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Yt].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Yt].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:Zt(t)?t.name:void 0)&&void 0!==o?o:"default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[Yt].delete(e)}setupStore(t,e){this[Yt].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Yt].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxProperties&&this.reduxProperties.forEach(((t,e)=>{const o=this.constructor.getPropertyOptions(e);if(!(null==o?void 0:o.attribute)||!this.hasAttribute("string"==typeof(null==o?void 0:o.attribute)?o.attribute:e)){const o=this.getStore(t.store);o&&(t.store?this[qt].has(t.store):this[qt].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[qt].set(t,e.subscribe((()=>this.updateFromStores()))),Zt(e)&&e.eventBus&&(null===(o=this.reduxEventListeners)||void 0===o||o.forEach(((t,o)=>{if("function"==typeof this[o]&&(!t.store||e.name===t.store)){const i=t=>this[o](t);e.eventBus.addEventListener(t.eventName,i),this[Vt].push((()=>e.eventBus.removeEventListener(t.eventName,i)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[qt].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[Vt].forEach((t=>t())),this[Vt]=[]}unsubscribeFromStore(t){this[qt].has(t)&&this[qt].get(t)(),this[qt].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function Jt(t){for(var e=arguments.length,o=Array(e>1?e-1:0),i=1;i<e;i++)o[i-1]=arguments[i];throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Qt(t){return!!t&&!!t[Be]}function te(t){var e;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;var o=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return o===Object||"function"==typeof o&&Function.toString.call(o)===Ke}(t)||Array.isArray(t)||!!t[ze]||!!(null===(e=t.constructor)||void 0===e?void 0:e[ze])||ae(t)||se(t))}function ee(t,e,o){void 0===o&&(o=!1),0===oe(t)?(o?Object.keys:Pe)(t).forEach((function(i){o&&"symbol"==typeof i||e(i,t[i],t)})):t.forEach((function(o,i){return e(i,o,t)}))}function oe(t){var e=t[Be];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:ae(t)?2:se(t)?3:0}function ie(t,e){return 2===oe(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function re(t,e,o){var i=oe(t);2===i?t.set(e,o):3===i?t.add(o):t[e]=o}function ne(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function ae(t){return Ae&&t instanceof Map}function se(t){return je&&t instanceof Set}function le(t){return t.o||t.t}function ce(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Me(t);delete e[Be];for(var o=Pe(e),i=0;i<o.length;i++){var r=o[i],n=e[r];!1===n.writable&&(n.writable=!0,n.configurable=!0),(n.get||n.set)&&(e[r]={configurable:!0,writable:!0,enumerable:n.enumerable,value:t[r]})}return Object.create(Object.getPrototypeOf(t),e)}function fe(t,e){return void 0===e&&(e=!1),pe(t)||Qt(t)||!te(t)||(oe(t)>1&&(t.set=t.add=t.clear=t.delete=he),Object.freeze(t),e&&ee(t,(function(t,e){return fe(e,!0)}),!0)),t}function he(){Jt(2)}function pe(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function ue(t){var e=Te[t];return e||Jt(18,t),e}function de(){return Le}function ye(t,e){e&&(ue("Patches"),t.u=[],t.s=[],t.v=e)}function be(t){ge(t),t.p.forEach(me),t.p=null}function ge(t){t===Le&&(Le=t.l)}function ve(t){return Le={p:[],l:Le,h:t,m:!0,_:0}}function me(t){var e=t[Be];0===e.i||1===e.i?e.j():e.g=!0}function xe(t,e){e._=e.p.length;var o=e.p[0],i=void 0!==t&&t!==o;return e.h.O||ue("ES5").S(e,t,i),i?(o[Be].P&&(be(e),Jt(4)),te(t)&&(t=Oe(e,t),e.l||Se(e,t)),e.u&&ue("Patches").M(o[Be].t,t,e.u,e.s)):t=Oe(e,o,[]),be(e),e.u&&e.v(e.u,e.s),t!==De?t:void 0}function Oe(t,e,o){if(pe(e))return e;var i=e[Be];if(!i)return ee(e,(function(r,n){return we(t,i,e,r,n,o)}),!0),e;if(i.A!==t)return e;if(!i.P)return Se(t,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var r=4===i.i||5===i.i?i.o=ce(i.k):i.o,n=r,a=!1;3===i.i&&(n=new Set(r),r.clear(),a=!0),ee(n,(function(e,n){return we(t,i,r,e,n,o,a)})),Se(t,r,!1),o&&t.u&&ue("Patches").N(i,o,t.u,t.s)}return i.o}function we(t,e,o,i,r,n,a){if(Qt(r)){var s=Oe(t,r,n&&e&&3!==e.i&&!ie(e.R,i)?n.concat(i):void 0);if(re(o,i,s),!Qt(s))return;t.m=!1}else a&&o.add(r);if(te(r)&&!pe(r)){if(!t.h.D&&t._<1)return;Oe(t,r),e&&e.A.l||Se(t,r)}}function Se(t,e,o){void 0===o&&(o=!1),!t.l&&t.h.D&&t.m&&fe(e,o)}function Ne(t,e){var o=t[Be];return(o?le(o):t)[e]}function Ce(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var i=Object.getOwnPropertyDescriptor(o,e);if(i)return i;o=Object.getPrototypeOf(o)}}function $e(t){t.P||(t.P=!0,t.l&&$e(t.l))}function Ee(t){t.o||(t.o=ce(t.t))}function ke(t,e,o){var i=ae(e)?ue("MapSet").F(e,o):se(e)?ue("MapSet").T(e,o):t.O?function(t,e){var o=Array.isArray(t),i={i:o?1:0,A:e?e.A:de(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},r=i,n=Ze;o&&(r=[i],n=_e);var a=Proxy.revocable(r,n),s=a.revoke,l=a.proxy;return i.k=l,i.j=s,l}(e,o):ue("ES5").J(e,o);return(o?o.A:de()).p.push(i),i}function Re(t){return Qt(t)||Jt(22,t),function t(e){if(!te(e))return e;var o,i=e[Be],r=oe(e);if(i){if(!i.P&&(i.i<4||!ue("ES5").K(i)))return i.t;i.I=!0,o=Ie(e,r),i.I=!1}else o=Ie(e,r);return ee(o,(function(e,r){i&&function(t,e){return 2===oe(t)?t.get(e):t[e]}(i.t,e)===r||re(o,e,t(r))})),3===r?new Set(o):o}(t)}function Ie(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return ce(t)}_t=qt,Ht=Yt,Gt=Vt;var Ue,Le,We="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Ae="undefined"!=typeof Map,je="undefined"!=typeof Set,Fe="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,De=We?Symbol.for("immer-nothing"):((Ue={})["immer-nothing"]=!0,Ue),ze=We?Symbol.for("immer-draftable"):"__$immer_draftable",Be=We?Symbol.for("immer-state"):"__$immer_state",Ke=""+Object.prototype.constructor,Pe="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Me=Object.getOwnPropertyDescriptors||function(t){var e={};return Pe(t).forEach((function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)})),e},Te={},Ze={get:function(t,e){if(e===Be)return t;var o=le(t);if(!ie(o,e))return function(t,e,o){var i,r=Ce(e,o);return r?"value"in r?r.value:null===(i=r.get)||void 0===i?void 0:i.call(t.k):void 0}(t,o,e);var i=o[e];return t.I||!te(i)?i:i===Ne(t.t,e)?(Ee(t),t.o[e]=ke(t.A.h,i,t)):i},has:function(t,e){return e in le(t)},ownKeys:function(t){return Reflect.ownKeys(le(t))},set:function(t,e,o){var i=Ce(le(t),e);if(null==i?void 0:i.set)return i.set.call(t.k,o),!0;if(!t.P){var r=Ne(le(t),e),n=null==r?void 0:r[Be];if(n&&n.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(ne(o,r)&&(void 0!==o||ie(t.t,e)))return!0;Ee(t),$e(t)}return t.o[e]===o&&(void 0!==o||e in t.o)||Number.isNaN(o)&&Number.isNaN(t.o[e])||(t.o[e]=o,t.R[e]=!0),!0},deleteProperty:function(t,e){return void 0!==Ne(t.t,e)||e in t.t?(t.R[e]=!1,Ee(t),$e(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=le(t),i=Reflect.getOwnPropertyDescriptor(o,e);return i?{writable:!0,configurable:1!==t.i||"length"!==e,enumerable:i.enumerable,value:o[e]}:i},defineProperty:function(){Jt(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Jt(12)}},_e={};ee(Ze,(function(t,e){_e[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),_e.deleteProperty=function(t,e){return _e.set.call(this,t,e,void 0)},_e.set=function(t,e,o){return Ze.set.call(this,t[0],e,o,t[0])};var He=function(){function t(t){var e=this;this.O=Fe,this.D=!0,this.produce=function(t,o,i){if("function"==typeof t&&"function"!=typeof o){var r=o;o=t;var n=e;return function(t){var e=this;void 0===t&&(t=r);for(var i=arguments.length,a=Array(i>1?i-1:0),s=1;s<i;s++)a[s-1]=arguments[s];return n.produce(t,(function(t){var i;return(i=o).call.apply(i,[e,t].concat(a))}))}}var a;if("function"!=typeof o&&Jt(6),void 0!==i&&"function"!=typeof i&&Jt(7),te(t)){var s=ve(e),l=ke(e,t,void 0),c=!0;try{a=o(l),c=!1}finally{c?be(s):ge(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return ye(s,i),xe(t,s)}),(function(t){throw be(s),t})):(ye(s,i),xe(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=o(t))&&(a=t),a===De&&(a=void 0),e.D&&fe(a,!0),i){var f=[],h=[];ue("Patches").M(t,a,f,h),i(f,h)}return a}Jt(21,t)},this.produceWithPatches=function(t,o){if("function"==typeof t)return function(o){for(var i=arguments.length,r=Array(i>1?i-1:0),n=1;n<i;n++)r[n-1]=arguments[n];return e.produceWithPatches(o,(function(e){return t.apply(void 0,[e].concat(r))}))};var i,r,n=e.produce(t,o,(function(t,e){i=t,r=e}));return"undefined"!=typeof Promise&&n instanceof Promise?n.then((function(t){return[t,i,r]})):[n,i,r]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var e=t.prototype;return e.createDraft=function(t){te(t)||Jt(8),Qt(t)&&(t=Re(t));var e=ve(this),o=ke(this,t,void 0);return o[Be].C=!0,ge(e),o},e.finishDraft=function(t,e){var o=(t&&t[Be]).A;return ye(o,e),xe(void 0,o)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!Fe&&Jt(20),this.O=t},e.applyPatches=function(t,e){var o;for(o=e.length-1;o>=0;o--){var i=e[o];if(0===i.path.length&&"replace"===i.op){t=i.value;break}}o>-1&&(e=e.slice(o+1));var r=ue("Patches").$;return Qt(t)?r(t,e):this.produce(t,(function(t){return r(t,e)}))},t}(),Ge=new He,Ve=Ge.produce;function qe(t){return qe="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},qe(t)}function Ye(t){var e=function(t,e){if("object"!==qe(t)||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var i=o.call(t,e||"default");if("object"!==qe(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===qe(e)?e:String(e)}function Xe(t,e,o){return(e=Ye(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function Je(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,i)}return o}function Qe(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?Je(Object(o),!0).forEach((function(e){Xe(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):Je(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function to(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. "}Ge.produceWithPatches.bind(Ge),Ge.setAutoFreeze.bind(Ge),Ge.setUseProxies.bind(Ge),Ge.applyPatches.bind(Ge),Ge.createDraft.bind(Ge),Ge.finishDraft.bind(Ge);var eo="function"==typeof Symbol&&Symbol.observable||"@@observable",oo=function(){return Math.random().toString(36).substring(7).split("").join(".")},io={INIT:"@@redux/INIT"+oo(),REPLACE:"@@redux/REPLACE"+oo(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+oo()}};function ro(t,e,o){var i;if("function"==typeof e&&"function"==typeof o||"function"==typeof o&&"function"==typeof arguments[3])throw new Error(to(0));if("function"==typeof e&&void 0===o&&(o=e,e=void 0),void 0!==o){if("function"!=typeof o)throw new Error(to(1));return o(ro)(t,e)}if("function"!=typeof t)throw new Error(to(2));var r=t,n=e,a=[],s=a,l=!1;function c(){s===a&&(s=a.slice())}function f(){if(l)throw new Error(to(3));return n}function h(t){if("function"!=typeof t)throw new Error(to(4));if(l)throw new Error(to(5));var e=!0;return c(),s.push(t),function(){if(e){if(l)throw new Error(to(6));e=!1,c();var o=s.indexOf(t);s.splice(o,1),a=null}}}function p(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}(t))throw new Error(to(7));if(void 0===t.type)throw new Error(to(8));if(l)throw new Error(to(9));try{l=!0,n=r(n,t)}finally{l=!1}for(var e=a=s,o=0;o<e.length;o++){(0,e[o])()}return t}return p({type:io.INIT}),(i={dispatch:p,subscribe:h,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(to(10));r=t,p({type:io.REPLACE})}})[eo]=function(){var t,e=h;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(to(11));function o(){t.next&&t.next(f())}return o(),{unsubscribe:e(o)}}})[eo]=function(){return this},t},i}function no(t){for(var e=Object.keys(t),o={},i=0;i<e.length;i++){var r=e[i];"function"==typeof t[r]&&(o[r]=t[r])}var n,a=Object.keys(o);try{!function(t){Object.keys(t).forEach((function(e){var o=t[e];if(void 0===o(void 0,{type:io.INIT}))throw new Error(to(12));if(void 0===o(void 0,{type:io.PROBE_UNKNOWN_ACTION()}))throw new Error(to(13))}))}(o)}catch(t){n=t}return function(t,e){if(void 0===t&&(t={}),n)throw n;for(var i=!1,r={},s=0;s<a.length;s++){var l=a[s],c=o[l],f=t[l],h=c(f,e);if(void 0===h)throw e&&e.type,new Error(to(14));r[l]=h,i=i||h!==f}return(i=i||a.length!==Object.keys(t).length)?r:t}}function ao(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce((function(t,e){return function(){return t(e.apply(void 0,arguments))}}))}function so(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(t){return function(){var o=t.apply(void 0,arguments),i=function(){throw new Error(to(15))},r={getState:o.getState,dispatch:function(){return i.apply(void 0,arguments)}},n=e.map((function(t){return t(r)}));return i=ao.apply(void 0,n)(o.dispatch),Qe(Qe({},o),{},{dispatch:i})}}}function lo(t){return function(e){var o=e.dispatch,i=e.getState;return function(e){return function(r){return"function"==typeof r?r(o,i,t):e(r)}}}}var co=lo();co.withExtraArgument=lo;var fo,ho=co,po=(fo=function(t,e){return fo=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])},fo(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function o(){this.constructor=t}fo(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),uo=function(t,e){var o,i,r,n,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return n={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function s(n){return function(s){return function(n){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,i&&(r=2&n[0]?i.return:n[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,n[1])).done)return r;switch(i=0,r&&(n=[2&n[0],r.value]),n[0]){case 0:case 1:r=n;break;case 4:return a.label++,{value:n[1],done:!1};case 5:a.label++,i=n[1],n=[0];continue;case 7:n=a.ops.pop(),a.trys.pop();continue;default:if(!(r=a.trys,(r=r.length>0&&r[r.length-1])||6!==n[0]&&2!==n[0])){a=0;continue}if(3===n[0]&&(!r||n[1]>r[0]&&n[1]<r[3])){a.label=n[1];break}if(6===n[0]&&a.label<r[1]){a.label=r[1],r=n;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(n);break}r[2]&&a.ops.pop(),a.trys.pop();continue}n=e.call(t,a)}catch(t){n=[6,t],i=0}finally{o=r=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,s])}}},yo=function(t,e){for(var o=0,i=e.length,r=t.length;o<i;o++,r++)t[r]=e[o];return t},bo=Object.defineProperty,go=Object.defineProperties,vo=Object.getOwnPropertyDescriptors,mo=Object.getOwnPropertySymbols,xo=Object.prototype.hasOwnProperty,Oo=Object.prototype.propertyIsEnumerable,wo=function(t,e,o){return e in t?bo(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},So=function(t,e){for(var o in e||(e={}))xo.call(e,o)&&wo(t,o,e[o]);if(mo)for(var i=0,r=mo(e);i<r.length;i++){o=r[i];Oo.call(e,o)&&wo(t,o,e[o])}return t},No=function(t,e){return go(t,vo(e))},Co="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?ao:ao.apply(null,arguments)};var $o=function(t){function e(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];var r=t.apply(this,o)||this;return Object.setPrototypeOf(r,e.prototype),r}return po(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,yo([void 0],t[0].concat(this)))):new(e.bind.apply(e,yo([void 0],t.concat(this))))},e}(Array),Eo=function(t){function e(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];var r=t.apply(this,o)||this;return Object.setPrototypeOf(r,e.prototype),r}return po(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,yo([void 0],t[0].concat(this)))):new(e.bind.apply(e,yo([void 0],t.concat(this))))},e}(Array);function ko(t){return te(t)?Ve(t,(function(){})):t}function Ro(){return function(t){return function(t){void 0===t&&(t={});var e=t.thunk,o=void 0===e||e;t.immutableCheck,t.serializableCheck;var i=new $o;o&&(!function(t){return"boolean"==typeof t}(o)?i.push(ho.withExtraArgument(o.extraArgument)):i.push(ho));return i}(t)}}function Io(t){var e,o=Ro(),i=t||{},r=i.reducer,n=void 0===r?void 0:r,a=i.middleware,s=void 0===a?o():a,l=i.devTools,c=void 0===l||l,f=i.preloadedState,h=void 0===f?void 0:f,p=i.enhancers,u=void 0===p?void 0:p;if("function"==typeof n)e=n;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var o=e;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return e===o}(n))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');e=no(n)}var d=s;"function"==typeof d&&(d=d(o));var y=so.apply(void 0,d),b=ao;c&&(b=Co(So({trace:!1},"object"==typeof c&&c)));var g=new Eo(y),v=g;return Array.isArray(u)?v=yo([y],u):"function"==typeof u&&(v=u(g)),ro(e,h,b.apply(void 0,v))}function Uo(t,e){function o(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];if(e){var r=e.apply(void 0,o);if(!r)throw new Error("prepareAction did not return an object");return So(So({type:t,payload:r.payload},"meta"in r&&{meta:r.meta}),"error"in r&&{error:r.error})}return{type:t,payload:o[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(e){return e.type===t},o}function Lo(t){var e,o={},i=[],r={addCase:function(t,e){var i="string"==typeof t?t:t.type;if(i in o)throw new Error("addCase cannot be called with two reducers for the same action type");return o[i]=e,r},addMatcher:function(t,e){return i.push({matcher:t,reducer:e}),r},addDefaultCase:function(t){return e=t,r}};return t(r),[o,i,e]}function Wo(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");var o,i="function"==typeof t.initialState?t.initialState:ko(t.initialState),r=t.reducers||{},n=Object.keys(r),a={},s={},l={};function c(){var e="function"==typeof t.extraReducers?Lo(t.extraReducers):[t.extraReducers],o=e[0],r=void 0===o?{}:o,n=e[1],a=void 0===n?[]:n,l=e[2],c=void 0===l?void 0:l,f=So(So({},r),s);return function(t,e,o,i){void 0===o&&(o=[]);var r,n="function"==typeof e?Lo(e):[e,o,i],a=n[0],s=n[1],l=n[2];if(function(t){return"function"==typeof t}(t))r=function(){return ko(t())};else{var c=ko(t);r=function(){return c}}function f(t,e){void 0===t&&(t=r());var o=yo([a[e.type]],s.filter((function(t){return(0,t.matcher)(e)})).map((function(t){return t.reducer})));return 0===o.filter((function(t){return!!t})).length&&(o=[l]),o.reduce((function(t,o){if(o){var i;if(Qt(t))return void 0===(i=o(t,e))?t:i;if(te(t))return Ve(t,(function(t){return o(t,e)}));if(void 0===(i=o(t,e))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return i}return t}),t)}return f.getInitialState=r,f}(i,(function(t){for(var e in f)t.addCase(e,f[e]);for(var o=0,i=a;o<i.length;o++){var r=i[o];t.addMatcher(r.matcher,r.reducer)}c&&t.addDefaultCase(c)}))}return n.forEach((function(t){var o,i,n=r[t],c=e+"/"+t;"reducer"in n?(o=n.reducer,i=n.prepare):o=n,a[t]=o,s[c]=o,l[t]=i?Uo(c,i):Uo(c)})),{name:e,reducer:function(t,e){return o||(o=c()),o(t,e)},actions:l,caseReducers:a,getInitialState:function(){return o||(o=c()),o.getInitialState()}}}var Ao=["name","message","stack","code"],jo=function(t,e){this.payload=t,this.meta=e},Fo=function(t,e){this.payload=t,this.meta=e},Do=function(t){if("object"==typeof t&&null!==t){for(var e={},o=0,i=Ao;o<i.length;o++){var r=i[o];"string"==typeof t[r]&&(e[r]=t[r])}return e}return{message:String(t)}};function zo(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,e,o){var i=Uo(t+"/fulfilled",(function(t,e,o,i){return{payload:t,meta:No(So({},i||{}),{arg:o,requestId:e,requestStatus:"fulfilled"})}})),r=Uo(t+"/pending",(function(t,e,o){return{payload:void 0,meta:No(So({},o||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),n=Uo(t+"/rejected",(function(t,e,i,r,n){return{payload:r,error:(o&&o.serializeError||Do)(t||"Rejected"),meta:No(So({},n||{}),{arg:i,requestId:e,rejectedWithValue:!!r,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,h=(null==o?void 0:o.idGenerator)?o.idGenerator(t):function(t){void 0===t&&(t=21);for(var e="",o=t;o--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e}(),p=new a;function u(t){f=t,p.abort()}var d=function(){return a=this,d=null,y=function(){var a,d,y,b,g,v;return uo(this,(function(m){switch(m.label){case 0:return m.trys.push([0,4,,5]),b=null==(a=null==o?void 0:o.condition)?void 0:a.call(o,t,{getState:l,extra:c}),null===(x=b)||"object"!=typeof x||"function"!=typeof x.then?[3,2]:[4,b];case 1:b=m.sent(),m.label=2;case 2:if(!1===b||p.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return g=new Promise((function(t,e){return p.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:f||"Aborted"})}))})),s(r(h,t,null==(d=null==o?void 0:o.getPendingMeta)?void 0:d.call(o,{requestId:h,arg:t},{getState:l,extra:c}))),[4,Promise.race([g,Promise.resolve(e(t,{dispatch:s,getState:l,extra:c,requestId:h,signal:p.signal,abort:u,rejectWithValue:function(t,e){return new jo(t,e)},fulfillWithValue:function(t,e){return new Fo(t,e)}})).then((function(e){if(e instanceof jo)throw e;return e instanceof Fo?i(e.payload,h,t,e.meta):i(e,h,t)}))])];case 3:return y=m.sent(),[3,5];case 4:return v=m.sent(),y=v instanceof jo?n(null,h,t,v.payload,v.meta):n(v,h,t),[3,5];case 5:return o&&!o.dispatchConditionRejection&&n.match(y)&&y.meta.condition||s(y),[2,y]}var x}))},new Promise((function(t,e){var o=function(t){try{r(y.next(t))}catch(t){e(t)}},i=function(t){try{r(y.throw(t))}catch(t){e(t)}},r=function(e){return e.done?t(e.value):Promise.resolve(e.value).then(o,i)};r((y=y.apply(a,d)).next())}));var a,d,y}();return Object.assign(d,{abort:u,requestId:h,arg:t,unwrap:function(){return d.then(zo)}})}}),{pending:r,rejected:n,fulfilled:i,typePrefix:t})}t.withTypes=function(){return t}}();var Bo="listenerMiddleware";Uo(Bo+"/add"),Uo(Bo+"/removeAll"),Uo(Bo+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,e){var o=r[t];return o?o.enumerable=e:r[t]=o={configurable:!0,enumerable:e,get:function(){var e=this[Be];return Ze.get(e,t)},set:function(e){var o=this[Be];Ze.set(o,t,e)}},o}function e(t){for(var e=t.length-1;e>=0;e--){var r=t[e][Be];if(!r.P)switch(r.i){case 5:i(r)&&$e(r);break;case 4:o(r)&&$e(r)}}}function o(t){for(var e=t.t,o=t.k,i=Pe(o),r=i.length-1;r>=0;r--){var n=i[r];if(n!==Be){var a=e[n];if(void 0===a&&!ie(e,n))return!0;var s=o[n],l=s&&s[Be];if(l?l.t!==a:!ne(s,a))return!0}}var c=!!e[Be];return i.length!==Pe(e).length+(c?0:1)}function i(t){var e=t.k;if(e.length!==t.t.length)return!0;var o=Object.getOwnPropertyDescriptor(e,e.length-1);if(o&&!o.get)return!0;for(var i=0;i<e.length;i++)if(!e.hasOwnProperty(i))return!0;return!1}var r={};!function(t,e){Te[t]||(Te[t]=e)}("ES5",{J:function(e,o){var i=Array.isArray(e),r=function(e,o){if(e){for(var i=Array(o.length),r=0;r<o.length;r++)Object.defineProperty(i,""+r,t(r,!0));return i}var n=Me(o);delete n[Be];for(var a=Pe(n),s=0;s<a.length;s++){var l=a[s];n[l]=t(l,e||!!n[l].enumerable)}return Object.create(Object.getPrototypeOf(o),n)}(i,e),n={i:i?5:4,A:o?o.A:de(),P:!1,I:!1,R:{},l:o,t:e,k:r,o:null,g:!1,C:!1};return Object.defineProperty(r,Be,{value:n,writable:!0}),r},S:function(t,o,r){r?Qt(o)&&o[Be].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var o=e[Be];if(o){var r=o.t,n=o.k,a=o.R,s=o.i;if(4===s)ee(n,(function(e){e!==Be&&(void 0!==r[e]||ie(r,e)?a[e]||t(n[e]):(a[e]=!0,$e(o)))})),ee(r,(function(t){void 0!==n[t]||ie(n,t)||(a[t]=!1,$e(o))}));else if(5===s){if(i(o)&&($e(o),a.length=!0),n.length<r.length)for(var l=n.length;l<r.length;l++)a[l]=!1;else for(var c=r.length;c<n.length;c++)a[c]=!0;for(var f=Math.min(n.length,r.length),h=0;h<f;h++)n.hasOwnProperty(h)||(a[h]=!0),void 0===a[h]&&t(n[h])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?o(t):i(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Ko{static get(t){var e;const o="string"==typeof t?t:t.name,i="string"==typeof t?void 0:t,r=window.ftReduxStores[o];if(Zt(r))return r;if(null==i)return;const n=Wo({...i,reducers:null!==(e=i.reducers)&&void 0!==e?e:{}}),a=Io({reducer:(t,e)=>{var o;switch(e.type){case"CLEAR_FT_REDUX_STORE":return n.getInitialState();case"DEFAULT_STATE_FIELDS_VALUES_SETTER":return{...t,...null!==(o=e.overwrites)&&void 0!==o?o:{}};default:return n.reducer(t,e)}}});return window.ftReduxStores[i.name]=new Ko(n,a)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.actions=new Proxy(this.reduxSlice.actions,{get:(t,e,o)=>{const i=e,r=t[i];return r?(...t)=>{const e=r(...t);return this.reduxStore.dispatch(e),e}:t=>{this.setState({[i]: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 Po=t=>{const e=null!=t?t:{};return(t,o)=>{var i;const r={hasChanged:(t,e)=>!b(t,e),attribute:!1,...e};s(r)(t,o);const n=t;n.reduxProperties=n.reduxProperties||new Map,n.reduxProperties.set(o,{selector:null!==(i=e.selector)&&void 0!==i?i:t=>t[o],store:e.store})}},Mo=Symbol("elementInternals");var To,Zo,_o;const Ho=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(_o=null===(Zo=null===(To=window.safari)||void 0===To?void 0:To.pushNotification)||void 0===Zo?void 0:Zo.toString())&&void 0!==_o?_o:""),Go=C`
|
|
108
108
|
`
|
|
109
109
|
/**
|
|
110
110
|
* @license
|
|
111
111
|
* Copyright 2020 Google LLC
|
|
112
112
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
113
|
-
*/,Vo=Symbol.for(""),qo=t=>{if((null==t?void 0:t.r)===Vo)return null==t?void 0:t._$litStatic$},Yo=t=>({_$litStatic$:t,r:Vo}),Xo=new Map,Jo=(t=>(e,...o)=>{const i=o.length;let r,n;const a=[],s=[];let l,c=0,f=!1;for(;c<i;){for(l=e[c];c<i&&void 0!==(n=o[c],r=qo(n));)l+=r+e[++c],f=!0;c!==i&&s.push(n),a.push(l),c++}if(c===i&&a.push(e[i]),f){const t=a.join("$$lit$$");void 0===(e=Xo.get(t))&&(a.raw=a,Xo.set(t,e=a)),o=s}return t(e,...o)})(rt);var Qo;!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"}(Qo||(Qo={}));const ti=Et.extend("--ft-typography-font-family","",Wt.titleFont),ei=Et.extend("--ft-typography-font-family","",Wt.contentFont),oi={fontFamily:ei,fontSize:Et.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:Et.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:Et.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:Et.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:Et.create("--ft-typography-text-transform","","UNKNOWN","inherit")},ii=Et.extend("--ft-typography-title-font-family","",ti),ri=Et.extend("--ft-typography-title-font-size","",oi.fontSize,"20px"),ni=Et.extend("--ft-typography-title-font-weight","",oi.fontWeight,"normal"),ai=Et.extend("--ft-typography-title-letter-spacing","",oi.letterSpacing,"0.15px"),si=Et.extend("--ft-typography-title-line-height","",oi.lineHeight,"1.2"),li=Et.extend("--ft-typography-title-text-transform","",oi.textTransform,"inherit"),ci=Et.extend("--ft-typography-title-dense-font-family","",ti),fi=Et.extend("--ft-typography-title-dense-font-size","",oi.fontSize,"14px"),hi=Et.extend("--ft-typography-title-dense-font-weight","",oi.fontWeight,"normal"),pi=Et.extend("--ft-typography-title-dense-letter-spacing","",oi.letterSpacing,"0.105px"),ui=Et.extend("--ft-typography-title-dense-line-height","",oi.lineHeight,"1.7"),di=Et.extend("--ft-typography-title-dense-text-transform","",oi.textTransform,"inherit"),yi=Et.extend("--ft-typography-subtitle1-font-family","",ei),bi=Et.extend("--ft-typography-subtitle1-font-size","",oi.fontSize,"16px"),gi=Et.extend("--ft-typography-subtitle1-font-weight","",oi.fontWeight,"600"),vi=Et.extend("--ft-typography-subtitle1-letter-spacing","",oi.letterSpacing,"0.144px"),mi=Et.extend("--ft-typography-subtitle1-line-height","",oi.lineHeight,"1.5"),xi=Et.extend("--ft-typography-subtitle1-text-transform","",oi.textTransform,"inherit"),Oi=Et.extend("--ft-typography-subtitle2-font-family","",ei),wi=Et.extend("--ft-typography-subtitle2-font-size","",oi.fontSize,"14px"),Si=Et.extend("--ft-typography-subtitle2-font-weight","",oi.fontWeight,"normal"),Ni=Et.extend("--ft-typography-subtitle2-letter-spacing","",oi.letterSpacing,"0.098px"),Ci=Et.extend("--ft-typography-subtitle2-line-height","",oi.lineHeight,"1.7"),$i=Et.extend("--ft-typography-subtitle2-text-transform","",oi.textTransform,"inherit"),Ei=Et.extend("--ft-typography-body1-font-family","",ei),ki=Et.extend("--ft-typography-body1-font-size","",oi.fontSize,"16px"),Ri=Et.extend("--ft-typography-body1-font-weight","",oi.fontWeight,"normal"),Ii=Et.extend("--ft-typography-body1-letter-spacing","",oi.letterSpacing,"0.496px"),Ui=Et.extend("--ft-typography-body1-line-height","",oi.lineHeight,"1.5"),Li=Et.extend("--ft-typography-body1-text-transform","",oi.textTransform,"inherit"),Wi={fontFamily:Et.extend("--ft-typography-body2-font-family","",ei),fontSize:Et.extend("--ft-typography-body2-font-size","",oi.fontSize,"14px"),fontWeight:Et.extend("--ft-typography-body2-font-weight","",oi.fontWeight,"normal"),letterSpacing:Et.extend("--ft-typography-body2-letter-spacing","",oi.letterSpacing,"0.252px"),lineHeight:Et.extend("--ft-typography-body2-line-height","",oi.lineHeight,"1.4"),textTransform:Et.extend("--ft-typography-body2-text-transform","",oi.textTransform,"inherit")},Ai=Et.extend("--ft-typography-caption-font-family","",ei),ji=Et.extend("--ft-typography-caption-font-size","",oi.fontSize,"12px"),Fi=Et.extend("--ft-typography-caption-font-weight","",oi.fontWeight,"normal"),Di=Et.extend("--ft-typography-caption-letter-spacing","",oi.letterSpacing,"0.396px"),
|
|
113
|
+
*/,Vo=Symbol.for(""),qo=t=>{if((null==t?void 0:t.r)===Vo)return null==t?void 0:t._$litStatic$},Yo=t=>({_$litStatic$:t,r:Vo}),Xo=new Map,Jo=(t=>(e,...o)=>{const i=o.length;let r,n;const a=[],s=[];let l,c=0,f=!1;for(;c<i;){for(l=e[c];c<i&&void 0!==(n=o[c],r=qo(n));)l+=r+e[++c],f=!0;c!==i&&s.push(n),a.push(l),c++}if(c===i&&a.push(e[i]),f){const t=a.join("$$lit$$");void 0===(e=Xo.get(t))&&(a.raw=a,Xo.set(t,e=a)),o=s}return t(e,...o)})(rt);var Qo;!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"}(Qo||(Qo={}));const ti=Et.extend("--ft-typography-font-family","",Wt.titleFont),ei=Et.extend("--ft-typography-font-family","",Wt.contentFont),oi={fontFamily:ei,fontSize:Et.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:Et.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:Et.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:Et.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:Et.create("--ft-typography-text-transform","","UNKNOWN","inherit")},ii=Et.extend("--ft-typography-title-font-family","",ti),ri=Et.extend("--ft-typography-title-font-size","",oi.fontSize,"20px"),ni=Et.extend("--ft-typography-title-font-weight","",oi.fontWeight,"normal"),ai=Et.extend("--ft-typography-title-letter-spacing","",oi.letterSpacing,"0.15px"),si=Et.extend("--ft-typography-title-line-height","",oi.lineHeight,"1.2"),li=Et.extend("--ft-typography-title-text-transform","",oi.textTransform,"inherit"),ci=Et.extend("--ft-typography-title-dense-font-family","",ti),fi=Et.extend("--ft-typography-title-dense-font-size","",oi.fontSize,"14px"),hi=Et.extend("--ft-typography-title-dense-font-weight","",oi.fontWeight,"normal"),pi=Et.extend("--ft-typography-title-dense-letter-spacing","",oi.letterSpacing,"0.105px"),ui=Et.extend("--ft-typography-title-dense-line-height","",oi.lineHeight,"1.7"),di=Et.extend("--ft-typography-title-dense-text-transform","",oi.textTransform,"inherit"),yi=Et.extend("--ft-typography-subtitle1-font-family","",ei),bi=Et.extend("--ft-typography-subtitle1-font-size","",oi.fontSize,"16px"),gi=Et.extend("--ft-typography-subtitle1-font-weight","",oi.fontWeight,"600"),vi=Et.extend("--ft-typography-subtitle1-letter-spacing","",oi.letterSpacing,"0.144px"),mi=Et.extend("--ft-typography-subtitle1-line-height","",oi.lineHeight,"1.5"),xi=Et.extend("--ft-typography-subtitle1-text-transform","",oi.textTransform,"inherit"),Oi=Et.extend("--ft-typography-subtitle2-font-family","",ei),wi=Et.extend("--ft-typography-subtitle2-font-size","",oi.fontSize,"14px"),Si=Et.extend("--ft-typography-subtitle2-font-weight","",oi.fontWeight,"normal"),Ni=Et.extend("--ft-typography-subtitle2-letter-spacing","",oi.letterSpacing,"0.098px"),Ci=Et.extend("--ft-typography-subtitle2-line-height","",oi.lineHeight,"1.7"),$i=Et.extend("--ft-typography-subtitle2-text-transform","",oi.textTransform,"inherit"),Ei=Et.extend("--ft-typography-body1-font-family","",ei),ki=Et.extend("--ft-typography-body1-font-size","",oi.fontSize,"16px"),Ri=Et.extend("--ft-typography-body1-font-weight","",oi.fontWeight,"normal"),Ii=Et.extend("--ft-typography-body1-letter-spacing","",oi.letterSpacing,"0.496px"),Ui=Et.extend("--ft-typography-body1-line-height","",oi.lineHeight,"1.5"),Li=Et.extend("--ft-typography-body1-text-transform","",oi.textTransform,"inherit"),Wi={fontFamily:Et.extend("--ft-typography-body2-font-family","",ei),fontSize:Et.extend("--ft-typography-body2-font-size","",oi.fontSize,"14px"),fontWeight:Et.extend("--ft-typography-body2-font-weight","",oi.fontWeight,"normal"),letterSpacing:Et.extend("--ft-typography-body2-letter-spacing","",oi.letterSpacing,"0.252px"),lineHeight:Et.extend("--ft-typography-body2-line-height","",oi.lineHeight,"1.4"),textTransform:Et.extend("--ft-typography-body2-text-transform","",oi.textTransform,"inherit")},Ai=Et.extend("--ft-typography-caption-font-family","",ei),ji=Et.extend("--ft-typography-caption-font-size","",oi.fontSize,"12px"),Fi=Et.extend("--ft-typography-caption-font-weight","",oi.fontWeight,"normal"),Di=Et.extend("--ft-typography-caption-letter-spacing","",oi.letterSpacing,"0.396px"),zi=Et.extend("--ft-typography-caption-line-height","",oi.lineHeight,"1.33"),Bi=Et.extend("--ft-typography-caption-text-transform","",oi.textTransform,"inherit"),Ki=Et.extend("--ft-typography-breadcrumb-font-family","",ei),Pi=Et.extend("--ft-typography-breadcrumb-font-size","",oi.fontSize,"10px"),Mi=Et.extend("--ft-typography-breadcrumb-font-weight","",oi.fontWeight,"normal"),Ti=Et.extend("--ft-typography-breadcrumb-letter-spacing","",oi.letterSpacing,"0.33px"),Zi=Et.extend("--ft-typography-breadcrumb-line-height","",oi.lineHeight,"1.6"),_i=Et.extend("--ft-typography-breadcrumb-text-transform","",oi.textTransform,"inherit"),Hi=Et.extend("--ft-typography-overline-font-family","",ei),Gi=Et.extend("--ft-typography-overline-font-size","",oi.fontSize,"10px"),Vi=Et.extend("--ft-typography-overline-font-weight","",oi.fontWeight,"normal"),qi=Et.extend("--ft-typography-overline-letter-spacing","",oi.letterSpacing,"1.5px"),Yi=Et.extend("--ft-typography-overline-line-height","",oi.lineHeight,"1.6"),Xi=Et.extend("--ft-typography-overline-text-transform","",oi.textTransform,"uppercase"),Ji={fontFamily:Et.extend("--ft-typography-button-font-family","",ei),fontSize:Et.extend("--ft-typography-button-font-size","",oi.fontSize,"14px"),fontWeight:Et.extend("--ft-typography-button-font-weight","",oi.fontWeight,"600"),letterSpacing:Et.extend("--ft-typography-button-letter-spacing","",oi.letterSpacing,"1.246px"),lineHeight:Et.extend("--ft-typography-button-line-height","",oi.lineHeight,"1.15"),textTransform:Et.extend("--ft-typography-button-text-transform","",oi.textTransform,"uppercase")},Qi=C`
|
|
114
114
|
.ft-typography--title {
|
|
115
115
|
font-family: ${ii};
|
|
116
116
|
font-size: ${ri};
|
|
@@ -171,8 +171,8 @@ var wt,St;let Nt=class extends F{constructor(){super(...arguments),this.renderOp
|
|
|
171
171
|
font-size: ${ji};
|
|
172
172
|
font-weight: ${Fi};
|
|
173
173
|
letter-spacing: ${Di};
|
|
174
|
-
line-height: ${
|
|
175
|
-
text-transform: ${
|
|
174
|
+
line-height: ${zi};
|
|
175
|
+
text-transform: ${Bi};
|
|
176
176
|
}
|
|
177
177
|
`,ar=C`
|
|
178
178
|
.ft-typography--breadcrumb {
|
|
@@ -461,7 +461,7 @@ const ur=1,dr=2,yr=t=>(...e)=>({_$litDirective$:t,values:e});class br{constructo
|
|
|
461
461
|
.ft-icon--material {
|
|
462
462
|
font-family: ${Fr.materialFontFamily}, "Material Icons", sans-serif;
|
|
463
463
|
}
|
|
464
|
-
`,
|
|
464
|
+
`,zr=Et.extend("--ft-button-color","",Wt.colorPrimary),Br={backgroundColor:Et.extend("--ft-button-background-color","",Wt.colorSurface),borderRadius:Et.extend("--ft-button-border-radius","",Wt.borderRadiusL),color:zr,fontSize:Et.extend("--ft-button-font-size","",Ji.fontSize),iconSize:Et.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:Et.extend("--ft-button-ripple-color","",zr),verticalPadding:Et.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:Et.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:Et.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:Et.external(Wt.colorOpacityDisabled,"Design system")},Kr=Et.extend("--ft-button-primary-color","",Et.extend("--ft-button-color","",Wt.colorOnPrimary)),Pr={backgroundColor:Et.extend("--ft-button-primary-background-color","",Et.extend("--ft-button-background-color","",Wt.colorPrimary)),color:Kr,rippleColor:Et.extend("--ft-button-primary-ripple-color","",Kr)},Mr=Et.extend("--ft-button-dense-border-radius","",Et.extend("--ft-button-border-radius","",Wt.borderRadiusM)),Tr=Et.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Zr=Et.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),_r=Et.create("--ft-button-dense-icon-padding","","SIZE","4px"),Hr=[C`
|
|
465
465
|
:host {
|
|
466
466
|
display: inline-block;
|
|
467
467
|
max-width: 100%;
|
|
@@ -472,7 +472,7 @@ const ur=1,dr=2,yr=t=>(...e)=>({_$litDirective$:t,values:e});class br{constructo
|
|
|
472
472
|
box-shadow: 0px 0px 0px transparent;
|
|
473
473
|
border: 0px solid transparent;
|
|
474
474
|
text-shadow: 0px 0px 0px transparent;
|
|
475
|
-
font-size: ${
|
|
475
|
+
font-size: ${Br.fontSize};
|
|
476
476
|
}
|
|
477
477
|
|
|
478
478
|
button:hover {
|
|
@@ -501,21 +501,21 @@ const ur=1,dr=2,yr=t=>(...e)=>({_$litDirective$:t,values:e});class br{constructo
|
|
|
501
501
|
border: none;
|
|
502
502
|
pointer-events: auto;
|
|
503
503
|
|
|
504
|
-
--ft-button-internal-line-height: max(calc(${
|
|
505
|
-
--ft-button-internal-color: ${
|
|
506
|
-
${kt(Fr.size,
|
|
507
|
-
${kt($r.color,
|
|
504
|
+
--ft-button-internal-line-height: max(calc(${Br.fontSize} + 2px), ${Br.iconSize});
|
|
505
|
+
--ft-button-internal-color: ${Br.color};
|
|
506
|
+
${kt(Fr.size,Br.iconSize)};
|
|
507
|
+
${kt($r.color,Br.rippleColor)};
|
|
508
508
|
|
|
509
|
-
border-radius: ${
|
|
510
|
-
padding: ${
|
|
511
|
-
background-color: ${
|
|
509
|
+
border-radius: ${Br.borderRadius};
|
|
510
|
+
padding: ${Br.verticalPadding} ${Br.horizontalPadding};
|
|
511
|
+
background-color: ${Br.backgroundColor};
|
|
512
512
|
color: var(--ft-button-internal-color);
|
|
513
513
|
-webkit-mask-image: radial-gradient(white, black);
|
|
514
514
|
}
|
|
515
515
|
|
|
516
516
|
.ft-button.ft-button--outlined {
|
|
517
517
|
border: 1px solid var(--ft-button-internal-color);
|
|
518
|
-
padding: calc(${
|
|
518
|
+
padding: calc(${Br.verticalPadding} - 1px) calc(${Br.horizontalPadding} - 1px);
|
|
519
519
|
}
|
|
520
520
|
|
|
521
521
|
.ft-button.ft-button--dense {
|
|
@@ -533,7 +533,7 @@ const ur=1,dr=2,yr=t=>(...e)=>({_$litDirective$:t,values:e});class br{constructo
|
|
|
533
533
|
}
|
|
534
534
|
|
|
535
535
|
.ft-button--round {
|
|
536
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
536
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Br.verticalPadding});
|
|
537
537
|
}
|
|
538
538
|
|
|
539
539
|
.ft-button--round.ft-button--dense {
|
|
@@ -542,7 +542,7 @@ const ur=1,dr=2,yr=t=>(...e)=>({_$litDirective$:t,values:e});class br{constructo
|
|
|
542
542
|
|
|
543
543
|
.ft-button[disabled] {
|
|
544
544
|
filter: grayscale(1);
|
|
545
|
-
opacity: ${
|
|
545
|
+
opacity: ${Br.opacityDisabled};
|
|
546
546
|
}
|
|
547
547
|
|
|
548
548
|
.ft-button.ft-button--primary {
|
|
@@ -561,7 +561,7 @@ const ur=1,dr=2,yr=t=>(...e)=>({_$litDirective$:t,values:e});class br{constructo
|
|
|
561
561
|
white-space: nowrap;
|
|
562
562
|
text-overflow: ellipsis;
|
|
563
563
|
display: block;
|
|
564
|
-
margin: 0 ${
|
|
564
|
+
margin: 0 ${Br.iconPadding};
|
|
565
565
|
${kt(Ji.fontSize,"1em")};
|
|
566
566
|
${kt(Ji.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
567
567
|
}
|
|
@@ -580,8 +580,8 @@ const ur=1,dr=2,yr=t=>(...e)=>({_$litDirective$:t,values:e});class br{constructo
|
|
|
580
580
|
}
|
|
581
581
|
|
|
582
582
|
.ft-button--label[hidden] + ft-icon {
|
|
583
|
-
margin: 0 calc(${
|
|
584
|
-
padding: 0 ${
|
|
583
|
+
margin: 0 calc(${Br.horizontalPadding} * -1);
|
|
584
|
+
padding: 0 ${Br.verticalPadding};
|
|
585
585
|
}
|
|
586
586
|
|
|
587
587
|
.ft-button--dense .ft-button--label[hidden] + ft-icon {
|
|
@@ -595,7 +595,7 @@ const ur=1,dr=2,yr=t=>(...e)=>({_$litDirective$:t,values:e});class br{constructo
|
|
|
595
595
|
}
|
|
596
596
|
|
|
597
597
|
ft-loader {
|
|
598
|
-
${kt(Ar.size,
|
|
598
|
+
${kt(Ar.size,Br.iconSize)};
|
|
599
599
|
${kt(Ar.color,"var(--ft-button-internal-color)")};
|
|
600
600
|
}
|
|
601
601
|
`,Pt],Gr=yr(class extends br{constructor(t){var e;if(super(t),t.type!==ur||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){var o,i;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 e)e[t]&&!(null===(o=this.nt)||void 0===o?void 0:o.has(t))&&this.it.add(t);return this.render(e)}const r=t.element.classList;this.it.forEach((t=>{t in e||(r.remove(t),this.it.delete(t))}));for(const t in e){const o=!!e[t];o===this.it.has(t)||(null===(i=this.nt)||void 0===i?void 0:i.has(t))||(o?(r.add(t),this.it.add(t)):(r.remove(t),this.it.delete(t)))}return nt}});
|
|
@@ -702,7 +702,7 @@ class an extends br{constructor(t){if(super(t),this.et=at,t.type!==dr)throw Erro
|
|
|
702
702
|
</ft-tooltip>
|
|
703
703
|
`:t}resolveIcon(){return this.loading?rt`
|
|
704
704
|
<ft-loader part="loader icon"></ft-loader> `:this.icon?rt`
|
|
705
|
-
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:at}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}}yn.elementDefinitions={"ft-ripple":qr,"ft-tooltip":nn,"ft-typography":pr,"ft-icon":pn,"ft-loader":un},dn([s({type:String,reflect:!0})],yn.prototype,"role",void 0),dn([s()],yn.prototype,"type",void 0),dn([s({type:Boolean})],yn.prototype,"disabled",void 0),dn([s()],yn.prototype,"label",void 0),dn([s()],yn.prototype,"icon",void 0),dn([s()],yn.prototype,"iconVariant",void 0),dn([s({type:Boolean})],yn.prototype,"trailingIcon",void 0),dn([s({type:Boolean})],yn.prototype,"loading",void 0),dn([s()],yn.prototype,"tooltipPosition",void 0),dn([s({type:Boolean})],yn.prototype,"hideTooltip",void 0),dn([s({type:Boolean})],yn.prototype,"forceTooltip",void 0),dn([f(".ft-button")],yn.prototype,"button",void 0),dn([f(".ft-button--label slot")],yn.prototype,"slottedContent",void 0);var bn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class gn extends yn{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.
|
|
705
|
+
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:at}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}}yn.elementDefinitions={"ft-ripple":qr,"ft-tooltip":nn,"ft-typography":pr,"ft-icon":pn,"ft-loader":un},dn([s({type:String,reflect:!0})],yn.prototype,"role",void 0),dn([s()],yn.prototype,"type",void 0),dn([s({type:Boolean})],yn.prototype,"disabled",void 0),dn([s()],yn.prototype,"label",void 0),dn([s()],yn.prototype,"icon",void 0),dn([s()],yn.prototype,"iconVariant",void 0),dn([s({type:Boolean})],yn.prototype,"trailingIcon",void 0),dn([s({type:Boolean})],yn.prototype,"loading",void 0),dn([s()],yn.prototype,"tooltipPosition",void 0),dn([s({type:Boolean})],yn.prototype,"hideTooltip",void 0),dn([s({type:Boolean})],yn.prototype,"forceTooltip",void 0),dn([f(".ft-button")],yn.prototype,"button",void 0),dn([f(".ft-button--label slot")],yn.prototype,"slottedContent",void 0);var bn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class gn extends yn{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"}}gn.styles=[Mt,Hr],bn([s({type:Boolean})],gn.prototype,"primary",void 0),bn([s({type:Boolean})],gn.prototype,"outlined",void 0),bn([s({type:Boolean})],gn.prototype,"dense",void 0),bn([s({type:Boolean})],gn.prototype,"round",void 0);const vn=[C`
|
|
706
706
|
:host {
|
|
707
707
|
display: inline-block;
|
|
708
708
|
max-width: 100%;
|
|
@@ -1131,12 +1131,12 @@ class an extends br{constructor(t){if(super(t),this.et=at,t.type!==dr)throw Erro
|
|
|
1131
1131
|
:host {
|
|
1132
1132
|
display: contents;
|
|
1133
1133
|
}
|
|
1134
|
-
`;var
|
|
1134
|
+
`;var zn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Bn extends Kt{constructor(){super(...arguments),this.name=""}render(){return rt`
|
|
1135
1135
|
<slot @slotchange=${this.onSlotChange}
|
|
1136
1136
|
@change=${this.onChange}
|
|
1137
1137
|
@keydown=${this.onKeyDown}
|
|
1138
1138
|
></slot>
|
|
1139
|
-
`}onSlotChange(){this.radioButtons.forEach((t=>t.name=this.name))}onChange(t){t.stopPropagation(),this.radioButtons.forEach((e=>e.checked=t.detail.value===e.value)),this.dispatchEvent(new CustomEvent("change",{detail:t.detail.value})),this.focusCurrentValue()}onKeyDown(t){switch(t.key){case"ArrowUp":case"ArrowLeft":{let e=this.findFtRadio(t),o=this.radioButtons.indexOf(e)-1;this.radioButtons[o<0?this.radioButtons.length-1:o].select();break}case"ArrowDown":case"ArrowRight":{let e=this.radioButtons.indexOf(this.findFtRadio(t))+1;this.radioButtons[e>this.radioButtons.length-1?0:e].select();break}}}findFtRadio(t){return t.composedPath().find((t=>"FT-RADIO"===t.tagName))}focusCurrentValue(){setTimeout((()=>{var t;return null===(t=this.radioButtons.find((t=>t.checked)))||void 0===t?void 0:t.focus()}),10)}}
|
|
1139
|
+
`}onSlotChange(){this.radioButtons.forEach((t=>t.name=this.name))}onChange(t){t.stopPropagation(),this.radioButtons.forEach((e=>e.checked=t.detail.value===e.value)),this.dispatchEvent(new CustomEvent("change",{detail:t.detail.value})),this.focusCurrentValue()}onKeyDown(t){switch(t.key){case"ArrowUp":case"ArrowLeft":{let e=this.findFtRadio(t),o=this.radioButtons.indexOf(e)-1;this.radioButtons[o<0?this.radioButtons.length-1:o].select();break}case"ArrowDown":case"ArrowRight":{let e=this.radioButtons.indexOf(this.findFtRadio(t))+1;this.radioButtons[e>this.radioButtons.length-1?0:e].select();break}}}findFtRadio(t){return t.composedPath().find((t=>"FT-RADIO"===t.tagName))}focusCurrentValue(){setTimeout((()=>{var t;return null===(t=this.radioButtons.find((t=>t.checked)))||void 0===t?void 0:t.focus()}),10)}}Bn.elementDefinitions={},Bn.styles=Dn,zn([s()],Bn.prototype,"name",void 0),zn([u()],Bn.prototype,"radioButtons",void 0),g("ft-radio")(Fn),g("ft-radio-group")(Bn);const Kn={borderRadiusM:Et.external(Wt.borderRadiusM,"Design system"),colorOutline:Et.external(Wt.colorOutline,"Design system"),colorOnSurface:Et.external(Wt.colorOnSurface,"Design system"),colorOnSurfaceMedium:Et.external(Wt.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:Et.external(Wt.colorOnSurfaceDisabled,"Design system"),colorPrimary:Et.external(Wt.colorPrimary,"Design system"),colorOnPrimary:Et.external(Wt.colorOnPrimary,"Design system"),fontFamily:Et.external(Wi.fontFamily,"Body2 typography"),fontSize:Et.external(Wi.fontSize,"Body2 typography"),fontWeight:Et.external(Wi.fontWeight,"Body2 typography"),letterSpacing:Et.external(Wi.letterSpacing,"Body2 typography"),lineHeight:Et.external(Wi.lineHeight,"Body2 typography"),textTransform:Et.external(Wi.textTransform,"Body2 typography")},Pn=C`
|
|
1140
1140
|
.ft-filter-level--container {
|
|
1141
1141
|
display: flex;
|
|
1142
1142
|
flex-direction: column;
|
|
@@ -1186,7 +1186,7 @@ class an extends br{constructor(t){if(super(t),this.et=at,t.type!==dr)throw Erro
|
|
|
1186
1186
|
}
|
|
1187
1187
|
|
|
1188
1188
|
ft-button {
|
|
1189
|
-
${kt(
|
|
1189
|
+
${kt(Br.color,Kn.colorOnSurface)};
|
|
1190
1190
|
}
|
|
1191
1191
|
|
|
1192
1192
|
ft-radio, ft-checkbox {
|
|
@@ -1347,8 +1347,8 @@ class an extends br{constructor(t){if(super(t),this.et=at,t.type!==dr)throw Erro
|
|
|
1347
1347
|
z-index: ${Zn.buttonsZIndex};
|
|
1348
1348
|
opacity: 1;
|
|
1349
1349
|
transition: background-color .5s ease-in-out, opacity .5s ease-in-out, z-index .5s ease-in-out;
|
|
1350
|
-
${kt(
|
|
1351
|
-
${kt(
|
|
1350
|
+
${kt(Br.backgroundColor,"transparent")};
|
|
1351
|
+
${kt(Br.color,Zn.buttonsColor)};
|
|
1352
1352
|
}
|
|
1353
1353
|
|
|
1354
1354
|
.ft-snap-scroll--previous[hidden],
|
|
@@ -1444,7 +1444,7 @@ class an extends br{constructor(t){if(super(t),this.et=at,t.type!==dr)throw Erro
|
|
|
1444
1444
|
.ft-filter--header ft-button {
|
|
1445
1445
|
flex-shrink: 0;
|
|
1446
1446
|
margin-left: auto;
|
|
1447
|
-
${kt(
|
|
1447
|
+
${kt(Br.iconSize,"18px")};
|
|
1448
1448
|
}
|
|
1449
1449
|
|
|
1450
1450
|
.ft-filter--label {
|
|
@@ -1609,7 +1609,7 @@ class an extends br{constructor(t){if(super(t),this.et=at,t.type!==dr)throw Erro
|
|
|
1609
1609
|
<span class="ft-i18n">
|
|
1610
1610
|
${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
|
|
1611
1611
|
</span>
|
|
1612
|
-
`:this.editorMode?"Select a context and a label key.":at}update(t){super.update(t),this.context&&this.key&&this.defaultMessage&&this.addI18nMessages(this.context,{[this.key]:this.defaultMessage})}}Ua.elementDefinitions={},Ua.styles=la,Ia([Po()],Ua.prototype,"editorMode",void 0),Ia([s()],Ua.prototype,"context",void 0),Ia([s()],Ua.prototype,"key",void 0),Ia([v([])],Ua.prototype,"args",void 0),Ia([s()],Ua.prototype,"defaultMessage",void 0);class La{static build(t){return new La(t)}static fromGwt(t){return new La(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,e)=>{const o=e;return t=>({context:this.name,key:o,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,e)=>(...t)=>ya.resolveMessage(this.name,e,...t)})}}g("ft-i18n")(Ua);const Wa={setRequest:(t,e)=>{t.request=e.payload},setRequestQuery:(t,e)=>{t.request.query=e.payload},setRequestContentLocale:(t,e)=>{t.request.contentLocale=e.payload},setPageSize:(t,e)=>{t.request.paging.perPage=e.payload},setPageNumber:(t,e)=>{t.request.paging.page=e.payload},setRequestSort:(t,e)=>{t.request.sort=e.payload},setRequestFilters:(t,e)=>{t.request.filters=e.payload},setRequestFacets:(t,e)=>{t.request.facets=e.payload},setRequestVirtualField:(t,e)=>{t.request.virtualField=e.payload},setRequestScope:(t,e)=>{t.request.scope=e.payload},setResults:(t,e)=>{t.results=e.payload},setFacets:(t,e)=>{t.facets=e.payload},setSpellcheck:(t,e)=>{t.spellcheck=e.payload},setLocales:(t,e)=>{t.locales=e.payload},setPaging:(t,e)=>{t.paging=e.payload},setLiveQuery:(t,e)=>{t.liveQuery=e.payload},setSuggestResults:(t,e)=>{t.suggestResults=e.payload}};var Aa,ja,Fa,Da,Ba,za,Ka,Pa,Ma,Ta,Za,_a,Ha,Ga;!function(t){!function(e){var o={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(o.arrayBuffer)var i=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],r=ArrayBuffer.isView||function(t){return t&&i.indexOf(Object.prototype.toString.call(t))>-1};function n(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function a(t){return"string"!=typeof t&&(t=String(t)),t}function s(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return o.iterable&&(e[Symbol.iterator]=function(){return e}),e}function l(t){this.map={},t instanceof l?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function c(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function f(t){return new Promise((function(e,o){t.onload=function(){e(t.result)},t.onerror=function(){o(t.error)}}))}function h(t){var e=new FileReader,o=f(e);return e.readAsArrayBuffer(t),o}function p(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function u(){return this.bodyUsed=!1,this._initBody=function(t){var e;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:o.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:o.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():o.arrayBuffer&&o.blob&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=p(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):o.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||r(t))?this._bodyArrayBuffer=p(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o.blob&&(this.blob=function(){var t=c(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?c(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(h)}),this.text=function(){var t=c(this);if(t)return t;if(this._bodyBlob)return function(t){var e=new FileReader,o=f(e);return e.readAsText(t),o}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),o=new Array(e.length),i=0;i<e.length;i++)o[i]=String.fromCharCode(e[i]);return o.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},o.formData&&(this.formData=function(){return this.text().then(b)}),this.json=function(){return this.text().then(JSON.parse)},this}l.prototype.append=function(t,e){t=n(t),e=a(e);var o=this.map[t];this.map[t]=o?o+", "+e:e},l.prototype.delete=function(t){delete this.map[n(t)]},l.prototype.get=function(t){return t=n(t),this.has(t)?this.map[t]:null},l.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},l.prototype.set=function(t,e){this.map[n(t)]=a(e)},l.prototype.forEach=function(t,e){for(var o in this.map)this.map.hasOwnProperty(o)&&t.call(e,this.map[o],o,this)},l.prototype.keys=function(){var t=[];return this.forEach((function(e,o){t.push(o)})),s(t)},l.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),s(t)},l.prototype.entries=function(){var t=[];return this.forEach((function(e,o){t.push([o,e])})),s(t)},o.iterable&&(l.prototype[Symbol.iterator]=l.prototype.entries);var d=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function y(t,e){var o,i,r=(e=e||{}).body;if(t instanceof y){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new l(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,r||null==t._bodyInit||(r=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new l(e.headers)),this.method=(o=e.method||this.method||"GET",i=o.toUpperCase(),d.indexOf(i)>-1?i:o),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function b(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var o=t.split("="),i=o.shift().replace(/\+/g," "),r=o.join("=").replace(/\+/g," ");e.append(decodeURIComponent(i),decodeURIComponent(r))}})),e}function g(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new l(e.headers),this.url=e.url||"",this._initBody(t)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},u.call(y.prototype),u.call(g.prototype),g.prototype.clone=function(){return new g(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},g.error=function(){var t=new g(null,{status:0,statusText:""});return t.type="error",t};var v=[301,302,303,307,308];g.redirect=function(t,e){if(-1===v.indexOf(e))throw new RangeError("Invalid status code");return new g(null,{status:e,headers:{location:t}})},e.DOMException=t.DOMException;try{new e.DOMException}catch(t){e.DOMException=function(t,e){this.message=t,this.name=e;var o=Error(t);this.stack=o.stack},e.DOMException.prototype=Object.create(Error.prototype),e.DOMException.prototype.constructor=e.DOMException}function m(t,i){return new Promise((function(r,n){var a=new y(t,i);if(a.signal&&a.signal.aborted)return n(new e.DOMException("Aborted","AbortError"));var s=new XMLHttpRequest;function c(){s.abort()}s.onload=function(){var t,e,o={status:s.status,statusText:s.statusText,headers:(t=s.getAllResponseHeaders()||"",e=new l,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var o=t.split(":"),i=o.shift().trim();if(i){var r=o.join(":").trim();e.append(i,r)}})),e)};o.url="responseURL"in s?s.responseURL:o.headers.get("X-Request-URL");var i="response"in s?s.response:s.responseText;r(new g(i,o))},s.onerror=function(){n(new TypeError("Network request failed"))},s.ontimeout=function(){n(new TypeError("Network request failed"))},s.onabort=function(){n(new e.DOMException("Aborted","AbortError"))},s.open(a.method,a.url,!0),"include"===a.credentials?s.withCredentials=!0:"omit"===a.credentials&&(s.withCredentials=!1),"responseType"in s&&o.blob&&(s.responseType="blob"),a.headers.forEach((function(t,e){s.setRequestHeader(e,t)})),a.signal&&(a.signal.addEventListener("abort",c),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",c)}),s.send(void 0===a._bodyInit?null:a._bodyInit)}))}m.polyfill=!0,t.fetch||(t.fetch=m,t.Headers=l,t.Request=y,t.Response=g),e.Headers=l,e.Request=y,e.Response=g,e.fetch=m,Object.defineProperty(e,"W",{value:!0})}({})}("undefined"!=typeof self?self:void 0),function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"}(Aa||(Aa={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(ja||(ja={})),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"}(Fa||(Fa={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(Da||(Da={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(Ba||(Ba={})),function(t){t.ASC="ASC",t.DESC="DESC"}(za||(za={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(Ka||(Ka={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(Pa||(Pa={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Ma||(Ma={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(Ta||(Ta={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Za||(Za={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(_a||(_a={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS"}(Ha||(Ha={})),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"}(Ga||(Ga={})),Ga.PERSONAL_BOOK_SHARE_USER,Ga.PERSONAL_BOOK_USER,Ga.HTML_EXPORT_USER,Ga.PERSONAL_BOOK_USER,Ga.PDF_EXPORT_USER,Ga.PERSONAL_BOOK_USER,Ga.KHUB_ADMIN,Ga.CONTENT_PUBLISHER,Ga.ADMIN,Ga.KHUB_ADMIN,Ga.USERS_ADMIN,Ga.PORTAL_ADMIN,Ga.DEVELOPER,Ga.BETA_USER,Ga.DEBUG_USER;class Va{static async build(){return new Va(await ha.await())}constructor(t){this.api=t,this.cache=new r,this.cache.registerFinal("available-locales",(()=>this.api.getAvailableSearchLocales()))}async launchSearch(t){return this.api.search(t)}async launchSuggest(t){return this.api.getSuggestions(t)}async getAvailableSearchLocales(){return this.cache.get("available-locales")}}const qa=t=>t.request.virtualField===Pa.TITLE_ONLY&&t.request.scope===Ha.DOCUMENTS;class Ya extends Event{constructor(){super(Ya.eventName)}}Ya.eventName="search-context-clear-all-filters";class Xa{static build(t){return new Xa((t=>Ko.get({name:"ft-search-"+t,initialState:{request:{query:"",filters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:""},reducers:Wa}))(t.trim()||"context"),Va.build)}constructor(t,e){this.store=t,this.serviceProvider=e,this.searchDebouncer=new n(100),this.suggestDebouncer=new n(300)}async initService(){return this.service=await this.serviceProvider(),this.store.actions.setLocales((await this.service.getAvailableSearchLocales()).contentLocales),this.launchSearch()}async awaitService(){for(;null==this.service;)await d(5);return this.service}setQuery(t){this.store.actions.setRequestQuery(t),this.store.actions.setLiveQuery(t),this.store.actions.setPageNumber(1),this.launchSearch()}setContentLocale(t){let e=this.store.getState().locales,o=this.store.getState().request.contentLocale;if(t!=o){if(e){const i=t=>e.some((e=>e.lang==t));i(t)||(t=i(o)?o:e[0].lang)}this.store.actions.setRequestContentLocale(t),this.store.actions.setPageNumber(1),this.store.actions.setRequestFilters([]),this.launchSearch()}return t}setPageSize(t){this.store.actions.setPageSize(t),this.launchSearch()}setPageNumber(t){this.store.actions.setPageNumber(t),this.launchSearch()}setSort(t){this.store.actions.setRequestSort(t),this.store.actions.setPageNumber(1),this.launchSearch()}setFilters(t){const e=t.filter((t=>t.values.length>0));this.store.actions.setRequestFilters(e),this.store.actions.setPageNumber(1),e.forEach((t=>{this.facetIds.includes(t.key)||(this.facetIds=[...this.facetIds,t.key])})),this.launchSearch()}setSearchInDocumentTitlesOnly(t){t?(this.store.actions.setRequestVirtualField(Pa.TITLE_ONLY),this.store.actions.setRequestScope(Ha.DOCUMENTS)):(this.store.actions.setRequestVirtualField(Pa.EVERYWHERE),this.store.actions.setRequestScope(Ha.DEFAULT)),this.launchSearch()}get searchInDocumentTitlesOnly(){return qa(this.store.getState())}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new Ya)}addFacet(t){this.facetIds=[...this.facetIds,t],this.launchSearch()}replaceFacet(t,e){let o=this.facetIds.filter((e=>e!=t));e&&o.push(e),this.facetIds=o,this.launchSearch()}get facetIds(){return this.store.getState().request.facets.map((t=>t.id))}set facetIds(t){let e=[...new Set(t)].map((t=>({id:t})));this.store.actions.setRequestFacets(e)}setFilter(t,e){let o=this.store.getState().request.filters,i={key:t,values:e,negative:!1},r=[...o.filter((e=>e.key!==t)),i];this.setFilters(r)}setLiveQuery(t){this.store.actions.setLiveQuery(t),this.launchSuggest()}setRequest(t){this.store.actions.setRequest(t),this.store.actions.setLiveQuery(t.query),this.store.actions.setPageNumber(1),this.launchSearch()}async launchSearch(){return await this.awaitService(),this.searchDebouncer.run((()=>this.fetchSearchData()))}async launchSuggest(){await this.awaitService(),this.suggestDebouncer.run((()=>this.fetchSuggestData()))}async fetchSearchData(){var t,o;try{null===(t=this.cancelableSearch)||void 0===t||t.cancel(),this.cancelableSearch=i(this.service.launchSearch(this.store.getState().request));const e=await this.cancelableSearch;if(e.paging.currentPage<=1)this.store.actions.setResults(e.results),this.store.actions.setFacets(e.facets),this.store.actions.setSpellcheck(e.spellcheck);else{let t=(null!==(o=this.store.getState().results)&&void 0!==o?o:[]).concat(e.results);this.store.actions.setResults(t)}this.store.actions.setPaging(e.paging)}catch(t){t instanceof e||!this.errorHandler||this.errorHandler(t)}}async fetchSuggestData(){var t;try{let e={input:this.store.getState().liveQuery,filters:this.store.getState().request.filters,sort:this.store.getState().request.sort,contentLocale:this.store.getState().request.contentLocale};null===(t=this.cancelableSuggest)||void 0===t||t.cancel(),this.cancelableSuggest=i(this.service.launchSuggest(e));let o=await this.cancelableSuggest;this.store.actions.setSuggestResults(o.suggestions)}catch(t){t instanceof e||!this.errorHandler||this.errorHandler(t)}}}var Ja=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Qa extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const ts=Symbol("registerInterval");class es extends(function(t){var e;class o extends t{constructor(){super(...arguments),this[e]=0}setSearchStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[ts]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[ts]):this.dispatchEvent(new Qa)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=ts,Ja([l()],o.prototype,"stateManager",void 0),o}(Xt)){}const os=La.build("designedSearchType"),is={label:"Search scope",documentTitlesOnly:"Search in document titles only"},rs=C`
|
|
1612
|
+
`:this.editorMode?"Select a context and a label key.":at}update(t){super.update(t),this.context&&this.key&&this.defaultMessage&&this.addI18nMessages(this.context,{[this.key]:this.defaultMessage})}}Ua.elementDefinitions={},Ua.styles=la,Ia([Po()],Ua.prototype,"editorMode",void 0),Ia([s()],Ua.prototype,"context",void 0),Ia([s()],Ua.prototype,"key",void 0),Ia([v([])],Ua.prototype,"args",void 0),Ia([s()],Ua.prototype,"defaultMessage",void 0);class La{static build(t){return new La(t)}static fromGwt(t){return new La(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,e)=>{const o=e;return t=>({context:this.name,key:o,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,e)=>(...t)=>ya.resolveMessage(this.name,e,...t)})}}g("ft-i18n")(Ua);const Wa={setRequest:(t,e)=>{t.request=e.payload},setRequestQuery:(t,e)=>{t.request.query=e.payload},setRequestContentLocale:(t,e)=>{t.request.contentLocale=e.payload},setPageSize:(t,e)=>{t.request.paging.perPage=e.payload},setPageNumber:(t,e)=>{t.request.paging.page=e.payload},setRequestSort:(t,e)=>{t.request.sort=e.payload},setRequestFilters:(t,e)=>{t.request.filters=e.payload},setRequestFacets:(t,e)=>{t.request.facets=e.payload},setRequestVirtualField:(t,e)=>{t.request.virtualField=e.payload},setRequestScope:(t,e)=>{t.request.scope=e.payload},setResults:(t,e)=>{t.results=e.payload},setFacets:(t,e)=>{t.facets=e.payload},setSpellcheck:(t,e)=>{t.spellcheck=e.payload},setLocales:(t,e)=>{t.locales=e.payload},setPaging:(t,e)=>{t.paging=e.payload},setLiveQuery:(t,e)=>{t.liveQuery=e.payload},setSuggestResults:(t,e)=>{t.suggestResults=e.payload}};var Aa,ja,Fa,Da,za,Ba,Ka,Pa,Ma,Ta,Za,_a,Ha,Ga;!function(t){!function(e){var o={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(o.arrayBuffer)var i=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],r=ArrayBuffer.isView||function(t){return t&&i.indexOf(Object.prototype.toString.call(t))>-1};function n(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function a(t){return"string"!=typeof t&&(t=String(t)),t}function s(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return o.iterable&&(e[Symbol.iterator]=function(){return e}),e}function l(t){this.map={},t instanceof l?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function c(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function f(t){return new Promise((function(e,o){t.onload=function(){e(t.result)},t.onerror=function(){o(t.error)}}))}function h(t){var e=new FileReader,o=f(e);return e.readAsArrayBuffer(t),o}function p(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function u(){return this.bodyUsed=!1,this._initBody=function(t){var e;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:o.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:o.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():o.arrayBuffer&&o.blob&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=p(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):o.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||r(t))?this._bodyArrayBuffer=p(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o.blob&&(this.blob=function(){var t=c(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?c(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(h)}),this.text=function(){var t=c(this);if(t)return t;if(this._bodyBlob)return function(t){var e=new FileReader,o=f(e);return e.readAsText(t),o}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),o=new Array(e.length),i=0;i<e.length;i++)o[i]=String.fromCharCode(e[i]);return o.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},o.formData&&(this.formData=function(){return this.text().then(b)}),this.json=function(){return this.text().then(JSON.parse)},this}l.prototype.append=function(t,e){t=n(t),e=a(e);var o=this.map[t];this.map[t]=o?o+", "+e:e},l.prototype.delete=function(t){delete this.map[n(t)]},l.prototype.get=function(t){return t=n(t),this.has(t)?this.map[t]:null},l.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},l.prototype.set=function(t,e){this.map[n(t)]=a(e)},l.prototype.forEach=function(t,e){for(var o in this.map)this.map.hasOwnProperty(o)&&t.call(e,this.map[o],o,this)},l.prototype.keys=function(){var t=[];return this.forEach((function(e,o){t.push(o)})),s(t)},l.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),s(t)},l.prototype.entries=function(){var t=[];return this.forEach((function(e,o){t.push([o,e])})),s(t)},o.iterable&&(l.prototype[Symbol.iterator]=l.prototype.entries);var d=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function y(t,e){var o,i,r=(e=e||{}).body;if(t instanceof y){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new l(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,r||null==t._bodyInit||(r=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new l(e.headers)),this.method=(o=e.method||this.method||"GET",i=o.toUpperCase(),d.indexOf(i)>-1?i:o),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function b(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var o=t.split("="),i=o.shift().replace(/\+/g," "),r=o.join("=").replace(/\+/g," ");e.append(decodeURIComponent(i),decodeURIComponent(r))}})),e}function g(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new l(e.headers),this.url=e.url||"",this._initBody(t)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},u.call(y.prototype),u.call(g.prototype),g.prototype.clone=function(){return new g(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},g.error=function(){var t=new g(null,{status:0,statusText:""});return t.type="error",t};var v=[301,302,303,307,308];g.redirect=function(t,e){if(-1===v.indexOf(e))throw new RangeError("Invalid status code");return new g(null,{status:e,headers:{location:t}})},e.DOMException=t.DOMException;try{new e.DOMException}catch(t){e.DOMException=function(t,e){this.message=t,this.name=e;var o=Error(t);this.stack=o.stack},e.DOMException.prototype=Object.create(Error.prototype),e.DOMException.prototype.constructor=e.DOMException}function m(t,i){return new Promise((function(r,n){var a=new y(t,i);if(a.signal&&a.signal.aborted)return n(new e.DOMException("Aborted","AbortError"));var s=new XMLHttpRequest;function c(){s.abort()}s.onload=function(){var t,e,o={status:s.status,statusText:s.statusText,headers:(t=s.getAllResponseHeaders()||"",e=new l,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var o=t.split(":"),i=o.shift().trim();if(i){var r=o.join(":").trim();e.append(i,r)}})),e)};o.url="responseURL"in s?s.responseURL:o.headers.get("X-Request-URL");var i="response"in s?s.response:s.responseText;r(new g(i,o))},s.onerror=function(){n(new TypeError("Network request failed"))},s.ontimeout=function(){n(new TypeError("Network request failed"))},s.onabort=function(){n(new e.DOMException("Aborted","AbortError"))},s.open(a.method,a.url,!0),"include"===a.credentials?s.withCredentials=!0:"omit"===a.credentials&&(s.withCredentials=!1),"responseType"in s&&o.blob&&(s.responseType="blob"),a.headers.forEach((function(t,e){s.setRequestHeader(e,t)})),a.signal&&(a.signal.addEventListener("abort",c),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",c)}),s.send(void 0===a._bodyInit?null:a._bodyInit)}))}m.polyfill=!0,t.fetch||(t.fetch=m,t.Headers=l,t.Request=y,t.Response=g),e.Headers=l,e.Request=y,e.Response=g,e.fetch=m,Object.defineProperty(e,"W",{value:!0})}({})}("undefined"!=typeof self?self:void 0),function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"}(Aa||(Aa={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(ja||(ja={})),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"}(Fa||(Fa={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(Da||(Da={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(za||(za={})),function(t){t.ASC="ASC",t.DESC="DESC"}(Ba||(Ba={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(Ka||(Ka={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(Pa||(Pa={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Ma||(Ma={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(Ta||(Ta={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Za||(Za={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(_a||(_a={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS"}(Ha||(Ha={})),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"}(Ga||(Ga={})),Ga.PERSONAL_BOOK_SHARE_USER,Ga.PERSONAL_BOOK_USER,Ga.HTML_EXPORT_USER,Ga.PERSONAL_BOOK_USER,Ga.PDF_EXPORT_USER,Ga.PERSONAL_BOOK_USER,Ga.KHUB_ADMIN,Ga.CONTENT_PUBLISHER,Ga.ADMIN,Ga.KHUB_ADMIN,Ga.USERS_ADMIN,Ga.PORTAL_ADMIN,Ga.DEVELOPER,Ga.BETA_USER,Ga.DEBUG_USER;class Va{static async build(){return new Va(await ha.await())}constructor(t){this.api=t,this.cache=new r,this.cache.registerFinal("available-locales",(()=>this.api.getAvailableSearchLocales()))}async launchSearch(t){return this.api.search(t)}async launchSuggest(t){return this.api.getSuggestions(t)}async getAvailableSearchLocales(){return this.cache.get("available-locales")}}const qa=t=>t.request.virtualField===Pa.TITLE_ONLY&&t.request.scope===Ha.DOCUMENTS;class Ya extends Event{constructor(){super(Ya.eventName)}}Ya.eventName="search-context-clear-all-filters";class Xa{static build(t){return new Xa((t=>Ko.get({name:"ft-search-"+t,initialState:{request:{query:"",filters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:""},reducers:Wa}))(t.trim()||"context"),Va.build)}constructor(t,e){this.store=t,this.serviceProvider=e,this.searchDebouncer=new n(100),this.suggestDebouncer=new n(300)}async initService(){return this.service=await this.serviceProvider(),this.store.actions.setLocales((await this.service.getAvailableSearchLocales()).contentLocales),this.launchSearch()}async awaitService(){for(;null==this.service;)await d(5);return this.service}setQuery(t){this.store.actions.setRequestQuery(t),this.store.actions.setLiveQuery(t),this.store.actions.setPageNumber(1),this.launchSearch()}setContentLocale(t){let e=this.store.getState().locales,o=this.store.getState().request.contentLocale;if(t!=o){if(e){const i=t=>e.some((e=>e.lang==t));i(t)||(t=i(o)?o:e[0].lang)}this.store.actions.setRequestContentLocale(t),this.store.actions.setPageNumber(1),this.store.actions.setRequestFilters([]),this.launchSearch()}return t}setPageSize(t){this.store.actions.setPageSize(t),this.launchSearch()}setPageNumber(t){this.store.actions.setPageNumber(t),this.launchSearch()}setSort(t){this.store.actions.setRequestSort(t),this.store.actions.setPageNumber(1),this.launchSearch()}setFilters(t){const e=t.filter((t=>t.values.length>0));this.store.actions.setRequestFilters(e),this.store.actions.setPageNumber(1),e.forEach((t=>{this.facetIds.includes(t.key)||(this.facetIds=[...this.facetIds,t.key])})),this.launchSearch()}setSearchInDocumentTitlesOnly(t){t?(this.store.actions.setRequestVirtualField(Pa.TITLE_ONLY),this.store.actions.setRequestScope(Ha.DOCUMENTS)):(this.store.actions.setRequestVirtualField(Pa.EVERYWHERE),this.store.actions.setRequestScope(Ha.DEFAULT)),this.launchSearch()}get searchInDocumentTitlesOnly(){return qa(this.store.getState())}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new Ya)}addFacet(t){this.facetIds=[...this.facetIds,t],this.launchSearch()}replaceFacet(t,e){let o=this.facetIds.filter((e=>e!=t));e&&o.push(e),this.facetIds=o,this.launchSearch()}get facetIds(){return this.store.getState().request.facets.map((t=>t.id))}set facetIds(t){let e=[...new Set(t)].map((t=>({id:t})));this.store.actions.setRequestFacets(e)}setFilter(t,e){let o=this.store.getState().request.filters,i={key:t,values:e,negative:!1},r=[...o.filter((e=>e.key!==t)),i];this.setFilters(r)}setLiveQuery(t){this.store.actions.setLiveQuery(t),this.launchSuggest()}setRequest(t){this.store.actions.setRequest(t),this.store.actions.setLiveQuery(t.query),this.store.actions.setPageNumber(1),this.launchSearch()}async launchSearch(){return await this.awaitService(),this.searchDebouncer.run((()=>this.fetchSearchData()))}async launchSuggest(){await this.awaitService(),this.suggestDebouncer.run((()=>this.fetchSuggestData()))}async fetchSearchData(){var t,o;try{null===(t=this.cancelableSearch)||void 0===t||t.cancel(),this.cancelableSearch=i(this.service.launchSearch(this.store.getState().request));const e=await this.cancelableSearch;if(e.paging.currentPage<=1)this.store.actions.setResults(e.results),this.store.actions.setFacets(e.facets),this.store.actions.setSpellcheck(e.spellcheck);else{let t=(null!==(o=this.store.getState().results)&&void 0!==o?o:[]).concat(e.results);this.store.actions.setResults(t)}this.store.actions.setPaging(e.paging)}catch(t){t instanceof e||!this.errorHandler||this.errorHandler(t)}}async fetchSuggestData(){var t;try{let e={input:this.store.getState().liveQuery,filters:this.store.getState().request.filters,sort:this.store.getState().request.sort,contentLocale:this.store.getState().request.contentLocale};null===(t=this.cancelableSuggest)||void 0===t||t.cancel(),this.cancelableSuggest=i(this.service.launchSuggest(e));let o=await this.cancelableSuggest;this.store.actions.setSuggestResults(o.suggestions)}catch(t){t instanceof e||!this.errorHandler||this.errorHandler(t)}}}var Ja=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Qa extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const ts=Symbol("registerInterval");class es extends(function(t){var e;class o extends t{constructor(){super(...arguments),this[e]=0}setSearchStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[ts]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[ts]):this.dispatchEvent(new Qa)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=ts,Ja([l()],o.prototype,"stateManager",void 0),o}(Xt)){}const os=La.build("designedSearchType"),is={label:"Search scope",documentTitlesOnly:"Search in document titles only"},rs=C`
|
|
1613
1613
|
`;var ns=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class as extends CustomEvent{constructor(t){super("ft-search-load-error",{detail:t})}}class ss extends CustomEvent{constructor(t){super("ft-search-request-change",{detail:t})}}class ls extends CustomEvent{constructor(t,e,o){super("ft-search-results-change",{detail:{request:t,paging:e,spellcheck:o}})}}class cs extends Xt{get stateManager(){return null==this._stateManager&&(this._stateManager=Xa.build(this.id||(""+Math.round(999e3*Math.random())).padStart(6,"0")),this._stateManager.errorHandler=t=>this.handleLoadError(t),this.addStore(this.stateManager.store,"search")),this._stateManager}constructor(){super(),this.query="",this.pageSize=20,this.searchInDocumentTitlesOnly=!1,this.filters=[],this.sort=[],this.addStore(fa)}render(){return rt`
|
|
1614
1614
|
<slot @register-ft-search-component=${this.registerComponent}></slot>
|
|
1615
1615
|
`}update(t){super.update(t),t.has("query")&&void 0!==this.query&&this.stateManager.setQuery(this.query),t.has("contentLocale")&&void 0!==this.contentLocale&&this.stateManager.setContentLocale(this.contentLocale),t.has("session")&&this.session&&this.stateManager.initService(),t.has("filters")&&void 0!==this.filters&&this.stateManager.setFilters(this.filters),t.has("sort")&&void 0!==this.sort&&this.stateManager.setSort(this.sort),t.has("pageSize")&&void 0!==this.pageSize&&this.stateManager.setPageSize(this.pageSize),t.has("searchInDocumentTitlesOnly")&&void 0!==this.searchInDocumentTitlesOnly&&this.stateManager.setSearchInDocumentTitlesOnly(this.searchInDocumentTitlesOnly)}connectedCallback(){super.connectedCallback(),this.stateManager.setQuery(this.query),this.stateManager.setContentLocale(this.contentLocale),this.stateManager.setFilters(this.filters),this.stateManager.setPageSize(this.pageSize),this.stateManager.setSort(this.sort)}contentAvailableCallback(t){super.contentAvailableCallback(t),t.has("request")&&this.request&&this.dispatchEvent(new ss(this.request)),t.has("paging")&&void 0!==this.paging&&this.dispatchEvent(new ls(this.request,this.paging,this.autocorrect))}registerComponent(t){t.stopPropagation();const e=t.composedPath()[0];this.register(e)}register(t){t.setSearchStateManager(this.stateManager)}handleLoadError(t){this.dispatchEvent(new as(t))}reloadSavedSearches(){Sa.clearMySearches()}}cs.elementDefinitions={},cs.styles=rs,ns([s()],cs.prototype,"query",void 0),ns([s()],cs.prototype,"contentLocale",void 0),ns([s({type:Number})],cs.prototype,"pageSize",void 0),ns([s({type:Boolean})],cs.prototype,"searchInDocumentTitlesOnly",void 0),ns([v([])],cs.prototype,"filters",void 0),ns([v([])],cs.prototype,"sort",void 0),ns([Po({store:"search"})],cs.prototype,"request",void 0),ns([Po({store:"search"})],cs.prototype,"paging",void 0),ns([Po({store:"search",selector:t=>t.spellcheck})],cs.prototype,"autocorrect",void 0),ns([Po({store:fa.name})],cs.prototype,"session",void 0),g("ft-search-context")(cs);var fs=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class hs extends(Ea(es)){constructor(){super(),this.addI18nContext(os,is)}render(){return rt`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-search-type",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.62",
|
|
4
4
|
"description": "Search",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@fluid-topics/ft-wc-utils": "1.0.
|
|
22
|
+
"@fluid-topics/ft-wc-utils": "1.0.62",
|
|
23
23
|
"lit": "2.7.2"
|
|
24
24
|
},
|
|
25
|
-
"gitHead": "
|
|
25
|
+
"gitHead": "44e9005773fe47b2e6a9ada16802918052a146cf"
|
|
26
26
|
}
|