@fluid-topics/ft-search-bar 1.2.30 → 1.2.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ft-search-bar.light.js +39 -39
- package/build/ft-search-bar.min.js +46 -46
- package/package.json +15 -15
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
"use strict";(()=>{var wd=Object.create;var Ri=Object.defineProperty;var Ad=Object.getOwnPropertyDescriptor;var Rd=Object.getOwnPropertyNames;var Ld=Object.getPrototypeOf,kd=Object.prototype.hasOwnProperty;var _d=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),se=(t,e)=>{for(var r in e)Ri(t,r,{get:e[r],enumerable:!0})},$d=(t,e,r,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Rd(e))!kd.call(t,n)&&n!==r&&Ri(t,n,{get:()=>e[n],enumerable:!(i=Ad(e,n))||i.enumerable});return t};var Nd=(t,e,r)=>(r=t!=null?wd(Ld(t)):{},$d(e||!t||!t.__esModule?Ri(r,"default",{value:t,enumerable:!0}):r,t));var Zl=_d((Qt,Kl)=>{var ui=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,hi=function(){function t(){this.fetch=!1,this.DOMException=ui.DOMException}return t.prototype=ui,new t}();(function(t){var e=function(r){var i=typeof t<"u"&&t||typeof self<"u"&&self||typeof global<"u"&&global||{},n={searchParams:"URLSearchParams"in i,iterable:"Symbol"in i&&"iterator"in Symbol,blob:"FileReader"in i&&"Blob"in i&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in i,arrayBuffer:"ArrayBuffer"in i};function a(m){return m&&DataView.prototype.isPrototypeOf(m)}if(n.arrayBuffer)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(m){return m&&s.indexOf(Object.prototype.toString.call(m))>-1};function d(m){if(typeof m!="string"&&(m=String(m)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(m)||m==="")throw new TypeError('Invalid character in header field name: "'+m+'"');return m.toLowerCase()}function f(m){return typeof m!="string"&&(m=String(m)),m}function h(m){var C={next:function(){var
|
|
2
|
-
`)===0?Y.substr(1,Y.length):Y}).forEach(function(Y){var ne=Y.split(":"),q=ne.shift().trim();if(q){var ot=ne.join(":").trim();try{C.append(q,ot)}catch(Me){console.warn("Response "+Me.message)}}}),C}T.call(R.prototype);function Q(m,C){if(!(this instanceof Q))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(C||(C={}),this.type="default",this.status=C.status===void 0?200:C.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=C.statusText===void 0?"":""+C.statusText,this.headers=new u(C.headers),this.url=C.url||"",this._initBody(m)}T.call(Q.prototype),Q.prototype.clone=function(){return new Q(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new u(this.headers),url:this.url})},Q.error=function(){var m=new Q(null,{status:200,statusText:""});return m.ok=!1,m.status=0,m.type="error",m};var Z=[301,302,303,307,308];Q.redirect=function(m,C){if(Z.indexOf(C)===-1)throw new RangeError("Invalid status code");return new Q(null,{status:C,headers:{location:m}})},r.DOMException=i.DOMException;try{new r.DOMException}catch{r.DOMException=function(C,B){this.message=C,this.name=B;var Y=Error(C);this.stack=Y.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function I(m,C){return new Promise(function(B,Y){var ne=new R(m,C);if(ne.signal&&ne.signal.aborted)return Y(new r.DOMException("Aborted","AbortError"));var q=new XMLHttpRequest;function ot(){q.abort()}q.onload=function(){var we={statusText:q.statusText,headers:H(q.getAllResponseHeaders()||"")};ne.url.indexOf("file://")===0&&(q.status<200||q.status>599)?we.status=200:we.status=q.status,we.url="responseURL"in q?q.responseURL:we.headers.get("X-Request-URL");var ar="response"in q?q.response:q.responseText;setTimeout(function(){B(new Q(ar,we))},0)},q.onerror=function(){setTimeout(function(){Y(new TypeError("Network request failed"))},0)},q.ontimeout=function(){setTimeout(function(){Y(new TypeError("Network request timed out"))},0)},q.onabort=function(){setTimeout(function(){Y(new r.DOMException("Aborted","AbortError"))},0)};function Me(we){try{return we===""&&i.location.href?i.location.href:we}catch{return we}}if(q.open(ne.method,Me(ne.url),!0),ne.credentials==="include"?q.withCredentials=!0:ne.credentials==="omit"&&(q.withCredentials=!1),"responseType"in q&&(n.blob?q.responseType="blob":n.arrayBuffer&&(q.responseType="arraybuffer")),C&&typeof C.headers=="object"&&!(C.headers instanceof u||i.Headers&&C.headers instanceof i.Headers)){var lt=[];Object.getOwnPropertyNames(C.headers).forEach(function(we){lt.push(d(we)),q.setRequestHeader(we,f(C.headers[we]))}),ne.headers.forEach(function(we,ar){lt.indexOf(ar)===-1&&q.setRequestHeader(ar,we)})}else ne.headers.forEach(function(we,ar){q.setRequestHeader(ar,we)});ne.signal&&(ne.signal.addEventListener("abort",ot),q.onreadystatechange=function(){q.readyState===4&&ne.signal.removeEventListener("abort",ot)}),q.send(typeof ne._bodyInit>"u"?null:ne._bodyInit)})}return I.polyfill=!0,i.fetch||(i.fetch=I,i.Headers=u,i.Request=R,i.Response=Q),r.Headers=u,r.Request=R,r.Response=Q,r.fetch=I,r}({})})(hi);hi.fetch.ponyfill=!0;delete hi.fetch.polyfill;var Kr=ui.fetch?ui:hi;Qt=Kr.fetch;Qt.default=Kr.fetch;Qt.fetch=Kr.fetch;Qt.Headers=Kr.Headers;Qt.Request=Kr.Request;Qt.Response=Kr.Response;Kl.exports=Qt});if(!ShadowRoot.prototype.createElement){let t=window.HTMLElement,e=window.customElements.define,r=window.customElements.get,i=window.customElements,n=new WeakMap,a=new WeakMap,s=new WeakMap,l=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(A,O){if(A=A.toLowerCase(),this._getDefinition(A)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${A}" has already been used with this registry`);if(this._definitionsByClass.get(O)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let R=O.prototype.attributeChangedCallback,F=new Set(O.observedAttributes||[]);b(O,F,R);let H={elementClass:O,connectedCallback:O.prototype.connectedCallback,disconnectedCallback:O.prototype.disconnectedCallback,adoptedCallback:O.prototype.adoptedCallback,attributeChangedCallback:R,formAssociated:O.formAssociated,formAssociatedCallback:O.prototype.formAssociatedCallback,formDisabledCallback:O.prototype.formDisabledCallback,formResetCallback:O.prototype.formResetCallback,formStateRestoreCallback:O.prototype.formStateRestoreCallback,observedAttributes:F};this._definitionsByTag.set(A,H),this._definitionsByClass.set(O,H);let Q=r.call(i,A);Q||(Q=u(A),e.call(i,A,Q)),this===window.customElements&&(s.set(O,H),H.standInClass=Q);let Z=this._awaitingUpgrade.get(A);if(Z){this._awaitingUpgrade.delete(A);for(let m of Z)a.delete(m),v(m,H,!0)}let I=this._whenDefinedPromises.get(A);return I!==void 0&&(I.resolve(O),this._whenDefinedPromises.delete(A)),O}upgrade(){$.push(this),i.upgrade.apply(i,arguments),$.pop()}get(A){return this._definitionsByTag.get(A)?.elementClass}_getDefinition(A){return this._definitionsByTag.get(A)}whenDefined(A){let O=this._getDefinition(A);if(O!==void 0)return Promise.resolve(O.elementClass);let R=this._whenDefinedPromises.get(A);return R===void 0&&(R={},R.promise=new Promise(F=>R.resolve=F),this._whenDefinedPromises.set(A,R)),R.promise}_upgradeWhenDefined(A,O,R){let F=this._awaitingUpgrade.get(O);F||this._awaitingUpgrade.set(O,F=new Set),R?F.add(A):F.delete(A)}};let d;window.HTMLElement=function(){let O=d;if(O)return d=void 0,O;let R=s.get(this.constructor);if(!R)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return O=Reflect.construct(t,[],R.standInClass),Object.setPrototypeOf(O,this.constructor.prototype),n.set(O,R),O},window.HTMLElement.prototype=t.prototype;let f=A=>A===document||A instanceof ShadowRoot,h=A=>{let O=A.getRootNode();if(!f(O)){let R=$[$.length-1];if(R instanceof CustomElementRegistry)return R;O=R.getRootNode(),f(O)||(O=l.get(O)?.getRootNode()||document)}return O.customElements},u=A=>class{static get formAssociated(){return!0}constructor(){let R=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(R,HTMLElement.prototype);let F=h(R)||window.customElements,H=F._getDefinition(A);return H?v(R,H):a.set(R,F),R}connectedCallback(){let R=n.get(this);R?R.connectedCallback&&R.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,A,!0)}disconnectedCallback(){let R=n.get(this);R?R.disconnectedCallback&&R.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,A,!1)}adoptedCallback(){n.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let R=n.get(this);R&&R.formAssociated&&R?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let R=n.get(this);R?.formAssociated&&R?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let R=n.get(this);R?.formAssociated&&R?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let R=n.get(this);R?.formAssociated&&R?.formStateRestoreCallback?.apply(this,arguments)}},b=(A,O,R)=>{if(O.size===0||R===void 0)return;let F=A.prototype.setAttribute;F&&(A.prototype.setAttribute=function(Z,I){let m=Z.toLowerCase();if(O.has(m)){let C=this.getAttribute(m);F.call(this,m,I),R.call(this,m,C,I)}else F.call(this,m,I)});let H=A.prototype.removeAttribute;H&&(A.prototype.removeAttribute=function(Z){let I=Z.toLowerCase();if(O.has(I)){let m=this.getAttribute(I);H.call(this,I),R.call(this,I,m,null)}else H.call(this,I)});let Q=A.prototype.toggleAttribute;Q&&(A.prototype.toggleAttribute=function(Z,I){let m=Z.toLowerCase();if(O.has(m)){let C=this.getAttribute(m);Q.call(this,m,I);let B=this.getAttribute(m);R.call(this,m,C,B)}else Q.call(this,m,I)})},S=A=>{let O=Object.getPrototypeOf(A);if(O!==window.HTMLElement)return O===t?Object.setPrototypeOf(A,window.HTMLElement):S(O)},v=(A,O,R=!1)=>{Object.setPrototypeOf(A,O.elementClass.prototype),n.set(A,O),d=A;try{new O.elementClass}catch{S(O.elementClass),new O.elementClass}O.attributeChangedCallback&&O.observedAttributes.forEach(F=>{A.hasAttribute(F)&&O.attributeChangedCallback.call(A,F,null,A.getAttribute(F))}),R&&O.connectedCallback&&A.isConnected&&O.connectedCallback.call(A)},E=Element.prototype.attachShadow;Element.prototype.attachShadow=function(A){let O=E.apply(this,arguments);return A.customElements&&(O.customElements=A.customElements),O};let $=[document],N=(A,O,R=void 0)=>{let F=(R?Object.getPrototypeOf(R):A.prototype)[O];A.prototype[O]=function(){$.push(this);let H=F.apply(R||this,arguments);return H!==void 0&&l.set(H,this),$.pop(),H}};N(ShadowRoot,"createElement",document),N(ShadowRoot,"importNode",document),N(Element,"insertAdjacentHTML");let T=(A,O)=>{let R=Object.getOwnPropertyDescriptor(A.prototype,O);Object.defineProperty(A.prototype,O,{...R,set(F){$.push(this),R.set.call(this,F),$.pop()}})};if(T(Element,"innerHTML"),T(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let A=new WeakMap,O=HTMLElement.prototype.attachInternals,R=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...Z){let I=O.call(this,...Z);return A.set(I,this),I},R.forEach(Z=>{let I=window.ElementInternals.prototype,m=I[Z];I[Z]=function(...C){let B=A.get(this);if(n.get(B).formAssociated===!0)return m?.call(this,...C);throw new DOMException(`Failed to execute ${m} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class F extends Array{constructor(I){super(...I),this._elements=I}get value(){return this._elements.find(I=>I.checked===!0)?.value||""}}class H{constructor(I){let m=new Map;I.forEach((C,B)=>{let Y=C.getAttribute("name"),ne=m.get(Y)||[];this[+B]=C,ne.push(C),m.set(Y,ne)}),this.length=I.length,m.forEach((C,B)=>{C&&(C.length===1?this[B]=C[0]:this[B]=new F(C))})}namedItem(I){return this[I]}}let Q=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let Z=Q.get.call(this,[]),I=[];for(let m of Z){let C=n.get(m);(!C||C.formAssociated===!0)&&I.push(m)}return new H(I)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(r,i,n)=>{if(i!==null)try{e.bind(window.customElements)(r,i,n)}catch(a){console.info(r,i,n,a)}}}var Ui={};se(Ui,{CSSResult:()=>kr,LitElement:()=>Pt,ReactiveElement:()=>gt,_$LE:()=>Vd,_$LH:()=>Bi,adoptStyles:()=>ao,css:()=>_,defaultConverter:()=>_r,getCompatibleStyle:()=>Ho,html:()=>w,isServer:()=>bu,mathml:()=>Di,noChange:()=>Te,notEqual:()=>lo,nothing:()=>U,render:()=>Fi,supportsAdoptingStyleSheets:()=>no,svg:()=>Ii,unsafeCSS:()=>$t});var Wo=globalThis,no=Wo.ShadowRoot&&(Wo.ShadyCSS===void 0||Wo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Li=Symbol(),us=new WeakMap,kr=class{constructor(e,r,i){if(this._$cssResult$=!0,i!==Li)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if(no&&e===void 0){let i=r!==void 0&&r.length===1;i&&(e=us.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),i&&us.set(r,e))}return e}toString(){return this.cssText}},$t=t=>new kr(typeof t=="string"?t:t+"",void 0,Li),_=(t,...e)=>{let r=t.length===1?t[0]:e.reduce((i,n,a)=>i+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(n)+t[a+1],t[0]);return new kr(r,t,Li)},ao=(t,e)=>{if(no)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let i=document.createElement("style"),n=Wo.litNonce;n!==void 0&&i.setAttribute("nonce",n),i.textContent=r.cssText,t.appendChild(i)}},Ho=no?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let i of e.cssRules)r+=i.cssText;return $t(r)})(t):t;var{is:Pd,defineProperty:Td,getOwnPropertyDescriptor:Id,getOwnPropertyNames:Dd,getOwnPropertySymbols:Bd,getPrototypeOf:Fd}=Object,Vo=globalThis,hs=Vo.trustedTypes,Md=hs?hs.emptyScript:"",Ud=Vo.reactiveElementPolyfillSupport,so=(t,e)=>t,_r={toAttribute(t,e){switch(e){case Boolean:t=t?Md:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch{r=null}}return r}},lo=(t,e)=>!Pd(t,e),ms={attribute:!0,type:String,converter:_r,reflect:!1,useDefault:!1,hasChanged:lo};Symbol.metadata??=Symbol("metadata"),Vo.litPropertyMetadata??=new WeakMap;var gt=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=ms){if(r.state&&(r.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((r=Object.create(r)).wrapped=!0),this.elementProperties.set(e,r),!r.noAccessor){let i=Symbol(),n=this.getPropertyDescriptor(e,i,r);n!==void 0&&Td(this.prototype,e,n)}}static getPropertyDescriptor(e,r,i){let{get:n,set:a}=Id(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get:n,set(s){let l=n?.call(this);a?.call(this,s),this.requestUpdate(e,l,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??ms}static _$Ei(){if(this.hasOwnProperty(so("elementProperties")))return;let e=Fd(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(so("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(so("properties"))){let r=this.properties,i=[...Dd(r),...Bd(r)];for(let n of i)this.createProperty(n,r[n])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[i,n]of r)this.elementProperties.set(i,n)}this._$Eh=new Map;for(let[r,i]of this.elementProperties){let n=this._$Eu(r,i);n!==void 0&&this._$Eh.set(n,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let i=new Set(e.flat(1/0).reverse());for(let n of i)r.unshift(Ho(n))}else e!==void 0&&r.push(Ho(e));return r}static _$Eu(e,r){let i=r.attribute;return i===!1?void 0:typeof i=="string"?i:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$EO??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){let e=new Map,r=this.constructor.elementProperties;for(let i of r.keys())this.hasOwnProperty(i)&&(e.set(i,this[i]),delete this[i]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return ao(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,i){this._$AK(e,i)}_$ET(e,r){let i=this.constructor.elementProperties.get(e),n=this.constructor._$Eu(e,i);if(n!==void 0&&i.reflect===!0){let a=(i.converter?.toAttribute!==void 0?i.converter:_r).toAttribute(r,i.type);this._$Em=e,a==null?this.removeAttribute(n):this.setAttribute(n,a),this._$Em=null}}_$AK(e,r){let i=this.constructor,n=i._$Eh.get(e);if(n!==void 0&&this._$Em!==n){let a=i.getPropertyOptions(n),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:_r;this._$Em=n,this[n]=s.fromAttribute(r,a.type)??this._$Ej?.get(n)??null,this._$Em=null}}requestUpdate(e,r,i){if(e!==void 0){let n=this.constructor,a=this[e];if(i??=n.getPropertyOptions(e),!((i.hasChanged??lo)(a,r)||i.useDefault&&i.reflect&&a===this._$Ej?.get(e)&&!this.hasAttribute(n._$Eu(e,i))))return;this.C(e,r,i)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(e,r,{useDefault:i,reflect:n,wrapped:a},s){i&&!(this._$Ej??=new Map).has(e)&&(this._$Ej.set(e,s??r??this[e]),a!==!0||s!==void 0)||(this._$AL.has(e)||(this.hasUpdated||i||(r=void 0),this._$AL.set(e,r)),n===!0&&this._$Em!==e&&(this._$Eq??=new Set).add(e))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(r){Promise.reject(r)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[n,a]of this._$Ep)this[n]=a;this._$Ep=void 0}let i=this.constructor.elementProperties;if(i.size>0)for(let[n,a]of i){let{wrapped:s}=a,l=this[n];s!==!0||this._$AL.has(n)||l===void 0||this.C(n,void 0,a,l)}}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$EO?.forEach(i=>i.hostUpdate?.()),this.update(r)):this._$EM()}catch(i){throw e=!1,this._$EM(),i}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$EO?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Eq&&=this._$Eq.forEach(r=>this._$ET(r,this[r])),this._$EM()}updated(e){}firstUpdated(e){}};gt.elementStyles=[],gt.shadowRootOptions={mode:"open"},gt[so("elementProperties")]=new Map,gt[so("finalized")]=new Map,Ud?.({ReactiveElement:gt}),(Vo.reactiveElementVersions??=[]).push("2.1.0");var _i=globalThis,jo=_i.trustedTypes,ys=jo?jo.createPolicy("lit-html",{createHTML:t=>t}):void 0,$i="$lit$",Nt=`lit$${Math.random().toFixed(9).slice(2)}$`,Ni="?"+Nt,zd=`<${Ni}>`,cr=document,po=()=>cr.createComment(""),fo=t=>t===null||typeof t!="object"&&typeof t!="function",Pi=Array.isArray,Os=t=>Pi(t)||typeof t?.[Symbol.iterator]=="function",ki=`[
|
|
1
|
+
"use strict";(()=>{var wd=Object.create;var Ri=Object.defineProperty;var Ad=Object.getOwnPropertyDescriptor;var Rd=Object.getOwnPropertyNames;var Ld=Object.getPrototypeOf,kd=Object.prototype.hasOwnProperty;var _d=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),se=(t,e)=>{for(var r in e)Ri(t,r,{get:e[r],enumerable:!0})},$d=(t,e,r,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Rd(e))!kd.call(t,n)&&n!==r&&Ri(t,n,{get:()=>e[n],enumerable:!(i=Ad(e,n))||i.enumerable});return t};var Nd=(t,e,r)=>(r=t!=null?wd(Ld(t)):{},$d(e||!t||!t.__esModule?Ri(r,"default",{value:t,enumerable:!0}):r,t));var Zl=_d((Qt,Kl)=>{var ui=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,hi=function(){function t(){this.fetch=!1,this.DOMException=ui.DOMException}return t.prototype=ui,new t}();(function(t){var e=function(r){var i=typeof t<"u"&&t||typeof self<"u"&&self||typeof global<"u"&&global||{},n={searchParams:"URLSearchParams"in i,iterable:"Symbol"in i&&"iterator"in Symbol,blob:"FileReader"in i&&"Blob"in i&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in i,arrayBuffer:"ArrayBuffer"in i};function a(m){return m&&DataView.prototype.isPrototypeOf(m)}if(n.arrayBuffer)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(m){return m&&s.indexOf(Object.prototype.toString.call(m))>-1};function d(m){if(typeof m!="string"&&(m=String(m)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(m)||m==="")throw new TypeError('Invalid character in header field name: "'+m+'"');return m.toLowerCase()}function f(m){return typeof m!="string"&&(m=String(m)),m}function h(m){var C={next:function(){var D=m.shift();return{done:D===void 0,value:D}}};return n.iterable&&(C[Symbol.iterator]=function(){return C}),C}function u(m){this.map={},m instanceof u?m.forEach(function(C,D){this.append(D,C)},this):Array.isArray(m)?m.forEach(function(C){if(C.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+C.length);this.append(C[0],C[1])},this):m&&Object.getOwnPropertyNames(m).forEach(function(C){this.append(C,m[C])},this)}u.prototype.append=function(m,C){m=d(m),C=f(C);var D=this.map[m];this.map[m]=D?D+", "+C:C},u.prototype.delete=function(m){delete this.map[d(m)]},u.prototype.get=function(m){return m=d(m),this.has(m)?this.map[m]:null},u.prototype.has=function(m){return this.map.hasOwnProperty(d(m))},u.prototype.set=function(m,C){this.map[d(m)]=f(C)},u.prototype.forEach=function(m,C){for(var D in this.map)this.map.hasOwnProperty(D)&&m.call(C,this.map[D],D,this)},u.prototype.keys=function(){var m=[];return this.forEach(function(C,D){m.push(D)}),h(m)},u.prototype.values=function(){var m=[];return this.forEach(function(C){m.push(C)}),h(m)},u.prototype.entries=function(){var m=[];return this.forEach(function(C,D){m.push([D,C])}),h(m)},n.iterable&&(u.prototype[Symbol.iterator]=u.prototype.entries);function b(m){if(!m._noBody){if(m.bodyUsed)return Promise.reject(new TypeError("Already read"));m.bodyUsed=!0}}function S(m){return new Promise(function(C,D){m.onload=function(){C(m.result)},m.onerror=function(){D(m.error)}})}function v(m){var C=new FileReader,D=S(C);return C.readAsArrayBuffer(m),D}function E(m){var C=new FileReader,D=S(C),Y=/charset=([A-Za-z0-9_-]+)/.exec(m.type),ne=Y?Y[1]:"utf-8";return C.readAsText(m,ne),D}function $(m){for(var C=new Uint8Array(m),D=new Array(C.length),Y=0;Y<C.length;Y++)D[Y]=String.fromCharCode(C[Y]);return D.join("")}function N(m){if(m.slice)return m.slice(0);var C=new Uint8Array(m.byteLength);return C.set(new Uint8Array(m)),C.buffer}function T(){return this.bodyUsed=!1,this._initBody=function(m){this.bodyUsed=this.bodyUsed,this._bodyInit=m,m?typeof m=="string"?this._bodyText=m:n.blob&&Blob.prototype.isPrototypeOf(m)?this._bodyBlob=m:n.formData&&FormData.prototype.isPrototypeOf(m)?this._bodyFormData=m:n.searchParams&&URLSearchParams.prototype.isPrototypeOf(m)?this._bodyText=m.toString():n.arrayBuffer&&n.blob&&a(m)?(this._bodyArrayBuffer=N(m.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(m)||l(m))?this._bodyArrayBuffer=N(m):this._bodyText=m=Object.prototype.toString.call(m):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof m=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n.searchParams&&URLSearchParams.prototype.isPrototypeOf(m)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n.blob&&(this.blob=function(){var m=b(this);if(m)return m;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(){if(this._bodyArrayBuffer){var m=b(this);return m||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(n.blob)return this.blob().then(v);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var m=b(this);if(m)return m;if(this._bodyBlob)return E(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve($(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},n.formData&&(this.formData=function(){return this.text().then(F)}),this.json=function(){return this.text().then(JSON.parse)},this}var A=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function O(m){var C=m.toUpperCase();return A.indexOf(C)>-1?C:m}function R(m,C){if(!(this instanceof R))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');C=C||{};var D=C.body;if(m instanceof R){if(m.bodyUsed)throw new TypeError("Already read");this.url=m.url,this.credentials=m.credentials,C.headers||(this.headers=new u(m.headers)),this.method=m.method,this.mode=m.mode,this.signal=m.signal,!D&&m._bodyInit!=null&&(D=m._bodyInit,m.bodyUsed=!0)}else this.url=String(m);if(this.credentials=C.credentials||this.credentials||"same-origin",(C.headers||!this.headers)&&(this.headers=new u(C.headers)),this.method=O(C.method||this.method||"GET"),this.mode=C.mode||this.mode||null,this.signal=C.signal||this.signal||function(){if("AbortController"in i){var q=new AbortController;return q.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&D)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(D),(this.method==="GET"||this.method==="HEAD")&&(C.cache==="no-store"||C.cache==="no-cache")){var Y=/([?&])_=[^&]*/;if(Y.test(this.url))this.url=this.url.replace(Y,"$1_="+new Date().getTime());else{var ne=/\?/;this.url+=(ne.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}R.prototype.clone=function(){return new R(this,{body:this._bodyInit})};function F(m){var C=new FormData;return m.trim().split("&").forEach(function(D){if(D){var Y=D.split("="),ne=Y.shift().replace(/\+/g," "),q=Y.join("=").replace(/\+/g," ");C.append(decodeURIComponent(ne),decodeURIComponent(q))}}),C}function H(m){var C=new u,D=m.replace(/\r?\n[\t ]+/g," ");return D.split("\r").map(function(Y){return Y.indexOf(`
|
|
2
|
+
`)===0?Y.substr(1,Y.length):Y}).forEach(function(Y){var ne=Y.split(":"),q=ne.shift().trim();if(q){var ot=ne.join(":").trim();try{C.append(q,ot)}catch(Me){console.warn("Response "+Me.message)}}}),C}T.call(R.prototype);function Q(m,C){if(!(this instanceof Q))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(C||(C={}),this.type="default",this.status=C.status===void 0?200:C.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=C.statusText===void 0?"":""+C.statusText,this.headers=new u(C.headers),this.url=C.url||"",this._initBody(m)}T.call(Q.prototype),Q.prototype.clone=function(){return new Q(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new u(this.headers),url:this.url})},Q.error=function(){var m=new Q(null,{status:200,statusText:""});return m.ok=!1,m.status=0,m.type="error",m};var Z=[301,302,303,307,308];Q.redirect=function(m,C){if(Z.indexOf(C)===-1)throw new RangeError("Invalid status code");return new Q(null,{status:C,headers:{location:m}})},r.DOMException=i.DOMException;try{new r.DOMException}catch{r.DOMException=function(C,D){this.message=C,this.name=D;var Y=Error(C);this.stack=Y.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function I(m,C){return new Promise(function(D,Y){var ne=new R(m,C);if(ne.signal&&ne.signal.aborted)return Y(new r.DOMException("Aborted","AbortError"));var q=new XMLHttpRequest;function ot(){q.abort()}q.onload=function(){var we={statusText:q.statusText,headers:H(q.getAllResponseHeaders()||"")};ne.url.indexOf("file://")===0&&(q.status<200||q.status>599)?we.status=200:we.status=q.status,we.url="responseURL"in q?q.responseURL:we.headers.get("X-Request-URL");var ar="response"in q?q.response:q.responseText;setTimeout(function(){D(new Q(ar,we))},0)},q.onerror=function(){setTimeout(function(){Y(new TypeError("Network request failed"))},0)},q.ontimeout=function(){setTimeout(function(){Y(new TypeError("Network request timed out"))},0)},q.onabort=function(){setTimeout(function(){Y(new r.DOMException("Aborted","AbortError"))},0)};function Me(we){try{return we===""&&i.location.href?i.location.href:we}catch{return we}}if(q.open(ne.method,Me(ne.url),!0),ne.credentials==="include"?q.withCredentials=!0:ne.credentials==="omit"&&(q.withCredentials=!1),"responseType"in q&&(n.blob?q.responseType="blob":n.arrayBuffer&&(q.responseType="arraybuffer")),C&&typeof C.headers=="object"&&!(C.headers instanceof u||i.Headers&&C.headers instanceof i.Headers)){var lt=[];Object.getOwnPropertyNames(C.headers).forEach(function(we){lt.push(d(we)),q.setRequestHeader(we,f(C.headers[we]))}),ne.headers.forEach(function(we,ar){lt.indexOf(ar)===-1&&q.setRequestHeader(ar,we)})}else ne.headers.forEach(function(we,ar){q.setRequestHeader(ar,we)});ne.signal&&(ne.signal.addEventListener("abort",ot),q.onreadystatechange=function(){q.readyState===4&&ne.signal.removeEventListener("abort",ot)}),q.send(typeof ne._bodyInit>"u"?null:ne._bodyInit)})}return I.polyfill=!0,i.fetch||(i.fetch=I,i.Headers=u,i.Request=R,i.Response=Q),r.Headers=u,r.Request=R,r.Response=Q,r.fetch=I,r}({})})(hi);hi.fetch.ponyfill=!0;delete hi.fetch.polyfill;var Kr=ui.fetch?ui:hi;Qt=Kr.fetch;Qt.default=Kr.fetch;Qt.fetch=Kr.fetch;Qt.Headers=Kr.Headers;Qt.Request=Kr.Request;Qt.Response=Kr.Response;Kl.exports=Qt});if(!ShadowRoot.prototype.createElement){let t=window.HTMLElement,e=window.customElements.define,r=window.customElements.get,i=window.customElements,n=new WeakMap,a=new WeakMap,s=new WeakMap,l=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(A,O){if(A=A.toLowerCase(),this._getDefinition(A)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${A}" has already been used with this registry`);if(this._definitionsByClass.get(O)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let R=O.prototype.attributeChangedCallback,F=new Set(O.observedAttributes||[]);b(O,F,R);let H={elementClass:O,connectedCallback:O.prototype.connectedCallback,disconnectedCallback:O.prototype.disconnectedCallback,adoptedCallback:O.prototype.adoptedCallback,attributeChangedCallback:R,formAssociated:O.formAssociated,formAssociatedCallback:O.prototype.formAssociatedCallback,formDisabledCallback:O.prototype.formDisabledCallback,formResetCallback:O.prototype.formResetCallback,formStateRestoreCallback:O.prototype.formStateRestoreCallback,observedAttributes:F};this._definitionsByTag.set(A,H),this._definitionsByClass.set(O,H);let Q=r.call(i,A);Q||(Q=u(A),e.call(i,A,Q)),this===window.customElements&&(s.set(O,H),H.standInClass=Q);let Z=this._awaitingUpgrade.get(A);if(Z){this._awaitingUpgrade.delete(A);for(let m of Z)a.delete(m),v(m,H,!0)}let I=this._whenDefinedPromises.get(A);return I!==void 0&&(I.resolve(O),this._whenDefinedPromises.delete(A)),O}upgrade(){$.push(this),i.upgrade.apply(i,arguments),$.pop()}get(A){return this._definitionsByTag.get(A)?.elementClass}_getDefinition(A){return this._definitionsByTag.get(A)}whenDefined(A){let O=this._getDefinition(A);if(O!==void 0)return Promise.resolve(O.elementClass);let R=this._whenDefinedPromises.get(A);return R===void 0&&(R={},R.promise=new Promise(F=>R.resolve=F),this._whenDefinedPromises.set(A,R)),R.promise}_upgradeWhenDefined(A,O,R){let F=this._awaitingUpgrade.get(O);F||this._awaitingUpgrade.set(O,F=new Set),R?F.add(A):F.delete(A)}};let d;window.HTMLElement=function(){let O=d;if(O)return d=void 0,O;let R=s.get(this.constructor);if(!R)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return O=Reflect.construct(t,[],R.standInClass),Object.setPrototypeOf(O,this.constructor.prototype),n.set(O,R),O},window.HTMLElement.prototype=t.prototype;let f=A=>A===document||A instanceof ShadowRoot,h=A=>{let O=A.getRootNode();if(!f(O)){let R=$[$.length-1];if(R instanceof CustomElementRegistry)return R;O=R.getRootNode(),f(O)||(O=l.get(O)?.getRootNode()||document)}return O.customElements},u=A=>class{static get formAssociated(){return!0}constructor(){let R=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(R,HTMLElement.prototype);let F=h(R)||window.customElements,H=F._getDefinition(A);return H?v(R,H):a.set(R,F),R}connectedCallback(){let R=n.get(this);R?R.connectedCallback&&R.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,A,!0)}disconnectedCallback(){let R=n.get(this);R?R.disconnectedCallback&&R.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,A,!1)}adoptedCallback(){n.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let R=n.get(this);R&&R.formAssociated&&R?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let R=n.get(this);R?.formAssociated&&R?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let R=n.get(this);R?.formAssociated&&R?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let R=n.get(this);R?.formAssociated&&R?.formStateRestoreCallback?.apply(this,arguments)}},b=(A,O,R)=>{if(O.size===0||R===void 0)return;let F=A.prototype.setAttribute;F&&(A.prototype.setAttribute=function(Z,I){let m=Z.toLowerCase();if(O.has(m)){let C=this.getAttribute(m);F.call(this,m,I),R.call(this,m,C,I)}else F.call(this,m,I)});let H=A.prototype.removeAttribute;H&&(A.prototype.removeAttribute=function(Z){let I=Z.toLowerCase();if(O.has(I)){let m=this.getAttribute(I);H.call(this,I),R.call(this,I,m,null)}else H.call(this,I)});let Q=A.prototype.toggleAttribute;Q&&(A.prototype.toggleAttribute=function(Z,I){let m=Z.toLowerCase();if(O.has(m)){let C=this.getAttribute(m);Q.call(this,m,I);let D=this.getAttribute(m);R.call(this,m,C,D)}else Q.call(this,m,I)})},S=A=>{let O=Object.getPrototypeOf(A);if(O!==window.HTMLElement)return O===t?Object.setPrototypeOf(A,window.HTMLElement):S(O)},v=(A,O,R=!1)=>{Object.setPrototypeOf(A,O.elementClass.prototype),n.set(A,O),d=A;try{new O.elementClass}catch{S(O.elementClass),new O.elementClass}O.attributeChangedCallback&&O.observedAttributes.forEach(F=>{A.hasAttribute(F)&&O.attributeChangedCallback.call(A,F,null,A.getAttribute(F))}),R&&O.connectedCallback&&A.isConnected&&O.connectedCallback.call(A)},E=Element.prototype.attachShadow;Element.prototype.attachShadow=function(A){let O=E.apply(this,arguments);return A.customElements&&(O.customElements=A.customElements),O};let $=[document],N=(A,O,R=void 0)=>{let F=(R?Object.getPrototypeOf(R):A.prototype)[O];A.prototype[O]=function(){$.push(this);let H=F.apply(R||this,arguments);return H!==void 0&&l.set(H,this),$.pop(),H}};N(ShadowRoot,"createElement",document),N(ShadowRoot,"importNode",document),N(Element,"insertAdjacentHTML");let T=(A,O)=>{let R=Object.getOwnPropertyDescriptor(A.prototype,O);Object.defineProperty(A.prototype,O,{...R,set(F){$.push(this),R.set.call(this,F),$.pop()}})};if(T(Element,"innerHTML"),T(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let A=new WeakMap,O=HTMLElement.prototype.attachInternals,R=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...Z){let I=O.call(this,...Z);return A.set(I,this),I},R.forEach(Z=>{let I=window.ElementInternals.prototype,m=I[Z];I[Z]=function(...C){let D=A.get(this);if(n.get(D).formAssociated===!0)return m?.call(this,...C);throw new DOMException(`Failed to execute ${m} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class F extends Array{constructor(I){super(...I),this._elements=I}get value(){return this._elements.find(I=>I.checked===!0)?.value||""}}class H{constructor(I){let m=new Map;I.forEach((C,D)=>{let Y=C.getAttribute("name"),ne=m.get(Y)||[];this[+D]=C,ne.push(C),m.set(Y,ne)}),this.length=I.length,m.forEach((C,D)=>{C&&(C.length===1?this[D]=C[0]:this[D]=new F(C))})}namedItem(I){return this[I]}}let Q=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let Z=Q.get.call(this,[]),I=[];for(let m of Z){let C=n.get(m);(!C||C.formAssociated===!0)&&I.push(m)}return new H(I)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(r,i,n)=>{if(i!==null)try{e.bind(window.customElements)(r,i,n)}catch(a){console.info(r,i,n,a)}}}var Ui={};se(Ui,{CSSResult:()=>kr,LitElement:()=>Pt,ReactiveElement:()=>gt,_$LE:()=>Vd,_$LH:()=>Di,adoptStyles:()=>ao,css:()=>_,defaultConverter:()=>_r,getCompatibleStyle:()=>Ho,html:()=>w,isServer:()=>bu,mathml:()=>Bi,noChange:()=>Te,notEqual:()=>lo,nothing:()=>U,render:()=>Fi,supportsAdoptingStyleSheets:()=>no,svg:()=>Ii,unsafeCSS:()=>$t});var Wo=globalThis,no=Wo.ShadowRoot&&(Wo.ShadyCSS===void 0||Wo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Li=Symbol(),us=new WeakMap,kr=class{constructor(e,r,i){if(this._$cssResult$=!0,i!==Li)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if(no&&e===void 0){let i=r!==void 0&&r.length===1;i&&(e=us.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),i&&us.set(r,e))}return e}toString(){return this.cssText}},$t=t=>new kr(typeof t=="string"?t:t+"",void 0,Li),_=(t,...e)=>{let r=t.length===1?t[0]:e.reduce((i,n,a)=>i+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(n)+t[a+1],t[0]);return new kr(r,t,Li)},ao=(t,e)=>{if(no)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let i=document.createElement("style"),n=Wo.litNonce;n!==void 0&&i.setAttribute("nonce",n),i.textContent=r.cssText,t.appendChild(i)}},Ho=no?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let i of e.cssRules)r+=i.cssText;return $t(r)})(t):t;var{is:Pd,defineProperty:Td,getOwnPropertyDescriptor:Id,getOwnPropertyNames:Bd,getOwnPropertySymbols:Dd,getPrototypeOf:Fd}=Object,Vo=globalThis,hs=Vo.trustedTypes,Md=hs?hs.emptyScript:"",Ud=Vo.reactiveElementPolyfillSupport,so=(t,e)=>t,_r={toAttribute(t,e){switch(e){case Boolean:t=t?Md:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch{r=null}}return r}},lo=(t,e)=>!Pd(t,e),ms={attribute:!0,type:String,converter:_r,reflect:!1,useDefault:!1,hasChanged:lo};Symbol.metadata??=Symbol("metadata"),Vo.litPropertyMetadata??=new WeakMap;var gt=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=ms){if(r.state&&(r.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((r=Object.create(r)).wrapped=!0),this.elementProperties.set(e,r),!r.noAccessor){let i=Symbol(),n=this.getPropertyDescriptor(e,i,r);n!==void 0&&Td(this.prototype,e,n)}}static getPropertyDescriptor(e,r,i){let{get:n,set:a}=Id(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get:n,set(s){let l=n?.call(this);a?.call(this,s),this.requestUpdate(e,l,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??ms}static _$Ei(){if(this.hasOwnProperty(so("elementProperties")))return;let e=Fd(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(so("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(so("properties"))){let r=this.properties,i=[...Bd(r),...Dd(r)];for(let n of i)this.createProperty(n,r[n])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[i,n]of r)this.elementProperties.set(i,n)}this._$Eh=new Map;for(let[r,i]of this.elementProperties){let n=this._$Eu(r,i);n!==void 0&&this._$Eh.set(n,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let i=new Set(e.flat(1/0).reverse());for(let n of i)r.unshift(Ho(n))}else e!==void 0&&r.push(Ho(e));return r}static _$Eu(e,r){let i=r.attribute;return i===!1?void 0:typeof i=="string"?i:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$EO??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){let e=new Map,r=this.constructor.elementProperties;for(let i of r.keys())this.hasOwnProperty(i)&&(e.set(i,this[i]),delete this[i]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return ao(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,i){this._$AK(e,i)}_$ET(e,r){let i=this.constructor.elementProperties.get(e),n=this.constructor._$Eu(e,i);if(n!==void 0&&i.reflect===!0){let a=(i.converter?.toAttribute!==void 0?i.converter:_r).toAttribute(r,i.type);this._$Em=e,a==null?this.removeAttribute(n):this.setAttribute(n,a),this._$Em=null}}_$AK(e,r){let i=this.constructor,n=i._$Eh.get(e);if(n!==void 0&&this._$Em!==n){let a=i.getPropertyOptions(n),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:_r;this._$Em=n,this[n]=s.fromAttribute(r,a.type)??this._$Ej?.get(n)??null,this._$Em=null}}requestUpdate(e,r,i){if(e!==void 0){let n=this.constructor,a=this[e];if(i??=n.getPropertyOptions(e),!((i.hasChanged??lo)(a,r)||i.useDefault&&i.reflect&&a===this._$Ej?.get(e)&&!this.hasAttribute(n._$Eu(e,i))))return;this.C(e,r,i)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(e,r,{useDefault:i,reflect:n,wrapped:a},s){i&&!(this._$Ej??=new Map).has(e)&&(this._$Ej.set(e,s??r??this[e]),a!==!0||s!==void 0)||(this._$AL.has(e)||(this.hasUpdated||i||(r=void 0),this._$AL.set(e,r)),n===!0&&this._$Em!==e&&(this._$Eq??=new Set).add(e))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(r){Promise.reject(r)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[n,a]of this._$Ep)this[n]=a;this._$Ep=void 0}let i=this.constructor.elementProperties;if(i.size>0)for(let[n,a]of i){let{wrapped:s}=a,l=this[n];s!==!0||this._$AL.has(n)||l===void 0||this.C(n,void 0,a,l)}}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$EO?.forEach(i=>i.hostUpdate?.()),this.update(r)):this._$EM()}catch(i){throw e=!1,this._$EM(),i}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$EO?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Eq&&=this._$Eq.forEach(r=>this._$ET(r,this[r])),this._$EM()}updated(e){}firstUpdated(e){}};gt.elementStyles=[],gt.shadowRootOptions={mode:"open"},gt[so("elementProperties")]=new Map,gt[so("finalized")]=new Map,Ud?.({ReactiveElement:gt}),(Vo.reactiveElementVersions??=[]).push("2.1.0");var _i=globalThis,jo=_i.trustedTypes,ys=jo?jo.createPolicy("lit-html",{createHTML:t=>t}):void 0,$i="$lit$",Nt=`lit$${Math.random().toFixed(9).slice(2)}$`,Ni="?"+Nt,zd=`<${Ni}>`,cr=document,po=()=>cr.createComment(""),fo=t=>t===null||typeof t!="object"&&typeof t!="function",Pi=Array.isArray,Os=t=>Pi(t)||typeof t?.[Symbol.iterator]=="function",ki=`[
|
|
3
3
|
\f\r]`,co=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,gs=/-->/g,bs=/>/g,sr=RegExp(`>|${ki}(?:([^\\s"'>=/]+)(${ki}*=${ki}*(?:[^
|
|
4
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),xs=/'/g,vs=/"/g,Cs=/^(?:script|style|textarea|title)$/i,Ti=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),w=Ti(1),Ii=Ti(2),Di=Ti(3),Te=Symbol.for("lit-noChange"),U=Symbol.for("lit-nothing"),Ss=new WeakMap,lr=cr.createTreeWalker(cr,129);function Es(t,e){if(!Pi(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return ys!==void 0?ys.createHTML(e):e}var ws=(t,e)=>{let r=t.length-1,i=[],n,a=e===2?"<svg>":e===3?"<math>":"",s=co;for(let l=0;l<r;l++){let d=t[l],f,h,u=-1,b=0;for(;b<d.length&&(s.lastIndex=b,h=s.exec(d),h!==null);)b=s.lastIndex,s===co?h[1]==="!--"?s=gs:h[1]!==void 0?s=bs:h[2]!==void 0?(Cs.test(h[2])&&(n=RegExp("</"+h[2],"g")),s=sr):h[3]!==void 0&&(s=sr):s===sr?h[0]===">"?(s=n??co,u=-1):h[1]===void 0?u=-2:(u=s.lastIndex-h[2].length,f=h[1],s=h[3]===void 0?sr:h[3]==='"'?vs:xs):s===vs||s===xs?s=sr:s===gs||s===bs?s=co:(s=sr,n=void 0);let S=s===sr&&t[l+1].startsWith("/>")?" ":"";a+=s===co?d+zd:u>=0?(i.push(f),d.slice(0,u)+$i+d.slice(u)+Nt+S):d+Nt+(u===-2?l:S)}return[Es(t,a+(t[r]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),i]},uo=class t{constructor({strings:e,_$litType$:r},i){let n;this.parts=[];let a=0,s=0,l=e.length-1,d=this.parts,[f,h]=ws(e,r);if(this.el=t.createElement(f,i),lr.currentNode=this.el.content,r===2||r===3){let u=this.el.content.firstChild;u.replaceWith(...u.childNodes)}for(;(n=lr.nextNode())!==null&&d.length<l;){if(n.nodeType===1){if(n.hasAttributes())for(let u of n.getAttributeNames())if(u.endsWith($i)){let b=h[s++],S=n.getAttribute(u).split(Nt),v=/([.?@])?(.*)/.exec(b);d.push({type:1,index:a,name:v[2],strings:S,ctor:v[1]==="."?Ko:v[1]==="?"?Zo:v[1]==="@"?qo:pr}),n.removeAttribute(u)}else u.startsWith(Nt)&&(d.push({type:6,index:a}),n.removeAttribute(u));if(Cs.test(n.tagName)){let u=n.textContent.split(Nt),b=u.length-1;if(b>0){n.textContent=jo?jo.emptyScript:"";for(let S=0;S<b;S++)n.append(u[S],po()),lr.nextNode(),d.push({type:2,index:++a});n.append(u[b],po())}}}else if(n.nodeType===8)if(n.data===Ni)d.push({type:2,index:a});else{let u=-1;for(;(u=n.data.indexOf(Nt,u+1))!==-1;)d.push({type:7,index:a}),u+=Nt.length-1}a++}}static createElement(e,r){let i=cr.createElement("template");return i.innerHTML=e,i}};function dr(t,e,r=t,i){if(e===Te)return e;let n=i!==void 0?r._$Co?.[i]:r._$Cl,a=fo(e)?void 0:e._$litDirective$;return n?.constructor!==a&&(n?._$AO?.(!1),a===void 0?n=void 0:(n=new a(t),n._$AT(t,r,i)),i!==void 0?(r._$Co??=[])[i]=n:r._$Cl=n),n!==void 0&&(e=dr(t,n._$AS(t,e.values),n,i)),e}var Go=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:i}=this._$AD,n=(e?.creationScope??cr).importNode(r,!0);lr.currentNode=n;let a=lr.nextNode(),s=0,l=0,d=i[0];for(;d!==void 0;){if(s===d.index){let f;d.type===2?f=new $r(a,a.nextSibling,this,e):d.type===1?f=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(f=new Yo(a,this,e)),this._$AV.push(f),d=i[++l]}s!==d?.index&&(a=lr.nextNode(),s++)}return lr.currentNode=cr,n}p(e){let r=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(e,i,r),r+=i.strings.length-2):i._$AI(e[r])),r++}},$r=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,i,n){this.type=2,this._$AH=U,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=i,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=dr(this,e,r),fo(e)?e===U||e==null||e===""?(this._$AH!==U&&this._$AR(),this._$AH=U):e!==this._$AH&&e!==Te&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):Os(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==U&&fo(this._$AH)?this._$AA.nextSibling.data=e:this.T(cr.createTextNode(e)),this._$AH=e}$(e){let{values:r,_$litType$:i}=e,n=typeof i=="number"?this._$AC(e):(i.el===void 0&&(i.el=uo.createElement(Es(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===n)this._$AH.p(r);else{let a=new Go(n,this),s=a.u(this.options);a.p(r),this.T(s),this._$AH=a}}_$AC(e){let r=Ss.get(e.strings);return r===void 0&&Ss.set(e.strings,r=new uo(e)),r}k(e){Pi(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,i,n=0;for(let a of e)n===r.length?r.push(i=new t(this.O(po()),this.O(po()),this,this.options)):i=r[n],i._$AI(a),n++;n<r.length&&(this._$AR(i&&i._$AB.nextSibling,n),r.length=n)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let i=e.nextSibling;e.remove(),e=i}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},pr=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,i,n,a){this.type=1,this._$AH=U,this._$AN=void 0,this.element=e,this.name=r,this._$AM=n,this.options=a,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=U}_$AI(e,r=this,i,n){let a=this.strings,s=!1;if(a===void 0)e=dr(this,e,r,0),s=!fo(e)||e!==this._$AH&&e!==Te,s&&(this._$AH=e);else{let l=e,d,f;for(e=a[0],d=0;d<a.length-1;d++)f=dr(this,l[i+d],r,d),f===Te&&(f=this._$AH[d]),s||=!fo(f)||f!==this._$AH[d],f===U?e=U:e!==U&&(e+=(f??"")+a[d+1]),this._$AH[d]=f}s&&!n&&this.j(e)}j(e){e===U?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Ko=class extends pr{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===U?void 0:e}},Zo=class extends pr{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==U)}},qo=class extends pr{constructor(e,r,i,n,a){super(e,r,i,n,a),this.type=5}_$AI(e,r=this){if((e=dr(this,e,r,0)??U)===Te)return;let i=this._$AH,n=e===U&&i!==U||e.capture!==i.capture||e.once!==i.once||e.passive!==i.passive,a=e!==U&&(i===U||n);n&&this.element.removeEventListener(this.name,this,i),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},Yo=class{constructor(e,r,i){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(e){dr(this,e)}},Bi={M:$i,P:Nt,A:Ni,C:1,L:ws,R:Go,D:Os,V:dr,I:$r,H:pr,N:Zo,U:qo,B:Ko,F:Yo},Wd=_i.litHtmlPolyfillSupport;Wd?.(uo,$r),(_i.litHtmlVersions??=[]).push("3.3.0");var Fi=(t,e,r)=>{let i=r?.renderBefore??e,n=i._$litPart$;if(n===void 0){let a=r?.renderBefore??null;i._$litPart$=n=new $r(e.insertBefore(po(),a),a,void 0,r??{})}return n._$AI(t),n};var Mi=globalThis,Pt=class extends gt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=Fi(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Te}};Pt._$litElement$=!0,Pt.finalized=!0,Mi.litElementHydrateSupport?.({LitElement:Pt});var Hd=Mi.litElementPolyfillSupport;Hd?.({LitElement:Pt});var Vd={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(Mi.litElementVersions??=[]).push("4.2.0");var bu=!1;var Vi={};se(Vi,{customElement:()=>jd,eventOptions:()=>Nr,property:()=>y,query:()=>M,queryAll:()=>zi,queryAssignedElements:()=>Wi,queryAssignedNodes:()=>Hi,queryAsync:()=>Zd,standardProperty:()=>As,state:()=>W});var jd=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};var Gd={attribute:!0,type:String,converter:_r,reflect:!1,hasChanged:lo},As=(t=Gd,e,r)=>{let{kind:i,metadata:n}=r,a=globalThis.litPropertyMetadata.get(n);if(a===void 0&&globalThis.litPropertyMetadata.set(n,a=new Map),i==="setter"&&((t=Object.create(t)).wrapped=!0),a.set(r.name,t),i==="accessor"){let{name:s}=r;return{set(l){let d=e.get.call(this);e.set.call(this,l),this.requestUpdate(s,d,t)},init(l){return l!==void 0&&this.C(s,void 0,t,l),l}}}if(i==="setter"){let{name:s}=r;return function(l){let d=this[s];e.call(this,l),this.requestUpdate(s,d,t)}}throw Error("Unsupported decorator location: "+i)};function y(t){return(e,r)=>typeof r=="object"?As(t,e,r):((i,n,a)=>{let s=n.hasOwnProperty(a);return n.constructor.createProperty(a,i),s?Object.getOwnPropertyDescriptor(n,a):void 0})(t,e,r)}function W(t){return y({...t,state:!0,attribute:!1})}function Nr(t){return(e,r)=>{let i=typeof e=="function"?e:e[r];Object.assign(i,t)}}var ct=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r);function M(t,e){return(r,i,n)=>{let a=s=>s.renderRoot?.querySelector(t)??null;if(e){let{get:s,set:l}=typeof i=="object"?r:n??(()=>{let d=Symbol();return{get(){return this[d]},set(f){this[d]=f}}})();return ct(r,i,{get(){let d=s.call(this);return d===void 0&&(d=a(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return ct(r,i,{get(){return a(this)}})}}var Kd;function zi(t){return(e,r)=>ct(e,r,{get(){return(this.renderRoot??(Kd??=document.createDocumentFragment())).querySelectorAll(t)}})}function Zd(t){return(e,r)=>ct(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function Wi(t){return(e,r)=>{let{slot:i,selector:n}=t??{},a="slot"+(i?`[name=${i}]`:":not([name])");return ct(e,r,{get(){let s=this.renderRoot?.querySelector(a),l=s?.assignedElements(t)??[];return n===void 0?l:l.filter(d=>d.matches(n))}})}}function Hi(t){return(e,r)=>{let{slot:i}=t??{},n="slot"+(i?`[name=${i}]`:":not([name])");return ct(e,r,{get(){return this.renderRoot?.querySelector(n)?.assignedNodes(t)??[]}})}}var ji={};se(ji,{repeat:()=>ke});var Ht={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Vt=t=>(...e)=>({_$litDirective$:t,values:e}),bt=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,r,i){this._$Ct=e,this._$AM=r,this._$Ci=i}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}};var{I:qd}=Bi;var Rs=()=>document.createComment(""),Pr=(t,e,r)=>{let i=t._$AA.parentNode,n=e===void 0?t._$AB:e._$AA;if(r===void 0){let a=i.insertBefore(Rs(),n),s=i.insertBefore(Rs(),n);r=new qd(a,s,t,t.options)}else{let a=r._$AB.nextSibling,s=r._$AM,l=s!==t;if(l){let d;r._$AQ?.(t),r._$AM=t,r._$AP!==void 0&&(d=t._$AU)!==s._$AU&&r._$AP(d)}if(a!==n||l){let d=r._$AA;for(;d!==a;){let f=d.nextSibling;i.insertBefore(d,n),d=f}}}return r},jt=(t,e,r=t)=>(t._$AI(e,r),t),Yd={},Ls=(t,e=Yd)=>t._$AH=e,ks=t=>t._$AH,Xo=t=>{t._$AP?.(!1,!0);let e=t._$AA,r=t._$AB.nextSibling;for(;e!==r;){let i=e.nextSibling;e.remove(),e=i}};var _s=(t,e,r)=>{let i=new Map;for(let n=e;n<=r;n++)i.set(t[n],n);return i},ke=Vt(class extends bt{constructor(t){if(super(t),t.type!==Ht.CHILD)throw Error("repeat() can only be used in text expressions")}dt(t,e,r){let i;r===void 0?r=e:e!==void 0&&(i=e);let n=[],a=[],s=0;for(let l of t)n[s]=i?i(l,s):s,a[s]=r(l,s),s++;return{values:a,keys:n}}render(t,e,r){return this.dt(t,e,r).values}update(t,[e,r,i]){let n=ks(t),{values:a,keys:s}=this.dt(e,r,i);if(!Array.isArray(n))return this.ut=s,a;let l=this.ut??=[],d=[],f,h,u=0,b=n.length-1,S=0,v=a.length-1;for(;u<=b&&S<=v;)if(n[u]===null)u++;else if(n[b]===null)b--;else if(l[u]===s[S])d[S]=jt(n[u],a[S]),u++,S++;else if(l[b]===s[v])d[v]=jt(n[b],a[v]),b--,v--;else if(l[u]===s[v])d[v]=jt(n[u],a[v]),Pr(t,d[v+1],n[u]),u++,v--;else if(l[b]===s[S])d[S]=jt(n[b],a[S]),Pr(t,n[u],n[b]),b--,S++;else if(f===void 0&&(f=_s(s,S,v),h=_s(l,u,b)),f.has(l[u]))if(f.has(l[b])){let E=h.get(s[S]),$=E!==void 0?n[E]:null;if($===null){let N=Pr(t,n[u]);jt(N,a[S]),d[S]=N}else d[S]=jt($,a[S]),Pr(t,n[u],$),n[E]=null;S++}else Xo(n[b]),b--;else Xo(n[u]),u++;for(;S<=v;){let E=Pr(t,d[v+1]);jt(E,a[S]),d[S++]=E}for(;u<=b;){let E=n[u++];E!==null&&Xo(E)}return this.ut=s,Ls(t,d),Te}});var Gi={};se(Gi,{classMap:()=>pe});var pe=Vt(class extends bt{constructor(t){if(super(t),t.type!==Ht.ATTRIBUTE||t.name!=="class"||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(this.st===void 0){this.st=new Set,t.strings!==void 0&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter(i=>i!=="")));for(let i in e)e[i]&&!this.nt?.has(i)&&this.st.add(i);return this.render(e)}let r=t.element.classList;for(let i of this.st)i in e||(r.remove(i),this.st.delete(i));for(let i in e){let n=!!e[i];n===this.st.has(i)||this.nt?.has(i)||(n?(r.add(i),this.st.add(i)):(r.remove(i),this.st.delete(i)))}return Te}});var Ki={};se(Ki,{styleMap:()=>Jd});var $s="important",Xd=" !"+$s,Jd=Vt(class extends bt{constructor(t){if(super(t),t.type!==Ht.ATTRIBUTE||t.name!=="style"||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce((e,r)=>{let i=t[r];return i==null?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${i};`},"")}update(t,[e]){let{style:r}=t.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(e)),this.render(e);for(let i of this.ft)e[i]==null&&(this.ft.delete(i),i.includes("-")?r.removeProperty(i):r[i]=null);for(let i in e){let n=e[i];if(n!=null){this.ft.add(i);let a=typeof n=="string"&&n.endsWith(Xd);i.includes("-")||a?r.setProperty(i,a?n.slice(0,-11):n,a?$s:""):r[i]=n}}return Te}});var qi={};se(qi,{UnsafeHTMLDirective:()=>Tr,unsafeHTML:()=>Zi});var Tr=class extends bt{constructor(e){if(super(e),this.it=U,e.type!==Ht.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===U||e==null)return this._t=void 0,this.it=e;if(e===Te)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.it)return this._t;this.it=e;let r=[e];return r.raw=r,this._t={_$litType$:this.constructor.resultType,strings:r,values:[]}}};Tr.directiveName="unsafeHTML",Tr.resultType=1;var Zi=Vt(Tr);var rn={};se(rn,{CacheRegistry:()=>xt,ClearCacheEvent:()=>mo});var Xi={};se(Xi,{CancelablePromise:()=>Ir,CanceledPromiseError:()=>ho,cancelable:()=>Yi});var ho=class extends Error{constructor(e,r,i){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=i}},Ir=class extends Promise{constructor(e){super((r,i)=>e(n=>{this.isCanceled?i(new ho("Promise has been canceled",n)):r(n)},n=>{this.isCanceled?i(new ho("Promise has been canceled",void 0,n)):i(n)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Yi=t=>new Ir((e,r)=>t.then(e).catch(r));var tn={};se(tn,{FtNotificationEvent:()=>Ji,PostResizeEvent:()=>en,PreResizeEvent:()=>Qi,WithEventBus:()=>fr,withEventBus:()=>Ns});var Ji=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},Qi=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},en=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};function Ns(t,e){return class extends t{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(r,i,n){this.eventBus.addEventListener(r,i,n)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,i,n){this.eventBus.removeEventListener(r,i,n)}}}var fr=class extends Ns(Object){};var mo=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},xt=class extends fr{constructor(){super(...arguments),this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(e,r){this.loaders[e]=r,this.finalContent.delete(e)}registerFinal(e,r){this.loaders[e]=r,this.finalContent.add(e)}clearAll(e=!0){let r=[];for(let i in this.content)this.clear(i,!1)!=null&&r.push(i);e&&r.length>0&&this.dispatchEvent(new mo(r))}clear(e,r=!0){if(!this.finalContent.has(e))return this.forceClear(e),r&&this.dispatchEvent(new mo([e])),e}forceClear(e){this.clearClearTimeout(e),this.content[e]instanceof Ir&&this.content[e].cancel(),delete this.content[e]}clearClearTimeout(e){this.clearTimeouts[e]!=null&&(window.clearTimeout(this.clearTimeouts[e]),delete this.clearTimeouts[e])}set(e,r){this.forceClear(e),this.register(e,async()=>r),this.content[e]=r}setFinal(e,r){this.forceClear(e),this.registerFinal(e,async()=>r),this.content[e]=r}async get(e,r,i){if(this.content[e]===void 0){if(r=r??this.loaders[e],r==null)throw new Error("Unknown cache key "+e);let n=Yi(r());return this.content[e]=n,n.then(a=>(this.content[e]=a,i!=null&&(this.clearClearTimeout(e),this.clearTimeouts[e]=window.setTimeout(()=>this.clear(e),i)),a))}if(this.content[e]instanceof Error)throw this.content[e];return this.content[e]}isResolvedValue(e){return e!=null&&!(e instanceof Promise)&&!(e instanceof Error)}getNow(e){if(this.isResolvedValue(this.content[e]))return this.content[e]}has(e){return this.content[e]!=null}resolvedKeys(){return Object.keys(this.content).filter(e=>this.isResolvedValue(this.content[e]))}resolvedValues(){return Object.values(this.content).filter(e=>this.isResolvedValue(e))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}};var nn={};se(nn,{ClusteringHelper:()=>on});var on=class t{constructor(e,r,i,n){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=i,this.metadataDescriptors=n}static extractResultMetadata(e){var r,i,n,a,s;let l=((a=(i=(r=e.result)===null||r===void 0?void 0:r.map)!==null&&i!==void 0?i:(n=e.result)===null||n===void 0?void 0:n.document)!==null&&a!==void 0?a:(s=e.result)===null||s===void 0?void 0:s.topic).metadata;return e.key==null?t.flattenMetadata(l,e.hierarchicalValueTruncatingLevel,e.dateFormatter):t.flattenMetadata(l.find(d=>d.key===e.key),e.hierarchicalValueTruncatingLevel,e.dateFormatter)}static flattenMetadata(e,r,i){if(Array.isArray(e))return e.map(a=>t.flattenMetadata(a,r,i)).filter(a=>a!=null);let n=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!n))if(n){let a=[],s=[];return e.hierarchicalValues.forEach(l=>{a.push(l.join(" > ")),r&&r>1&&l.length>=r?s.push(`... > ${l[l.length-1]}`):s.push(l.join(" > "))}),{key:e.key,label:e.label,value:a.join(", "),displayValue:s.join(", "),displayTooltipValue:a.join(", ")}}else{let a=e.values.join(", "),s=e.values.map(l=>i?i(l):l).join(", ");return{key:e.key,label:e.label,value:a,displayValue:s,displayTooltipValue:s}}}computeClustersItemsForMetadata(e,r,i="No value",n,a){var s,l;let d=t.extractResultMetadata({result:this.selectedResult,key:e,dateFormatter:a}),f=(s=d?.label)!==null&&s!==void 0?s:(l=this.getMetadataDescriptor(e))===null||l===void 0?void 0:l.label;return this.allResults.map(u=>t.extractResultMetadata({result:u,key:e,hierarchicalValueTruncatingLevel:n,dateFormatter:a})).map(u=>u??{key:e,label:f,value:void 0,displayValue:i}).filter(u=>u.value!=d?.value).filter((u,b,S)=>S.findIndex(v=>v.value===u.value)===b).map(u=>({result:this.findBestResultForMetadataValue(e,u.value),metadata:u})).sort((u,b)=>this.compareMetadata(u.metadata.value,b.metadata.value,e,r))}compareMetadata(e,r,i,n){if(e==null)return-1;if(r==null)return 1;let a=this.getMetadataDescriptor(i),s=a?.sortRule||"NONE",l=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=e.localeCompare(r,n,{numeric:!0});return l?d*-1:d}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(r=>e==r.key)}findBestResultForMetadataValue(e,r){let i=this.allResults.filter(d=>{var f;return((f=t.extractResultMetadata({result:d,key:e}))===null||f===void 0?void 0:f.value)==r}),a=[...t.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],s,l=-1;for(let d of i){let f=this.countMatchingMetadata(d,a);if(f>l&&(l=f,s=d,f===a.length))break}return s}countMatchingMetadata(e,r){return t.extractResultMetadata({result:e}).filter(i=>r.some(n=>n.key===i.key&&n.value===i.value)).length}};var an={};se(an,{Debouncer:()=>ce});var ce=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,r){return this.callbacks=[e],this.debounce(r)}queue(e,r){return this.callbacks.push(e),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((r,i)=>{this.resolvePromise=r,this.rejectPromise=i})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let i=[...this.callbacks];this.callbacks=[];let n=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let s of i)try{await s()}catch(l){n(l);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var cn={};se(cn,{customElement:()=>V,isNumber:()=>Ts,jsonProperty:()=>$e,optionalNumberProperty:()=>ip});var ln={};se(ln,{dateReviver:()=>ep,deepEqual:()=>Ue,delay:()=>Jo,eventPathContainsMatchingElement:()=>rp,flatDeep:()=>qe,getComposedPathTo:()=>sn,hasChanged:()=>ur,last:()=>op,minmax:()=>yo,parseDate:()=>Ps,unslotText:()=>Dr,waitFor:()=>Qo,waitUntil:()=>Qd});var Jo=t=>new Promise(e=>setTimeout(e,t));async function Qd(t,e=10,r=2e4){await Qo(async()=>await t()||void 0,e,r)}async function Qo(t,e=10,r=2e4){let i=await t(),n,a;for(n=a=performance.now();i==null&&(!r||a-n<r);)await Jo(e),i=await t(),a=performance.now();if(i==null)throw new Error("Timeout exceeded");return i}function qe(t,e){return t.flatMap(r=>[r,...qe(e(r),e)])}function ep(...t){return function(e,r){return t.includes(e)?Ps(r):r}}function Ps(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,r,i,n)=>r+i+":"+n),new Date(t)}function tp(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var r,i,n;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(i=r;i--!==0;)if(!Ue(t[i],e[i]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;for(i of t.entries())if(!Ue(i[1],e.get(i[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();let a=s=>Object.keys(s).filter(l=>s[l]!=null);if(n=a(t),r=n.length,r!==a(e).length)return!1;for(i=r;i--!==0;)if(!Object.prototype.hasOwnProperty.call(e,n[i]))return!1;for(i=r;i--!==0;){let s=n[i];if(!Ue(t[s],e[s]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function Ue(t,e){try{return tp(t,e)}catch{return!1}}function ur(t,e){return!Ue(t,e)}function rp(t,e,r=window.document.body){if(e.length>0){let i=t.composedPath();for(let n of i){if(n===r)return!1;if(n.matches&&e.some(a=>n.matches(a)))return!0}}return!1}function yo(t,e,r){return Math.min(Math.max(t,e),r)}function op(t){return t[t.length-1]}function Dr(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(e=>Dr(e)).join(""):t?.textContent||""}function sn(t){let e=[],r=i=>{i.stopPropagation(),e=i.composedPath()};return t.addEventListener("get-composed-path",r),t.dispatchEvent(new Event("get-composed-path",{composed:!0})),t.removeEventListener("get-composed-path",r),e}var V=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function $e(t,e){let r=()=>JSON.parse(JSON.stringify(t));return y({type:Object,converter:{fromAttribute:i=>{if(i==null)return r();try{return JSON.parse(i)}catch{return r()}},toAttribute:i=>JSON.stringify(i)},hasChanged:ur,...e??{}})}function ip(t){return y({type:Object,converter:{fromAttribute:e=>{if(e!=null)return Ts(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...t??{}})}function Ts(t){return!isNaN(parseFloat(t))}var Fn={};se(Fn,{designSystemVariables:()=>L});var Bn={};se(Bn,{DesignSystemFamily:()=>It,DesignSystemSize:()=>_e,FtCssVariableFactory:()=>o,badge:()=>pp,banner:()=>dp,button:()=>g,chart:()=>Rp,checkbox:()=>ap,chip:()=>ee,chipChoice:()=>lp,collapsible:()=>wp,comboboxMultiSelect:()=>Cp,comboboxSingleSelect:()=>Op,drawer:()=>gp,floatingMenu:()=>Sp,foundation:()=>c,link:()=>cp,modal:()=>yp,notice:()=>kp,notification:()=>Np,pageDesigner:()=>Lp,pageFooter:()=>hp,pageHeader:()=>up,pageLayout:()=>mp,popover:()=>Ep,radio:()=>$p,reorderableList:()=>Tp,resolveFamilyClass:()=>In,resolveSizeClass:()=>Dn,semantic:()=>p,setVariable:()=>x,switch_:()=>Ap,table:()=>sp,tabs:()=>bp,textArea:()=>vp,textInput:()=>xp,titleBreadcrumb:()=>fp,toggle:()=>_p,tooltip:()=>Pp,typographies:()=>go,typographyBody1Medium:()=>mn,typographyBody1Regular:()=>hn,typographyBody1Semibold:()=>yn,typographyBody2Medium:()=>bn,typographyBody2MediumUnderline:()=>Is,typographyBody2Regular:()=>gn,typographyBody2Semibold:()=>xn,typographyCaption1Bold:()=>Ln,typographyCaption1Medium:()=>An,typographyCaption1Semibold:()=>Rn,typographyCaption2Bold:()=>$n,typographyCaption2Medium:()=>kn,typographyCaption2Semibold:()=>_n,typographyCaption3Bold:()=>Tn,typographyCaption3Medium:()=>Nn,typographyCaption3Semibold:()=>Pn,typographyDisplay:()=>dn,typographyLabel1Bold:()=>On,typographyLabel1Medium:()=>vn,typographyLabel1Semibold:()=>Sn,typographyLabel2Bold:()=>wn,typographyLabel2Medium:()=>Cn,typographyLabel2Semibold:()=>En,typographyTitle1:()=>pn,typographyTitle2:()=>fn,typographyTitle3:()=>un,typographyVariants:()=>np});var Tt=t=>typeof t=="string"?$t(t):t,o=class{static create(e,r,i,n){let a=l=>Tt(l??n),s=_`var(${Tt(e)}, ${a(n)})`;return s.name=e,s.description=r,s.category=i,s.defaultValue=n,s.defaultCssValue=a,s.get=l=>_`var(${Tt(e)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>n,s}static extend(e,r,i,n){let a=l=>i.get(l??n),s=_`var(${Tt(e)}, ${a(n)})`;return s.name=e,s.description=r,s.category=i.category,s.fallbackVariable=i,s.defaultValue=n,s.defaultCssValue=a,s.get=l=>_`var(${Tt(e)}, ${a(l)})`,s.breadcrumb=()=>[i.name,...i.breadcrumb()],s.lastResortDefaultValue=()=>n??i.lastResortDefaultValue(),s}static external(e,r){let i=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):Tt(a??e.lastResortDefaultValue()),n=_`var(${Tt(e.name)}, ${i(e.defaultValue)})`;return n.name=e.name,n.category=e.category,n.fallbackVariable=e.fallbackVariable,n.defaultValue=e.defaultValue,n.context=r,n.defaultCssValue=i,n.get=a=>_`var(${Tt(e.name)}, ${i(a)})`,n.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],n.lastResortDefaultValue=()=>e.lastResortDefaultValue(),n}};function x(t,e){return Tt(`${t.name}: ${e}`)}var c={colorWhite:o.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ft-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:o.create("--ft-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:o.create("--ft-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:o.create("--ft-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:o.create("--ft-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:o.create("--ft-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:o.create("--ft-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:o.create("--ft-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:o.create("--ft-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:o.create("--ft-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:o.create("--ft-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:o.create("--ft-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:o.create("--ft-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:o.create("--ft-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:o.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:o.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:o.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:o.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:o.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:o.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:o.create("--ft-opacity-0","","NUMBER","0"),opacity8:o.create("--ft-opacity-8","","NUMBER","0.08"),opacity12:o.create("--ft-opacity-12","","NUMBER","0.12"),opacity16:o.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:o.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:o.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:o.create("--ft-opacity-48","","NUMBER","0.48"),opacity80:o.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:o.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:o.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:o.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:o.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:o.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:o.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:o.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:o.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:o.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},dn={fontFamily:o.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:o.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-display-textCase","","UNKNOWN","none")},pn={fontFamily:o.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:o.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},fn={fontFamily:o.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:o.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},un={fontFamily:o.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:o.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:o.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},hn={fontFamily:o.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},mn={fontFamily:o.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},yn={fontFamily:o.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},gn={fontFamily:o.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},bn={fontFamily:o.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Is={fontFamily:o.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:o.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:o.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},xn={fontFamily:o.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},vn={fontFamily:o.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Sn={fontFamily:o.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},On={fontFamily:o.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Cn={fontFamily:o.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},En={fontFamily:o.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},wn={fontFamily:o.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},An={fontFamily:o.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Rn={fontFamily:o.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Ln={fontFamily:o.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},kn={fontFamily:o.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},_n={fontFamily:o.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},$n={fontFamily:o.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Nn={fontFamily:o.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Pn={fontFamily:o.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Tn={fontFamily:o.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},go={display:dn,"title-1":pn,"title-2":fn,"title-3":un,"body-1-regular":hn,"body-1-medium":mn,"body-1-semibold":yn,"body-2-regular":gn,"body-2-medium":bn,"body-2-medium-underline":Is,"body-2-semibold":xn,"label-1-medium":vn,"label-1-semibold":Sn,"label-1-bold":On,"label-2-medium":Cn,"label-2-semibold":En,"label-2-bold":wn,"caption-1-medium":An,"caption-1-semibold":Rn,"caption-1-bold":Ln,"caption-2-medium":kn,"caption-2-semibold":_n,"caption-2-bold":$n,"caption-3-medium":Nn,"caption-3-semibold":Pn,"caption-3-bold":Tn},np=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"];var p={backgroundActionPrimary:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
5
|
-
Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",c.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",c.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:o.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)};var g={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",c.spacing4),largeGap:o.extend("--ft-button-large-gap","",c.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",c.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",c.iconSize3),largeBorderWidth:o.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ft-button-medium-horizontal-padding","",c.spacing3),mediumGap:o.extend("--ft-button-medium-gap","",c.spacing2),mediumBorderRadius:o.extend("--ft-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:o.extend("--ft-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:o.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-button-small-horizontal-padding","",c.spacing2),smallGap:o.extend("--ft-button-small-gap","",c.spacing1),smallBorderRadius:o.extend("--ft-button-small-border-radius","",c.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",c.iconSize1),smallBorderWidth:o.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ft-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:o.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ft-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:o.extend("--ft-button-primary-brand-background-color","",p.backgroundActionPrimary),primaryBrandColor:o.extend("--ft-button-primary-brand-color","",p.contentGlobalOnColor),primaryBrandIconColor:o.extend("--ft-button-primary-brand-icon-color","",p.contentGlobalOnColor),primaryBrandStateLayerColor:o.extend("--ft-button-primary-brand-state-layer-color","",p.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:o.extend("--ft-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:o.extend("--ft-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:o.extend("--ft-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:o.extend("--ft-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",p.borderActionFocusRing),tertiaryBrandBackgroundColor:o.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:o.extend("--ft-button-tertiary-brand-color","",p.contentActionPrimary),tertiaryBrandIconColor:o.extend("--ft-button-tertiary-brand-icon-color","",p.contentActionPrimary),tertiaryBrandStateLayerColor:o.extend("--ft-button-tertiary-brand-state-layer-color","",p.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:o.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:o.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:o.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:o.extend("--ft-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:o.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:o.extend("--ft-button-tertiary-info-color","",p.contentInfoPrimary),tertiaryInfoIconColor:o.extend("--ft-button-tertiary-info-icon-color","",p.contentInfoPrimary),tertiaryInfoStateLayerColor:o.extend("--ft-button-tertiary-info-state-layer-color","",p.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:o.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:o.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:o.extend("--ft-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:o.extend("--ft-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:o.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:o.extend("--ft-button-tertiary-success-color","",p.contentSuccessPrimary),tertiarySuccessIconColor:o.extend("--ft-button-tertiary-success-icon-color","",p.contentSuccessPrimary),tertiarySuccessStateLayerColor:o.extend("--ft-button-tertiary-success-state-layer-color","",p.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:o.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:o.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:o.extend("--ft-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:o.extend("--ft-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:o.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:o.extend("--ft-button-tertiary-warning-color","",p.contentWarningPrimary),tertiaryWarningIconColor:o.extend("--ft-button-tertiary-warning-icon-color","",p.contentWarningPrimary),tertiaryWarningStateLayerColor:o.extend("--ft-button-tertiary-warning-state-layer-color","",p.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:o.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:o.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:o.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:o.extend("--ft-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:o.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:o.extend("--ft-button-tertiary-error-color","",p.contentErrorPrimary),tertiaryErrorIconColor:o.extend("--ft-button-tertiary-error-icon-color","",p.contentErrorPrimary),tertiaryErrorStateLayerColor:o.extend("--ft-button-tertiary-error-state-layer-color","",p.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:o.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:o.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:o.extend("--ft-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:o.extend("--ft-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:o.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:o.extend("--ft-button-tertiary-neutral-icon-color","",p.contentGlobalSecondary),tertiaryNeutralColor:o.extend("--ft-button-tertiary-neutral-color","",p.contentGlobalSecondary),tertiaryNeutralStateLayerColor:o.extend("--ft-button-tertiary-neutral-state-layer-color","",p.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:o.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:o.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:o.extend("--ft-button-secondary-brand-color","",p.contentActionPrimary),secondaryBrandIconColor:o.extend("--ft-button-secondary-brand-icon-color","",p.contentActionPrimary),secondaryBrandStateLayerColor:o.extend("--ft-button-secondary-brand-state-layer-color","",p.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:o.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:o.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:o.extend("--ft-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:o.extend("--ft-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:o.extend("--ft-button-secondary-brand-border-color","",p.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:o.extend("--ft-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:o.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:o.extend("--ft-button-secondary-neutral-color","",p.contentGlobalSecondary),secondaryNeutralIconColor:o.extend("--ft-button-secondary-neutral-icon-color","",p.contentGlobalSecondary),secondaryNeutralStateLayerColor:o.extend("--ft-button-secondary-neutral-state-layer-color","",p.contentGlobalSecondary),secondaryNeutralBorderColor:o.extend("--ft-button-secondary-neutral-border-color","",p.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:o.extend("--ft-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:o.extend("--ft-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:o.extend("--ft-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:o.extend("--ft-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:o.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:o.extend("--ft-button-secondary-info-border-color","",p.borderInfoPrimary),secondaryInfoColor:o.extend("--ft-button-secondary-info-color","",p.contentInfoPrimary),secondaryInfoIconColor:o.extend("--ft-button-secondary-info-icon-color","",p.contentInfoPrimary),secondaryInfoStateLayerColor:o.extend("--ft-button-secondary-info-state-layer-color","",p.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:o.extend("--ft-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:o.extend("--ft-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:o.extend("--ft-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:o.extend("--ft-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:o.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:o.extend("--ft-button-secondary-success-border-color","",p.borderSuccessPrimary),secondarySuccessColor:o.extend("--ft-button-secondary-success-color","",p.contentSuccessPrimary),secondarySuccessIconColor:o.extend("--ft-button-secondary-success-icon-color","",p.contentSuccessPrimary),secondarySuccessStateLayerColor:o.extend("--ft-button-secondary-success-state-layer-color","",p.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:o.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:o.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:o.extend("--ft-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:o.extend("--ft-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:o.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:o.extend("--ft-button-secondary-warning-border-color","",p.borderWarningPrimary),secondaryWarningColor:o.extend("--ft-button-secondary-warning-color","",p.contentWarningPrimary),secondaryWarningIconColor:o.extend("--ft-button-secondary-warning-icon-color","",p.contentWarningPrimary),secondaryWarningStateLayerColor:o.extend("--ft-button-secondary-warning-state-layer-color","",p.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:o.extend("--ft-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:o.extend("--ft-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:o.extend("--ft-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:o.extend("--ft-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:o.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:o.extend("--ft-button-secondary-error-border-color","",p.contentErrorPrimary),secondaryErrorColor:o.extend("--ft-button-secondary-error-color","",p.contentErrorPrimary),secondaryErrorIconColor:o.extend("--ft-button-secondary-error-icon-color","",p.contentErrorPrimary),secondaryErrorStateLayerColor:o.extend("--ft-button-secondary-error-state-layer-color","",p.contentErrorPrimary)};var ap={iconSize:o.extend("--ft-checkbox-icon-size","",c.iconSize2),boxSize:o.create("--ft-checkbox-box-size","","SIZE","18px"),colorLegendSize:o.create("--ft-checkbox-color-legend-size","","SIZE","16px"),borderRadius:o.create("--ft-checkbox-border-radius","","SIZE","1px"),color:o.extend("--ft-checkbox-color","",p.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ft-checkbox-checked-background-color","",p.contentActionPrimary),checkedStateLayerColor:o.extend("--ft-checkbox-checked-state-layer-color","",p.contentActionPrimary),checkedIconColor:o.extend("--ft-checkbox-checked-icon-color","",p.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ft-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:o.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),borderWidth:o.create("--ft-checkbox-border-width","","SIZE","2px"),horizontalGap:o.extend("--ft-checkbox-horizontal-gap","",c.spacing3),leftPadding:o.extend("--ft-checkbox-left-padding","",c.spacing2)};var sp={headerRowBorderWidth:o.create("--ft-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:o.extend("--ft-table-header-row-background-color","",p.backgroundGlobalOnSurfaceDark),headerRowBorderColor:o.extend("--ft-table-header-row-border-color","",p.borderGlobalPrimary),headerRowColor:o.extend("--ft-table-header-row-color","",p.contentGlobalPrimary),dataRowBorderWidth:o.create("--ft-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:o.extend("--ft-table-data-row-background-color","",p.backgroundGlobalOnSurface),dataRowBorderColor:o.extend("--ft-table-data-row-border-color","",p.borderGlobalSubtle),dataRowColor:o.extend("--ft-table-data-row-color","",p.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:o.extend("--ft-table-data-row-default-hover-background-color","",c.colorGray20),dataRowDefaultHoverStateLayerOpacity:o.extend("--ft-table-data-row-default-hover-state-layer-opacity","",c.opacity8),dataRowSelectableUnselectedHoverBackgroundColor:o.extend("--ft-table-data-row-selectable-unselected-hover-background-color","",c.colorGray20),dataRowSelectableUnselectedHoverStateLayerOpacity:o.extend("--ft-table-data-row-selectable-unselected-hover-state-layer-opacity","",c.opacity8),dataRowSelectableSelectedDefaultStateLayerOpacity:o.extend("--ft-table-data-row-selectable-selected-default-state-layer-opacity","",c.opacity8),dataRowSelectableSelectedDefaultBackgroundColor:o.extend("--ft-table-data-row-selectable-selected-default-background-color","",c.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:o.extend("--ft-table-data-row-selectable-selected-default-border-color","",c.colorBrand20),dataRowSelectableSelectedHoverStateLayerOpacity:o.extend("--ft-table-data-row-selectable-selected-hover-state-layer-opacity","",c.opacity16),dataRowSelectableSelectedHoverBackgroundColor:o.extend("--ft-table-data-row-selectable-selected-hover-background-color","",c.colorBrand20),dataRowSelectableSelectedHoverBorderColor:o.extend("--ft-table-data-row-selectable-selected-hover-border-color","",c.colorBrand30),dataRowSelectableSelectedColor:o.extend("--ft-table-data-row-selectable-selected-color","",p.contentActionPrimary),dataRowClickableHoverStateLayerOpacity:o.extend("--ft-table-data-row-clickable-hover-state-layer-opacity","",c.opacity12),dataRowClickableHoverBackgroundColor:o.extend("--ft-table-data-row-clickable-hover-background-color","",c.colorGray30),dataRowClickableFocusStateLayerOpacity:o.extend("--ft-table-data-row-clickable-focus-state-layer-opacity","",c.opacity12),dataRowClickableFocusBorderColor:o.extend("--ft-table-data-row-clickable-focus-border-color","",p.borderActionFocusRing),dataRowClickableFocusBackgroundColor:o.extend("--ft-table-data-row-clickable-focus-background-color","",c.colorGray30),dataRowClickableActiveStateLayerOpacity:o.extend("--ft-table-data-row-clickable-active-state-layer-opacity","",c.opacity24),dataRowClickableActiveBackgroundColor:o.extend("--ft-table-data-row-clickable-active-background-color","",c.colorGray40),headerCellHorizontalGap:o.extend("--ft-table-header-cell-horizontal-gap","",c.spacing1),headerCellVerticalPadding:o.extend("--ft-table-header-cell-vertical-padding","",c.spacing2),headerCellHorizontalPadding:o.extend("--ft-table-header-cell-horizontal-padding","",c.spacing3),dataCellVerticalPadding:o.extend("--ft-table-data-cell-vertical-padding","",c.spacing2),dataCellHorizontalPadding:o.extend("--ft-table-data-cell-horizontal-padding","",c.spacing3)};var lp={neutralOffHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",p.borderActionFocusRing),neutralOffActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:o.extend("--ft-chip-choice-neutral-off-background-color","",p.backgroundGlobalOnSurface),neutralOffBorderColor:o.extend("--ft-chip-choice-neutral-off-border-color","",p.borderGlobalPrimary),neutralOffColor:o.extend("--ft-chip-choice-neutral-off-color","",p.contentGlobalSecondary),neutralOffStateLayerColor:o.extend("--ft-chip-choice-neutral-off-state-layer-color","",p.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",p.borderActionFocusRing),neutralOnActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:o.extend("--ft-chip-choice-neutral-on-background-color","",p.backgroundGlobalOnSurface),neutralOnBorderColor:o.extend("--ft-chip-choice-neutral-on-border-color","",p.borderGlobalPrimary),neutralOnColor:o.extend("--ft-chip-choice-neutral-on-color","",p.contentGlobalPrimary),neutralOnIconColor:o.extend("--ft-chip-choice-neutral-on-icon-color","",p.contentGlobalPrimary),neutralOnStateLayerColor:o.extend("--ft-chip-choice-neutral-on-state-layer-color","",p.contentGlobalPrimary),largeMinHeight:o.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:o.extend("--ft-chip-choice-large-gap","",c.spacing1),largeBorderRadius:o.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:o.extend("--ft-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:o.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-choice-medium-icon-size","",c.iconSize2)};var ee={largeMinHeight:o.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:o.extend("--ft-chip-large-button-right-padding","",c.spacing1),largeGap:o.extend("--ft-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:o.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:o.extend("--ft-chip-medium-button-right-padding","",c.spacing05),mediumGap:o.extend("--ft-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:o.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-medium-icon-size","",c.iconSize2),smallMinHeight:o.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:o.extend("--ft-chip-small-button-right-padding","",c.spacing05),smallGap:o.extend("--ft-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:o.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:o.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ft-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:o.extend("--ft-chip-neutral-background-color","",p.backgroundGlobalOnSurface),neutralColor:o.extend("--ft-chip-neutral-color","",p.contentGlobalSecondary),neutralIconColor:o.extend("--ft-chip-neutral-icon-color","",p.contentGlobalSecondary),neutralBorderColor:o.extend("--ft-chip-neutral-border-color","",p.borderGlobalSubtle),infoBackgroundColor:o.extend("--ft-chip-info-background-color","",p.backgroundInfoSubtle),infoColor:o.extend("--ft-chip-info-color","",p.contentInfoPrimary),infoIconColor:o.extend("--ft-chip-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:o.extend("--ft-chip-info-border-color","",p.borderInfoSubtle),successBackgroundColor:o.extend("--ft-chip-success-background-color","",p.backgroundSuccessSubtle),successColor:o.extend("--ft-chip-success-color","",p.contentSuccessPrimary),successIconColor:o.extend("--ft-chip-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:o.extend("--ft-chip-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-chip-warning-background-color","",p.backgroundWarningSubtle),warningColor:o.extend("--ft-chip-warning-color","",p.contentWarningPrimary),warningIconColor:o.extend("--ft-chip-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:o.extend("--ft-chip-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-chip-error-background-color","",p.backgroundErrorSubtle),errorColor:o.extend("--ft-chip-error-color","",p.contentErrorPrimary),errorIconColor:o.extend("--ft-chip-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:o.extend("--ft-chip-error-border-color","",p.borderErrorSubtle)};var cp={brandHoverOpacity:o.extend("--ft-link-brand-hover-opacity","",c.opacity80),brandHoverColor:o.extend("--ft-link-brand-hover-color","",p.contentActionPrimary),brandFocusFocusRingColor:o.extend("--ft-link-brand-focus-focus-ring-color","",p.borderActionFocusRing),brandFocusColor:o.extend("--ft-link-brand-focus-color","",p.contentActionPrimary),brandDefaultColor:o.extend("--ft-link-brand-default-color","",p.contentActionPrimary),brandActiveColor:o.extend("--ft-link-brand-active-color","",p.contentActionPrimary),infoHoverOpacity:o.extend("--ft-link-info-hover-opacity","",c.opacity80),infoHoverColor:o.extend("--ft-link-info-hover-color","",p.contentInfoPrimary),infoFocusFocusRingColor:o.extend("--ft-link-info-focus-focus-ring-color","",p.borderActionFocusRing),infoFocusColor:o.extend("--ft-link-info-focus-color","",p.contentInfoPrimary),infoDefaultColor:o.extend("--ft-link-info-default-color","",p.contentInfoPrimary),infoActiveColor:o.extend("--ft-link-info-active-color","",p.contentInfoPrimary),neutralFocusFocusRingColor:o.extend("--ft-link-neutral-focus-focus-ring-color","",p.borderActionFocusRing),neutralFocusColor:o.extend("--ft-link-neutral-focus-color","",p.contentActionPrimary),neutralDefaultColor:o.extend("--ft-link-neutral-default-color","",p.contentGlobalPrimary),neutralHoverColor:o.extend("--ft-link-neutral-hover-color","",p.contentActionPrimary),neutralActiveColor:o.extend("--ft-link-neutral-active-color","",p.contentActionPrimary),neutralVisitedColor:o.extend("--ft-link-neutral-visited-color","",c.colorBrand100)};var dp={iconSize:o.extend("--ft-banner-icon-size","",c.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",c.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",c.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",c.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:o.extend("--ft-banner-info-background-color","",p.backgroundInfoSubtle),infoColor:o.extend("--ft-banner-info-color","",p.contentInfoPrimary),infoIconColor:o.extend("--ft-banner-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:o.extend("--ft-banner-info-border-color","",p.borderInfoSubtle)};var pp={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",c.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",c.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",c.borderRadiusPill),color:o.extend("--ft-badge-color","",p.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",p.contentActionPrimary)};var fp={horizontalGap:o.extend("--ft-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:o.extend("--ft-title-breadcrumb-current-color","",p.contentGlobalPrimary),previousNonClickableColor:o.extend("--ft-title-breadcrumb-previous-non-clickable-color","",p.contentGlobalSecondary),iconColor:o.extend("--ft-title-breadcrumb-icon-color","",p.contentGlobalSubtle)};var up={parentHorizontalPadding:o.extend("--ft-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:o.extend("--ft-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:o.extend("--ft-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:o.extend("--ft-page-header-parent-help-left-margin","",c.spacing1),parentTitleColor:o.extend("--ft-page-header-parent-title-color","",p.contentGlobalPrimary),parentSubtitleColor:o.extend("--ft-page-header-parent-subtitle-color","",p.contentGlobalSecondary),parentChipLeftMargin:o.extend("--ft-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:o.extend("--ft-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:o.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:o.extend("--ft-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:o.extend("--ft-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:o.extend("--ft-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:o.extend("--ft-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:o.extend("--ft-page-header-child-top-padding","",c.spacing2),childBottomPadding:o.extend("--ft-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:o.extend("--ft-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:o.extend("--ft-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:o.extend("--ft-page-header-child-vertical-gap","",c.spacing2),childMinHeight:o.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:o.extend("--ft-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:o.extend("--ft-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:o.extend("--ft-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:o.extend("--ft-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",c.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",p.borderGlobalSubtle),bottomBorderWidth:o.create("--ft-page-header-bottom-border-width","","SIZE","1px")};var hp={horizontalPadding:o.extend("--ft-page-footer-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ft-page-footer-vertical-padding","",c.spacing2),verticalGap:o.extend("--ft-page-footer-vertical-gap","",c.spacing2),minHeight:o.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:o.extend("--ft-page-footer-background-color","",c.colorWhite),topBorderColor:o.extend("--ft-page-footer-top-border-color","",p.borderGlobalSubtle),topBorderWidth:o.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:o.extend("--ft-page-footer-buttons-group-gap","",c.spacing4)};var mp={contentHorizontalPadding:o.extend("--ft-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:o.extend("--ft-page-layout-content-vertical-padding","",c.spacing6)};var yp={smallContainerTargetWidth:o.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:o.extend("--ft-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:o.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:o.extend("--ft-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:o.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:o.extend("--ft-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:o.extend("--ft-modal-overlay-background-color","",c.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",c.opacity40),shadow:o.extend("--ft-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",c.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",c.spacing6),headerBackgroundColor:o.extend("--ft-modal-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-modal-header-border-color","",p.borderGlobalSubtle),headerColor:o.extend("--ft-modal-header-color","",p.contentGlobalPrimary),headerLeadingIconColor:o.extend("--ft-modal-header-leading-icon-color","",p.contentGlobalPrimary),headerVerticalPadding:o.extend("--ft-modal-header-vertical-padding","",c.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",c.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",c.spacing6),headerGap:o.extend("--ft-modal-header-gap","",c.spacing2),headerBorderBottomWidth:o.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",c.borderRadiusM)};var gp={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",c.opacity40),shadow:o.extend("--ft-drawer-shadow","",c.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",c.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",c.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:o.extend("--ft-drawer-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-drawer-header-border-color","",p.borderGlobalSubtle),headerColor:o.extend("--ft-drawer-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-drawer-header-trailing-icon-color","",p.contentGlobalSecondary),headerHeight:o.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ft-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:o.extend("--ft-drawer-buttons-bar-background-color","",p.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ft-drawer-buttons-bar-border-color","",p.borderGlobalSubtle),buttonsBarColor:o.extend("--ft-drawer-buttons-bar-color","",p.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ft-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:o.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ft-drawer-overlay-background-color","",c.colorGray700)};var bp={offBorderBottomWidth:o.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:o.extend("--ft-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ft-tabs-off-color","",p.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-tabs-off-state-layer-color","",p.contentGlobalSubtle),offBorderBottomColor:o.extend("--ft-tabs-off-border-bottom-color","",p.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ft-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:o.extend("--ft-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:o.extend("--ft-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:o.extend("--ft-tabs-horizontal-gap","",c.spacing1),verticalGap:o.extend("--ft-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:o.extend("--ft-tabs-on-color","",p.contentActionPrimary),onStateLayerColor:o.extend("--ft-tabs-on-state-layer-color","",p.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ft-tabs-on-active-tab-indicator-color","",p.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ft-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",c.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",p.borderActionFocusRing)};var xp={fieldHorizontalPadding:o.extend("--ft-text-input-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ft-text-input-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ft-text-input-field-vertical-gap","",c.spacing05),fieldIconSize:o.extend("--ft-text-input-field-icon-size","",c.iconSize3),fieldHeight:o.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",c.borderRadiusM),backgroundColor:o.extend("--ft-text-input-background-color","",c.colorWhite),contentValueColor:o.extend("--ft-text-input-content-value-color","",p.contentGlobalPrimary),trailingIconColor:o.extend("--ft-text-input-trailing-icon-color","",p.contentGlobalSubtle),labelColor:o.extend("--ft-text-input-label-color","",p.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-input-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-input-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-input-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-input-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-input-error-helper-icon-color","",p.contentErrorIconOnly),warningBorderWidth:o.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-text-input-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:o.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-input-disabled-component-opacity","",c.opacity40)};var vp={backgroundColor:o.extend("--ft-text-area-background-color","",c.colorWhite),contentValueColor:o.extend("--ft-text-area-content-value-color","",p.contentGlobalPrimary),labelColor:o.extend("--ft-text-area-label-color","",p.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-area-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-area-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-area-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-area-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-area-error-helper-icon-color","",p.contentErrorIconOnly),focusFocusRingColor:o.extend("--ft-text-area-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:o.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",c.borderRadiusM)};var Sp={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",c.spacing4),offIconColor:o.extend("--ft-floating-menu-off-icon-color","",p.contentGlobalPrimary),offColor:o.extend("--ft-floating-menu-off-color","",p.contentGlobalPrimary),onColor:o.extend("--ft-floating-menu-on-color","",p.contentActionPrimary),onStateLayerColor:o.extend("--ft-floating-menu-on-state-layer-color","",p.contentActionPrimary),gap:o.extend("--ft-floating-menu-gap","",c.spacing3),focusFocusRingColor:o.extend("--ft-floating-menu-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:o.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ft-floating-menu-focus-state-layer-opacity","",c.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",c.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",p.backgroundGlobalOnSurface),shadow:o.extend("--ft-floating-menu-shadow","",c.shadowElevation02)};var Op={fieldHorizontalPadding:o.extend("--ft-combobox-single-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-single-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ft-combobox-single-select-field-vertical-gap","",c.spacing05),fieldIconSize:o.extend("--ft-combobox-single-select-field-icon-size","",c.iconSize3),fieldHeight:o.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",c.borderRadiusM),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",c.colorWhite),labelColor:o.extend("--ft-combobox-single-select-label-color","",p.contentGlobalSubtle),contentValueColor:o.extend("--ft-combobox-single-select-content-value-color","",p.contentGlobalPrimary),trailingIconColor:o.extend("--ft-combobox-single-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-single-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-single-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-combobox-single-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-single-select-error-helper-text-color","",p.contentErrorPrimary),warningBorderWidth:o.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-single-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-single-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-single-select-warning-helper-icon-color","",p.contentWarningIconOnly),focusOutlineWidth:o.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-single-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:o.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-single-select-disabled-component-opacity","",c.opacity40)};var Cp={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",c.colorWhite),labelColor:o.extend("--ft-combobox-multi-select-label-color","",p.contentGlobalSubtle),trailingIconColor:o.extend("--ft-combobox-multi-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-multi-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-multi-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ft-combobox-multi-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-multi-select-error-helper-text-color","",p.contentErrorPrimary),errorHelperIcon:o.extend("--ft-combobox-multi-select-error-helper-icon","",p.contentErrorIconOnly),errorBorderWidth:o.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-multi-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-multi-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-multi-select-warning-helper-icon-color","",p.contentWarningIconOnly),warningBorderWidth:o.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-multi-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:o.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-multi-select-disabled-component-opacity","",c.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",c.borderRadiusM)};var Ep={backgroundColor:o.extend("--ft-popover-background-color","",p.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",c.spacing6),titleColor:o.extend("--ft-popover-title-color","",p.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",p.contentGlobalSecondary),linkColor:o.extend("--ft-popover-link-color","",p.contentActionPrimary),gap:o.extend("--ft-popover-gap","",c.spacing3),borderRadius:o.extend("--ft-popover-border-radius","",c.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",c.shadowElevation02),maxWidth:o.create("--ft-popover-max-width","","SIZE","440px")};var wp={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:o.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ft-collapsible-focus-focus-ring-color","",p.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ft-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",c.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",c.spacing3),color:o.extend("--ft-collapsible-color","",p.contentGlobalPrimary),stateLayerColor:o.extend("--ft-collapsible-state-layer-color","",p.contentGlobalPrimary),backgroundColor:o.extend("--ft-collapsible-background-color","",p.backgroundGlobalOnSurface),borderColor:o.extend("--ft-collapsible-border-color","",p.borderGlobalSubtle),iconSize:o.extend("--ft-collapsible-icon-size","",c.iconSize3)};var Ap={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",c.spacing1),groupGap:o.extend("--ft-switch-group-gap","",c.spacing1),groupBackgroundColor:o.extend("--ft-switch-group-background-color","",p.backgroundGlobalSurface),groupBorderColor:o.extend("--ft-switch-group-border-color","",p.borderGlobalSubtle),groupBorderRadius:o.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ft-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ft-switch-off-color","",p.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",c.opacity40),onColor:o.extend("--ft-switch-on-color","",p.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",p.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:o.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-switch-focus-focus-ring-color","",p.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",c.borderRadiusS)};var Rp={color1Light:o.extend("--ft-chart-1-light","for area color charts",c.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",c.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",c.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",c.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",c.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",c.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",c.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",c.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",c.colorRed40),color5Base:o.extend("--ft-chart-5-base","",c.colorRed60),color6Light:o.extend("--ft-chart-6-light","",c.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",c.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",c.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",c.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",c.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",c.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",c.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",c.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",c.colorGray50),color10Base:o.extend("--ft-chart-10-base","",c.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",c.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",c.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",c.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",c.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",c.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:o.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:o.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:o.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)};var Lp={color1IconColor:o.extend("--ft-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:o.extend("--ft-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:o.extend("--ft-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:o.extend("--ft-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:o.extend("--ft-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:o.extend("--ft-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:o.extend("--ft-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:o.extend("--ft-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:o.extend("--ft-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:o.extend("--ft-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:o.extend("--ft-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:o.extend("--ft-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:o.extend("--ft-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:o.extend("--ft-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:o.extend("--ft-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:o.extend("--ft-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)};var kp={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",c.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",c.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",c.borderRadiusS),gap:o.extend("--ft-notice-gap","",c.spacing2),iconSize:o.extend("--ft-notice-icon-size","",c.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",p.backgroundInfoSubtle),infoBorderColor:o.extend("--ft-notice-info-border-color","",p.borderInfoSubtle),infoColor:o.extend("--ft-notice-info-color","",p.contentInfoPrimary),infoIconColor:o.extend("--ft-notice-info-icon-color","",p.contentInfoIconOnly),warningBackgroundColor:o.extend("--ft-notice-warning-background-color","",p.backgroundWarningSubtle),warningBorderColor:o.extend("--ft-notice-warning-border-color","",p.borderWarningSubtle),warningColor:o.extend("--ft-notice-warning-color","",p.contentWarningPrimary),warningIconColor:o.extend("--ft-notice-warning-icon-color","",p.contentWarningIconOnly),errorBackgroundColor:o.extend("--ft-notice-error-background-color","",p.backgroundErrorSubtle),errorBorderColor:o.extend("--ft-notice-error-border-color","",p.borderErrorSubtle),errorColor:o.extend("--ft-notice-error-color","",p.contentErrorPrimary),errorIconColor:o.extend("--ft-notice-error-icon-color","",p.contentErrorIconOnly),successBackgroundColor:o.extend("--ft-notice-success-background-color","",p.backgroundSuccessSubtle),successBorderColor:o.extend("--ft-notice-success-border-color","",p.borderSuccessSubtle),successColor:o.extend("--ft-notice-success-color","",p.contentSuccessPrimary),successIconColor:o.extend("--ft-notice-success-icon-color","",p.contentSuccessIconOnly),denseHorizontalPadding:o.create("--ft-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:o.create("--ft-notice-dense-vertical-padding","","SIZE","0px"),denseGap:o.extend("--ft-notice-dense-gap","",c.spacing1),denseIconSize:o.extend("--ft-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:o.create("--ft-notice-dense-border-width","","SIZE","0")};var _p={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:o.extend("--ft-toggle-off-background-color","",p.contentGlobalSubtle),offIconColor:o.extend("--ft-toggle-off-icon-color","",p.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-toggle-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:o.extend("--ft-toggle-on-background-color","",p.contentActionPrimary),onStateLayerColor:o.extend("--ft-toggle-on-state-layer-color","",p.contentActionPrimary),onIconColor:o.extend("--ft-toggle-on-icon-color","",p.contentActionPrimary),color:o.extend("--ft-toggle-color","",p.contentGlobalPrimary),focusFocusRingColor:o.extend("--ft-toggle-focus-focus-ring-color","",p.borderActionFocusRing),gap:o.extend("--ft-toggle-gap","",c.spacing3)};var $p={color:o.extend("--ft-radio-color","",p.contentGlobalPrimary),selectedRadioColor:o.extend("--ft-radio-selected-radio-color","",p.contentActionPrimary),selectedStateLayerColor:o.extend("--ft-radio-selected-state-layer-color","",p.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ft-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:o.extend("--ft-radio-unselected-state-layer-color","",p.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",p.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ft-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ft-radio-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:o.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-radio-gap","",c.spacing3)};var Np={iconSize:o.extend("--ft-notification-icon-size","",c.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",c.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",c.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",c.spacing3),infoBackgroundColor:o.extend("--ft-notification-info-background-color","",p.backgroundInfoSubtle),infoColor:o.extend("--ft-notification-info-color","",p.contentInfoPrimary),infoIconColor:o.extend("--ft-notification-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:o.extend("--ft-notification-info-border-color","",p.borderInfoSubtle),successBackgroundColor:o.extend("--ft-notification-success-background-color","",p.backgroundSuccessSubtle),successColor:o.extend("--ft-notification-success-color","",p.contentSuccessPrimary),successIconColor:o.extend("--ft-notification-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:o.extend("--ft-notification-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-notification-warning-background-color","",p.backgroundWarningSubtle),warningColor:o.extend("--ft-notification-warning-color","",p.contentWarningPrimary),warningIconColor:o.extend("--ft-notification-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:o.extend("--ft-notification-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-notification-error-background-color","",p.backgroundErrorSubtle),errorColor:o.extend("--ft-notification-error-color","",p.contentErrorPrimary),errorIconColor:o.extend("--ft-notification-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:o.extend("--ft-notification-error-border-color","",p.borderErrorSubtle),borderRadius:o.extend("--ft-notification-border-radius","",c.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",c.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",c.spacing8)};var Pp={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",c.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",c.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",c.borderRadiusS),color:o.extend("--ft-tooltip-color","",p.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",p.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",c.opacity80),shadow:o.extend("--ft-tooltip-shadow","",c.shadowElevation02),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",c.spacing05)};var Tp={verticalPadding:o.extend("--ft-reorderable-list-vertical-padding","",c.spacing4),gap:o.extend("--ft-reorderable-list-gap","",c.spacing1),borderRadius:o.extend("--ft-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:o.extend("--ft-reorderable-list-reorderable-item-title-margin-right","",c.spacing6),reorderableItemTitleColor:o.extend("--ft-reorderable-list-reorderable-item-title-color","",p.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:o.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-margin-right","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:o.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:o.extend("--ft-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.spacing2),reorderableItemUsersCountColor:o.extend("--ft-reorderable-list-reorderable-item-users-count-color","",p.contentGlobalPrimary),reorderableItemUsersCountMarginRight:o.extend("--ft-reorderable-list-reorderable-item-users-count-margin-right","",c.spacing6),reorderableItemBackgroundColor:o.extend("--ft-reorderable-list-reorderable-item-background-color","",p.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:o.extend("--ft-reorderable-list-reorderable-item-warning-message-gap","",c.spacing1),reorderableItemWarningMessageColor:o.extend("--ft-reorderable-list-reorderable-item-warning-message-color","",p.contentWarningPrimary),reorderableItemWarningMessageIconColor:o.extend("--ft-reorderable-list-reorderable-item-warning-message-icon-color","",p.contentWarningIconOnly),reorderableItemGripColor:o.extend("--ft-reorderable-list-reorderable-item-grip-color","",p.contentGlobalSecondary),reorderableItemGripOpacity:o.extend("--ft-reorderable-list-reorderable-item-grip-opacity","",c.opacity48),boxShadow:o.extend("--ft-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:o.create("--ft-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:o.extend("--ft-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:o.extend("--ft-reorderable-list-left-padding","",c.spacing2),rightPadding:o.extend("--ft-reorderable-list-right-padding","",c.spacing6),borderColor:o.extend("--ft-reorderable-list-border-color","",p.borderGlobalPrimary),backgroundColor:o.extend("--ft-reorderable-list-background-color","",p.backgroundGlobalOnSurfaceDark)};var It;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(It||(It={}));var _e;(function(t){t.large="large",t.medium="medium",t.small="small"})(_e||(_e={}));function In(t){return`ftds--family-${t}`}function Dn(t){return`ftds--size-${t}`}var L={colorPrimary:o.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:o.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:o.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:o.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:o.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:o.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:o.create("--ft-color-error","","COLOR","#B00020"),colorOutline:o.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:o.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:o.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:o.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:o.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:o.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:o.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:o.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:o.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:o.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:o.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:o.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:o.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:o.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:o.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:o.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:o.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:o.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:o.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:o.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:o.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:o.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:o.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:o.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:o.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:o.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:o.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:o.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:o.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:o.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:o.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:o.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:o.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:o.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:o.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:o.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:o.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:o.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:o.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:o.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:o.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:o.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:o.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:o.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:o.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:o.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:o.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:o.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:o.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:o.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:o.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:o.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:o.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var ra={};se(ra,{computeFlipOffsetPosition:()=>ta,computeOffsetPosition:()=>ea});var Bs=["top","right","bottom","left"],Ds=["start","end"],Mn=Bs.reduce((t,e)=>t.concat(e,e+"-"+Ds[0],e+"-"+Ds[1]),[]),ei=Math.min,Gt=Math.max;var Ip={left:"right",right:"left",bottom:"top",top:"bottom"},Dp={start:"end",end:"start"};function Un(t,e,r){return Gt(t,ei(e,r))}function hr(t,e){return typeof t=="function"?t(e):t}function dt(t){return t.split("-")[0]}function pt(t){return t.split("-")[1]}function zn(t){return t==="x"?"y":"x"}function Wn(t){return t==="y"?"height":"width"}function vt(t){return["top","bottom"].includes(dt(t))?"y":"x"}function Hn(t){return zn(vt(t))}function Vn(t,e,r){r===void 0&&(r=!1);let i=pt(t),n=Hn(t),a=Wn(n),s=n==="x"?i===(r?"end":"start")?"right":"left":i==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=xo(s)),[s,xo(s)]}function Fs(t){let e=xo(t);return[bo(t),e,bo(e)]}function bo(t){return t.replace(/start|end/g,e=>Dp[e])}function Bp(t,e,r){let i=["left","right"],n=["right","left"],a=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return r?e?n:i:e?i:n;case"left":case"right":return e?a:s;default:return[]}}function Ms(t,e,r,i){let n=pt(t),a=Bp(dt(t),r==="start",i);return n&&(a=a.map(s=>s+"-"+n),e&&(a=a.concat(a.map(bo)))),a}function xo(t){return t.replace(/left|right|bottom|top/g,e=>Ip[e])}function Fp(t){return{top:0,right:0,bottom:0,left:0,...t}}function Us(t){return typeof t!="number"?Fp(t):{top:t,right:t,bottom:t,left:t}}function mr(t){let{x:e,y:r,width:i,height:n}=t;return{width:i,height:n,top:r,left:e,right:e+i,bottom:r+n,x:e,y:r}}function zs(t,e,r){let{reference:i,floating:n}=t,a=vt(e),s=Hn(e),l=Wn(s),d=dt(e),f=a==="y",h=i.x+i.width/2-n.width/2,u=i.y+i.height/2-n.height/2,b=i[l]/2-n[l]/2,S;switch(d){case"top":S={x:h,y:i.y-n.height};break;case"bottom":S={x:h,y:i.y+i.height};break;case"right":S={x:i.x+i.width,y:u};break;case"left":S={x:i.x-n.width,y:u};break;default:S={x:i.x,y:i.y}}switch(pt(e)){case"start":S[s]-=b*(r&&f?-1:1);break;case"end":S[s]+=b*(r&&f?-1:1);break}return S}var Ws=async(t,e,r)=>{let{placement:i="bottom",strategy:n="absolute",middleware:a=[],platform:s}=r,l=a.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(e)),f=await s.getElementRects({reference:t,floating:e,strategy:n}),{x:h,y:u}=zs(f,i,d),b=i,S={},v=0;for(let E=0;E<l.length;E++){let{name:$,fn:N}=l[E],{x:T,y:A,data:O,reset:R}=await N({x:h,y:u,initialPlacement:i,placement:b,strategy:n,middlewareData:S,rects:f,platform:s,elements:{reference:t,floating:e}});h=T??h,u=A??u,S={...S,[$]:{...S[$],...O}},R&&v<=50&&(v++,typeof R=="object"&&(R.placement&&(b=R.placement),R.rects&&(f=R.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:n}):R.rects),{x:h,y:u}=zs(f,b,d)),E=-1)}return{x:h,y:u,placement:b,strategy:n,middlewareData:S}};async function vo(t,e){var r;e===void 0&&(e={});let{x:i,y:n,platform:a,rects:s,elements:l,strategy:d}=t,{boundary:f="clippingAncestors",rootBoundary:h="viewport",elementContext:u="floating",altBoundary:b=!1,padding:S=0}=hr(e,t),v=Us(S),$=l[b?u==="floating"?"reference":"floating":u],N=mr(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement($)))==null||r?$:$.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:f,rootBoundary:h,strategy:d})),T=u==="floating"?{x:i,y:n,width:s.floating.width,height:s.floating.height}:s.reference,A=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),O=await(a.isElement==null?void 0:a.isElement(A))?await(a.getScale==null?void 0:a.getScale(A))||{x:1,y:1}:{x:1,y:1},R=mr(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:T,offsetParent:A,strategy:d}):T);return{top:(N.top-R.top+v.top)/O.y,bottom:(R.bottom-N.bottom+v.bottom)/O.y,left:(N.left-R.left+v.left)/O.x,right:(R.right-N.right+v.right)/O.x}}function Mp(t,e,r){return(t?[...r.filter(n=>pt(n)===t),...r.filter(n=>pt(n)!==t)]:r.filter(n=>dt(n)===n)).filter(n=>t?pt(n)===t||(e?bo(n)!==n:!1):!0)}var jn=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,i,n;let{rects:a,middlewareData:s,placement:l,platform:d,elements:f}=e,{crossAxis:h=!1,alignment:u,allowedPlacements:b=Mn,autoAlignment:S=!0,...v}=hr(t,e),E=u!==void 0||b===Mn?Mp(u||null,S,b):b,$=await vo(e,v),N=((r=s.autoPlacement)==null?void 0:r.index)||0,T=E[N];if(T==null)return{};let A=Vn(T,a,await(d.isRTL==null?void 0:d.isRTL(f.floating)));if(l!==T)return{reset:{placement:E[0]}};let O=[$[dt(T)],$[A[0]],$[A[1]]],R=[...((i=s.autoPlacement)==null?void 0:i.overflows)||[],{placement:T,overflows:O}],F=E[N+1];if(F)return{data:{index:N+1,overflows:R},reset:{placement:F}};let H=R.map(I=>{let m=pt(I.placement);return[I.placement,m&&h?I.overflows.slice(0,2).reduce((C,B)=>C+B,0):I.overflows[0],I.overflows]}).sort((I,m)=>I[1]-m[1]),Z=((n=H.filter(I=>I[2].slice(0,pt(I[0])?2:3).every(m=>m<=0))[0])==null?void 0:n[0])||H[0][0];return Z!==l?{data:{index:N+1,overflows:R},reset:{placement:Z}}:{}}}},Gn=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var r,i;let{placement:n,middlewareData:a,rects:s,initialPlacement:l,platform:d,elements:f}=e,{mainAxis:h=!0,crossAxis:u=!0,fallbackPlacements:b,fallbackStrategy:S="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:E=!0,...$}=hr(t,e);if((r=a.arrow)!=null&&r.alignmentOffset)return{};let N=dt(n),T=vt(l),A=dt(l)===l,O=await(d.isRTL==null?void 0:d.isRTL(f.floating)),R=b||(A||!E?[xo(l)]:Fs(l)),F=v!=="none";!b&&F&&R.push(...Ms(l,E,v,O));let H=[l,...R],Q=await vo(e,$),Z=[],I=((i=a.flip)==null?void 0:i.overflows)||[];if(h&&Z.push(Q[N]),u){let Y=Vn(n,s,O);Z.push(Q[Y[0]],Q[Y[1]])}if(I=[...I,{placement:n,overflows:Z}],!Z.every(Y=>Y<=0)){var m,C;let Y=(((m=a.flip)==null?void 0:m.index)||0)+1,ne=H[Y];if(ne&&(!(u==="alignment"?T!==vt(ne):!1)||I.every(Me=>Me.overflows[0]>0&&vt(Me.placement)===T)))return{data:{index:Y,overflows:I},reset:{placement:ne}};let q=(C=I.filter(ot=>ot.overflows[0]<=0).sort((ot,Me)=>ot.overflows[1]-Me.overflows[1])[0])==null?void 0:C.placement;if(!q)switch(S){case"bestFit":{var B;let ot=(B=I.filter(Me=>{if(F){let lt=vt(Me.placement);return lt===T||lt==="y"}return!0}).map(Me=>[Me.placement,Me.overflows.filter(lt=>lt>0).reduce((lt,we)=>lt+we,0)]).sort((Me,lt)=>Me[1]-lt[1])[0])==null?void 0:B[0];ot&&(q=ot);break}case"initialPlacement":q=l;break}if(n!==q)return{reset:{placement:q}}}return{}}}};async function Up(t,e){let{placement:r,platform:i,elements:n}=t,a=await(i.isRTL==null?void 0:i.isRTL(n.floating)),s=dt(r),l=pt(r),d=vt(r)==="y",f=["left","top"].includes(s)?-1:1,h=a&&d?-1:1,u=hr(e,t),{mainAxis:b,crossAxis:S,alignmentAxis:v}=typeof u=="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return l&&typeof v=="number"&&(S=l==="end"?v*-1:v),d?{x:S*h,y:b*f}:{x:b*f,y:S*h}}var Kn=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var r,i;let{x:n,y:a,placement:s,middlewareData:l}=e,d=await Up(e,t);return s===((r=l.offset)==null?void 0:r.placement)&&(i=l.arrow)!=null&&i.alignmentOffset?{}:{x:n+d.x,y:a+d.y,data:{...d,placement:s}}}}},Zn=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:i,placement:n}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:$=>{let{x:N,y:T}=$;return{x:N,y:T}}},...d}=hr(t,e),f={x:r,y:i},h=await vo(e,d),u=vt(dt(n)),b=zn(u),S=f[b],v=f[u];if(a){let $=b==="y"?"top":"left",N=b==="y"?"bottom":"right",T=S+h[$],A=S-h[N];S=Un(T,S,A)}if(s){let $=u==="y"?"top":"left",N=u==="y"?"bottom":"right",T=v+h[$],A=v-h[N];v=Un(T,v,A)}let E=l.fn({...e,[b]:S,[u]:v});return{...E,data:{x:E.x-r,y:E.y-i,enabled:{[b]:a,[u]:s}}}}}};var qn=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var r,i;let{placement:n,rects:a,platform:s,elements:l}=e,{apply:d=()=>{},...f}=hr(t,e),h=await vo(e,f),u=dt(n),b=pt(n),S=vt(n)==="y",{width:v,height:E}=a.floating,$,N;u==="top"||u==="bottom"?($=u,N=b===(await(s.isRTL==null?void 0:s.isRTL(l.floating))?"start":"end")?"left":"right"):(N=u,$=b==="end"?"top":"bottom");let T=E-h.top-h.bottom,A=v-h.left-h.right,O=ei(E-h[$],T),R=ei(v-h[N],A),F=!e.middlewareData.shift,H=O,Q=R;if((r=e.middlewareData.shift)!=null&&r.enabled.x&&(Q=A),(i=e.middlewareData.shift)!=null&&i.enabled.y&&(H=T),F&&!b){let I=Gt(h.left,0),m=Gt(h.right,0),C=Gt(h.top,0),B=Gt(h.bottom,0);S?Q=v-2*(I!==0||m!==0?I+m:Gt(h.left,h.right)):H=E-2*(C!==0||B!==0?C+B:Gt(h.top,h.bottom))}await d({...e,availableWidth:Q,availableHeight:H});let Z=await s.getDimensions(l.floating);return v!==Z.width||E!==Z.height?{reset:{rects:!0}}:{}}}};var Yn=Math.min,Br=Math.max,So=Math.round;var Dt=t=>({x:t,y:t});function Bt(t){return Vs(t)?(t.nodeName||"").toLowerCase():"#document"}function Ve(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Ft(t){var e;return(e=(Vs(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Vs(t){return t instanceof Node||t instanceof Ve(t).Node}function St(t){return t instanceof Element||t instanceof Ve(t).Element}function ft(t){return t instanceof HTMLElement||t instanceof Ve(t).HTMLElement}function Hs(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Ve(t).ShadowRoot}function Fr(t){let{overflow:e,overflowX:r,overflowY:i,display:n}=Ye(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+r)&&!["inline","contents"].includes(n)}function js(t){return["table","td","th"].includes(Bt(t))}function ri(t){let e=oi(),r=Ye(t);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(i=>(r.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(r.contain||"").includes(i))}function Gs(t){let e=yr(t);for(;ft(e)&&!Oo(e);){if(ri(e))return e;e=yr(e)}return null}function oi(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Oo(t){return["html","body","#document"].includes(Bt(t))}function Ye(t){return Ve(t).getComputedStyle(t)}function Co(t){return St(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function yr(t){if(Bt(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Hs(t)&&t.host||Ft(t);return Hs(e)?e.host:e}function Ks(t){let e=yr(t);return Oo(e)?t.ownerDocument?t.ownerDocument.body:t.body:ft(e)&&Fr(e)?e:Ks(e)}function ti(t,e,r){var i;e===void 0&&(e=[]),r===void 0&&(r=!0);let n=Ks(t),a=n===((i=t.ownerDocument)==null?void 0:i.body),s=Ve(n);return a?e.concat(s,s.visualViewport||[],Fr(n)?n:[],s.frameElement&&r?ti(s.frameElement):[]):e.concat(n,ti(n,[],r))}function Ys(t){let e=Ye(t),r=parseFloat(e.width)||0,i=parseFloat(e.height)||0,n=ft(t),a=n?t.offsetWidth:r,s=n?t.offsetHeight:i,l=So(r)!==a||So(i)!==s;return l&&(r=a,i=s),{width:r,height:i,$:l}}function Xs(t){return St(t)?t:t.contextElement}function Mr(t){let e=Xs(t);if(!ft(e))return Dt(1);let r=e.getBoundingClientRect(),{width:i,height:n,$:a}=Ys(e),s=(a?So(r.width):r.width)/i,l=(a?So(r.height):r.height)/n;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var zp=Dt(0);function Js(t){let e=Ve(t);return!oi()||!e.visualViewport?zp:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Wp(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==Ve(t)?!1:e}function Eo(t,e,r,i){e===void 0&&(e=!1),r===void 0&&(r=!1);let n=t.getBoundingClientRect(),a=Xs(t),s=Dt(1);e&&(i?St(i)&&(s=Mr(i)):s=Mr(t));let l=Wp(a,r,i)?Js(a):Dt(0),d=(n.left+l.x)/s.x,f=(n.top+l.y)/s.y,h=n.width/s.x,u=n.height/s.y;if(a){let b=Ve(a),S=i&&St(i)?Ve(i):i,v=b.frameElement;for(;v&&i&&S!==b;){let E=Mr(v),$=v.getBoundingClientRect(),N=Ye(v),T=$.left+(v.clientLeft+parseFloat(N.paddingLeft))*E.x,A=$.top+(v.clientTop+parseFloat(N.paddingTop))*E.y;d*=E.x,f*=E.y,h*=E.x,u*=E.y,d+=T,f+=A,v=Ve(v).frameElement}}return mr({width:h,height:u,x:d,y:f})}function Hp(t){let{rect:e,offsetParent:r,strategy:i}=t,n=ft(r),a=Ft(r);if(r===a)return e;let s={scrollLeft:0,scrollTop:0},l=Dt(1),d=Dt(0);if((n||!n&&i!=="fixed")&&((Bt(r)!=="body"||Fr(a))&&(s=Co(r)),ft(r))){let f=Eo(r);l=Mr(r),d.x=f.x+r.clientLeft,d.y=f.y+r.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-s.scrollLeft*l.x+d.x,y:e.y*l.y-s.scrollTop*l.y+d.y}}function Vp(t){return Array.from(t.getClientRects())}function Qs(t){return Eo(Ft(t)).left+Co(t).scrollLeft}function jp(t){let e=Ft(t),r=Co(t),i=t.ownerDocument.body,n=Br(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),a=Br(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight),s=-r.scrollLeft+Qs(t),l=-r.scrollTop;return Ye(i).direction==="rtl"&&(s+=Br(e.clientWidth,i.clientWidth)-n),{width:n,height:a,x:s,y:l}}function Gp(t,e){let r=Ve(t),i=Ft(t),n=r.visualViewport,a=i.clientWidth,s=i.clientHeight,l=0,d=0;if(n){a=n.width,s=n.height;let f=oi();(!f||f&&e==="fixed")&&(l=n.offsetLeft,d=n.offsetTop)}return{width:a,height:s,x:l,y:d}}function Kp(t,e){let r=Eo(t,!0,e==="fixed"),i=r.top+t.clientTop,n=r.left+t.clientLeft,a=ft(t)?Mr(t):Dt(1),s=t.clientWidth*a.x,l=t.clientHeight*a.y,d=n*a.x,f=i*a.y;return{width:s,height:l,x:d,y:f}}function Zs(t,e,r){let i;if(e==="viewport")i=Gp(t,r);else if(e==="document")i=jp(Ft(t));else if(St(e))i=Kp(e,r);else{let n=Js(t);i={...e,x:e.x-n.x,y:e.y-n.y}}return mr(i)}function el(t,e){let r=yr(t);return r===e||!St(r)||Oo(r)?!1:Ye(r).position==="fixed"||el(r,e)}function Zp(t,e){let r=e.get(t);if(r)return r;let i=ti(t,[],!1).filter(l=>St(l)&&Bt(l)!=="body"),n=null,a=Ye(t).position==="fixed",s=a?yr(t):t;for(;St(s)&&!Oo(s);){let l=Ye(s),d=ri(s);!d&&l.position==="fixed"&&(n=null),(a?!d&&!n:!d&&l.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||Fr(s)&&!d&&el(t,s))?i=i.filter(h=>h!==s):n=l,s=yr(s)}return e.set(t,i),i}function qp(t){let{element:e,boundary:r,rootBoundary:i,strategy:n}=t,s=[...r==="clippingAncestors"?Zp(e,this._c):[].concat(r),i],l=s[0],d=s.reduce((f,h)=>{let u=Zs(e,h,n);return f.top=Br(u.top,f.top),f.right=Yn(u.right,f.right),f.bottom=Yn(u.bottom,f.bottom),f.left=Br(u.left,f.left),f},Zs(e,l,n));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function Yp(t){return Ys(t)}function Xp(t,e,r){let i=ft(e),n=Ft(e),a=r==="fixed",s=Eo(t,!0,a,e),l={scrollLeft:0,scrollTop:0},d=Dt(0);if(i||!i&&!a)if((Bt(e)!=="body"||Fr(n))&&(l=Co(e)),i){let f=Eo(e,!0,a,e);d.x=f.x+e.clientLeft,d.y=f.y+e.clientTop}else n&&(d.x=Qs(n));return{x:s.left+l.scrollLeft-d.x,y:s.top+l.scrollTop-d.y,width:s.width,height:s.height}}function qs(t,e){return!ft(t)||Ye(t).position==="fixed"?null:e?e(t):t.offsetParent}function tl(t,e){let r=Ve(t);if(!ft(t))return r;let i=qs(t,e);for(;i&&js(i)&&Ye(i).position==="static";)i=qs(i,e);return i&&(Bt(i)==="html"||Bt(i)==="body"&&Ye(i).position==="static"&&!ri(i))?r:i||Gs(t)||r}var Jp=async function(t){let{reference:e,floating:r,strategy:i}=t,n=this.getOffsetParent||tl,a=this.getDimensions;return{reference:Xp(e,await n(r),i),floating:{x:0,y:0,...await a(r)}}};function Qp(t){return Ye(t).direction==="rtl"}var Ur={convertOffsetParentRelativeRectToViewportRelativeRect:Hp,getDocumentElement:Ft,getClippingRect:qp,getOffsetParent:tl,getElementRects:Jp,getClientRects:Vp,getDimensions:Yp,getScale:Mr,isElement:St,isRTL:Qp};var Xn=(t,e,r)=>{let i=new Map,n={platform:Ur,...r},a={...n.platform,_c:i};return Ws(t,e,{...n,platform:a})};function Qn(t){return ef(t)}function Jn(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function ef(t){for(let e=t;e;e=Jn(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Jn(t);e;e=Jn(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||e.tagName==="BODY"))return e}return null}async function ea(t,e,r){return Xn(t,e,{platform:{...Ur,getOffsetParent:i=>Ur.getOffsetParent(i,Qn)},middleware:[Zn({crossAxis:!0}),jn({allowedPlacements:[r]})]})}async function ta(t,e,r,i,n,a,s=4){return Xn(t,e,{placement:r,strategy:n,platform:{...Ur,getOffsetParent:l=>Ur.getOffsetParent(l,Qn)},middleware:[Kn(s),Gn({fallbackPlacements:i}),qn({apply({availableHeight:l,elements:d}){a?d.floating.style.maxHeight=`min(${Math.max(0,l)}px, var(${a}))`:d.floating.style.maxHeight=`${Math.max(0,l)}px`}})]})}var na={};se(na,{FtdsBase:()=>Ao,toFtdsBase:()=>ni});var ia={};se(ia,{FtLitElement:()=>z});var oa={};se(oa,{ScopedRegistryLitElement:()=>wo});var wo=class extends Pt{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([n,a])=>e.registry.define(n,a)));let r={...e.shadowRootOptions,customElements:e.registry},i=this.renderOptions.creationScope=this.attachShadow(r);return ao(i,e.elementStyles),i}};var ii=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},nl,rl=Symbol("constructorPrototype"),ol=Symbol("constructorName"),al=Symbol("exportpartsDebouncer"),il=Symbol("dynamicDependenciesLoaded"),z=class extends wo{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[nl]=new ce(5),this[ol]=this.constructor.name,this[rl]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[ol]&&Object.setPrototypeOf(this,this[rl])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(r){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",r)}let e=this.constructor;e[il]||(e[il]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var r,i,n;if(((i=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&i!==void 0?i:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((n=this.customStylesheet)!==null&&n!==void 0?n:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var e,r,i;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(i=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&i!==void 0&&i)&&this[al].run(()=>{var n,a;!((n=this.exportpartsPrefix)===null||n===void 0)&&n.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var r,i,n,a,s,l;let d=b=>b!=null&&b.trim().length>0,f=e.filter(d).map(b=>b.trim());if(f.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let b of(i=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&i!==void 0?i:[]){let S=(a=(n=b.getAttribute("part"))===null||n===void 0?void 0:n.split(" "))!==null&&a!==void 0?a:[],v=(l=(s=b.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(E=>E.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...S,...v).filter(d).map(E=>E.trim()).forEach(E=>h.add(E))}if(h.size===0){this.removeAttribute("exportparts");return}let u=[...h.values()].flatMap(b=>f.map(S=>`${b}:${S}--${b}`));this.setAttribute("exportparts",[...this.part,...u].join(", "))}};nl=al;ii([y()],z.prototype,"exportpartsPrefix",void 0);ii([$e([])],z.prototype,"exportpartsPrefixes",void 0);ii([y()],z.prototype,"customStylesheet",void 0);ii([W()],z.prototype,"useAdoptedStyleSheets",void 0);var sl=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a};function ni(t){class e extends t{constructor(){super(...arguments),this.size=_e.medium,this.family=It.neutral}getDesignSystemBaseClasses(){return{[In(this.family)]:!0,[Dn(this.size)]:!0}}}return sl([y()],e.prototype,"size",void 0),sl([y()],e.prototype,"family",void 0),e}var Ao=class extends ni(z){};var ll={};var la={};se(la,{highlightHtml:()=>sa,highlightHtmlColorCssVariable:()=>cl,highlightHtmlStyles:()=>rf});var gr=class t{constructor(e,r=!0,i=[],n=5e3){this.ctx=e,this.iframes=r,this.exclude=i,this.iframesTimeout=n}static matches(e,r){let i=typeof r=="string"?[r]:r,n=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(n){let a=!1;return i.every(s=>n.call(e,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let e,r=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(i=>{let n=r.filter(a=>a.contains(i)).length>0;r.indexOf(i)===-1&&!n&&r.push(i)}),r}getIframeContents(e,r,i=()=>{}){let n;try{let a=e.contentWindow;if(n=a.document,!a||!n)throw new Error("iframe inaccessible")}catch{i()}n&&r(n)}isIframeBlank(e){let r="about:blank",i=e.getAttribute("src").trim();return e.contentWindow.location.href===r&&i!==r&&i}observeIframeLoad(e,r,i){let n=!1,a=null,s=()=>{if(!n){n=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,r,i))}catch{i()}}};e.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(e,r,i){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,r,i):this.getIframeContents(e,r,i):this.observeIframeLoad(e,r,i)}catch{i()}}waitForIframes(e,r){let i=0;this.forEachIframe(e,()=>!0,n=>{i++,this.waitForIframes(n.querySelector("html"),()=>{--i||r()})},n=>{n||r()})}forEachIframe(e,r,i,n=()=>{}){let a=e.querySelectorAll("iframe"),s=a.length,l=0;a=Array.prototype.slice.call(a);let d=()=>{--s<=0&&n(l)};s||d(),a.forEach(f=>{t.matches(f,this.exclude)?d():this.onIframeReady(f,h=>{r(f)&&(l++,i(h)),d()},d)})}createIterator(e,r,i){return document.createNodeIterator(e,r,i,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,r,i){let n=e.compareDocumentPosition(i),a=Node.DOCUMENT_POSITION_PRECEDING;if(n&a)if(r!==null){let s=r.compareDocumentPosition(i),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(e){let r=e.previousNode(),i;return r===null?i=e.nextNode():i=e.nextNode()&&e.nextNode(),{prevNode:r,node:i}}checkIframeFilter(e,r,i,n){let a=!1,s=!1;return n.forEach((l,d)=>{l.val===i&&(a=d,s=l.handled)}),this.compareNodeIframe(e,r,i)?(a===!1&&!s?n.push({val:i,handled:!0}):a!==!1&&!s&&(n[a].handled=!0),!0):(a===!1&&n.push({val:i,handled:!1}),!1)}handleOpenIframes(e,r,i,n){e.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(r,i,n)})})}iterateThroughNodes(e,r,i,n,a){let s=this.createIterator(r,e,n),l=[],d=[],f,h,u=()=>({prevNode:h,node:f}=this.getIteratorNode(s),f);for(;u();)this.iframes&&this.forEachIframe(r,b=>this.checkIframeFilter(f,h,b,l),b=>{this.createInstanceOnIframe(b).forEachNode(e,S=>d.push(S),n)}),d.push(f);d.forEach(b=>{i(b)}),this.iframes&&this.handleOpenIframes(l,e,i,n),a()}forEachNode(e,r,i,n=()=>{}){let a=this.getContexts(),s=a.length;s||n(),a.forEach(l=>{let d=()=>{this.iterateThroughNodes(e,l,r,i,()=>{--s<=0&&n()})};this.iframes?this.waitForIframes(l,d):d()})}};var Ro=class{constructor(e){this.ctx=e,this.ie=!1;let r=window.navigator.userAgent;(r.indexOf("MSIE")>-1||r.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new gr(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,r="debug"){let i=this.opt.log;this.opt.debug&&typeof i=="object"&&typeof i[r]=="function"&&i[r](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let r=this.opt.synonyms,i=this.opt.caseSensitive?"":"i",n=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in r)if(r.hasOwnProperty(a)){let s=r[a],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&d!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(d)})`,`gm${i}`),n+`(${this.processSynomyms(l)}|${this.processSynomyms(d)})`+n))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,r=>r.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let r=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(r,i,n)=>{let a=n.charAt(i+1);return/[(|)\\]/.test(a)||a===""?r:r+"\0"})}createJoinersRegExp(e){let r=[],i=this.opt.ignorePunctuation;return Array.isArray(i)&&i.length&&r.push(this.escapeStr(i.join(""))),this.opt.ignoreJoiners&&r.push("\\u00ad\\u200b\\u200c\\u200d"),r.length?e.split(/\u0000+/).join(`[${r.join("")}]*`):e}createDiacriticsRegExp(e){let r=this.opt.caseSensitive?"":"i",i=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],n=[];return e.split("").forEach(a=>{i.every(s=>{if(s.indexOf(a)!==-1){if(n.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${r}`),`[${s}]`),n.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",i=this.opt.accuracy,n=typeof i=="string"?i:i.value,a=typeof i=="string"?[]:i.limiters,s="";switch(a.forEach(l=>{s+=`|${this.escapeStr(l)}`}),n){case"partially":default:return`()(${e})`;case"complementary":return s="\\s"+(s||this.escapeStr(r)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let r=[];return e.forEach(i=>{this.opt.separateWordSearch?i.split(" ").forEach(n=>{n.trim()&&r.indexOf(n)===-1&&r.push(n)}):i.trim()&&r.indexOf(i)===-1&&r.push(i)}),{keywords:r.sort((i,n)=>n.length-i.length),length:r.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let r=[],i=0;return e.sort((n,a)=>n.start-a.start).forEach(n=>{let{start:a,end:s,valid:l}=this.callNoMatchOnInvalidRanges(n,i);l&&(n.start=a,n.length=s-a,r.push(n),i=s)}),r}callNoMatchOnInvalidRanges(e,r){let i,n,a=!1;return e&&typeof e.start<"u"?(i=parseInt(e.start,10),n=i+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&n-r>0&&n-i>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:i,end:n,valid:a}}checkWhitespaceRanges(e,r,i){let n,a=!0,s=i.length,l=r-s,d=parseInt(e.start,10)-l;return d=d>s?s:d,n=d+parseInt(e.length,10),n>s&&(n=s,this.log(`End range automatically set to the max value of ${s}`)),d<0||n-d<0||d>s||n>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):i.substring(d,n).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:d,end:n,valid:a}}getTextNodes(e){let r="",i=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,n=>{i.push({start:r.length,end:(r+=n.textContent).length,node:n})},n=>this.matchesExclude(n.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:r,nodes:i})})}matchesExclude(e){return gr.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,r,i){let n=this.opt.element?this.opt.element:"mark",a=e.splitText(r),s=a.splitText(i-r),l=document.createElement(n);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=a.textContent,a.parentNode.replaceChild(l,a),s}wrapRangeInMappedTextNode(e,r,i,n,a){e.nodes.every((s,l)=>{let d=e.nodes[l+1];if(typeof d>"u"||d.start>r){if(!n(s.node))return!1;let f=r-s.start,h=(i>s.end?s.end:i)-s.start,u=e.value.substr(0,s.start),b=e.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,f,h),e.value=u+b,e.nodes.forEach((S,v)=>{v>=l&&(e.nodes[v].start>0&&v!==l&&(e.nodes[v].start-=h),e.nodes[v].end-=h)}),i-=h,a(s.node.previousSibling,s.start),i>s.end)r=s.end;else return!1}return!0})}wrapMatches(e,r,i,n,a){let s=r===0?0:r+1;this.getTextNodes(l=>{l.nodes.forEach(d=>{d=d.node;let f;for(;(f=e.exec(d.textContent))!==null&&f[s]!=="";){if(!i(f[s],d))continue;let h=f.index;if(s!==0)for(let u=1;u<s;u++)h+=f[u].length;d=this.wrapRangeInTextNode(d,h,h+f[s].length),n(d.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,r,i,n,a){let s=r===0?0:r+1;this.getTextNodes(l=>{let d;for(;(d=e.exec(l.value))!==null&&d[s]!=="";){let f=d.index;if(s!==0)for(let u=1;u<s;u++)f+=d[u].length;let h=f+d[s].length;this.wrapRangeInMappedTextNode(l,f,h,u=>i(d[s],u),(u,b)=>{e.lastIndex=b,n(u)})}a()})}wrapRangeFromIndex(e,r,i,n){this.getTextNodes(a=>{let s=a.value.length;e.forEach((l,d)=>{let{start:f,end:h,valid:u}=this.checkWhitespaceRanges(l,s,a.value);u&&this.wrapRangeInMappedTextNode(a,f,h,b=>r(b,l,a.value.substring(f,h),d),b=>{i(b,l)})}),n()})}unwrapMatches(e){let r=e.parentNode,i=document.createDocumentFragment();for(;e.firstChild;)i.appendChild(e.removeChild(e.firstChild));r.replaceChild(i,e),this.ie?this.normalizeTextNode(r):r.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,r){this.opt=r,this.log(`Searching with expression "${e}"`);let i=0,n="wrapMatches",a=s=>{i++,this.opt.each(s)};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),this[n](e,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,i),a,()=>{i===0&&this.opt.noMatch(e),this.opt.done(i)})}mark(e,r){this.opt=r;let i=0,n="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),l=this.opt.caseSensitive?"":"i",d=f=>{let h=new RegExp(this.createRegExp(f),`gm${l}`),u=0;this.log(`Searching with expression "${h}"`),this[n](h,1,(b,S)=>this.opt.filter(S,f,i,u),b=>{u++,i++,this.opt.each(b)},()=>{u===0&&this.opt.noMatch(f),a[s-1]===f?this.opt.done(i):d(a[a.indexOf(f)+1])})};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),s===0?this.opt.done(i):d(a[0])}markRanges(e,r){this.opt=r;let i=0,n=this.checkRanges(e);n&&n.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(n)),this.wrapRangeFromIndex(n,(a,s,l,d)=>this.opt.filter(a,s,l,d),(a,s)=>{i++,this.opt.each(a,s)},()=>{this.opt.done(i)})):this.opt.done(i)}unmark(e){this.opt=e;let r=this.opt.element?this.opt.element:"*";r+="[data-markjs]",this.opt.className&&(r+=`.${this.opt.className}`),this.log(`Removal selector "${r}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,i=>{this.unwrapMatches(i)},i=>{let n=gr.matches(i,r),a=this.matchesExclude(i);return!n||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function aa(t){let e=new Ro(t);return this.mark=(r,i)=>(e.mark(r,i),this),this.markRegExp=(r,i)=>(e.markRegExp(r,i),this),this.markRanges=(r,i)=>(e.markRanges(r,i),this),this.unmark=r=>(e.unmark(r),this),this}var tf=aa,cl=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),rf=_`
|
|
4
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),xs=/'/g,vs=/"/g,Cs=/^(?:script|style|textarea|title)$/i,Ti=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),w=Ti(1),Ii=Ti(2),Bi=Ti(3),Te=Symbol.for("lit-noChange"),U=Symbol.for("lit-nothing"),Ss=new WeakMap,lr=cr.createTreeWalker(cr,129);function Es(t,e){if(!Pi(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return ys!==void 0?ys.createHTML(e):e}var ws=(t,e)=>{let r=t.length-1,i=[],n,a=e===2?"<svg>":e===3?"<math>":"",s=co;for(let l=0;l<r;l++){let d=t[l],f,h,u=-1,b=0;for(;b<d.length&&(s.lastIndex=b,h=s.exec(d),h!==null);)b=s.lastIndex,s===co?h[1]==="!--"?s=gs:h[1]!==void 0?s=bs:h[2]!==void 0?(Cs.test(h[2])&&(n=RegExp("</"+h[2],"g")),s=sr):h[3]!==void 0&&(s=sr):s===sr?h[0]===">"?(s=n??co,u=-1):h[1]===void 0?u=-2:(u=s.lastIndex-h[2].length,f=h[1],s=h[3]===void 0?sr:h[3]==='"'?vs:xs):s===vs||s===xs?s=sr:s===gs||s===bs?s=co:(s=sr,n=void 0);let S=s===sr&&t[l+1].startsWith("/>")?" ":"";a+=s===co?d+zd:u>=0?(i.push(f),d.slice(0,u)+$i+d.slice(u)+Nt+S):d+Nt+(u===-2?l:S)}return[Es(t,a+(t[r]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),i]},uo=class t{constructor({strings:e,_$litType$:r},i){let n;this.parts=[];let a=0,s=0,l=e.length-1,d=this.parts,[f,h]=ws(e,r);if(this.el=t.createElement(f,i),lr.currentNode=this.el.content,r===2||r===3){let u=this.el.content.firstChild;u.replaceWith(...u.childNodes)}for(;(n=lr.nextNode())!==null&&d.length<l;){if(n.nodeType===1){if(n.hasAttributes())for(let u of n.getAttributeNames())if(u.endsWith($i)){let b=h[s++],S=n.getAttribute(u).split(Nt),v=/([.?@])?(.*)/.exec(b);d.push({type:1,index:a,name:v[2],strings:S,ctor:v[1]==="."?Ko:v[1]==="?"?Zo:v[1]==="@"?qo:pr}),n.removeAttribute(u)}else u.startsWith(Nt)&&(d.push({type:6,index:a}),n.removeAttribute(u));if(Cs.test(n.tagName)){let u=n.textContent.split(Nt),b=u.length-1;if(b>0){n.textContent=jo?jo.emptyScript:"";for(let S=0;S<b;S++)n.append(u[S],po()),lr.nextNode(),d.push({type:2,index:++a});n.append(u[b],po())}}}else if(n.nodeType===8)if(n.data===Ni)d.push({type:2,index:a});else{let u=-1;for(;(u=n.data.indexOf(Nt,u+1))!==-1;)d.push({type:7,index:a}),u+=Nt.length-1}a++}}static createElement(e,r){let i=cr.createElement("template");return i.innerHTML=e,i}};function dr(t,e,r=t,i){if(e===Te)return e;let n=i!==void 0?r._$Co?.[i]:r._$Cl,a=fo(e)?void 0:e._$litDirective$;return n?.constructor!==a&&(n?._$AO?.(!1),a===void 0?n=void 0:(n=new a(t),n._$AT(t,r,i)),i!==void 0?(r._$Co??=[])[i]=n:r._$Cl=n),n!==void 0&&(e=dr(t,n._$AS(t,e.values),n,i)),e}var Go=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:i}=this._$AD,n=(e?.creationScope??cr).importNode(r,!0);lr.currentNode=n;let a=lr.nextNode(),s=0,l=0,d=i[0];for(;d!==void 0;){if(s===d.index){let f;d.type===2?f=new $r(a,a.nextSibling,this,e):d.type===1?f=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(f=new Yo(a,this,e)),this._$AV.push(f),d=i[++l]}s!==d?.index&&(a=lr.nextNode(),s++)}return lr.currentNode=cr,n}p(e){let r=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(e,i,r),r+=i.strings.length-2):i._$AI(e[r])),r++}},$r=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,i,n){this.type=2,this._$AH=U,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=i,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=dr(this,e,r),fo(e)?e===U||e==null||e===""?(this._$AH!==U&&this._$AR(),this._$AH=U):e!==this._$AH&&e!==Te&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):Os(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==U&&fo(this._$AH)?this._$AA.nextSibling.data=e:this.T(cr.createTextNode(e)),this._$AH=e}$(e){let{values:r,_$litType$:i}=e,n=typeof i=="number"?this._$AC(e):(i.el===void 0&&(i.el=uo.createElement(Es(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===n)this._$AH.p(r);else{let a=new Go(n,this),s=a.u(this.options);a.p(r),this.T(s),this._$AH=a}}_$AC(e){let r=Ss.get(e.strings);return r===void 0&&Ss.set(e.strings,r=new uo(e)),r}k(e){Pi(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,i,n=0;for(let a of e)n===r.length?r.push(i=new t(this.O(po()),this.O(po()),this,this.options)):i=r[n],i._$AI(a),n++;n<r.length&&(this._$AR(i&&i._$AB.nextSibling,n),r.length=n)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let i=e.nextSibling;e.remove(),e=i}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},pr=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,i,n,a){this.type=1,this._$AH=U,this._$AN=void 0,this.element=e,this.name=r,this._$AM=n,this.options=a,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=U}_$AI(e,r=this,i,n){let a=this.strings,s=!1;if(a===void 0)e=dr(this,e,r,0),s=!fo(e)||e!==this._$AH&&e!==Te,s&&(this._$AH=e);else{let l=e,d,f;for(e=a[0],d=0;d<a.length-1;d++)f=dr(this,l[i+d],r,d),f===Te&&(f=this._$AH[d]),s||=!fo(f)||f!==this._$AH[d],f===U?e=U:e!==U&&(e+=(f??"")+a[d+1]),this._$AH[d]=f}s&&!n&&this.j(e)}j(e){e===U?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Ko=class extends pr{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===U?void 0:e}},Zo=class extends pr{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==U)}},qo=class extends pr{constructor(e,r,i,n,a){super(e,r,i,n,a),this.type=5}_$AI(e,r=this){if((e=dr(this,e,r,0)??U)===Te)return;let i=this._$AH,n=e===U&&i!==U||e.capture!==i.capture||e.once!==i.once||e.passive!==i.passive,a=e!==U&&(i===U||n);n&&this.element.removeEventListener(this.name,this,i),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},Yo=class{constructor(e,r,i){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(e){dr(this,e)}},Di={M:$i,P:Nt,A:Ni,C:1,L:ws,R:Go,D:Os,V:dr,I:$r,H:pr,N:Zo,U:qo,B:Ko,F:Yo},Wd=_i.litHtmlPolyfillSupport;Wd?.(uo,$r),(_i.litHtmlVersions??=[]).push("3.3.0");var Fi=(t,e,r)=>{let i=r?.renderBefore??e,n=i._$litPart$;if(n===void 0){let a=r?.renderBefore??null;i._$litPart$=n=new $r(e.insertBefore(po(),a),a,void 0,r??{})}return n._$AI(t),n};var Mi=globalThis,Pt=class extends gt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=Fi(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Te}};Pt._$litElement$=!0,Pt.finalized=!0,Mi.litElementHydrateSupport?.({LitElement:Pt});var Hd=Mi.litElementPolyfillSupport;Hd?.({LitElement:Pt});var Vd={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(Mi.litElementVersions??=[]).push("4.2.0");var bu=!1;var Vi={};se(Vi,{customElement:()=>jd,eventOptions:()=>Nr,property:()=>y,query:()=>M,queryAll:()=>zi,queryAssignedElements:()=>Wi,queryAssignedNodes:()=>Hi,queryAsync:()=>Zd,standardProperty:()=>As,state:()=>W});var jd=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};var Gd={attribute:!0,type:String,converter:_r,reflect:!1,hasChanged:lo},As=(t=Gd,e,r)=>{let{kind:i,metadata:n}=r,a=globalThis.litPropertyMetadata.get(n);if(a===void 0&&globalThis.litPropertyMetadata.set(n,a=new Map),i==="setter"&&((t=Object.create(t)).wrapped=!0),a.set(r.name,t),i==="accessor"){let{name:s}=r;return{set(l){let d=e.get.call(this);e.set.call(this,l),this.requestUpdate(s,d,t)},init(l){return l!==void 0&&this.C(s,void 0,t,l),l}}}if(i==="setter"){let{name:s}=r;return function(l){let d=this[s];e.call(this,l),this.requestUpdate(s,d,t)}}throw Error("Unsupported decorator location: "+i)};function y(t){return(e,r)=>typeof r=="object"?As(t,e,r):((i,n,a)=>{let s=n.hasOwnProperty(a);return n.constructor.createProperty(a,i),s?Object.getOwnPropertyDescriptor(n,a):void 0})(t,e,r)}function W(t){return y({...t,state:!0,attribute:!1})}function Nr(t){return(e,r)=>{let i=typeof e=="function"?e:e[r];Object.assign(i,t)}}var ct=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r);function M(t,e){return(r,i,n)=>{let a=s=>s.renderRoot?.querySelector(t)??null;if(e){let{get:s,set:l}=typeof i=="object"?r:n??(()=>{let d=Symbol();return{get(){return this[d]},set(f){this[d]=f}}})();return ct(r,i,{get(){let d=s.call(this);return d===void 0&&(d=a(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return ct(r,i,{get(){return a(this)}})}}var Kd;function zi(t){return(e,r)=>ct(e,r,{get(){return(this.renderRoot??(Kd??=document.createDocumentFragment())).querySelectorAll(t)}})}function Zd(t){return(e,r)=>ct(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function Wi(t){return(e,r)=>{let{slot:i,selector:n}=t??{},a="slot"+(i?`[name=${i}]`:":not([name])");return ct(e,r,{get(){let s=this.renderRoot?.querySelector(a),l=s?.assignedElements(t)??[];return n===void 0?l:l.filter(d=>d.matches(n))}})}}function Hi(t){return(e,r)=>{let{slot:i}=t??{},n="slot"+(i?`[name=${i}]`:":not([name])");return ct(e,r,{get(){return this.renderRoot?.querySelector(n)?.assignedNodes(t)??[]}})}}var ji={};se(ji,{repeat:()=>ke});var Ht={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Vt=t=>(...e)=>({_$litDirective$:t,values:e}),bt=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,r,i){this._$Ct=e,this._$AM=r,this._$Ci=i}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}};var{I:qd}=Di;var Rs=()=>document.createComment(""),Pr=(t,e,r)=>{let i=t._$AA.parentNode,n=e===void 0?t._$AB:e._$AA;if(r===void 0){let a=i.insertBefore(Rs(),n),s=i.insertBefore(Rs(),n);r=new qd(a,s,t,t.options)}else{let a=r._$AB.nextSibling,s=r._$AM,l=s!==t;if(l){let d;r._$AQ?.(t),r._$AM=t,r._$AP!==void 0&&(d=t._$AU)!==s._$AU&&r._$AP(d)}if(a!==n||l){let d=r._$AA;for(;d!==a;){let f=d.nextSibling;i.insertBefore(d,n),d=f}}}return r},jt=(t,e,r=t)=>(t._$AI(e,r),t),Yd={},Ls=(t,e=Yd)=>t._$AH=e,ks=t=>t._$AH,Xo=t=>{t._$AP?.(!1,!0);let e=t._$AA,r=t._$AB.nextSibling;for(;e!==r;){let i=e.nextSibling;e.remove(),e=i}};var _s=(t,e,r)=>{let i=new Map;for(let n=e;n<=r;n++)i.set(t[n],n);return i},ke=Vt(class extends bt{constructor(t){if(super(t),t.type!==Ht.CHILD)throw Error("repeat() can only be used in text expressions")}dt(t,e,r){let i;r===void 0?r=e:e!==void 0&&(i=e);let n=[],a=[],s=0;for(let l of t)n[s]=i?i(l,s):s,a[s]=r(l,s),s++;return{values:a,keys:n}}render(t,e,r){return this.dt(t,e,r).values}update(t,[e,r,i]){let n=ks(t),{values:a,keys:s}=this.dt(e,r,i);if(!Array.isArray(n))return this.ut=s,a;let l=this.ut??=[],d=[],f,h,u=0,b=n.length-1,S=0,v=a.length-1;for(;u<=b&&S<=v;)if(n[u]===null)u++;else if(n[b]===null)b--;else if(l[u]===s[S])d[S]=jt(n[u],a[S]),u++,S++;else if(l[b]===s[v])d[v]=jt(n[b],a[v]),b--,v--;else if(l[u]===s[v])d[v]=jt(n[u],a[v]),Pr(t,d[v+1],n[u]),u++,v--;else if(l[b]===s[S])d[S]=jt(n[b],a[S]),Pr(t,n[u],n[b]),b--,S++;else if(f===void 0&&(f=_s(s,S,v),h=_s(l,u,b)),f.has(l[u]))if(f.has(l[b])){let E=h.get(s[S]),$=E!==void 0?n[E]:null;if($===null){let N=Pr(t,n[u]);jt(N,a[S]),d[S]=N}else d[S]=jt($,a[S]),Pr(t,n[u],$),n[E]=null;S++}else Xo(n[b]),b--;else Xo(n[u]),u++;for(;S<=v;){let E=Pr(t,d[v+1]);jt(E,a[S]),d[S++]=E}for(;u<=b;){let E=n[u++];E!==null&&Xo(E)}return this.ut=s,Ls(t,d),Te}});var Gi={};se(Gi,{classMap:()=>pe});var pe=Vt(class extends bt{constructor(t){if(super(t),t.type!==Ht.ATTRIBUTE||t.name!=="class"||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(this.st===void 0){this.st=new Set,t.strings!==void 0&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter(i=>i!=="")));for(let i in e)e[i]&&!this.nt?.has(i)&&this.st.add(i);return this.render(e)}let r=t.element.classList;for(let i of this.st)i in e||(r.remove(i),this.st.delete(i));for(let i in e){let n=!!e[i];n===this.st.has(i)||this.nt?.has(i)||(n?(r.add(i),this.st.add(i)):(r.remove(i),this.st.delete(i)))}return Te}});var Ki={};se(Ki,{styleMap:()=>Jd});var $s="important",Xd=" !"+$s,Jd=Vt(class extends bt{constructor(t){if(super(t),t.type!==Ht.ATTRIBUTE||t.name!=="style"||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce((e,r)=>{let i=t[r];return i==null?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${i};`},"")}update(t,[e]){let{style:r}=t.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(e)),this.render(e);for(let i of this.ft)e[i]==null&&(this.ft.delete(i),i.includes("-")?r.removeProperty(i):r[i]=null);for(let i in e){let n=e[i];if(n!=null){this.ft.add(i);let a=typeof n=="string"&&n.endsWith(Xd);i.includes("-")||a?r.setProperty(i,a?n.slice(0,-11):n,a?$s:""):r[i]=n}}return Te}});var qi={};se(qi,{UnsafeHTMLDirective:()=>Tr,unsafeHTML:()=>Zi});var Tr=class extends bt{constructor(e){if(super(e),this.it=U,e.type!==Ht.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===U||e==null)return this._t=void 0,this.it=e;if(e===Te)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.it)return this._t;this.it=e;let r=[e];return r.raw=r,this._t={_$litType$:this.constructor.resultType,strings:r,values:[]}}};Tr.directiveName="unsafeHTML",Tr.resultType=1;var Zi=Vt(Tr);var rn={};se(rn,{CacheRegistry:()=>xt,ClearCacheEvent:()=>mo});var Xi={};se(Xi,{CancelablePromise:()=>Ir,CanceledPromiseError:()=>ho,cancelable:()=>Yi});var ho=class extends Error{constructor(e,r,i){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=i}},Ir=class extends Promise{constructor(e){super((r,i)=>e(n=>{this.isCanceled?i(new ho("Promise has been canceled",n)):r(n)},n=>{this.isCanceled?i(new ho("Promise has been canceled",void 0,n)):i(n)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Yi=t=>new Ir((e,r)=>t.then(e).catch(r));var tn={};se(tn,{FtNotificationEvent:()=>Ji,PostResizeEvent:()=>en,PreResizeEvent:()=>Qi,WithEventBus:()=>fr,withEventBus:()=>Ns});var Ji=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},Qi=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},en=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};function Ns(t,e){return class extends t{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(r,i,n){this.eventBus.addEventListener(r,i,n)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,i,n){this.eventBus.removeEventListener(r,i,n)}}}var fr=class extends Ns(Object){};var mo=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},xt=class extends fr{constructor(){super(...arguments),this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(e,r){this.loaders[e]=r,this.finalContent.delete(e)}registerFinal(e,r){this.loaders[e]=r,this.finalContent.add(e)}clearAll(e=!0){let r=[];for(let i in this.content)this.clear(i,!1)!=null&&r.push(i);e&&r.length>0&&this.dispatchEvent(new mo(r))}clear(e,r=!0){if(!this.finalContent.has(e))return this.forceClear(e),r&&this.dispatchEvent(new mo([e])),e}forceClear(e){this.clearClearTimeout(e),this.content[e]instanceof Ir&&this.content[e].cancel(),delete this.content[e]}clearClearTimeout(e){this.clearTimeouts[e]!=null&&(window.clearTimeout(this.clearTimeouts[e]),delete this.clearTimeouts[e])}set(e,r){this.forceClear(e),this.register(e,async()=>r),this.content[e]=r}setFinal(e,r){this.forceClear(e),this.registerFinal(e,async()=>r),this.content[e]=r}async get(e,r,i){if(this.content[e]===void 0){if(r=r??this.loaders[e],r==null)throw new Error("Unknown cache key "+e);let n=Yi(r());return this.content[e]=n,n.then(a=>(this.content[e]=a,i!=null&&(this.clearClearTimeout(e),this.clearTimeouts[e]=window.setTimeout(()=>this.clear(e),i)),a))}if(this.content[e]instanceof Error)throw this.content[e];return this.content[e]}isResolvedValue(e){return e!=null&&!(e instanceof Promise)&&!(e instanceof Error)}getNow(e){if(this.isResolvedValue(this.content[e]))return this.content[e]}has(e){return this.content[e]!=null}resolvedKeys(){return Object.keys(this.content).filter(e=>this.isResolvedValue(this.content[e]))}resolvedValues(){return Object.values(this.content).filter(e=>this.isResolvedValue(e))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}};var nn={};se(nn,{ClusteringHelper:()=>on});var on=class t{constructor(e,r,i,n){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=i,this.metadataDescriptors=n}static extractResultMetadata(e){var r,i,n,a,s;let l=((a=(i=(r=e.result)===null||r===void 0?void 0:r.map)!==null&&i!==void 0?i:(n=e.result)===null||n===void 0?void 0:n.document)!==null&&a!==void 0?a:(s=e.result)===null||s===void 0?void 0:s.topic).metadata;return e.key==null?t.flattenMetadata(l,e.hierarchicalValueTruncatingLevel,e.dateFormatter):t.flattenMetadata(l.find(d=>d.key===e.key),e.hierarchicalValueTruncatingLevel,e.dateFormatter)}static flattenMetadata(e,r,i){if(Array.isArray(e))return e.map(a=>t.flattenMetadata(a,r,i)).filter(a=>a!=null);let n=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!n))if(n){let a=[],s=[];return e.hierarchicalValues.forEach(l=>{a.push(l.join(" > ")),r&&r>1&&l.length>=r?s.push(`... > ${l[l.length-1]}`):s.push(l.join(" > "))}),{key:e.key,label:e.label,value:a.join(", "),displayValue:s.join(", "),displayTooltipValue:a.join(", ")}}else{let a=e.values.join(", "),s=e.values.map(l=>i?i(l):l).join(", ");return{key:e.key,label:e.label,value:a,displayValue:s,displayTooltipValue:s}}}computeClustersItemsForMetadata(e,r,i="No value",n,a){var s,l;let d=t.extractResultMetadata({result:this.selectedResult,key:e,dateFormatter:a}),f=(s=d?.label)!==null&&s!==void 0?s:(l=this.getMetadataDescriptor(e))===null||l===void 0?void 0:l.label;return this.allResults.map(u=>t.extractResultMetadata({result:u,key:e,hierarchicalValueTruncatingLevel:n,dateFormatter:a})).map(u=>u??{key:e,label:f,value:void 0,displayValue:i}).filter(u=>u.value!=d?.value).filter((u,b,S)=>S.findIndex(v=>v.value===u.value)===b).map(u=>({result:this.findBestResultForMetadataValue(e,u.value),metadata:u})).sort((u,b)=>this.compareMetadata(u.metadata.value,b.metadata.value,e,r))}compareMetadata(e,r,i,n){if(e==null)return-1;if(r==null)return 1;let a=this.getMetadataDescriptor(i),s=a?.sortRule||"NONE",l=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=e.localeCompare(r,n,{numeric:!0});return l?d*-1:d}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(r=>e==r.key)}findBestResultForMetadataValue(e,r){let i=this.allResults.filter(d=>{var f;return((f=t.extractResultMetadata({result:d,key:e}))===null||f===void 0?void 0:f.value)==r}),a=[...t.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],s,l=-1;for(let d of i){let f=this.countMatchingMetadata(d,a);if(f>l&&(l=f,s=d,f===a.length))break}return s}countMatchingMetadata(e,r){return t.extractResultMetadata({result:e}).filter(i=>r.some(n=>n.key===i.key&&n.value===i.value)).length}};var an={};se(an,{Debouncer:()=>ce});var ce=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,r){return this.callbacks=[e],this.debounce(r)}queue(e,r){return this.callbacks.push(e),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((r,i)=>{this.resolvePromise=r,this.rejectPromise=i})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let i=[...this.callbacks];this.callbacks=[];let n=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let s of i)try{await s()}catch(l){n(l);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var cn={};se(cn,{customElement:()=>V,isNumber:()=>Ts,jsonProperty:()=>$e,optionalNumberProperty:()=>ip});var ln={};se(ln,{dateReviver:()=>ep,deepEqual:()=>Ue,delay:()=>Jo,eventPathContainsMatchingElement:()=>rp,flatDeep:()=>qe,getComposedPathTo:()=>sn,hasChanged:()=>ur,last:()=>op,minmax:()=>yo,parseDate:()=>Ps,unslotText:()=>Br,waitFor:()=>Qo,waitUntil:()=>Qd});var Jo=t=>new Promise(e=>setTimeout(e,t));async function Qd(t,e=10,r=2e4){await Qo(async()=>await t()||void 0,e,r)}async function Qo(t,e=10,r=2e4){let i=await t(),n,a;for(n=a=performance.now();i==null&&(!r||a-n<r);)await Jo(e),i=await t(),a=performance.now();if(i==null)throw new Error("Timeout exceeded");return i}function qe(t,e){return t.flatMap(r=>[r,...qe(e(r),e)])}function ep(...t){return function(e,r){return t.includes(e)?Ps(r):r}}function Ps(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,r,i,n)=>r+i+":"+n),new Date(t)}function tp(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var r,i,n;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(i=r;i--!==0;)if(!Ue(t[i],e[i]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;for(i of t.entries())if(!Ue(i[1],e.get(i[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();let a=s=>Object.keys(s).filter(l=>s[l]!=null);if(n=a(t),r=n.length,r!==a(e).length)return!1;for(i=r;i--!==0;)if(!Object.prototype.hasOwnProperty.call(e,n[i]))return!1;for(i=r;i--!==0;){let s=n[i];if(!Ue(t[s],e[s]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function Ue(t,e){try{return tp(t,e)}catch{return!1}}function ur(t,e){return!Ue(t,e)}function rp(t,e,r=window.document.body){if(e.length>0){let i=t.composedPath();for(let n of i){if(n===r)return!1;if(n.matches&&e.some(a=>n.matches(a)))return!0}}return!1}function yo(t,e,r){return Math.min(Math.max(t,e),r)}function op(t){return t[t.length-1]}function Br(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(e=>Br(e)).join(""):t?.textContent||""}function sn(t){let e=[],r=i=>{i.stopPropagation(),e=i.composedPath()};return t.addEventListener("get-composed-path",r),t.dispatchEvent(new Event("get-composed-path",{composed:!0})),t.removeEventListener("get-composed-path",r),e}var V=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function $e(t,e){let r=()=>JSON.parse(JSON.stringify(t));return y({type:Object,converter:{fromAttribute:i=>{if(i==null)return r();try{return JSON.parse(i)}catch{return r()}},toAttribute:i=>JSON.stringify(i)},hasChanged:ur,...e??{}})}function ip(t){return y({type:Object,converter:{fromAttribute:e=>{if(e!=null)return Ts(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...t??{}})}function Ts(t){return!isNaN(parseFloat(t))}var Fn={};se(Fn,{designSystemVariables:()=>L});var Dn={};se(Dn,{DesignSystemFamily:()=>It,DesignSystemSize:()=>_e,FtCssVariableFactory:()=>o,badge:()=>pp,banner:()=>dp,button:()=>g,chart:()=>Rp,checkbox:()=>ap,chip:()=>ee,chipChoice:()=>lp,collapsible:()=>wp,comboboxMultiSelect:()=>Cp,comboboxSingleSelect:()=>Op,drawer:()=>gp,floatingMenu:()=>Sp,foundation:()=>c,link:()=>cp,modal:()=>yp,notice:()=>kp,notification:()=>Np,pageDesigner:()=>Lp,pageFooter:()=>hp,pageHeader:()=>up,pageLayout:()=>mp,popover:()=>Ep,radio:()=>$p,reorderableList:()=>Tp,resolveFamilyClass:()=>In,resolveSizeClass:()=>Bn,semantic:()=>p,setVariable:()=>x,switch_:()=>Ap,table:()=>sp,tabs:()=>bp,textArea:()=>vp,textInput:()=>xp,titleBreadcrumb:()=>fp,toggle:()=>_p,tooltip:()=>Pp,typographies:()=>go,typographyBody1Medium:()=>mn,typographyBody1Regular:()=>hn,typographyBody1Semibold:()=>yn,typographyBody2Medium:()=>bn,typographyBody2MediumUnderline:()=>Is,typographyBody2Regular:()=>gn,typographyBody2Semibold:()=>xn,typographyCaption1Bold:()=>Ln,typographyCaption1Medium:()=>An,typographyCaption1Semibold:()=>Rn,typographyCaption2Bold:()=>$n,typographyCaption2Medium:()=>kn,typographyCaption2Semibold:()=>_n,typographyCaption3Bold:()=>Tn,typographyCaption3Medium:()=>Nn,typographyCaption3Semibold:()=>Pn,typographyDisplay:()=>dn,typographyLabel1Bold:()=>On,typographyLabel1Medium:()=>vn,typographyLabel1Semibold:()=>Sn,typographyLabel2Bold:()=>wn,typographyLabel2Medium:()=>Cn,typographyLabel2Semibold:()=>En,typographyTitle1:()=>pn,typographyTitle2:()=>fn,typographyTitle3:()=>un,typographyVariants:()=>np});var Tt=t=>typeof t=="string"?$t(t):t,o=class{static create(e,r,i,n){let a=l=>Tt(l??n),s=_`var(${Tt(e)}, ${a(n)})`;return s.name=e,s.description=r,s.category=i,s.defaultValue=n,s.defaultCssValue=a,s.get=l=>_`var(${Tt(e)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>n,s}static extend(e,r,i,n){let a=l=>i.get(l??n),s=_`var(${Tt(e)}, ${a(n)})`;return s.name=e,s.description=r,s.category=i.category,s.fallbackVariable=i,s.defaultValue=n,s.defaultCssValue=a,s.get=l=>_`var(${Tt(e)}, ${a(l)})`,s.breadcrumb=()=>[i.name,...i.breadcrumb()],s.lastResortDefaultValue=()=>n??i.lastResortDefaultValue(),s}static external(e,r){let i=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):Tt(a??e.lastResortDefaultValue()),n=_`var(${Tt(e.name)}, ${i(e.defaultValue)})`;return n.name=e.name,n.category=e.category,n.fallbackVariable=e.fallbackVariable,n.defaultValue=e.defaultValue,n.context=r,n.defaultCssValue=i,n.get=a=>_`var(${Tt(e.name)}, ${i(a)})`,n.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],n.lastResortDefaultValue=()=>e.lastResortDefaultValue(),n}};function x(t,e){return Tt(`${t.name}: ${e}`)}var c={colorWhite:o.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ft-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:o.create("--ft-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:o.create("--ft-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:o.create("--ft-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:o.create("--ft-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:o.create("--ft-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:o.create("--ft-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:o.create("--ft-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:o.create("--ft-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:o.create("--ft-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:o.create("--ft-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:o.create("--ft-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:o.create("--ft-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:o.create("--ft-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:o.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:o.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:o.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:o.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:o.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:o.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:o.create("--ft-opacity-0","","NUMBER","0"),opacity8:o.create("--ft-opacity-8","","NUMBER","0.08"),opacity12:o.create("--ft-opacity-12","","NUMBER","0.12"),opacity16:o.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:o.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:o.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:o.create("--ft-opacity-48","","NUMBER","0.48"),opacity80:o.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:o.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:o.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:o.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:o.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:o.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:o.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:o.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:o.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:o.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},dn={fontFamily:o.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:o.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-display-textCase","","UNKNOWN","none")},pn={fontFamily:o.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:o.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},fn={fontFamily:o.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:o.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},un={fontFamily:o.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:o.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:o.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},hn={fontFamily:o.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},mn={fontFamily:o.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},yn={fontFamily:o.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},gn={fontFamily:o.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},bn={fontFamily:o.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Is={fontFamily:o.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:o.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:o.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},xn={fontFamily:o.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},vn={fontFamily:o.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Sn={fontFamily:o.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},On={fontFamily:o.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Cn={fontFamily:o.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},En={fontFamily:o.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},wn={fontFamily:o.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},An={fontFamily:o.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Rn={fontFamily:o.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Ln={fontFamily:o.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},kn={fontFamily:o.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},_n={fontFamily:o.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},$n={fontFamily:o.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Nn={fontFamily:o.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Pn={fontFamily:o.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Tn={fontFamily:o.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},go={display:dn,"title-1":pn,"title-2":fn,"title-3":un,"body-1-regular":hn,"body-1-medium":mn,"body-1-semibold":yn,"body-2-regular":gn,"body-2-medium":bn,"body-2-medium-underline":Is,"body-2-semibold":xn,"label-1-medium":vn,"label-1-semibold":Sn,"label-1-bold":On,"label-2-medium":Cn,"label-2-semibold":En,"label-2-bold":wn,"caption-1-medium":An,"caption-1-semibold":Rn,"caption-1-bold":Ln,"caption-2-medium":kn,"caption-2-semibold":_n,"caption-2-bold":$n,"caption-3-medium":Nn,"caption-3-semibold":Pn,"caption-3-bold":Tn},np=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"];var p={backgroundActionPrimary:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
5
|
+
Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",c.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",c.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:o.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)};var g={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",c.spacing4),largeGap:o.extend("--ft-button-large-gap","",c.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",c.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",c.iconSize3),largeBorderWidth:o.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ft-button-medium-horizontal-padding","",c.spacing3),mediumGap:o.extend("--ft-button-medium-gap","",c.spacing2),mediumBorderRadius:o.extend("--ft-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:o.extend("--ft-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:o.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-button-small-horizontal-padding","",c.spacing2),smallGap:o.extend("--ft-button-small-gap","",c.spacing1),smallBorderRadius:o.extend("--ft-button-small-border-radius","",c.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",c.iconSize1),smallBorderWidth:o.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ft-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:o.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ft-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:o.extend("--ft-button-primary-brand-background-color","",p.backgroundActionPrimary),primaryBrandColor:o.extend("--ft-button-primary-brand-color","",p.contentGlobalOnColor),primaryBrandIconColor:o.extend("--ft-button-primary-brand-icon-color","",p.contentGlobalOnColor),primaryBrandStateLayerColor:o.extend("--ft-button-primary-brand-state-layer-color","",p.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:o.extend("--ft-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:o.extend("--ft-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:o.extend("--ft-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:o.extend("--ft-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",p.borderActionFocusRing),tertiaryBrandBackgroundColor:o.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:o.extend("--ft-button-tertiary-brand-color","",p.contentActionPrimary),tertiaryBrandIconColor:o.extend("--ft-button-tertiary-brand-icon-color","",p.contentActionPrimary),tertiaryBrandStateLayerColor:o.extend("--ft-button-tertiary-brand-state-layer-color","",p.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:o.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:o.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:o.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:o.extend("--ft-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:o.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:o.extend("--ft-button-tertiary-info-color","",p.contentInfoPrimary),tertiaryInfoIconColor:o.extend("--ft-button-tertiary-info-icon-color","",p.contentInfoPrimary),tertiaryInfoStateLayerColor:o.extend("--ft-button-tertiary-info-state-layer-color","",p.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:o.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:o.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:o.extend("--ft-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:o.extend("--ft-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:o.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:o.extend("--ft-button-tertiary-success-color","",p.contentSuccessPrimary),tertiarySuccessIconColor:o.extend("--ft-button-tertiary-success-icon-color","",p.contentSuccessPrimary),tertiarySuccessStateLayerColor:o.extend("--ft-button-tertiary-success-state-layer-color","",p.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:o.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:o.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:o.extend("--ft-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:o.extend("--ft-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:o.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:o.extend("--ft-button-tertiary-warning-color","",p.contentWarningPrimary),tertiaryWarningIconColor:o.extend("--ft-button-tertiary-warning-icon-color","",p.contentWarningPrimary),tertiaryWarningStateLayerColor:o.extend("--ft-button-tertiary-warning-state-layer-color","",p.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:o.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:o.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:o.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:o.extend("--ft-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:o.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:o.extend("--ft-button-tertiary-error-color","",p.contentErrorPrimary),tertiaryErrorIconColor:o.extend("--ft-button-tertiary-error-icon-color","",p.contentErrorPrimary),tertiaryErrorStateLayerColor:o.extend("--ft-button-tertiary-error-state-layer-color","",p.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:o.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:o.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:o.extend("--ft-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:o.extend("--ft-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:o.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:o.extend("--ft-button-tertiary-neutral-icon-color","",p.contentGlobalSecondary),tertiaryNeutralColor:o.extend("--ft-button-tertiary-neutral-color","",p.contentGlobalSecondary),tertiaryNeutralStateLayerColor:o.extend("--ft-button-tertiary-neutral-state-layer-color","",p.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:o.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:o.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:o.extend("--ft-button-secondary-brand-color","",p.contentActionPrimary),secondaryBrandIconColor:o.extend("--ft-button-secondary-brand-icon-color","",p.contentActionPrimary),secondaryBrandStateLayerColor:o.extend("--ft-button-secondary-brand-state-layer-color","",p.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:o.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:o.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:o.extend("--ft-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:o.extend("--ft-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:o.extend("--ft-button-secondary-brand-border-color","",p.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:o.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:o.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:o.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:o.extend("--ft-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:o.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:o.extend("--ft-button-secondary-neutral-color","",p.contentGlobalSecondary),secondaryNeutralIconColor:o.extend("--ft-button-secondary-neutral-icon-color","",p.contentGlobalSecondary),secondaryNeutralStateLayerColor:o.extend("--ft-button-secondary-neutral-state-layer-color","",p.contentGlobalSecondary),secondaryNeutralBorderColor:o.extend("--ft-button-secondary-neutral-border-color","",p.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:o.extend("--ft-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:o.extend("--ft-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:o.extend("--ft-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:o.extend("--ft-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:o.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:o.extend("--ft-button-secondary-info-border-color","",p.borderInfoPrimary),secondaryInfoColor:o.extend("--ft-button-secondary-info-color","",p.contentInfoPrimary),secondaryInfoIconColor:o.extend("--ft-button-secondary-info-icon-color","",p.contentInfoPrimary),secondaryInfoStateLayerColor:o.extend("--ft-button-secondary-info-state-layer-color","",p.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:o.extend("--ft-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:o.extend("--ft-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:o.extend("--ft-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:o.extend("--ft-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:o.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:o.extend("--ft-button-secondary-success-border-color","",p.borderSuccessPrimary),secondarySuccessColor:o.extend("--ft-button-secondary-success-color","",p.contentSuccessPrimary),secondarySuccessIconColor:o.extend("--ft-button-secondary-success-icon-color","",p.contentSuccessPrimary),secondarySuccessStateLayerColor:o.extend("--ft-button-secondary-success-state-layer-color","",p.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:o.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:o.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:o.extend("--ft-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:o.extend("--ft-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:o.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:o.extend("--ft-button-secondary-warning-border-color","",p.borderWarningPrimary),secondaryWarningColor:o.extend("--ft-button-secondary-warning-color","",p.contentWarningPrimary),secondaryWarningIconColor:o.extend("--ft-button-secondary-warning-icon-color","",p.contentWarningPrimary),secondaryWarningStateLayerColor:o.extend("--ft-button-secondary-warning-state-layer-color","",p.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:o.extend("--ft-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:o.extend("--ft-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:o.extend("--ft-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:o.extend("--ft-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:o.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:o.extend("--ft-button-secondary-error-border-color","",p.contentErrorPrimary),secondaryErrorColor:o.extend("--ft-button-secondary-error-color","",p.contentErrorPrimary),secondaryErrorIconColor:o.extend("--ft-button-secondary-error-icon-color","",p.contentErrorPrimary),secondaryErrorStateLayerColor:o.extend("--ft-button-secondary-error-state-layer-color","",p.contentErrorPrimary)};var ap={iconSize:o.extend("--ft-checkbox-icon-size","",c.iconSize2),boxSize:o.create("--ft-checkbox-box-size","","SIZE","18px"),colorLegendSize:o.create("--ft-checkbox-color-legend-size","","SIZE","16px"),borderRadius:o.create("--ft-checkbox-border-radius","","SIZE","1px"),color:o.extend("--ft-checkbox-color","",p.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ft-checkbox-checked-background-color","",p.contentActionPrimary),checkedStateLayerColor:o.extend("--ft-checkbox-checked-state-layer-color","",p.contentActionPrimary),checkedIconColor:o.extend("--ft-checkbox-checked-icon-color","",p.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ft-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:o.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),borderWidth:o.create("--ft-checkbox-border-width","","SIZE","2px"),horizontalGap:o.extend("--ft-checkbox-horizontal-gap","",c.spacing3),leftPadding:o.extend("--ft-checkbox-left-padding","",c.spacing2)};var sp={headerRowBorderWidth:o.create("--ft-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:o.extend("--ft-table-header-row-background-color","",p.backgroundGlobalOnSurfaceDark),headerRowBorderColor:o.extend("--ft-table-header-row-border-color","",p.borderGlobalPrimary),headerRowColor:o.extend("--ft-table-header-row-color","",p.contentGlobalPrimary),dataRowBorderWidth:o.create("--ft-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:o.extend("--ft-table-data-row-background-color","",p.backgroundGlobalOnSurface),dataRowBorderColor:o.extend("--ft-table-data-row-border-color","",p.borderGlobalSubtle),dataRowColor:o.extend("--ft-table-data-row-color","",p.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:o.extend("--ft-table-data-row-default-hover-background-color","",c.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:o.extend("--ft-table-data-row-selectable-unselected-hover-background-color","",c.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:o.extend("--ft-table-data-row-selectable-selected-default-background-color","",c.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:o.extend("--ft-table-data-row-selectable-selected-default-border-color","",c.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:o.extend("--ft-table-data-row-selectable-selected-hover-background-color","",c.colorBrand20),dataRowSelectableSelectedHoverBorderColor:o.extend("--ft-table-data-row-selectable-selected-hover-border-color","",c.colorBrand30),dataRowSelectableSelectedColor:o.extend("--ft-table-data-row-selectable-selected-color","",p.contentActionPrimary),dataRowClickableHoverBackgroundColor:o.extend("--ft-table-data-row-clickable-hover-background-color","",c.colorGray30),dataRowClickableFocusBorderColor:o.extend("--ft-table-data-row-clickable-focus-border-color","",p.borderActionFocusRing),dataRowClickableFocusBackgroundColor:o.extend("--ft-table-data-row-clickable-focus-background-color","",c.colorGray30),dataRowClickableActiveBackgroundColor:o.extend("--ft-table-data-row-clickable-active-background-color","",c.colorGray40),headerCellHorizontalGap:o.extend("--ft-table-header-cell-horizontal-gap","",c.spacing1),headerCellVerticalPadding:o.extend("--ft-table-header-cell-vertical-padding","",c.spacing2),headerCellHorizontalPadding:o.extend("--ft-table-header-cell-horizontal-padding","",c.spacing3),dataCellVerticalPadding:o.extend("--ft-table-data-cell-vertical-padding","",c.spacing2),dataCellHorizontalPadding:o.extend("--ft-table-data-cell-horizontal-padding","",c.spacing3),dataCellVerticalGap:o.extend("--ft-table-data-cell-vertical-gap","",c.spacing1)};var lp={neutralOffHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",p.borderActionFocusRing),neutralOffActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:o.extend("--ft-chip-choice-neutral-off-background-color","",p.backgroundGlobalOnSurface),neutralOffBorderColor:o.extend("--ft-chip-choice-neutral-off-border-color","",p.borderGlobalPrimary),neutralOffColor:o.extend("--ft-chip-choice-neutral-off-color","",p.contentGlobalSecondary),neutralOffStateLayerColor:o.extend("--ft-chip-choice-neutral-off-state-layer-color","",p.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:o.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",p.borderActionFocusRing),neutralOnActiveStateLayerOpacity:o.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:o.extend("--ft-chip-choice-neutral-on-background-color","",p.backgroundGlobalOnSurface),neutralOnBorderColor:o.extend("--ft-chip-choice-neutral-on-border-color","",p.borderGlobalPrimary),neutralOnColor:o.extend("--ft-chip-choice-neutral-on-color","",p.contentGlobalPrimary),neutralOnIconColor:o.extend("--ft-chip-choice-neutral-on-icon-color","",p.contentGlobalPrimary),neutralOnStateLayerColor:o.extend("--ft-chip-choice-neutral-on-state-layer-color","",p.contentGlobalPrimary),largeMinHeight:o.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:o.extend("--ft-chip-choice-large-gap","",c.spacing1),largeBorderRadius:o.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:o.extend("--ft-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:o.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-choice-medium-icon-size","",c.iconSize2)};var ee={largeMinHeight:o.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:o.extend("--ft-chip-large-button-right-padding","",c.spacing1),largeGap:o.extend("--ft-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:o.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-large-icon-size","",c.iconSize3),mediumMinHeight:o.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:o.extend("--ft-chip-medium-button-right-padding","",c.spacing05),mediumGap:o.extend("--ft-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:o.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-medium-icon-size","",c.iconSize2),smallMinHeight:o.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:o.extend("--ft-chip-small-button-right-padding","",c.spacing05),smallGap:o.extend("--ft-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:o.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:o.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ft-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:o.extend("--ft-chip-neutral-background-color","",p.backgroundGlobalOnSurface),neutralColor:o.extend("--ft-chip-neutral-color","",p.contentGlobalSecondary),neutralIconColor:o.extend("--ft-chip-neutral-icon-color","",p.contentGlobalSecondary),neutralBorderColor:o.extend("--ft-chip-neutral-border-color","",p.borderGlobalSubtle),infoBackgroundColor:o.extend("--ft-chip-info-background-color","",p.backgroundInfoSubtle),infoColor:o.extend("--ft-chip-info-color","",p.contentInfoPrimary),infoIconColor:o.extend("--ft-chip-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:o.extend("--ft-chip-info-border-color","",p.borderInfoSubtle),successBackgroundColor:o.extend("--ft-chip-success-background-color","",p.backgroundSuccessSubtle),successColor:o.extend("--ft-chip-success-color","",p.contentSuccessPrimary),successIconColor:o.extend("--ft-chip-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:o.extend("--ft-chip-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-chip-warning-background-color","",p.backgroundWarningSubtle),warningColor:o.extend("--ft-chip-warning-color","",p.contentWarningPrimary),warningIconColor:o.extend("--ft-chip-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:o.extend("--ft-chip-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-chip-error-background-color","",p.backgroundErrorSubtle),errorColor:o.extend("--ft-chip-error-color","",p.contentErrorPrimary),errorIconColor:o.extend("--ft-chip-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:o.extend("--ft-chip-error-border-color","",p.borderErrorSubtle)};var cp={brandHoverOpacity:o.extend("--ft-link-brand-hover-opacity","",c.opacity80),brandHoverColor:o.extend("--ft-link-brand-hover-color","",p.contentActionPrimary),brandFocusFocusRingColor:o.extend("--ft-link-brand-focus-focus-ring-color","",p.borderActionFocusRing),brandFocusColor:o.extend("--ft-link-brand-focus-color","",p.contentActionPrimary),brandDefaultColor:o.extend("--ft-link-brand-default-color","",p.contentActionPrimary),brandActiveColor:o.extend("--ft-link-brand-active-color","",p.contentActionPrimary),infoHoverOpacity:o.extend("--ft-link-info-hover-opacity","",c.opacity80),infoHoverColor:o.extend("--ft-link-info-hover-color","",p.contentInfoPrimary),infoFocusFocusRingColor:o.extend("--ft-link-info-focus-focus-ring-color","",p.borderActionFocusRing),infoFocusColor:o.extend("--ft-link-info-focus-color","",p.contentInfoPrimary),infoDefaultColor:o.extend("--ft-link-info-default-color","",p.contentInfoPrimary),infoActiveColor:o.extend("--ft-link-info-active-color","",p.contentInfoPrimary),neutralFocusFocusRingColor:o.extend("--ft-link-neutral-focus-focus-ring-color","",p.borderActionFocusRing),neutralFocusColor:o.extend("--ft-link-neutral-focus-color","",p.contentActionPrimary),neutralDefaultColor:o.extend("--ft-link-neutral-default-color","",p.contentGlobalPrimary),neutralHoverColor:o.extend("--ft-link-neutral-hover-color","",p.contentActionPrimary),neutralActiveColor:o.extend("--ft-link-neutral-active-color","",p.contentActionPrimary),neutralVisitedColor:o.extend("--ft-link-neutral-visited-color","",c.colorBrand100)};var dp={iconSize:o.extend("--ft-banner-icon-size","",c.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",c.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",c.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",c.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:o.extend("--ft-banner-info-background-color","",p.backgroundInfoSubtle),infoColor:o.extend("--ft-banner-info-color","",p.contentInfoPrimary),infoIconColor:o.extend("--ft-banner-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:o.extend("--ft-banner-info-border-color","",p.borderInfoSubtle)};var pp={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",c.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",c.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",c.borderRadiusPill),color:o.extend("--ft-badge-color","",p.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",p.contentActionPrimary)};var fp={horizontalGap:o.extend("--ft-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:o.extend("--ft-title-breadcrumb-current-color","",p.contentGlobalPrimary),previousNonClickableColor:o.extend("--ft-title-breadcrumb-previous-non-clickable-color","",p.contentGlobalSecondary),iconColor:o.extend("--ft-title-breadcrumb-icon-color","",p.contentGlobalSubtle)};var up={parentHorizontalPadding:o.extend("--ft-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:o.extend("--ft-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:o.extend("--ft-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:o.extend("--ft-page-header-parent-help-left-margin","",c.spacing1),parentTitleColor:o.extend("--ft-page-header-parent-title-color","",p.contentGlobalPrimary),parentSubtitleColor:o.extend("--ft-page-header-parent-subtitle-color","",p.contentGlobalSecondary),parentChipLeftMargin:o.extend("--ft-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:o.extend("--ft-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:o.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:o.extend("--ft-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:o.extend("--ft-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:o.extend("--ft-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:o.extend("--ft-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:o.extend("--ft-page-header-child-top-padding","",c.spacing2),childBottomPadding:o.extend("--ft-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:o.extend("--ft-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:o.extend("--ft-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:o.extend("--ft-page-header-child-vertical-gap","",c.spacing2),childMinHeight:o.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:o.extend("--ft-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:o.extend("--ft-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:o.extend("--ft-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:o.extend("--ft-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",c.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",p.borderGlobalSubtle),bottomBorderWidth:o.create("--ft-page-header-bottom-border-width","","SIZE","1px")};var hp={horizontalPadding:o.extend("--ft-page-footer-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ft-page-footer-vertical-padding","",c.spacing2),verticalGap:o.extend("--ft-page-footer-vertical-gap","",c.spacing2),minHeight:o.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:o.extend("--ft-page-footer-background-color","",c.colorWhite),topBorderColor:o.extend("--ft-page-footer-top-border-color","",p.borderGlobalSubtle),topBorderWidth:o.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:o.extend("--ft-page-footer-buttons-group-gap","",c.spacing4)};var mp={contentHorizontalPadding:o.extend("--ft-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:o.extend("--ft-page-layout-content-vertical-padding","",c.spacing6)};var yp={smallContainerTargetWidth:o.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:o.extend("--ft-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:o.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:o.extend("--ft-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:o.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:o.extend("--ft-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:o.extend("--ft-modal-overlay-background-color","",c.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",c.opacity40),shadow:o.extend("--ft-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",c.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",c.spacing6),headerBackgroundColor:o.extend("--ft-modal-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-modal-header-border-color","",p.borderGlobalSubtle),headerColor:o.extend("--ft-modal-header-color","",p.contentGlobalPrimary),headerLeadingIconColor:o.extend("--ft-modal-header-leading-icon-color","",p.contentGlobalPrimary),headerVerticalPadding:o.extend("--ft-modal-header-vertical-padding","",c.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",c.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",c.spacing6),headerGap:o.extend("--ft-modal-header-gap","",c.spacing2),headerBorderBottomWidth:o.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",c.borderRadiusM)};var gp={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",c.opacity40),shadow:o.extend("--ft-drawer-shadow","",c.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",c.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",c.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:o.extend("--ft-drawer-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-drawer-header-border-color","",p.borderGlobalSubtle),headerColor:o.extend("--ft-drawer-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-drawer-header-trailing-icon-color","",p.contentGlobalSecondary),headerHeight:o.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ft-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:o.extend("--ft-drawer-buttons-bar-background-color","",p.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ft-drawer-buttons-bar-border-color","",p.borderGlobalSubtle),buttonsBarColor:o.extend("--ft-drawer-buttons-bar-color","",p.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ft-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:o.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ft-drawer-overlay-background-color","",c.colorGray700)};var bp={offBorderBottomWidth:o.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:o.extend("--ft-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ft-tabs-off-color","",p.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-tabs-off-state-layer-color","",p.contentGlobalSubtle),offBorderBottomColor:o.extend("--ft-tabs-off-border-bottom-color","",p.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ft-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:o.extend("--ft-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:o.extend("--ft-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:o.extend("--ft-tabs-horizontal-gap","",c.spacing1),verticalGap:o.extend("--ft-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:o.extend("--ft-tabs-on-color","",p.contentActionPrimary),onStateLayerColor:o.extend("--ft-tabs-on-state-layer-color","",p.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ft-tabs-on-active-tab-indicator-color","",p.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ft-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",c.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",p.borderActionFocusRing)};var xp={fieldHorizontalPadding:o.extend("--ft-text-input-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ft-text-input-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ft-text-input-field-vertical-gap","",c.spacing05),fieldIconSize:o.extend("--ft-text-input-field-icon-size","",c.iconSize3),fieldHeight:o.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",c.borderRadiusM),backgroundColor:o.extend("--ft-text-input-background-color","",c.colorWhite),contentValueColor:o.extend("--ft-text-input-content-value-color","",p.contentGlobalPrimary),trailingIconColor:o.extend("--ft-text-input-trailing-icon-color","",p.contentGlobalSubtle),labelColor:o.extend("--ft-text-input-label-color","",p.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-input-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-input-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-input-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-input-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-input-error-helper-icon-color","",p.contentErrorIconOnly),warningBorderWidth:o.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-text-input-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:o.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-input-disabled-component-opacity","",c.opacity40)};var vp={backgroundColor:o.extend("--ft-text-area-background-color","",c.colorWhite),contentValueColor:o.extend("--ft-text-area-content-value-color","",p.contentGlobalPrimary),labelColor:o.extend("--ft-text-area-label-color","",p.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-area-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-area-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-area-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-area-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-area-error-helper-icon-color","",p.contentErrorIconOnly),focusFocusRingColor:o.extend("--ft-text-area-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:o.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",c.borderRadiusM)};var Sp={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",c.spacing4),offIconColor:o.extend("--ft-floating-menu-off-icon-color","",p.contentGlobalPrimary),offColor:o.extend("--ft-floating-menu-off-color","",p.contentGlobalPrimary),onColor:o.extend("--ft-floating-menu-on-color","",p.contentActionPrimary),onStateLayerColor:o.extend("--ft-floating-menu-on-state-layer-color","",p.contentActionPrimary),gap:o.extend("--ft-floating-menu-gap","",c.spacing3),focusFocusRingColor:o.extend("--ft-floating-menu-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:o.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ft-floating-menu-focus-state-layer-opacity","",c.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",c.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",p.backgroundGlobalOnSurface),shadow:o.extend("--ft-floating-menu-shadow","",c.shadowElevation02)};var Op={fieldHorizontalPadding:o.extend("--ft-combobox-single-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-single-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ft-combobox-single-select-field-vertical-gap","",c.spacing05),fieldIconSize:o.extend("--ft-combobox-single-select-field-icon-size","",c.iconSize3),fieldHeight:o.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",c.borderRadiusM),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",c.colorWhite),labelColor:o.extend("--ft-combobox-single-select-label-color","",p.contentGlobalSubtle),contentValueColor:o.extend("--ft-combobox-single-select-content-value-color","",p.contentGlobalPrimary),trailingIconColor:o.extend("--ft-combobox-single-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-single-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-single-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-combobox-single-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-single-select-error-helper-text-color","",p.contentErrorPrimary),warningBorderWidth:o.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-single-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-single-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-single-select-warning-helper-icon-color","",p.contentWarningIconOnly),focusOutlineWidth:o.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-single-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:o.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-single-select-disabled-component-opacity","",c.opacity40)};var Cp={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",c.colorWhite),labelColor:o.extend("--ft-combobox-multi-select-label-color","",p.contentGlobalSubtle),trailingIconColor:o.extend("--ft-combobox-multi-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-multi-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-multi-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ft-combobox-multi-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-multi-select-error-helper-text-color","",p.contentErrorPrimary),errorHelperIcon:o.extend("--ft-combobox-multi-select-error-helper-icon","",p.contentErrorIconOnly),errorBorderWidth:o.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-multi-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-multi-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-multi-select-warning-helper-icon-color","",p.contentWarningIconOnly),warningBorderWidth:o.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-multi-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:o.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-multi-select-disabled-component-opacity","",c.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",c.borderRadiusM)};var Ep={backgroundColor:o.extend("--ft-popover-background-color","",p.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",c.spacing6),titleColor:o.extend("--ft-popover-title-color","",p.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",p.contentGlobalSecondary),linkColor:o.extend("--ft-popover-link-color","",p.contentActionPrimary),gap:o.extend("--ft-popover-gap","",c.spacing3),borderRadius:o.extend("--ft-popover-border-radius","",c.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",c.shadowElevation02),maxWidth:o.create("--ft-popover-max-width","","SIZE","440px")};var wp={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:o.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ft-collapsible-focus-focus-ring-color","",p.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ft-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",c.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",c.spacing3),color:o.extend("--ft-collapsible-color","",p.contentGlobalPrimary),stateLayerColor:o.extend("--ft-collapsible-state-layer-color","",p.contentGlobalPrimary),backgroundColor:o.extend("--ft-collapsible-background-color","",p.backgroundGlobalOnSurface),borderColor:o.extend("--ft-collapsible-border-color","",p.borderGlobalSubtle),iconSize:o.extend("--ft-collapsible-icon-size","",c.iconSize3)};var Ap={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",c.spacing1),groupGap:o.extend("--ft-switch-group-gap","",c.spacing1),groupBackgroundColor:o.extend("--ft-switch-group-background-color","",p.backgroundGlobalSurface),groupBorderColor:o.extend("--ft-switch-group-border-color","",p.borderGlobalSubtle),groupBorderRadius:o.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ft-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",c.opacity40),offColor:o.extend("--ft-switch-off-color","",p.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",c.opacity40),onColor:o.extend("--ft-switch-on-color","",p.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",p.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:o.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-switch-focus-focus-ring-color","",p.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",c.borderRadiusS)};var Rp={color1Light:o.extend("--ft-chart-1-light","for area color charts",c.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",c.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",c.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",c.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",c.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",c.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",c.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",c.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",c.colorRed40),color5Base:o.extend("--ft-chart-5-base","",c.colorRed60),color6Light:o.extend("--ft-chart-6-light","",c.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",c.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",c.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",c.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",c.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",c.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",c.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",c.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",c.colorGray50),color10Base:o.extend("--ft-chart-10-base","",c.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",c.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",c.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",c.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",c.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",c.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:o.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:o.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:o.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:o.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:o.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)};var Lp={color1IconColor:o.extend("--ft-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:o.extend("--ft-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:o.extend("--ft-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:o.extend("--ft-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:o.extend("--ft-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:o.extend("--ft-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:o.extend("--ft-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:o.extend("--ft-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:o.extend("--ft-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:o.extend("--ft-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:o.extend("--ft-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:o.extend("--ft-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:o.extend("--ft-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:o.extend("--ft-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:o.extend("--ft-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:o.extend("--ft-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)};var kp={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",c.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",c.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",c.borderRadiusS),gap:o.extend("--ft-notice-gap","",c.spacing2),iconSize:o.extend("--ft-notice-icon-size","",c.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",p.backgroundInfoSubtle),infoBorderColor:o.extend("--ft-notice-info-border-color","",p.borderInfoSubtle),infoColor:o.extend("--ft-notice-info-color","",p.contentInfoPrimary),infoIconColor:o.extend("--ft-notice-info-icon-color","",p.contentInfoIconOnly),warningBackgroundColor:o.extend("--ft-notice-warning-background-color","",p.backgroundWarningSubtle),warningBorderColor:o.extend("--ft-notice-warning-border-color","",p.borderWarningSubtle),warningColor:o.extend("--ft-notice-warning-color","",p.contentWarningPrimary),warningIconColor:o.extend("--ft-notice-warning-icon-color","",p.contentWarningIconOnly),errorBackgroundColor:o.extend("--ft-notice-error-background-color","",p.backgroundErrorSubtle),errorBorderColor:o.extend("--ft-notice-error-border-color","",p.borderErrorSubtle),errorColor:o.extend("--ft-notice-error-color","",p.contentErrorPrimary),errorIconColor:o.extend("--ft-notice-error-icon-color","",p.contentErrorIconOnly),successBackgroundColor:o.extend("--ft-notice-success-background-color","",p.backgroundSuccessSubtle),successBorderColor:o.extend("--ft-notice-success-border-color","",p.borderSuccessSubtle),successColor:o.extend("--ft-notice-success-color","",p.contentSuccessPrimary),successIconColor:o.extend("--ft-notice-success-icon-color","",p.contentSuccessIconOnly),denseHorizontalPadding:o.create("--ft-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:o.create("--ft-notice-dense-vertical-padding","","SIZE","0px"),denseGap:o.extend("--ft-notice-dense-gap","",c.spacing1),denseIconSize:o.extend("--ft-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:o.create("--ft-notice-dense-border-width","","SIZE","0")};var _p={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:o.extend("--ft-toggle-off-background-color","",p.contentGlobalSubtle),offIconColor:o.extend("--ft-toggle-off-icon-color","",p.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-toggle-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:o.extend("--ft-toggle-on-background-color","",p.contentActionPrimary),onStateLayerColor:o.extend("--ft-toggle-on-state-layer-color","",p.contentActionPrimary),onIconColor:o.extend("--ft-toggle-on-icon-color","",p.contentActionPrimary),color:o.extend("--ft-toggle-color","",p.contentGlobalPrimary),focusFocusRingColor:o.extend("--ft-toggle-focus-focus-ring-color","",p.borderActionFocusRing),gap:o.extend("--ft-toggle-gap","",c.spacing3)};var $p={color:o.extend("--ft-radio-color","",p.contentGlobalPrimary),selectedRadioColor:o.extend("--ft-radio-selected-radio-color","",p.contentActionPrimary),selectedStateLayerColor:o.extend("--ft-radio-selected-state-layer-color","",p.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ft-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:o.extend("--ft-radio-unselected-state-layer-color","",p.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",p.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ft-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:o.extend("--ft-radio-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:o.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-radio-gap","",c.spacing3)};var Np={iconSize:o.extend("--ft-notification-icon-size","",c.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",c.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",c.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",c.spacing3),infoBackgroundColor:o.extend("--ft-notification-info-background-color","",p.backgroundInfoSubtle),infoColor:o.extend("--ft-notification-info-color","",p.contentInfoPrimary),infoIconColor:o.extend("--ft-notification-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:o.extend("--ft-notification-info-border-color","",p.borderInfoSubtle),successBackgroundColor:o.extend("--ft-notification-success-background-color","",p.backgroundSuccessSubtle),successColor:o.extend("--ft-notification-success-color","",p.contentSuccessPrimary),successIconColor:o.extend("--ft-notification-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:o.extend("--ft-notification-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-notification-warning-background-color","",p.backgroundWarningSubtle),warningColor:o.extend("--ft-notification-warning-color","",p.contentWarningPrimary),warningIconColor:o.extend("--ft-notification-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:o.extend("--ft-notification-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-notification-error-background-color","",p.backgroundErrorSubtle),errorColor:o.extend("--ft-notification-error-color","",p.contentErrorPrimary),errorIconColor:o.extend("--ft-notification-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:o.extend("--ft-notification-error-border-color","",p.borderErrorSubtle),borderRadius:o.extend("--ft-notification-border-radius","",c.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",c.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",c.spacing8)};var Pp={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",c.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",c.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",c.borderRadiusS),color:o.extend("--ft-tooltip-color","",p.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",p.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",c.opacity80),shadow:o.extend("--ft-tooltip-shadow","",c.shadowElevation02),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",c.spacing05)};var Tp={verticalPadding:o.extend("--ft-reorderable-list-vertical-padding","",c.spacing4),gap:o.extend("--ft-reorderable-list-gap","",c.spacing1),borderRadius:o.extend("--ft-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:o.extend("--ft-reorderable-list-reorderable-item-title-margin-right","",c.spacing6),reorderableItemTitleColor:o.extend("--ft-reorderable-list-reorderable-item-title-color","",p.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:o.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-margin-right","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:o.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:o.extend("--ft-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.spacing2),reorderableItemUsersCountColor:o.extend("--ft-reorderable-list-reorderable-item-users-count-color","",p.contentGlobalPrimary),reorderableItemUsersCountMarginRight:o.extend("--ft-reorderable-list-reorderable-item-users-count-margin-right","",c.spacing6),reorderableItemBackgroundColor:o.extend("--ft-reorderable-list-reorderable-item-background-color","",p.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:o.extend("--ft-reorderable-list-reorderable-item-warning-message-gap","",c.spacing1),reorderableItemWarningMessageColor:o.extend("--ft-reorderable-list-reorderable-item-warning-message-color","",p.contentWarningPrimary),reorderableItemWarningMessageIconColor:o.extend("--ft-reorderable-list-reorderable-item-warning-message-icon-color","",p.contentWarningIconOnly),reorderableItemGripColor:o.extend("--ft-reorderable-list-reorderable-item-grip-color","",p.contentGlobalSecondary),reorderableItemGripOpacity:o.extend("--ft-reorderable-list-reorderable-item-grip-opacity","",c.opacity48),boxShadow:o.extend("--ft-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:o.create("--ft-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:o.extend("--ft-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:o.extend("--ft-reorderable-list-left-padding","",c.spacing2),rightPadding:o.extend("--ft-reorderable-list-right-padding","",c.spacing6),borderColor:o.extend("--ft-reorderable-list-border-color","",p.borderGlobalPrimary),backgroundColor:o.extend("--ft-reorderable-list-background-color","",p.backgroundGlobalOnSurfaceDark)};var It;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(It||(It={}));var _e;(function(t){t.large="large",t.medium="medium",t.small="small"})(_e||(_e={}));function In(t){return`ftds--family-${t}`}function Bn(t){return`ftds--size-${t}`}var L={colorPrimary:o.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:o.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:o.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:o.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:o.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:o.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:o.create("--ft-color-error","","COLOR","#B00020"),colorOutline:o.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:o.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:o.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:o.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:o.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:o.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:o.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:o.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:o.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:o.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:o.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:o.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:o.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:o.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:o.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:o.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:o.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:o.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:o.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:o.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:o.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:o.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:o.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:o.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:o.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:o.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:o.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:o.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:o.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:o.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:o.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:o.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:o.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:o.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:o.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:o.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:o.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:o.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:o.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:o.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:o.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:o.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:o.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:o.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:o.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:o.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:o.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:o.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:o.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:o.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:o.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:o.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:o.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var ra={};se(ra,{computeFlipOffsetPosition:()=>ta,computeOffsetPosition:()=>ea});var Ds=["top","right","bottom","left"],Bs=["start","end"],Mn=Ds.reduce((t,e)=>t.concat(e,e+"-"+Bs[0],e+"-"+Bs[1]),[]),ei=Math.min,Gt=Math.max;var Ip={left:"right",right:"left",bottom:"top",top:"bottom"},Bp={start:"end",end:"start"};function Un(t,e,r){return Gt(t,ei(e,r))}function hr(t,e){return typeof t=="function"?t(e):t}function dt(t){return t.split("-")[0]}function pt(t){return t.split("-")[1]}function zn(t){return t==="x"?"y":"x"}function Wn(t){return t==="y"?"height":"width"}function vt(t){return["top","bottom"].includes(dt(t))?"y":"x"}function Hn(t){return zn(vt(t))}function Vn(t,e,r){r===void 0&&(r=!1);let i=pt(t),n=Hn(t),a=Wn(n),s=n==="x"?i===(r?"end":"start")?"right":"left":i==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=xo(s)),[s,xo(s)]}function Fs(t){let e=xo(t);return[bo(t),e,bo(e)]}function bo(t){return t.replace(/start|end/g,e=>Bp[e])}function Dp(t,e,r){let i=["left","right"],n=["right","left"],a=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return r?e?n:i:e?i:n;case"left":case"right":return e?a:s;default:return[]}}function Ms(t,e,r,i){let n=pt(t),a=Dp(dt(t),r==="start",i);return n&&(a=a.map(s=>s+"-"+n),e&&(a=a.concat(a.map(bo)))),a}function xo(t){return t.replace(/left|right|bottom|top/g,e=>Ip[e])}function Fp(t){return{top:0,right:0,bottom:0,left:0,...t}}function Us(t){return typeof t!="number"?Fp(t):{top:t,right:t,bottom:t,left:t}}function mr(t){let{x:e,y:r,width:i,height:n}=t;return{width:i,height:n,top:r,left:e,right:e+i,bottom:r+n,x:e,y:r}}function zs(t,e,r){let{reference:i,floating:n}=t,a=vt(e),s=Hn(e),l=Wn(s),d=dt(e),f=a==="y",h=i.x+i.width/2-n.width/2,u=i.y+i.height/2-n.height/2,b=i[l]/2-n[l]/2,S;switch(d){case"top":S={x:h,y:i.y-n.height};break;case"bottom":S={x:h,y:i.y+i.height};break;case"right":S={x:i.x+i.width,y:u};break;case"left":S={x:i.x-n.width,y:u};break;default:S={x:i.x,y:i.y}}switch(pt(e)){case"start":S[s]-=b*(r&&f?-1:1);break;case"end":S[s]+=b*(r&&f?-1:1);break}return S}var Ws=async(t,e,r)=>{let{placement:i="bottom",strategy:n="absolute",middleware:a=[],platform:s}=r,l=a.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(e)),f=await s.getElementRects({reference:t,floating:e,strategy:n}),{x:h,y:u}=zs(f,i,d),b=i,S={},v=0;for(let E=0;E<l.length;E++){let{name:$,fn:N}=l[E],{x:T,y:A,data:O,reset:R}=await N({x:h,y:u,initialPlacement:i,placement:b,strategy:n,middlewareData:S,rects:f,platform:s,elements:{reference:t,floating:e}});h=T??h,u=A??u,S={...S,[$]:{...S[$],...O}},R&&v<=50&&(v++,typeof R=="object"&&(R.placement&&(b=R.placement),R.rects&&(f=R.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:n}):R.rects),{x:h,y:u}=zs(f,b,d)),E=-1)}return{x:h,y:u,placement:b,strategy:n,middlewareData:S}};async function vo(t,e){var r;e===void 0&&(e={});let{x:i,y:n,platform:a,rects:s,elements:l,strategy:d}=t,{boundary:f="clippingAncestors",rootBoundary:h="viewport",elementContext:u="floating",altBoundary:b=!1,padding:S=0}=hr(e,t),v=Us(S),$=l[b?u==="floating"?"reference":"floating":u],N=mr(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement($)))==null||r?$:$.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:f,rootBoundary:h,strategy:d})),T=u==="floating"?{x:i,y:n,width:s.floating.width,height:s.floating.height}:s.reference,A=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),O=await(a.isElement==null?void 0:a.isElement(A))?await(a.getScale==null?void 0:a.getScale(A))||{x:1,y:1}:{x:1,y:1},R=mr(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:T,offsetParent:A,strategy:d}):T);return{top:(N.top-R.top+v.top)/O.y,bottom:(R.bottom-N.bottom+v.bottom)/O.y,left:(N.left-R.left+v.left)/O.x,right:(R.right-N.right+v.right)/O.x}}function Mp(t,e,r){return(t?[...r.filter(n=>pt(n)===t),...r.filter(n=>pt(n)!==t)]:r.filter(n=>dt(n)===n)).filter(n=>t?pt(n)===t||(e?bo(n)!==n:!1):!0)}var jn=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,i,n;let{rects:a,middlewareData:s,placement:l,platform:d,elements:f}=e,{crossAxis:h=!1,alignment:u,allowedPlacements:b=Mn,autoAlignment:S=!0,...v}=hr(t,e),E=u!==void 0||b===Mn?Mp(u||null,S,b):b,$=await vo(e,v),N=((r=s.autoPlacement)==null?void 0:r.index)||0,T=E[N];if(T==null)return{};let A=Vn(T,a,await(d.isRTL==null?void 0:d.isRTL(f.floating)));if(l!==T)return{reset:{placement:E[0]}};let O=[$[dt(T)],$[A[0]],$[A[1]]],R=[...((i=s.autoPlacement)==null?void 0:i.overflows)||[],{placement:T,overflows:O}],F=E[N+1];if(F)return{data:{index:N+1,overflows:R},reset:{placement:F}};let H=R.map(I=>{let m=pt(I.placement);return[I.placement,m&&h?I.overflows.slice(0,2).reduce((C,D)=>C+D,0):I.overflows[0],I.overflows]}).sort((I,m)=>I[1]-m[1]),Z=((n=H.filter(I=>I[2].slice(0,pt(I[0])?2:3).every(m=>m<=0))[0])==null?void 0:n[0])||H[0][0];return Z!==l?{data:{index:N+1,overflows:R},reset:{placement:Z}}:{}}}},Gn=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var r,i;let{placement:n,middlewareData:a,rects:s,initialPlacement:l,platform:d,elements:f}=e,{mainAxis:h=!0,crossAxis:u=!0,fallbackPlacements:b,fallbackStrategy:S="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:E=!0,...$}=hr(t,e);if((r=a.arrow)!=null&&r.alignmentOffset)return{};let N=dt(n),T=vt(l),A=dt(l)===l,O=await(d.isRTL==null?void 0:d.isRTL(f.floating)),R=b||(A||!E?[xo(l)]:Fs(l)),F=v!=="none";!b&&F&&R.push(...Ms(l,E,v,O));let H=[l,...R],Q=await vo(e,$),Z=[],I=((i=a.flip)==null?void 0:i.overflows)||[];if(h&&Z.push(Q[N]),u){let Y=Vn(n,s,O);Z.push(Q[Y[0]],Q[Y[1]])}if(I=[...I,{placement:n,overflows:Z}],!Z.every(Y=>Y<=0)){var m,C;let Y=(((m=a.flip)==null?void 0:m.index)||0)+1,ne=H[Y];if(ne&&(!(u==="alignment"?T!==vt(ne):!1)||I.every(Me=>Me.overflows[0]>0&&vt(Me.placement)===T)))return{data:{index:Y,overflows:I},reset:{placement:ne}};let q=(C=I.filter(ot=>ot.overflows[0]<=0).sort((ot,Me)=>ot.overflows[1]-Me.overflows[1])[0])==null?void 0:C.placement;if(!q)switch(S){case"bestFit":{var D;let ot=(D=I.filter(Me=>{if(F){let lt=vt(Me.placement);return lt===T||lt==="y"}return!0}).map(Me=>[Me.placement,Me.overflows.filter(lt=>lt>0).reduce((lt,we)=>lt+we,0)]).sort((Me,lt)=>Me[1]-lt[1])[0])==null?void 0:D[0];ot&&(q=ot);break}case"initialPlacement":q=l;break}if(n!==q)return{reset:{placement:q}}}return{}}}};async function Up(t,e){let{placement:r,platform:i,elements:n}=t,a=await(i.isRTL==null?void 0:i.isRTL(n.floating)),s=dt(r),l=pt(r),d=vt(r)==="y",f=["left","top"].includes(s)?-1:1,h=a&&d?-1:1,u=hr(e,t),{mainAxis:b,crossAxis:S,alignmentAxis:v}=typeof u=="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return l&&typeof v=="number"&&(S=l==="end"?v*-1:v),d?{x:S*h,y:b*f}:{x:b*f,y:S*h}}var Kn=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var r,i;let{x:n,y:a,placement:s,middlewareData:l}=e,d=await Up(e,t);return s===((r=l.offset)==null?void 0:r.placement)&&(i=l.arrow)!=null&&i.alignmentOffset?{}:{x:n+d.x,y:a+d.y,data:{...d,placement:s}}}}},Zn=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:i,placement:n}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:$=>{let{x:N,y:T}=$;return{x:N,y:T}}},...d}=hr(t,e),f={x:r,y:i},h=await vo(e,d),u=vt(dt(n)),b=zn(u),S=f[b],v=f[u];if(a){let $=b==="y"?"top":"left",N=b==="y"?"bottom":"right",T=S+h[$],A=S-h[N];S=Un(T,S,A)}if(s){let $=u==="y"?"top":"left",N=u==="y"?"bottom":"right",T=v+h[$],A=v-h[N];v=Un(T,v,A)}let E=l.fn({...e,[b]:S,[u]:v});return{...E,data:{x:E.x-r,y:E.y-i,enabled:{[b]:a,[u]:s}}}}}};var qn=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var r,i;let{placement:n,rects:a,platform:s,elements:l}=e,{apply:d=()=>{},...f}=hr(t,e),h=await vo(e,f),u=dt(n),b=pt(n),S=vt(n)==="y",{width:v,height:E}=a.floating,$,N;u==="top"||u==="bottom"?($=u,N=b===(await(s.isRTL==null?void 0:s.isRTL(l.floating))?"start":"end")?"left":"right"):(N=u,$=b==="end"?"top":"bottom");let T=E-h.top-h.bottom,A=v-h.left-h.right,O=ei(E-h[$],T),R=ei(v-h[N],A),F=!e.middlewareData.shift,H=O,Q=R;if((r=e.middlewareData.shift)!=null&&r.enabled.x&&(Q=A),(i=e.middlewareData.shift)!=null&&i.enabled.y&&(H=T),F&&!b){let I=Gt(h.left,0),m=Gt(h.right,0),C=Gt(h.top,0),D=Gt(h.bottom,0);S?Q=v-2*(I!==0||m!==0?I+m:Gt(h.left,h.right)):H=E-2*(C!==0||D!==0?C+D:Gt(h.top,h.bottom))}await d({...e,availableWidth:Q,availableHeight:H});let Z=await s.getDimensions(l.floating);return v!==Z.width||E!==Z.height?{reset:{rects:!0}}:{}}}};var Yn=Math.min,Dr=Math.max,So=Math.round;var Bt=t=>({x:t,y:t});function Dt(t){return Vs(t)?(t.nodeName||"").toLowerCase():"#document"}function Ve(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Ft(t){var e;return(e=(Vs(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Vs(t){return t instanceof Node||t instanceof Ve(t).Node}function St(t){return t instanceof Element||t instanceof Ve(t).Element}function ft(t){return t instanceof HTMLElement||t instanceof Ve(t).HTMLElement}function Hs(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Ve(t).ShadowRoot}function Fr(t){let{overflow:e,overflowX:r,overflowY:i,display:n}=Ye(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+r)&&!["inline","contents"].includes(n)}function js(t){return["table","td","th"].includes(Dt(t))}function ri(t){let e=oi(),r=Ye(t);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(i=>(r.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(r.contain||"").includes(i))}function Gs(t){let e=yr(t);for(;ft(e)&&!Oo(e);){if(ri(e))return e;e=yr(e)}return null}function oi(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Oo(t){return["html","body","#document"].includes(Dt(t))}function Ye(t){return Ve(t).getComputedStyle(t)}function Co(t){return St(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function yr(t){if(Dt(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Hs(t)&&t.host||Ft(t);return Hs(e)?e.host:e}function Ks(t){let e=yr(t);return Oo(e)?t.ownerDocument?t.ownerDocument.body:t.body:ft(e)&&Fr(e)?e:Ks(e)}function ti(t,e,r){var i;e===void 0&&(e=[]),r===void 0&&(r=!0);let n=Ks(t),a=n===((i=t.ownerDocument)==null?void 0:i.body),s=Ve(n);return a?e.concat(s,s.visualViewport||[],Fr(n)?n:[],s.frameElement&&r?ti(s.frameElement):[]):e.concat(n,ti(n,[],r))}function Ys(t){let e=Ye(t),r=parseFloat(e.width)||0,i=parseFloat(e.height)||0,n=ft(t),a=n?t.offsetWidth:r,s=n?t.offsetHeight:i,l=So(r)!==a||So(i)!==s;return l&&(r=a,i=s),{width:r,height:i,$:l}}function Xs(t){return St(t)?t:t.contextElement}function Mr(t){let e=Xs(t);if(!ft(e))return Bt(1);let r=e.getBoundingClientRect(),{width:i,height:n,$:a}=Ys(e),s=(a?So(r.width):r.width)/i,l=(a?So(r.height):r.height)/n;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var zp=Bt(0);function Js(t){let e=Ve(t);return!oi()||!e.visualViewport?zp:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Wp(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==Ve(t)?!1:e}function Eo(t,e,r,i){e===void 0&&(e=!1),r===void 0&&(r=!1);let n=t.getBoundingClientRect(),a=Xs(t),s=Bt(1);e&&(i?St(i)&&(s=Mr(i)):s=Mr(t));let l=Wp(a,r,i)?Js(a):Bt(0),d=(n.left+l.x)/s.x,f=(n.top+l.y)/s.y,h=n.width/s.x,u=n.height/s.y;if(a){let b=Ve(a),S=i&&St(i)?Ve(i):i,v=b.frameElement;for(;v&&i&&S!==b;){let E=Mr(v),$=v.getBoundingClientRect(),N=Ye(v),T=$.left+(v.clientLeft+parseFloat(N.paddingLeft))*E.x,A=$.top+(v.clientTop+parseFloat(N.paddingTop))*E.y;d*=E.x,f*=E.y,h*=E.x,u*=E.y,d+=T,f+=A,v=Ve(v).frameElement}}return mr({width:h,height:u,x:d,y:f})}function Hp(t){let{rect:e,offsetParent:r,strategy:i}=t,n=ft(r),a=Ft(r);if(r===a)return e;let s={scrollLeft:0,scrollTop:0},l=Bt(1),d=Bt(0);if((n||!n&&i!=="fixed")&&((Dt(r)!=="body"||Fr(a))&&(s=Co(r)),ft(r))){let f=Eo(r);l=Mr(r),d.x=f.x+r.clientLeft,d.y=f.y+r.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-s.scrollLeft*l.x+d.x,y:e.y*l.y-s.scrollTop*l.y+d.y}}function Vp(t){return Array.from(t.getClientRects())}function Qs(t){return Eo(Ft(t)).left+Co(t).scrollLeft}function jp(t){let e=Ft(t),r=Co(t),i=t.ownerDocument.body,n=Dr(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),a=Dr(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight),s=-r.scrollLeft+Qs(t),l=-r.scrollTop;return Ye(i).direction==="rtl"&&(s+=Dr(e.clientWidth,i.clientWidth)-n),{width:n,height:a,x:s,y:l}}function Gp(t,e){let r=Ve(t),i=Ft(t),n=r.visualViewport,a=i.clientWidth,s=i.clientHeight,l=0,d=0;if(n){a=n.width,s=n.height;let f=oi();(!f||f&&e==="fixed")&&(l=n.offsetLeft,d=n.offsetTop)}return{width:a,height:s,x:l,y:d}}function Kp(t,e){let r=Eo(t,!0,e==="fixed"),i=r.top+t.clientTop,n=r.left+t.clientLeft,a=ft(t)?Mr(t):Bt(1),s=t.clientWidth*a.x,l=t.clientHeight*a.y,d=n*a.x,f=i*a.y;return{width:s,height:l,x:d,y:f}}function Zs(t,e,r){let i;if(e==="viewport")i=Gp(t,r);else if(e==="document")i=jp(Ft(t));else if(St(e))i=Kp(e,r);else{let n=Js(t);i={...e,x:e.x-n.x,y:e.y-n.y}}return mr(i)}function el(t,e){let r=yr(t);return r===e||!St(r)||Oo(r)?!1:Ye(r).position==="fixed"||el(r,e)}function Zp(t,e){let r=e.get(t);if(r)return r;let i=ti(t,[],!1).filter(l=>St(l)&&Dt(l)!=="body"),n=null,a=Ye(t).position==="fixed",s=a?yr(t):t;for(;St(s)&&!Oo(s);){let l=Ye(s),d=ri(s);!d&&l.position==="fixed"&&(n=null),(a?!d&&!n:!d&&l.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||Fr(s)&&!d&&el(t,s))?i=i.filter(h=>h!==s):n=l,s=yr(s)}return e.set(t,i),i}function qp(t){let{element:e,boundary:r,rootBoundary:i,strategy:n}=t,s=[...r==="clippingAncestors"?Zp(e,this._c):[].concat(r),i],l=s[0],d=s.reduce((f,h)=>{let u=Zs(e,h,n);return f.top=Dr(u.top,f.top),f.right=Yn(u.right,f.right),f.bottom=Yn(u.bottom,f.bottom),f.left=Dr(u.left,f.left),f},Zs(e,l,n));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function Yp(t){return Ys(t)}function Xp(t,e,r){let i=ft(e),n=Ft(e),a=r==="fixed",s=Eo(t,!0,a,e),l={scrollLeft:0,scrollTop:0},d=Bt(0);if(i||!i&&!a)if((Dt(e)!=="body"||Fr(n))&&(l=Co(e)),i){let f=Eo(e,!0,a,e);d.x=f.x+e.clientLeft,d.y=f.y+e.clientTop}else n&&(d.x=Qs(n));return{x:s.left+l.scrollLeft-d.x,y:s.top+l.scrollTop-d.y,width:s.width,height:s.height}}function qs(t,e){return!ft(t)||Ye(t).position==="fixed"?null:e?e(t):t.offsetParent}function tl(t,e){let r=Ve(t);if(!ft(t))return r;let i=qs(t,e);for(;i&&js(i)&&Ye(i).position==="static";)i=qs(i,e);return i&&(Dt(i)==="html"||Dt(i)==="body"&&Ye(i).position==="static"&&!ri(i))?r:i||Gs(t)||r}var Jp=async function(t){let{reference:e,floating:r,strategy:i}=t,n=this.getOffsetParent||tl,a=this.getDimensions;return{reference:Xp(e,await n(r),i),floating:{x:0,y:0,...await a(r)}}};function Qp(t){return Ye(t).direction==="rtl"}var Ur={convertOffsetParentRelativeRectToViewportRelativeRect:Hp,getDocumentElement:Ft,getClippingRect:qp,getOffsetParent:tl,getElementRects:Jp,getClientRects:Vp,getDimensions:Yp,getScale:Mr,isElement:St,isRTL:Qp};var Xn=(t,e,r)=>{let i=new Map,n={platform:Ur,...r},a={...n.platform,_c:i};return Ws(t,e,{...n,platform:a})};function Qn(t){return ef(t)}function Jn(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function ef(t){for(let e=t;e;e=Jn(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Jn(t);e;e=Jn(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||e.tagName==="BODY"))return e}return null}async function ea(t,e,r){return Xn(t,e,{platform:{...Ur,getOffsetParent:i=>Ur.getOffsetParent(i,Qn)},middleware:[Zn({crossAxis:!0}),jn({allowedPlacements:[r]})]})}async function ta(t,e,r,i,n,a,s=4){return Xn(t,e,{placement:r,strategy:n,platform:{...Ur,getOffsetParent:l=>Ur.getOffsetParent(l,Qn)},middleware:[Kn(s),Gn({fallbackPlacements:i}),qn({apply({availableHeight:l,elements:d}){a?d.floating.style.maxHeight=`min(${Math.max(0,l)}px, var(${a}))`:d.floating.style.maxHeight=`${Math.max(0,l)}px`}})]})}var na={};se(na,{FtdsBase:()=>Ao,toFtdsBase:()=>ni});var ia={};se(ia,{FtLitElement:()=>z});var oa={};se(oa,{ScopedRegistryLitElement:()=>wo});var wo=class extends Pt{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([n,a])=>e.registry.define(n,a)));let r={...e.shadowRootOptions,customElements:e.registry},i=this.renderOptions.creationScope=this.attachShadow(r);return ao(i,e.elementStyles),i}};var ii=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},nl,rl=Symbol("constructorPrototype"),ol=Symbol("constructorName"),al=Symbol("exportpartsDebouncer"),il=Symbol("dynamicDependenciesLoaded"),z=class extends wo{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[nl]=new ce(5),this[ol]=this.constructor.name,this[rl]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[ol]&&Object.setPrototypeOf(this,this[rl])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(r){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",r)}let e=this.constructor;e[il]||(e[il]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var r,i,n;if(((i=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&i!==void 0?i:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((n=this.customStylesheet)!==null&&n!==void 0?n:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var e,r,i;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(i=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&i!==void 0&&i)&&this[al].run(()=>{var n,a;!((n=this.exportpartsPrefix)===null||n===void 0)&&n.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var r,i,n,a,s,l;let d=b=>b!=null&&b.trim().length>0,f=e.filter(d).map(b=>b.trim());if(f.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let b of(i=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&i!==void 0?i:[]){let S=(a=(n=b.getAttribute("part"))===null||n===void 0?void 0:n.split(" "))!==null&&a!==void 0?a:[],v=(l=(s=b.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(E=>E.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...S,...v).filter(d).map(E=>E.trim()).forEach(E=>h.add(E))}if(h.size===0){this.removeAttribute("exportparts");return}let u=[...h.values()].flatMap(b=>f.map(S=>`${b}:${S}--${b}`));this.setAttribute("exportparts",[...this.part,...u].join(", "))}};nl=al;ii([y()],z.prototype,"exportpartsPrefix",void 0);ii([$e([])],z.prototype,"exportpartsPrefixes",void 0);ii([y()],z.prototype,"customStylesheet",void 0);ii([W()],z.prototype,"useAdoptedStyleSheets",void 0);var sl=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a};function ni(t){class e extends t{constructor(){super(...arguments),this.size=_e.medium,this.family=It.neutral}getDesignSystemBaseClasses(){return{[In(this.family)]:!0,[Bn(this.size)]:!0}}}return sl([y()],e.prototype,"size",void 0),sl([y()],e.prototype,"family",void 0),e}var Ao=class extends ni(z){};var ll={};var la={};se(la,{highlightHtml:()=>sa,highlightHtmlColorCssVariable:()=>cl,highlightHtmlStyles:()=>rf});var gr=class t{constructor(e,r=!0,i=[],n=5e3){this.ctx=e,this.iframes=r,this.exclude=i,this.iframesTimeout=n}static matches(e,r){let i=typeof r=="string"?[r]:r,n=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(n){let a=!1;return i.every(s=>n.call(e,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let e,r=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(i=>{let n=r.filter(a=>a.contains(i)).length>0;r.indexOf(i)===-1&&!n&&r.push(i)}),r}getIframeContents(e,r,i=()=>{}){let n;try{let a=e.contentWindow;if(n=a.document,!a||!n)throw new Error("iframe inaccessible")}catch{i()}n&&r(n)}isIframeBlank(e){let r="about:blank",i=e.getAttribute("src").trim();return e.contentWindow.location.href===r&&i!==r&&i}observeIframeLoad(e,r,i){let n=!1,a=null,s=()=>{if(!n){n=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,r,i))}catch{i()}}};e.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(e,r,i){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,r,i):this.getIframeContents(e,r,i):this.observeIframeLoad(e,r,i)}catch{i()}}waitForIframes(e,r){let i=0;this.forEachIframe(e,()=>!0,n=>{i++,this.waitForIframes(n.querySelector("html"),()=>{--i||r()})},n=>{n||r()})}forEachIframe(e,r,i,n=()=>{}){let a=e.querySelectorAll("iframe"),s=a.length,l=0;a=Array.prototype.slice.call(a);let d=()=>{--s<=0&&n(l)};s||d(),a.forEach(f=>{t.matches(f,this.exclude)?d():this.onIframeReady(f,h=>{r(f)&&(l++,i(h)),d()},d)})}createIterator(e,r,i){return document.createNodeIterator(e,r,i,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,r,i){let n=e.compareDocumentPosition(i),a=Node.DOCUMENT_POSITION_PRECEDING;if(n&a)if(r!==null){let s=r.compareDocumentPosition(i),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(e){let r=e.previousNode(),i;return r===null?i=e.nextNode():i=e.nextNode()&&e.nextNode(),{prevNode:r,node:i}}checkIframeFilter(e,r,i,n){let a=!1,s=!1;return n.forEach((l,d)=>{l.val===i&&(a=d,s=l.handled)}),this.compareNodeIframe(e,r,i)?(a===!1&&!s?n.push({val:i,handled:!0}):a!==!1&&!s&&(n[a].handled=!0),!0):(a===!1&&n.push({val:i,handled:!1}),!1)}handleOpenIframes(e,r,i,n){e.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(r,i,n)})})}iterateThroughNodes(e,r,i,n,a){let s=this.createIterator(r,e,n),l=[],d=[],f,h,u=()=>({prevNode:h,node:f}=this.getIteratorNode(s),f);for(;u();)this.iframes&&this.forEachIframe(r,b=>this.checkIframeFilter(f,h,b,l),b=>{this.createInstanceOnIframe(b).forEachNode(e,S=>d.push(S),n)}),d.push(f);d.forEach(b=>{i(b)}),this.iframes&&this.handleOpenIframes(l,e,i,n),a()}forEachNode(e,r,i,n=()=>{}){let a=this.getContexts(),s=a.length;s||n(),a.forEach(l=>{let d=()=>{this.iterateThroughNodes(e,l,r,i,()=>{--s<=0&&n()})};this.iframes?this.waitForIframes(l,d):d()})}};var Ro=class{constructor(e){this.ctx=e,this.ie=!1;let r=window.navigator.userAgent;(r.indexOf("MSIE")>-1||r.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new gr(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,r="debug"){let i=this.opt.log;this.opt.debug&&typeof i=="object"&&typeof i[r]=="function"&&i[r](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let r=this.opt.synonyms,i=this.opt.caseSensitive?"":"i",n=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in r)if(r.hasOwnProperty(a)){let s=r[a],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&d!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(d)})`,`gm${i}`),n+`(${this.processSynomyms(l)}|${this.processSynomyms(d)})`+n))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,r=>r.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let r=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(r,i,n)=>{let a=n.charAt(i+1);return/[(|)\\]/.test(a)||a===""?r:r+"\0"})}createJoinersRegExp(e){let r=[],i=this.opt.ignorePunctuation;return Array.isArray(i)&&i.length&&r.push(this.escapeStr(i.join(""))),this.opt.ignoreJoiners&&r.push("\\u00ad\\u200b\\u200c\\u200d"),r.length?e.split(/\u0000+/).join(`[${r.join("")}]*`):e}createDiacriticsRegExp(e){let r=this.opt.caseSensitive?"":"i",i=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],n=[];return e.split("").forEach(a=>{i.every(s=>{if(s.indexOf(a)!==-1){if(n.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${r}`),`[${s}]`),n.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",i=this.opt.accuracy,n=typeof i=="string"?i:i.value,a=typeof i=="string"?[]:i.limiters,s="";switch(a.forEach(l=>{s+=`|${this.escapeStr(l)}`}),n){case"partially":default:return`()(${e})`;case"complementary":return s="\\s"+(s||this.escapeStr(r)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let r=[];return e.forEach(i=>{this.opt.separateWordSearch?i.split(" ").forEach(n=>{n.trim()&&r.indexOf(n)===-1&&r.push(n)}):i.trim()&&r.indexOf(i)===-1&&r.push(i)}),{keywords:r.sort((i,n)=>n.length-i.length),length:r.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let r=[],i=0;return e.sort((n,a)=>n.start-a.start).forEach(n=>{let{start:a,end:s,valid:l}=this.callNoMatchOnInvalidRanges(n,i);l&&(n.start=a,n.length=s-a,r.push(n),i=s)}),r}callNoMatchOnInvalidRanges(e,r){let i,n,a=!1;return e&&typeof e.start<"u"?(i=parseInt(e.start,10),n=i+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&n-r>0&&n-i>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:i,end:n,valid:a}}checkWhitespaceRanges(e,r,i){let n,a=!0,s=i.length,l=r-s,d=parseInt(e.start,10)-l;return d=d>s?s:d,n=d+parseInt(e.length,10),n>s&&(n=s,this.log(`End range automatically set to the max value of ${s}`)),d<0||n-d<0||d>s||n>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):i.substring(d,n).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:d,end:n,valid:a}}getTextNodes(e){let r="",i=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,n=>{i.push({start:r.length,end:(r+=n.textContent).length,node:n})},n=>this.matchesExclude(n.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:r,nodes:i})})}matchesExclude(e){return gr.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,r,i){let n=this.opt.element?this.opt.element:"mark",a=e.splitText(r),s=a.splitText(i-r),l=document.createElement(n);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=a.textContent,a.parentNode.replaceChild(l,a),s}wrapRangeInMappedTextNode(e,r,i,n,a){e.nodes.every((s,l)=>{let d=e.nodes[l+1];if(typeof d>"u"||d.start>r){if(!n(s.node))return!1;let f=r-s.start,h=(i>s.end?s.end:i)-s.start,u=e.value.substr(0,s.start),b=e.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,f,h),e.value=u+b,e.nodes.forEach((S,v)=>{v>=l&&(e.nodes[v].start>0&&v!==l&&(e.nodes[v].start-=h),e.nodes[v].end-=h)}),i-=h,a(s.node.previousSibling,s.start),i>s.end)r=s.end;else return!1}return!0})}wrapMatches(e,r,i,n,a){let s=r===0?0:r+1;this.getTextNodes(l=>{l.nodes.forEach(d=>{d=d.node;let f;for(;(f=e.exec(d.textContent))!==null&&f[s]!=="";){if(!i(f[s],d))continue;let h=f.index;if(s!==0)for(let u=1;u<s;u++)h+=f[u].length;d=this.wrapRangeInTextNode(d,h,h+f[s].length),n(d.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,r,i,n,a){let s=r===0?0:r+1;this.getTextNodes(l=>{let d;for(;(d=e.exec(l.value))!==null&&d[s]!=="";){let f=d.index;if(s!==0)for(let u=1;u<s;u++)f+=d[u].length;let h=f+d[s].length;this.wrapRangeInMappedTextNode(l,f,h,u=>i(d[s],u),(u,b)=>{e.lastIndex=b,n(u)})}a()})}wrapRangeFromIndex(e,r,i,n){this.getTextNodes(a=>{let s=a.value.length;e.forEach((l,d)=>{let{start:f,end:h,valid:u}=this.checkWhitespaceRanges(l,s,a.value);u&&this.wrapRangeInMappedTextNode(a,f,h,b=>r(b,l,a.value.substring(f,h),d),b=>{i(b,l)})}),n()})}unwrapMatches(e){let r=e.parentNode,i=document.createDocumentFragment();for(;e.firstChild;)i.appendChild(e.removeChild(e.firstChild));r.replaceChild(i,e),this.ie?this.normalizeTextNode(r):r.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,r){this.opt=r,this.log(`Searching with expression "${e}"`);let i=0,n="wrapMatches",a=s=>{i++,this.opt.each(s)};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),this[n](e,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,i),a,()=>{i===0&&this.opt.noMatch(e),this.opt.done(i)})}mark(e,r){this.opt=r;let i=0,n="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),l=this.opt.caseSensitive?"":"i",d=f=>{let h=new RegExp(this.createRegExp(f),`gm${l}`),u=0;this.log(`Searching with expression "${h}"`),this[n](h,1,(b,S)=>this.opt.filter(S,f,i,u),b=>{u++,i++,this.opt.each(b)},()=>{u===0&&this.opt.noMatch(f),a[s-1]===f?this.opt.done(i):d(a[a.indexOf(f)+1])})};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),s===0?this.opt.done(i):d(a[0])}markRanges(e,r){this.opt=r;let i=0,n=this.checkRanges(e);n&&n.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(n)),this.wrapRangeFromIndex(n,(a,s,l,d)=>this.opt.filter(a,s,l,d),(a,s)=>{i++,this.opt.each(a,s)},()=>{this.opt.done(i)})):this.opt.done(i)}unmark(e){this.opt=e;let r=this.opt.element?this.opt.element:"*";r+="[data-markjs]",this.opt.className&&(r+=`.${this.opt.className}`),this.log(`Removal selector "${r}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,i=>{this.unwrapMatches(i)},i=>{let n=gr.matches(i,r),a=this.matchesExclude(i);return!n||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function aa(t){let e=new Ro(t);return this.mark=(r,i)=>(e.mark(r,i),this),this.markRegExp=(r,i)=>(e.markRegExp(r,i),this),this.markRanges=(r,i)=>(e.markRanges(r,i),this),this.unmark=r=>(e.unmark(r),this),this}var tf=aa,cl=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),rf=_`
|
|
6
6
|
.highlight-html-match {
|
|
7
7
|
background: ${cl};
|
|
8
8
|
}
|
|
@@ -45,7 +45,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
45
45
|
input::-webkit-search-results-decoration {
|
|
46
46
|
display: none;
|
|
47
47
|
}
|
|
48
|
-
`;var dl={};var pa={};se(pa,{ParametrizedLabelResolver:()=>Kt});var Kt=class t{constructor(e,r){this.defaultLabels=e,this.labels=r}resolve(e,...r){var i,n;e=this.resolvePluralKey(e,r);let a=(n=(i=this.labels[e])!==null&&i!==void 0?i:this.defaultLabels[e])!==null&&n!==void 0?n:"";return t.replaceParameters(a,...r)}static replaceParameters(e,...r){return r.forEach((i,n)=>e=e.replace(new RegExp(`\\{${n}([^}]*)\\}`,"g"),(a,s)=>t.formatValue(i,s))),e}resolvePluralKey(e,r){for(let i of r)if(typeof i=="number"){let n=`${String(e)}[\\=${i}]`;if(n in this.labels||n in this.defaultLabels)return n}return e}static formatValue(e,r){return e instanceof Date?t.formatDate(e,r):e??""}static formatDate(e,r){let i=n=>r?.includes("date")?e.toLocaleDateString(n):r?.includes("time")?e.toLocaleTimeString(n):e.toLocaleString(n);try{return i(document.documentElement.lang)}catch{return i()}}};var Ia={};se(Ia,{FtCommandQueue:()=>_o,FtLitElementRedux:()=>zr,FtReduxStore:()=>Cr,ReduxWatcher:()=>pi,clearAllStores:()=>Wf,isFtReduxStore:()=>xr,redux:()=>pl,reduxEventListener:()=>nf,reduxReactive:()=>of,watch:()=>Hf});var of=()=>(t,e)=>{var r;let i=t.constructor;i.reduxReactiveProperties=new Set(i.reduxReactiveProperties),(r=i.reduxReactiveProperties)===null||r===void 0||r.add(e)},pl=t=>{let e=t??{};return(r,i)=>{var n;let a={hasChanged:ur,attribute:!1,...e};y(a)(r,i);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(i,{selector:(n=e.selector)!==null&&n!==void 0?n:l=>l[i],store:e.store})}},nf=t=>(e,r)=>{let i=e.constructor;i.reduxEventListeners=new Map(i.reduxEventListeners),i.reduxEventListeners.set(r,t)};var _o=class{constructor(){this.queue=[]}add(e,r=!1){r&&(this.queue=this.queue.filter(i=>i.type!==e.type)),this.queue.push(e)}consume(e){let r=this.queue.find(i=>i.type===e);return r&&(this.queue=this.queue.filter(i=>i!==r)),r}};function xr(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var fl,ul,hl,$o=Symbol("internalReduxEventsUnsubscribers"),Zt=Symbol("internalStoresUnsubscribers"),vr=Symbol("internalStores"),zr=class extends z{constructor(){super(...arguments),this[fl]=new Map,this[ul]=new Map,this[hl]=new Map}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(r=>e.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[vr].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[vr].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[vr].get(e)}addStore(e,r){var i;r=(i=r??(xr(e)?e.name:void 0))!==null&&i!==void 0?i:"default-store",this.unsubscribeFromStore(r),this[vr].set(r,e),this.subscribeToStore(r,e),this.updateFromStores()}removeStore(e){let r=typeof e=="string"?e:e.name;this.unsubscribeFromStore(r),this[vr].delete(r)}setupStores(){this.unsubscribeFromStores(),this[vr].forEach((e,r)=>this.subscribeToStore(r,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,r)=>{let i=this.constructor.getPropertyOptions(r);if(!i?.attribute||!this.hasAttribute(typeof i?.attribute=="string"?i.attribute:r)){let n=this.getStore(e.store);n&&(e.store?this[Zt].has(e.store):this[Zt].size>0)&&(this[r]=e.selector(n.getState(),this))}})}subscribeToStore(e,r){var i;this[Zt].set(e,r.subscribe(()=>this.updateFromStores())),this[$o].set(e,[]),xr(r)&&r.eventBus&&((i=this.reduxConstructor.reduxEventListeners)===null||i===void 0||i.forEach((n,a)=>{if(typeof this[a]=="function"&&(!n.store||r.name===n.store)){let s=l=>this[a](l);r.addEventListener(n.eventName,s),this[$o].get(e).push(()=>r.removeEventListener(n.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[Zt].forEach((e,r)=>this.unsubscribeFromStore(r))}unsubscribeFromStore(e){var r;this[Zt].has(e)&&this[Zt].get(e)(),this[Zt].delete(e),(r=this[$o].get(e))===null||r===void 0||r.forEach(i=>i()),this[$o].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};fl=Zt,ul=vr,hl=$o;zr.reduxProperties=new Map;zr.reduxReactiveProperties=new Set;zr.reduxEventListeners=new Map;function it(t){for(var e=arguments.length,r=Array(e>1?e-1:0),i=1;i<e;i++)r[i-1]=arguments[i];if(0)var n,a;throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Mt(t){return!!t&&!!t[fe]}function ut(t){var e;return!!t&&(function(r){if(!r||typeof r!="object")return!1;var i=Object.getPrototypeOf(r);if(i===null)return!0;var n=Object.hasOwnProperty.call(i,"constructor")&&i.constructor;return n===Object||typeof n=="function"&&Function.toString.call(n)===uf}(t)||Array.isArray(t)||!!t[Sl]||!!(!((e=t.constructor)===null||e===void 0)&&e[Sl])||va(t)||Sa(t))}function Sr(t,e,r){r===void 0&&(r=!1),Vr(t)===0?(r?Object.keys:Hr)(t).forEach(function(i){r&&typeof i=="symbol"||e(i,t[i],t)}):t.forEach(function(i,n){return e(n,i,t)})}function Vr(t){var e=t[fe];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:va(t)?2:Sa(t)?3:0}function Wr(t,e){return Vr(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function af(t,e){return Vr(t)===2?t.get(e):t[e]}function Ol(t,e,r){var i=Vr(t);i===2?t.set(e,r):i===3?t.add(r):t[e]=r}function Cl(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function va(t){return pf&&t instanceof Map}function Sa(t){return ff&&t instanceof Set}function qt(t){return t.o||t.t}function Oa(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Al(t);delete e[fe];for(var r=Hr(e),i=0;i<r.length;i++){var n=r[i],a=e[n];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[n]={configurable:!0,writable:!0,enumerable:a.enumerable,value:t[n]})}return Object.create(Object.getPrototypeOf(t),e)}function Ca(t,e){return e===void 0&&(e=!1),Ea(t)||Mt(t)||!ut(t)||(Vr(t)>1&&(t.set=t.add=t.clear=t.delete=sf),Object.freeze(t),e&&Sr(t,function(r,i){return Ca(i,!0)},!0)),t}function sf(){it(2)}function Ea(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function Ot(t){var e=xa[t];return e||it(18,t),e}function lf(t,e){xa[t]||(xa[t]=e)}function ya(){return Po}function fa(t,e){e&&(Ot("Patches"),t.u=[],t.s=[],t.v=e)}function ai(t){ga(t),t.p.forEach(cf),t.p=null}function ga(t){t===Po&&(Po=t.l)}function ml(t){return Po={p:[],l:Po,h:t,m:!0,_:0}}function cf(t){var e=t[fe];e.i===0||e.i===1?e.j():e.g=!0}function ua(t,e){e._=e.p.length;var r=e.p[0],i=t!==void 0&&t!==r;return e.h.O||Ot("ES5").S(e,t,i),i?(r[fe].P&&(ai(e),it(4)),ut(t)&&(t=si(e,t),e.l||li(e,t)),e.u&&Ot("Patches").M(r[fe].t,t,e.u,e.s)):t=si(e,r,[]),ai(e),e.u&&e.v(e.u,e.s),t!==wl?t:void 0}function si(t,e,r){if(Ea(e))return e;var i=e[fe];if(!i)return Sr(e,function(l,d){return yl(t,i,e,l,d,r)},!0),e;if(i.A!==t)return e;if(!i.P)return li(t,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var n=i.i===4||i.i===5?i.o=Oa(i.k):i.o,a=n,s=!1;i.i===3&&(a=new Set(n),n.clear(),s=!0),Sr(a,function(l,d){return yl(t,i,n,l,d,r,s)}),li(t,n,!1),r&&t.u&&Ot("Patches").N(i,r,t.u,t.s)}return i.o}function yl(t,e,r,i,n,a,s){if(Mt(n)){var l=si(t,n,a&&e&&e.i!==3&&!Wr(e.R,i)?a.concat(i):void 0);if(Ol(r,i,l),!Mt(l))return;t.m=!1}else s&&r.add(n);if(ut(n)&&!Ea(n)){if(!t.h.D&&t._<1)return;si(t,n),e&&e.A.l||li(t,n)}}function li(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&Ca(e,r)}function ha(t,e){var r=t[fe];return(r?qt(r):t)[e]}function gl(t,e){if(e in t)for(var r=Object.getPrototypeOf(t);r;){var i=Object.getOwnPropertyDescriptor(r,e);if(i)return i;r=Object.getPrototypeOf(r)}}function Yt(t){t.P||(t.P=!0,t.l&&Yt(t.l))}function ma(t){t.o||(t.o=Oa(t.t))}function ba(t,e,r){var i=va(e)?Ot("MapSet").F(e,r):Sa(e)?Ot("MapSet").T(e,r):t.O?function(n,a){var s=Array.isArray(n),l={i:s?1:0,A:a?a.A:ya(),P:!1,I:!1,R:{},l:a,t:n,k:null,o:null,j:null,C:!1},d=l,f=To;s&&(d=[l],f=No);var h=Proxy.revocable(d,f),u=h.revoke,b=h.proxy;return l.k=b,l.j=u,b}(e,r):Ot("ES5").J(e,r);return(r?r.A:ya()).p.push(i),i}function df(t){return Mt(t)||it(22,t),function e(r){if(!ut(r))return r;var i,n=r[fe],a=Vr(r);if(n){if(!n.P&&(n.i<4||!Ot("ES5").K(n)))return n.t;n.I=!0,i=bl(r,a),n.I=!1}else i=bl(r,a);return Sr(i,function(s,l){n&&af(n.t,s)===l||Ol(i,s,e(l))}),a===3?new Set(i):i}(t)}function bl(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Oa(t)}function El(){function t(s,l){var d=a[s];return d?d.enumerable=l:a[s]=d={configurable:!0,enumerable:l,get:function(){var f=this[fe];return To.get(f,s)},set:function(f){var h=this[fe];To.set(h,s,f)}},d}function e(s){for(var l=s.length-1;l>=0;l--){var d=s[l][fe];if(!d.P)switch(d.i){case 5:i(d)&&Yt(d);break;case 4:r(d)&&Yt(d)}}}function r(s){for(var l=s.t,d=s.k,f=Hr(d),h=f.length-1;h>=0;h--){var u=f[h];if(u!==fe){var b=l[u];if(b===void 0&&!Wr(l,u))return!0;var S=d[u],v=S&&S[fe];if(v?v.t!==b:!Cl(S,b))return!0}}var E=!!l[fe];return f.length!==Hr(l).length+(E?0:1)}function i(s){var l=s.k;if(l.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(l,l.length-1);if(d&&!d.get)return!0;for(var f=0;f<l.length;f++)if(!l.hasOwnProperty(f))return!0;return!1}function n(s){s.g&&it(3,JSON.stringify(qt(s)))}var a={};lf("ES5",{J:function(s,l){var d=Array.isArray(s),f=function(u,b){if(u){for(var S=Array(b.length),v=0;v<b.length;v++)Object.defineProperty(S,""+v,t(v,!0));return S}var E=Al(b);delete E[fe];for(var $=Hr(E),N=0;N<$.length;N++){var T=$[N];E[T]=t(T,u||!!E[T].enumerable)}return Object.create(Object.getPrototypeOf(b),E)}(d,s),h={i:d?5:4,A:l?l.A:ya(),P:!1,I:!1,R:{},l,t:s,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,fe,{value:h,writable:!0}),f},S:function(s,l,d){d?Mt(l)&&l[fe].A===s&&e(s.p):(s.u&&function f(h){if(h&&typeof h=="object"){var u=h[fe];if(u){var b=u.t,S=u.k,v=u.R,E=u.i;if(E===4)Sr(S,function(O){O!==fe&&(b[O]!==void 0||Wr(b,O)?v[O]||f(S[O]):(v[O]=!0,Yt(u)))}),Sr(b,function(O){S[O]!==void 0||Wr(S,O)||(v[O]=!1,Yt(u))});else if(E===5){if(i(u)&&(Yt(u),v.length=!0),S.length<b.length)for(var $=S.length;$<b.length;$++)v[$]=!1;else for(var N=b.length;N<S.length;N++)v[N]=!0;for(var T=Math.min(S.length,b.length),A=0;A<T;A++)S.hasOwnProperty(A)||(v[A]=!0),v[A]===void 0&&f(S[A])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?r(s):i(s)}})}var xl,Po,wa=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",pf=typeof Map<"u",ff=typeof Set<"u",vl=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",wl=wa?Symbol.for("immer-nothing"):((xl={})["immer-nothing"]=!0,xl),Sl=wa?Symbol.for("immer-draftable"):"__$immer_draftable",fe=wa?Symbol.for("immer-state"):"__$immer_state";var uf=""+Object.prototype.constructor,Hr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Al=Object.getOwnPropertyDescriptors||function(t){var e={};return Hr(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},xa={},To={get:function(t,e){if(e===fe)return t;var r=qt(t);if(!Wr(r,e))return function(n,a,s){var l,d=gl(a,s);return d?"value"in d?d.value:(l=d.get)===null||l===void 0?void 0:l.call(n.k):void 0}(t,r,e);var i=r[e];return t.I||!ut(i)?i:i===ha(t.t,e)?(ma(t),t.o[e]=ba(t.A.h,i,t)):i},has:function(t,e){return e in qt(t)},ownKeys:function(t){return Reflect.ownKeys(qt(t))},set:function(t,e,r){var i=gl(qt(t),e);if(i?.set)return i.set.call(t.k,r),!0;if(!t.P){var n=ha(qt(t),e),a=n?.[fe];if(a&&a.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(Cl(r,n)&&(r!==void 0||Wr(t.t,e)))return!0;ma(t),Yt(t)}return t.o[e]===r&&(r!==void 0||e in t.o)||Number.isNaN(r)&&Number.isNaN(t.o[e])||(t.o[e]=r,t.R[e]=!0),!0},deleteProperty:function(t,e){return ha(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,ma(t),Yt(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=qt(t),i=Reflect.getOwnPropertyDescriptor(r,e);return i&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:i.enumerable,value:r[e]}},defineProperty:function(){it(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){it(12)}},No={};Sr(To,function(t,e){No[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),No.deleteProperty=function(t,e){return No.set.call(this,t,e,void 0)},No.set=function(t,e,r){return To.set.call(this,t[0],e,r,t[0])};var hf=function(){function t(r){var i=this;this.O=vl,this.D=!0,this.produce=function(n,a,s){if(typeof n=="function"&&typeof a!="function"){var l=a;a=n;var d=i;return function(E){var $=this;E===void 0&&(E=l);for(var N=arguments.length,T=Array(N>1?N-1:0),A=1;A<N;A++)T[A-1]=arguments[A];return d.produce(E,function(O){var R;return(R=a).call.apply(R,[$,O].concat(T))})}}var f;if(typeof a!="function"&&it(6),s!==void 0&&typeof s!="function"&&it(7),ut(n)){var h=ml(i),u=ba(i,n,void 0),b=!0;try{f=a(u),b=!1}finally{b?ai(h):ga(h)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(E){return fa(h,s),ua(E,h)},function(E){throw ai(h),E}):(fa(h,s),ua(f,h))}if(!n||typeof n!="object"){if((f=a(n))===void 0&&(f=n),f===wl&&(f=void 0),i.D&&Ca(f,!0),s){var S=[],v=[];Ot("Patches").M(n,f,S,v),s(S,v)}return f}it(21,n)},this.produceWithPatches=function(n,a){if(typeof n=="function")return function(f){for(var h=arguments.length,u=Array(h>1?h-1:0),b=1;b<h;b++)u[b-1]=arguments[b];return i.produceWithPatches(f,function(S){return n.apply(void 0,[S].concat(u))})};var s,l,d=i.produce(n,a,function(f,h){s=f,l=h});return typeof Promise<"u"&&d instanceof Promise?d.then(function(f){return[f,s,l]}):[d,s,l]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var e=t.prototype;return e.createDraft=function(r){ut(r)||it(8),Mt(r)&&(r=df(r));var i=ml(this),n=ba(this,r,void 0);return n[fe].C=!0,ga(i),n},e.finishDraft=function(r,i){var n=r&&r[fe],a=n.A;return fa(a,i),ua(void 0,a)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!vl&&it(20),this.O=r},e.applyPatches=function(r,i){var n;for(n=i.length-1;n>=0;n--){var a=i[n];if(a.path.length===0&&a.op==="replace"){r=a.value;break}}n>-1&&(i=i.slice(n+1));var s=Ot("Patches").$;return Mt(r)?s(r,i):this.produce(r,function(l){return s(l,i)})},t}(),Xe=new hf,mf=Xe.produce,Ob=Xe.produceWithPatches.bind(Xe),Cb=Xe.setAutoFreeze.bind(Xe),Eb=Xe.setUseProxies.bind(Xe),wb=Xe.applyPatches.bind(Xe),Ab=Xe.createDraft.bind(Xe),Rb=Xe.finishDraft.bind(Xe),ci=mf;function Or(t){"@babel/helpers - typeof";return Or=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Or(t)}function Rl(t,e){if(Or(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var i=r.call(t,e||"default");if(Or(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Ll(t){var e=Rl(t,"string");return Or(e)=="symbol"?e:e+""}function kl(t,e,r){return(e=Ll(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function _l(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),r.push.apply(r,i)}return r}function Aa(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?_l(Object(r),!0).forEach(function(i){kl(t,i,r[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):_l(Object(r)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(r,i))})}return t}function Ie(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. "}var $l=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Ra=function(){return Math.random().toString(36).substring(7).split("").join(".")},di={INIT:"@@redux/INIT"+Ra(),REPLACE:"@@redux/REPLACE"+Ra(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Ra()}};function yf(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function La(t,e,r){var i;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(Ie(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(Ie(1));return r(La)(t,e)}if(typeof t!="function")throw new Error(Ie(2));var n=t,a=e,s=[],l=s,d=!1;function f(){l===s&&(l=s.slice())}function h(){if(d)throw new Error(Ie(3));return a}function u(E){if(typeof E!="function")throw new Error(Ie(4));if(d)throw new Error(Ie(5));var $=!0;return f(),l.push(E),function(){if($){if(d)throw new Error(Ie(6));$=!1,f();var T=l.indexOf(E);l.splice(T,1),s=null}}}function b(E){if(!yf(E))throw new Error(Ie(7));if(typeof E.type>"u")throw new Error(Ie(8));if(d)throw new Error(Ie(9));try{d=!0,a=n(a,E)}finally{d=!1}for(var $=s=l,N=0;N<$.length;N++){var T=$[N];T()}return E}function S(E){if(typeof E!="function")throw new Error(Ie(10));n=E,b({type:di.REPLACE})}function v(){var E,$=u;return E={subscribe:function(T){if(typeof T!="object"||T===null)throw new Error(Ie(11));function A(){T.next&&T.next(h())}A();var O=$(A);return{unsubscribe:O}}},E[$l]=function(){return this},E}return b({type:di.INIT}),i={dispatch:b,subscribe:u,getState:h,replaceReducer:S},i[$l]=v,i}function gf(t){Object.keys(t).forEach(function(e){var r=t[e],i=r(void 0,{type:di.INIT});if(typeof i>"u")throw new Error(Ie(12));if(typeof r(void 0,{type:di.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Ie(13))})}function Nl(t){for(var e=Object.keys(t),r={},i=0;i<e.length;i++){var n=e[i];typeof t[n]=="function"&&(r[n]=t[n])}var a=Object.keys(r),s,l;try{gf(r)}catch(d){l=d}return function(f,h){if(f===void 0&&(f={}),l)throw l;if(0)var u;for(var b=!1,S={},v=0;v<a.length;v++){var E=a[v],$=r[E],N=f[E],T=$(N,h);if(typeof T>"u"){var A=h&&h.type;throw new Error(Ie(14))}S[E]=T,b=b||T!==N}return b=b||a.length!==Object.keys(f).length,b?S:f}}function jr(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.length===0?function(i){return i}:e.length===1?e[0]:e.reduce(function(i,n){return function(){return i(n.apply(void 0,arguments))}})}function Pl(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(i){return function(){var n=i.apply(void 0,arguments),a=function(){throw new Error(Ie(15))},s={getState:n.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=e.map(function(d){return d(s)});return a=jr.apply(void 0,l)(n.dispatch),Aa(Aa({},n),{},{dispatch:a})}}}function Tl(t){var e=function(i){var n=i.dispatch,a=i.getState;return function(s){return function(l){return typeof l=="function"?l(n,a,t):s(l)}}};return e}var Il=Tl();Il.withExtraArgument=Tl;var ka=Il;var Ul=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(i[a]=n[a])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function i(){this.constructor=e}e.prototype=r===null?Object.create(r):(i.prototype=r.prototype,new i)}}(),bf=function(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,n,a,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(f){return function(h){return d([f,h])}}function d(f){if(i)throw new TypeError("Generator is already executing.");for(;r;)try{if(i=1,n&&(a=f[0]&2?n.return:f[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,f[1])).done)return a;switch(n=0,a&&(f=[f[0]&2,a.value]),f[0]){case 0:case 1:a=f;break;case 4:return r.label++,{value:f[1],done:!1};case 5:r.label++,n=f[1],f=[0];continue;case 7:f=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(f[0]===6||f[0]===2)){r=0;continue}if(f[0]===3&&(!a||f[1]>a[0]&&f[1]<a[3])){r.label=f[1];break}if(f[0]===6&&r.label<a[1]){r.label=a[1],a=f;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(f);break}a[2]&&r.ops.pop(),r.trys.pop();continue}f=e.call(t,r)}catch(h){f=[6,h],n=0}finally{i=a=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},Gr=function(t,e){for(var r=0,i=e.length,n=t.length;r<i;r++,n++)t[n]=e[r];return t},xf=Object.defineProperty,vf=Object.defineProperties,Sf=Object.getOwnPropertyDescriptors,Dl=Object.getOwnPropertySymbols,Of=Object.prototype.hasOwnProperty,Cf=Object.prototype.propertyIsEnumerable,Bl=function(t,e,r){return e in t?xf(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},Xt=function(t,e){for(var r in e||(e={}))Of.call(e,r)&&Bl(t,r,e[r]);if(Dl)for(var i=0,n=Dl(e);i<n.length;i++){var r=n[i];Cf.call(e,r)&&Bl(t,r,e[r])}return t},_a=function(t,e){return vf(t,Sf(e))},Ef=function(t,e,r){return new Promise(function(i,n){var a=function(d){try{l(r.next(d))}catch(f){n(f)}},s=function(d){try{l(r.throw(d))}catch(f){n(f)}},l=function(d){return d.done?i(d.value):Promise.resolve(d.value).then(a,s)};l((r=r.apply(t,e)).next())})};var wf=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?jr:jr.apply(null,arguments)},jb=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function Af(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return e===r}var Rf=function(t){Ul(e,t);function e(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var n=t.apply(this,r)||this;return Object.setPrototypeOf(n,e.prototype),n}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,Gr([void 0],r[0].concat(this)))):new(e.bind.apply(e,Gr([void 0],r.concat(this))))},e}(Array),Lf=function(t){Ul(e,t);function e(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var n=t.apply(this,r)||this;return Object.setPrototypeOf(n,e.prototype),n}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,Gr([void 0],r[0].concat(this)))):new(e.bind.apply(e,Gr([void 0],r.concat(this))))},e}(Array);function Pa(t){return ut(t)?ci(t,function(){}):t}function kf(t){return typeof t=="boolean"}function _f(){return function(e){return $f(e)}}function $f(t){t===void 0&&(t={});var e=t.thunk,r=e===void 0?!0:e,i=t.immutableCheck,n=i===void 0?!0:i,a=t.serializableCheck,s=a===void 0?!0:a,l=new Rf;if(r&&(kf(r)?l.push(ka):l.push(ka.withExtraArgument(r.extraArgument))),0){if(n)var d;if(s)var f}return l}var $a=!0;function zl(t){var e=_f(),r=t||{},i=r.reducer,n=i===void 0?void 0:i,a=r.middleware,s=a===void 0?e():a,l=r.devTools,d=l===void 0?!0:l,f=r.preloadedState,h=f===void 0?void 0:f,u=r.enhancers,b=u===void 0?void 0:u,S;if(typeof n=="function")S=n;else if(Af(n))S=Nl(n);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var v=s;if(typeof v=="function"&&(v=v(e),!$a&&!Array.isArray(v)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!$a&&v.some(function(O){return typeof O!="function"}))throw new Error("each middleware provided to configureStore must be a function");var E=Pl.apply(void 0,v),$=jr;d&&($=wf(Xt({trace:!$a},typeof d=="object"&&d)));var N=new Lf(E),T=N;Array.isArray(b)?T=Gr([E],b):typeof b=="function"&&(T=b(N));var A=$.apply(void 0,T);return La(S,h,A)}function Jt(t,e){function r(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];if(e){var a=e.apply(void 0,i);if(!a)throw new Error("prepareAction did not return an object");return Xt(Xt({type:t,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:t,payload:i[0]}}return r.toString=function(){return""+t},r.type=t,r.match=function(i){return i.type===t},r}function Wl(t){var e={},r=[],i,n={addCase:function(a,s){var l=typeof a=="string"?a:a.type;if(l in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[l]=s,n},addMatcher:function(a,s){return r.push({matcher:a,reducer:s}),n},addDefaultCase:function(a){return i=a,n}};return t(n),[e,r,i]}function Nf(t){return typeof t=="function"}function Pf(t,e,r,i){r===void 0&&(r=[]);var n=typeof e=="function"?Wl(e):[e,r,i],a=n[0],s=n[1],l=n[2],d;if(Nf(t))d=function(){return Pa(t())};else{var f=Pa(t);d=function(){return f}}function h(u,b){u===void 0&&(u=d());var S=Gr([a[b.type]],s.filter(function(v){var E=v.matcher;return E(b)}).map(function(v){var E=v.reducer;return E}));return S.filter(function(v){return!!v}).length===0&&(S=[l]),S.reduce(function(v,E){if(E)if(Mt(v)){var $=v,N=E($,b);return N===void 0?v:N}else{if(ut(v))return ci(v,function(T){return E(T,b)});var N=E(v,b);if(N===void 0){if(v===null)return v;throw Error("A case reducer on a non-draftable value must not return undefined")}return N}return v},u)}return h.getInitialState=d,h}function Tf(t,e){return t+"/"+e}function Hl(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof t.initialState=="function"?t.initialState:Pa(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},s={},l={};n.forEach(function(h){var u=i[h],b=Tf(e,h),S,v;"reducer"in u?(S=u.reducer,v=u.prepare):S=u,a[h]=S,s[b]=S,l[h]=v?Jt(b,v):Jt(b)});function d(){var h=typeof t.extraReducers=="function"?Wl(t.extraReducers):[t.extraReducers],u=h[0],b=u===void 0?{}:u,S=h[1],v=S===void 0?[]:S,E=h[2],$=E===void 0?void 0:E,N=Xt(Xt({},b),s);return Pf(r,function(T){for(var A in N)T.addCase(A,N[A]);for(var O=0,R=v;O<R.length;O++){var F=R[O];T.addMatcher(F.matcher,F.reducer)}$&&T.addDefaultCase($)})}var f;return{name:e,reducer:function(h,u){return f||(f=d()),f(h,u)},actions:l,caseReducers:a,getInitialState:function(){return f||(f=d()),f.getInitialState()}}}var If="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Df=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=If[Math.random()*64|0];return e},Bf=["name","message","stack","code"],Na=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),Fl=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),Ff=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,i=Bf;r<i.length;r++){var n=i[r];typeof t[n]=="string"&&(e[n]=t[n])}return e}return{message:String(t)}},qb=function(){function t(e,r,i){var n=Jt(e+"/fulfilled",function(h,u,b,S){return{payload:h,meta:_a(Xt({},S||{}),{arg:b,requestId:u,requestStatus:"fulfilled"})}}),a=Jt(e+"/pending",function(h,u,b){return{payload:void 0,meta:_a(Xt({},b||{}),{arg:u,requestId:h,requestStatus:"pending"})}}),s=Jt(e+"/rejected",function(h,u,b,S,v){return{payload:S,error:(i&&i.serializeError||Ff)(h||"Rejected"),meta:_a(Xt({},v||{}),{arg:b,requestId:u,rejectedWithValue:!!S,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),l=!1,d=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function f(h){return function(u,b,S){var v=i?.idGenerator?i.idGenerator(h):Df(),E=new d,$,N=!1;function T(O){$=O,E.abort()}var A=function(){return Ef(this,null,function(){var O,R,F,H,Q,Z,I;return bf(this,function(m){switch(m.label){case 0:return m.trys.push([0,4,,5]),H=(O=i?.condition)==null?void 0:O.call(i,h,{getState:b,extra:S}),Uf(H)?[4,H]:[3,2];case 1:H=m.sent(),m.label=2;case 2:if(H===!1||E.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return N=!0,Q=new Promise(function(C,B){return E.signal.addEventListener("abort",function(){return B({name:"AbortError",message:$||"Aborted"})})}),u(a(v,h,(R=i?.getPendingMeta)==null?void 0:R.call(i,{requestId:v,arg:h},{getState:b,extra:S}))),[4,Promise.race([Q,Promise.resolve(r(h,{dispatch:u,getState:b,extra:S,requestId:v,signal:E.signal,abort:T,rejectWithValue:function(C,B){return new Na(C,B)},fulfillWithValue:function(C,B){return new Fl(C,B)}})).then(function(C){if(C instanceof Na)throw C;return C instanceof Fl?n(C.payload,v,h,C.meta):n(C,v,h)})])];case 3:return F=m.sent(),[3,5];case 4:return Z=m.sent(),F=Z instanceof Na?s(null,v,h,Z.payload,Z.meta):s(Z,v,h),[3,5];case 5:return I=i&&!i.dispatchConditionRejection&&s.match(F)&&F.meta.condition,I||u(F),[2,F]}})})}();return Object.assign(A,{abort:T,requestId:v,arg:h,unwrap:function(){return A.then(Mf)}})}}return Object.assign(f,{pending:a,rejected:s,fulfilled:n,typePrefix:e})}return t.withTypes=function(){return t},t}();function Mf(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function Uf(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var Vl="listener",jl="completed",Gl="cancelled",Yb="task-"+Gl,Xb="task-"+jl,Jb=Vl+"-"+Gl,Qb=Vl+"-"+jl;var Ta="listenerMiddleware";var ex=Jt(Ta+"/add"),tx=Jt(Ta+"/removeAll"),rx=Jt(Ta+"/remove");var Ml,ox=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(Ml||(Ml=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},zf=function(t){return function(e){setTimeout(e,t)}},ix=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:zf(10);El();window.ftReduxStores||(window.ftReduxStores={});var Cr=class t extends fr{static get(e){var r;let i=typeof e=="string"?e:e.name,n=typeof e=="string"?void 0:e,a=window.ftReduxStores[i];if(xr(a))return a;if(n==null)return;let s=Hl({...n,reducers:(r=n.reducers)!==null&&r!==void 0?r:{}}),l=zl({reducer:(d,f)=>f.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...f.overwrites}:s.reducer(d,f)});return window.ftReduxStores[n.name]=new t(s,l,n.eventBus)}constructor(e,r,i){super(),this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new _o;let n=a=>a!=null?JSON.parse(JSON.stringify(a)):a;this.actions=new Proxy(this.reduxSlice.actions,{get:(a,s,l)=>{let d=s,f=a[d];return f?(...h)=>{let u=f(...h.map(n));return this.reduxStore.dispatch(u),u}:h=>{this.setState({[d]:n(h)})}}}),this.eventBus=i??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}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(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function Wf(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))xr(e)&&e.clear()}var pi=class{constructor(e,r,i){this.store=e,this.valueSelector=r,this.callback=i}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let e=this.store.getState(),r=this.valueSelector(e);ur(this.lastValue,r)&&(this.callback(r,e),this.lastValue=r)}),this}stop(){return this.unsubscribe!=null&&(this.unsubscribe(),this.unsubscribe=void 0),this.lastValue=void 0,this}};function Hf(t,e,r){return new pi(t,e,r).watch()}var Fa={};se(Fa,{scrollHelper:()=>Vf});var Da,fi=new Map,Ba=class{lock(e,r){if(r){let i=fi.get(r);if(i==null||i===e)return fi.set(r,e),r}}release(e,r){r&&fi.get(r)===e&&fi.delete(r)}findFirstScrollableParent(e){var r;let i,n;for(let a of sn(e)){let s=a,l=this.elementCanScroll(s);if(l&&s.clientHeight&&s.clientHeight<s.scrollHeight){i=s;break}else l&&n==null&&(n=s)}return(r=i??n)!==null&&r!==void 0?r:document.body}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)}catch{return!1}}getAbsoluteScrollOffset(e,r){var i,n;let a=0;for(;r&&r.offsetParent!==e.offsetParent;)a+=(i=r.offsetTop)!==null&&i!==void 0?i:0,r=r.offsetParent;return a+((n=r?.offsetTop)!==null&&n!==void 0?n:0)-e.offsetTop}computeTopOffsetRatio(e,r){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return r;default:return 0}}scrollIntoViewIfPossible(e,r){let i=this.findFirstScrollableParent(e);if(e&&this.lock(this,i)){let n=this.getAbsoluteScrollOffset(i,e),a=n-i.clientHeight+e.clientHeight,s=n,l=yo(0,(s-i.scrollTop)/(s-a),1),d=this.computeTopOffsetRatio(r?.position,l)*(a-s)+s;i.scrollTo({behavior:r?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,i);this.release(this,i)}};window.FluidTopicsScrollHelper=(Da=window.FluidTopicsScrollHelper)!==null&&Da!==void 0?Da:new Ba;var Vf=window.FluidTopicsScrollHelper;var Ma={};se(Ma,{shadowQuerySelector:()=>jf,shadowQuerySelectorAll:()=>Gf});function jf(t,e,...r){var i;let n=t.querySelector(e);for(let a of r)n=(i=n?.shadowRoot)===null||i===void 0?void 0:i.querySelector(a);return n}function Gf(t,e,...r){let i=[...t.querySelectorAll(e)];for(let n of r)i=i.flatMap(a=>{var s,l;return[...(l=(s=a.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(n))!==null&&l!==void 0?l:[]]});return i}var za={};se(za,{SearchPlaceConverter:()=>Er,SearchPlaceQueryParams:()=>le,isSearchPlaceQueryParams:()=>vc,serializeRequest:()=>qf});var Kf=Nd(Zl(),1);var ql;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(ql||(ql={}));var Yl;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(Yl||(Yl={}));var Xl;(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.MAP_ATTACHMENT="MAP_ATTACHMENT",t.RESOURCE="RESOURCE"})(Xl||(Xl={}));var Jl;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Jl||(Jl={}));var Ql;(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(Ql||(Ql={}));var ec;(function(t){t.BOOKMARK__CREATE="BOOKMARK__CREATE",t.BOOKMARK__DELETE="BOOKMARK__DELETE",t.CASE_DEFLECTION__START="CASE_DEFLECTION__START",t.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",t.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",t.COLLECTION__CREATE="COLLECTION__CREATE",t.COLLECTION__UPDATE="COLLECTION__UPDATE",t.COLLECTION__DELETE="COLLECTION__DELETE",t.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",t.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",t.DOCUMENT__PRINT="DOCUMENT__PRINT",t.DOCUMENT__PROCESS="DOCUMENT__PROCESS",t.DOCUMENT__RATE="DOCUMENT__RATE",t.DOCUMENT__SEARCH="DOCUMENT__SEARCH",t.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",t.DOCUMENT__UNRATE="DOCUMENT__UNRATE",t.FEEDBACK__SEND="FEEDBACK__SEND",t.GEN_AI__COMPLETED_QUERY="GEN_AI__COMPLETED_QUERY",t.GEN_AI__RATE="GEN_AI__RATE",t.GENAI_CASE_DEFLECTION__START="GENAI_CASE_DEFLECTION__START",t.GENAI_CASE_DEFLECTION__OPEN_TICKET="GENAI_CASE_DEFLECTION__OPEN_TICKET",t.KHUB__PROCESS="KHUB__PROCESS",t.KHUB__SEARCH="KHUB__SEARCH",t.LABELS__DOWNLOAD="LABELS__DOWNLOAD",t.LINK__SHARE="LINK__SHARE",t.PAGE__DISPLAY="PAGE__DISPLAY",t.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",t.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",t.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",t.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",t.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",t.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",t.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",t.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",t.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",t.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",t.TOPIC__DISPLAY="TOPIC__DISPLAY",t.TOPIC__RATE="TOPIC__RATE",t.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",t.TOPIC__UNRATE="TOPIC__UNRATE",t.USER__LOGIN="USER__LOGIN",t.USER__LOGOUT="USER__LOGOUT",t.HEARTBEAT="HEARTBEAT"})(ec||(ec={}));var tc;(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"})(tc||(tc={}));var rc;(function(t){t.HOMEPAGE="HOMEPAGE",t.CUSTOM="CUSTOM",t.HEADER="HEADER",t.READER="READER",t.TOPIC_TEMPLATE="TOPIC_TEMPLATE",t.SEARCH="SEARCH",t.SEARCH_RESULT="SEARCH_RESULT"})(rc||(rc={}));var oc;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(oc||(oc={}));var ic;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(ic||(ic={}));var nc;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(nc||(nc={}));var ac;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(ac||(ac={}));var sc;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"})(sc||(sc={}));var lc;(function(t){t.ASC="ASC",t.DESC="DESC"})(lc||(lc={}));var cc;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(cc||(cc={}));var Ua;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(Ua||(Ua={}));var mc=t=>Object.keys(Ua).includes(t);var dc;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})(dc||(dc={}));var pc;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(pc||(pc={}));var fc;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(fc||(fc={}));var Zr;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Zr||(Zr={}));var yc=t=>Object.keys(Zr).includes(t);var uc;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(uc||(uc={}));var hc;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(hc||(hc={}));var Ce;(function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_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"})(Ce||(Ce={}));var gc;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(gc||(gc={}));var bc;(function(t){t.TEXT="TEXT",t.HTML="HTML"})(bc||(bc={}));var wx={[Ce.PERSONAL_BOOK_SHARE_USER]:[Ce.PERSONAL_BOOK_USER],[Ce.HTML_EXPORT_USER]:[Ce.PERSONAL_BOOK_USER],[Ce.PDF_EXPORT_USER]:[Ce.PERSONAL_BOOK_USER],[Ce.KHUB_ADMIN]:[Ce.CONTENT_PUBLISHER],[Ce.ADMIN]:[Ce.KHUB_ADMIN,Ce.USERS_ADMIN,Ce.PORTAL_ADMIN],[Ce.DEVELOPER]:[Ce.BETA_USER,Ce.DEBUG_USER],[Ce.GENERATIVE_AI_EXPORT_USER]:[Ce.GENERATIVE_AI_USER]};function Zf(t){return`"${t}"`}function xc(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function qf(t,e){return new Er(t).serialize(e)}var le;(function(t){t.LOCALE="content-lang",t.QUERY="query",t.SCOPE="scope",t.FILTERS="filters",t.VIRTUAL_FIELD="virtual-field",t.PERIOD="period",t.VALUE_FILTERS="value-filters",t.DATE_FILTERS="date-filters",t.RANGE_FILTERS="range-filters",t.SORT="sort",t.PER_PAGE="per-page"})(le||(le={}));var Yf=new Set(Object.values(le));function vc(t){return Yf.has(t)}var Er=class{constructor(e,r={},i=20,n=!1,a="en-US"){this.baseUrl=e,this.predefinedSorts=r,this.defaultPerPage=i,this.allLanguagesAllowed=n,this.defaultContentLocale=a,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(e,r){return this.serializeToCurrentPageIfPossible(e,r??"/search")}serializeToCurrentPageIfPossible(e,r){let i=this.toURLSearchParams(e).toString(),n=r==null||r.trim().length===0,a=new URL(n?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${r}`);return a.search=i,a.toString()}toURLSearchParams(e,r=!1){var i,n,a,s,l,d,f,h,u,b,S,v;let E=new URLSearchParams;e.contentLocale?(!r||e.contentLocale!==this.defaultContentLocale)&&E.append(le.LOCALE,e.contentLocale):E.append(le.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((i=e.query)===null||i===void 0?void 0:i.length)>0&&E.append(le.QUERY,e.query),e.scope&&e.scope!=="DEFAULT"&&E.append(le.SCOPE,e.scope.toLowerCase()),e.virtualField&&e.virtualField!=="EVERYWHERE"&&E.append(le.VIRTUAL_FIELD,e.virtualField.toLowerCase()),((n=e.sort)===null||n===void 0?void 0:n.length)>0&&e.sort[0].key==="ft:lastEdition"&&E.append(le.SORT,"last_update");let $=(s=(a=e.metadataFilters)===null||a===void 0?void 0:a.filter(O=>O.valueFilter))!==null&&s!==void 0?s:[];if($.length>0){let O=$.map(R=>{var F,H;let Q=((H=(F=R.valueFilter)===null||F===void 0?void 0:F.values)!==null&&H!==void 0?H:[]).map(Z=>this.escapeFilters(Z)).map(Z=>encodeURIComponent(Zf(xc(Z)))).join("_");return`${R.key}~${Q}`}).join("*");E.append(le.VALUE_FILTERS,O)}let N=(d=(l=e.metadataFilters)===null||l===void 0?void 0:l.filter(O=>O.dateFilter))!==null&&d!==void 0?d:[];if(N.length>0){let O=N.map(R=>{var F;return`${R.key}~${(F=R.dateFilter)===null||F===void 0?void 0:F.type.toLowerCase()}`}).join("*");E.append(le.DATE_FILTERS,O)}let T=(h=(f=e.metadataFilters)===null||f===void 0?void 0:f.filter(O=>O.rangeFilter))!==null&&h!==void 0?h:[];if(T.length>0){let O=T.map(R=>{var F,H;return`${R.key}~${(F=R.rangeFilter)===null||F===void 0?void 0:F.from}_${(H=R.rangeFilter)===null||H===void 0?void 0:H.to}`}).join("*");E.append(le.RANGE_FILTERS,O)}let A=(u=e.otherQueryParams)!==null&&u!==void 0?u:{};for(let O in A)E.append(O,A[O]);return!((b=e.paging)===null||b===void 0)&&b.perPage&&((v=(S=e.paging)===null||S===void 0?void 0:S.perPage)!==null&&v!==void 0?v:this.defaultPerPage)!=this.defaultPerPage&&E.append(le.PER_PAGE,String(e.paging.perPage)),E}parse(e){var r;let i=e.split("?"),n=this.fromURLSearchParams(new URLSearchParams(i.slice(1).join("?"))),a=i[0].split("/search/")[1];return a==null?n:{...n,scope:(r=this.scopeMapping[a])!==null&&r!==void 0?r:n.scope}}fromURLSearchParams(e){var r,i,n,a,s,l,d,f;let h=e.get(le.LOCALE)==="all"?void 0:e.get(le.LOCALE),u=((r=e.get(le.VIRTUAL_FIELD))!==null&&r!==void 0?r:"EVERYWHERE").toUpperCase(),b=((i=e.get(le.SORT))!==null&&i!==void 0?i:"DEFAULT").toUpperCase(),S=(n=e.get(le.SCOPE))!==null&&n!==void 0?n:"default",v=+((a=e.get(le.PER_PAGE))!==null&&a!==void 0?a:this.defaultPerPage),E={};for(let $ of e.keys())vc($)||(E[$]=e.get($));return{contentLocale:h??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:decodeURIComponent((s=e.get(le.QUERY))!==null&&s!==void 0?s:""),scope:(l=this.scopeMapping[S])!==null&&l!==void 0?l:"DEFAULT",virtualField:mc(u)?u:"EVERYWHERE",sort:(f=(d=this.predefinedSorts[b])!==null&&d!==void 0?d:this.predefinedSorts.DEFAULT)!==null&&f!==void 0?f:[],metadataFilters:this.parseCompatFilters(e),facets:[],paging:{page:1,perPage:yo(1,isNaN(v)?this.defaultPerPage:v,1e3)},otherQueryParams:E}}parseCompatFilters(e){var r,i,n,a,s,l;let d=[];return e.has(le.FILTERS)&&(d=this.parseValueFilters((r=e.get(le.FILTERS))!==null&&r!==void 0?r:"")),(i=e.has(le.PERIOD))!==null&&i!==void 0&&i&&(d=[...d,...this.parseLegacyPeriodFilter(((n=e.get(le.PERIOD))!==null&&n!==void 0?n:"").toUpperCase())]),[...d,...this.parseValueFilters((a=e.get(le.VALUE_FILTERS))!==null&&a!==void 0?a:""),...this.parseDateFilters((s=e.get(le.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((l=e.get(le.RANGE_FILTERS))!==null&&l!==void 0?l:"")]}splitUnknownFilter(e){return this.superEscapeFilters(decodeURIComponent(e)).split("*").map(r=>r.split("~"))}parseValueFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],valueFilter:{values:r[1].split("_").map(xc).map(i=>this.unescapeFilterValue(i)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],dateFilter:{type:Zr[r[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],rangeFilter:{from:r[1].split("_")[0],to:r[1].split("_")[1]}}))}escapeFilters(e){for(let[r,i,n]of this.filtersEscapeMapping)e=e.replaceAll(r,i);return e}superEscapeFilters(e){for(let[r,i,n]of this.filtersEscapeMapping)e=e.replaceAll(i,n);return e}unescapeFilterValue(e){for(let[r,i,n]of this.filtersEscapeMapping)e=e.replace(n,r);return e}parseLegacyPeriodFilter(e){if(yc(e))return[{key:"ft:lastEdition",dateFilter:{type:Zr[e]}}];if(e.startsWith("CUSTOM_")){let[r,i,n]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:i,to:n}}]}return[]}};var Ha={};se(Ha,{toFtFormComponent:()=>Wa});var mi=Symbol("elementInternals");function Wa(t,e){class r extends t{static get formAssociated(){return!0}get form(){return this[mi].form}constructor(...n){super(n),this[mi]=this.attachInternals(),this[mi].role=e}setFormValue(n){this[mi].setFormValue(n)}}return r}var Va={};se(Va,{DateFormatter:()=>qr});var qr=class{static format(e,r,i,n){return window.moment?window.moment(e).locale(r).format(this.getDateFormat(i,n)):e}static getDateFormat(e,r){return e?r?"lll":"ll":r?"L LT":"L"}};var ja,Ga,Ka,Za,wr=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Ka=(Ga=(ja=window.safari)===null||ja===void 0?void 0:ja.pushNotification)===null||Ga===void 0?void 0:Ga.toString())!==null&&Ka!==void 0?Ka:"")==="[object SafariRemoteNotification]",qa="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Za=window.ftGlobals)!==null&&Za!==void 0?Za:{lit:Ui,litDecorators:Vi,litRepeat:ji,litClassMap:Gi,litStyleMap:Ki,litUnsafeHTML:qi,wcUtils:{...rn,...Xi,...nn,...Va,...an,...cn,...Fn,...tn,...ra,...Bn,...na,...ia,...ll,...ln,...la,...da,...dl,...pa,...Ia,...oa,...Fa,...Ma,...za,...Ha,isSafari:wr,isTouchScreen:qa,setVariable:x}};var nt;(function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"})(nt||(nt={}));var Sc=_`
|
|
48
|
+
`;var dl={};var pa={};se(pa,{ParametrizedLabelResolver:()=>Kt});var Kt=class t{constructor(e,r){this.defaultLabels=e,this.labels=r}resolve(e,...r){var i,n;e=this.resolvePluralKey(e,r);let a=(n=(i=this.labels[e])!==null&&i!==void 0?i:this.defaultLabels[e])!==null&&n!==void 0?n:"";return t.replaceParameters(a,...r)}static replaceParameters(e,...r){return r.forEach((i,n)=>e=e.replace(new RegExp(`\\{${n}([^}]*)\\}`,"g"),(a,s)=>t.formatValue(i,s))),e}resolvePluralKey(e,r){for(let i of r)if(typeof i=="number"){let n=`${String(e)}[\\=${i}]`;if(n in this.labels||n in this.defaultLabels)return n}return e}static formatValue(e,r){return e instanceof Date?t.formatDate(e,r):e??""}static formatDate(e,r){let i=n=>r?.includes("date")?e.toLocaleDateString(n):r?.includes("time")?e.toLocaleTimeString(n):e.toLocaleString(n);try{return i(document.documentElement.lang)}catch{return i()}}};var Ia={};se(Ia,{FtCommandQueue:()=>_o,FtLitElementRedux:()=>zr,FtReduxStore:()=>Cr,ReduxWatcher:()=>pi,clearAllStores:()=>Wf,isFtReduxStore:()=>xr,redux:()=>pl,reduxEventListener:()=>nf,reduxReactive:()=>of,watch:()=>Hf});var of=()=>(t,e)=>{var r;let i=t.constructor;i.reduxReactiveProperties=new Set(i.reduxReactiveProperties),(r=i.reduxReactiveProperties)===null||r===void 0||r.add(e)},pl=t=>{let e=t??{};return(r,i)=>{var n;let a={hasChanged:ur,attribute:!1,...e};y(a)(r,i);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(i,{selector:(n=e.selector)!==null&&n!==void 0?n:l=>l[i],store:e.store})}},nf=t=>(e,r)=>{let i=e.constructor;i.reduxEventListeners=new Map(i.reduxEventListeners),i.reduxEventListeners.set(r,t)};var _o=class{constructor(){this.queue=[]}add(e,r=!1){r&&(this.queue=this.queue.filter(i=>i.type!==e.type)),this.queue.push(e)}consume(e){let r=this.queue.find(i=>i.type===e);return r&&(this.queue=this.queue.filter(i=>i!==r)),r}};function xr(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var fl,ul,hl,$o=Symbol("internalReduxEventsUnsubscribers"),Zt=Symbol("internalStoresUnsubscribers"),vr=Symbol("internalStores"),zr=class extends z{constructor(){super(...arguments),this[fl]=new Map,this[ul]=new Map,this[hl]=new Map}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(r=>e.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[vr].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[vr].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[vr].get(e)}addStore(e,r){var i;r=(i=r??(xr(e)?e.name:void 0))!==null&&i!==void 0?i:"default-store",this.unsubscribeFromStore(r),this[vr].set(r,e),this.subscribeToStore(r,e),this.updateFromStores()}removeStore(e){let r=typeof e=="string"?e:e.name;this.unsubscribeFromStore(r),this[vr].delete(r)}setupStores(){this.unsubscribeFromStores(),this[vr].forEach((e,r)=>this.subscribeToStore(r,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,r)=>{let i=this.constructor.getPropertyOptions(r);if(!i?.attribute||!this.hasAttribute(typeof i?.attribute=="string"?i.attribute:r)){let n=this.getStore(e.store);n&&(e.store?this[Zt].has(e.store):this[Zt].size>0)&&(this[r]=e.selector(n.getState(),this))}})}subscribeToStore(e,r){var i;this[Zt].set(e,r.subscribe(()=>this.updateFromStores())),this[$o].set(e,[]),xr(r)&&r.eventBus&&((i=this.reduxConstructor.reduxEventListeners)===null||i===void 0||i.forEach((n,a)=>{if(typeof this[a]=="function"&&(!n.store||r.name===n.store)){let s=l=>this[a](l);r.addEventListener(n.eventName,s),this[$o].get(e).push(()=>r.removeEventListener(n.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[Zt].forEach((e,r)=>this.unsubscribeFromStore(r))}unsubscribeFromStore(e){var r;this[Zt].has(e)&&this[Zt].get(e)(),this[Zt].delete(e),(r=this[$o].get(e))===null||r===void 0||r.forEach(i=>i()),this[$o].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};fl=Zt,ul=vr,hl=$o;zr.reduxProperties=new Map;zr.reduxReactiveProperties=new Set;zr.reduxEventListeners=new Map;function it(t){for(var e=arguments.length,r=Array(e>1?e-1:0),i=1;i<e;i++)r[i-1]=arguments[i];if(0)var n,a;throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Mt(t){return!!t&&!!t[fe]}function ut(t){var e;return!!t&&(function(r){if(!r||typeof r!="object")return!1;var i=Object.getPrototypeOf(r);if(i===null)return!0;var n=Object.hasOwnProperty.call(i,"constructor")&&i.constructor;return n===Object||typeof n=="function"&&Function.toString.call(n)===uf}(t)||Array.isArray(t)||!!t[Sl]||!!(!((e=t.constructor)===null||e===void 0)&&e[Sl])||va(t)||Sa(t))}function Sr(t,e,r){r===void 0&&(r=!1),Vr(t)===0?(r?Object.keys:Hr)(t).forEach(function(i){r&&typeof i=="symbol"||e(i,t[i],t)}):t.forEach(function(i,n){return e(n,i,t)})}function Vr(t){var e=t[fe];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:va(t)?2:Sa(t)?3:0}function Wr(t,e){return Vr(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function af(t,e){return Vr(t)===2?t.get(e):t[e]}function Ol(t,e,r){var i=Vr(t);i===2?t.set(e,r):i===3?t.add(r):t[e]=r}function Cl(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function va(t){return pf&&t instanceof Map}function Sa(t){return ff&&t instanceof Set}function qt(t){return t.o||t.t}function Oa(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Al(t);delete e[fe];for(var r=Hr(e),i=0;i<r.length;i++){var n=r[i],a=e[n];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[n]={configurable:!0,writable:!0,enumerable:a.enumerable,value:t[n]})}return Object.create(Object.getPrototypeOf(t),e)}function Ca(t,e){return e===void 0&&(e=!1),Ea(t)||Mt(t)||!ut(t)||(Vr(t)>1&&(t.set=t.add=t.clear=t.delete=sf),Object.freeze(t),e&&Sr(t,function(r,i){return Ca(i,!0)},!0)),t}function sf(){it(2)}function Ea(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function Ot(t){var e=xa[t];return e||it(18,t),e}function lf(t,e){xa[t]||(xa[t]=e)}function ya(){return Po}function fa(t,e){e&&(Ot("Patches"),t.u=[],t.s=[],t.v=e)}function ai(t){ga(t),t.p.forEach(cf),t.p=null}function ga(t){t===Po&&(Po=t.l)}function ml(t){return Po={p:[],l:Po,h:t,m:!0,_:0}}function cf(t){var e=t[fe];e.i===0||e.i===1?e.j():e.g=!0}function ua(t,e){e._=e.p.length;var r=e.p[0],i=t!==void 0&&t!==r;return e.h.O||Ot("ES5").S(e,t,i),i?(r[fe].P&&(ai(e),it(4)),ut(t)&&(t=si(e,t),e.l||li(e,t)),e.u&&Ot("Patches").M(r[fe].t,t,e.u,e.s)):t=si(e,r,[]),ai(e),e.u&&e.v(e.u,e.s),t!==wl?t:void 0}function si(t,e,r){if(Ea(e))return e;var i=e[fe];if(!i)return Sr(e,function(l,d){return yl(t,i,e,l,d,r)},!0),e;if(i.A!==t)return e;if(!i.P)return li(t,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var n=i.i===4||i.i===5?i.o=Oa(i.k):i.o,a=n,s=!1;i.i===3&&(a=new Set(n),n.clear(),s=!0),Sr(a,function(l,d){return yl(t,i,n,l,d,r,s)}),li(t,n,!1),r&&t.u&&Ot("Patches").N(i,r,t.u,t.s)}return i.o}function yl(t,e,r,i,n,a,s){if(Mt(n)){var l=si(t,n,a&&e&&e.i!==3&&!Wr(e.R,i)?a.concat(i):void 0);if(Ol(r,i,l),!Mt(l))return;t.m=!1}else s&&r.add(n);if(ut(n)&&!Ea(n)){if(!t.h.D&&t._<1)return;si(t,n),e&&e.A.l||li(t,n)}}function li(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&Ca(e,r)}function ha(t,e){var r=t[fe];return(r?qt(r):t)[e]}function gl(t,e){if(e in t)for(var r=Object.getPrototypeOf(t);r;){var i=Object.getOwnPropertyDescriptor(r,e);if(i)return i;r=Object.getPrototypeOf(r)}}function Yt(t){t.P||(t.P=!0,t.l&&Yt(t.l))}function ma(t){t.o||(t.o=Oa(t.t))}function ba(t,e,r){var i=va(e)?Ot("MapSet").F(e,r):Sa(e)?Ot("MapSet").T(e,r):t.O?function(n,a){var s=Array.isArray(n),l={i:s?1:0,A:a?a.A:ya(),P:!1,I:!1,R:{},l:a,t:n,k:null,o:null,j:null,C:!1},d=l,f=To;s&&(d=[l],f=No);var h=Proxy.revocable(d,f),u=h.revoke,b=h.proxy;return l.k=b,l.j=u,b}(e,r):Ot("ES5").J(e,r);return(r?r.A:ya()).p.push(i),i}function df(t){return Mt(t)||it(22,t),function e(r){if(!ut(r))return r;var i,n=r[fe],a=Vr(r);if(n){if(!n.P&&(n.i<4||!Ot("ES5").K(n)))return n.t;n.I=!0,i=bl(r,a),n.I=!1}else i=bl(r,a);return Sr(i,function(s,l){n&&af(n.t,s)===l||Ol(i,s,e(l))}),a===3?new Set(i):i}(t)}function bl(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Oa(t)}function El(){function t(s,l){var d=a[s];return d?d.enumerable=l:a[s]=d={configurable:!0,enumerable:l,get:function(){var f=this[fe];return To.get(f,s)},set:function(f){var h=this[fe];To.set(h,s,f)}},d}function e(s){for(var l=s.length-1;l>=0;l--){var d=s[l][fe];if(!d.P)switch(d.i){case 5:i(d)&&Yt(d);break;case 4:r(d)&&Yt(d)}}}function r(s){for(var l=s.t,d=s.k,f=Hr(d),h=f.length-1;h>=0;h--){var u=f[h];if(u!==fe){var b=l[u];if(b===void 0&&!Wr(l,u))return!0;var S=d[u],v=S&&S[fe];if(v?v.t!==b:!Cl(S,b))return!0}}var E=!!l[fe];return f.length!==Hr(l).length+(E?0:1)}function i(s){var l=s.k;if(l.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(l,l.length-1);if(d&&!d.get)return!0;for(var f=0;f<l.length;f++)if(!l.hasOwnProperty(f))return!0;return!1}function n(s){s.g&&it(3,JSON.stringify(qt(s)))}var a={};lf("ES5",{J:function(s,l){var d=Array.isArray(s),f=function(u,b){if(u){for(var S=Array(b.length),v=0;v<b.length;v++)Object.defineProperty(S,""+v,t(v,!0));return S}var E=Al(b);delete E[fe];for(var $=Hr(E),N=0;N<$.length;N++){var T=$[N];E[T]=t(T,u||!!E[T].enumerable)}return Object.create(Object.getPrototypeOf(b),E)}(d,s),h={i:d?5:4,A:l?l.A:ya(),P:!1,I:!1,R:{},l,t:s,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,fe,{value:h,writable:!0}),f},S:function(s,l,d){d?Mt(l)&&l[fe].A===s&&e(s.p):(s.u&&function f(h){if(h&&typeof h=="object"){var u=h[fe];if(u){var b=u.t,S=u.k,v=u.R,E=u.i;if(E===4)Sr(S,function(O){O!==fe&&(b[O]!==void 0||Wr(b,O)?v[O]||f(S[O]):(v[O]=!0,Yt(u)))}),Sr(b,function(O){S[O]!==void 0||Wr(S,O)||(v[O]=!1,Yt(u))});else if(E===5){if(i(u)&&(Yt(u),v.length=!0),S.length<b.length)for(var $=S.length;$<b.length;$++)v[$]=!1;else for(var N=b.length;N<S.length;N++)v[N]=!0;for(var T=Math.min(S.length,b.length),A=0;A<T;A++)S.hasOwnProperty(A)||(v[A]=!0),v[A]===void 0&&f(S[A])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?r(s):i(s)}})}var xl,Po,wa=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",pf=typeof Map<"u",ff=typeof Set<"u",vl=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",wl=wa?Symbol.for("immer-nothing"):((xl={})["immer-nothing"]=!0,xl),Sl=wa?Symbol.for("immer-draftable"):"__$immer_draftable",fe=wa?Symbol.for("immer-state"):"__$immer_state";var uf=""+Object.prototype.constructor,Hr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Al=Object.getOwnPropertyDescriptors||function(t){var e={};return Hr(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},xa={},To={get:function(t,e){if(e===fe)return t;var r=qt(t);if(!Wr(r,e))return function(n,a,s){var l,d=gl(a,s);return d?"value"in d?d.value:(l=d.get)===null||l===void 0?void 0:l.call(n.k):void 0}(t,r,e);var i=r[e];return t.I||!ut(i)?i:i===ha(t.t,e)?(ma(t),t.o[e]=ba(t.A.h,i,t)):i},has:function(t,e){return e in qt(t)},ownKeys:function(t){return Reflect.ownKeys(qt(t))},set:function(t,e,r){var i=gl(qt(t),e);if(i?.set)return i.set.call(t.k,r),!0;if(!t.P){var n=ha(qt(t),e),a=n?.[fe];if(a&&a.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(Cl(r,n)&&(r!==void 0||Wr(t.t,e)))return!0;ma(t),Yt(t)}return t.o[e]===r&&(r!==void 0||e in t.o)||Number.isNaN(r)&&Number.isNaN(t.o[e])||(t.o[e]=r,t.R[e]=!0),!0},deleteProperty:function(t,e){return ha(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,ma(t),Yt(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=qt(t),i=Reflect.getOwnPropertyDescriptor(r,e);return i&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:i.enumerable,value:r[e]}},defineProperty:function(){it(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){it(12)}},No={};Sr(To,function(t,e){No[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),No.deleteProperty=function(t,e){return No.set.call(this,t,e,void 0)},No.set=function(t,e,r){return To.set.call(this,t[0],e,r,t[0])};var hf=function(){function t(r){var i=this;this.O=vl,this.D=!0,this.produce=function(n,a,s){if(typeof n=="function"&&typeof a!="function"){var l=a;a=n;var d=i;return function(E){var $=this;E===void 0&&(E=l);for(var N=arguments.length,T=Array(N>1?N-1:0),A=1;A<N;A++)T[A-1]=arguments[A];return d.produce(E,function(O){var R;return(R=a).call.apply(R,[$,O].concat(T))})}}var f;if(typeof a!="function"&&it(6),s!==void 0&&typeof s!="function"&&it(7),ut(n)){var h=ml(i),u=ba(i,n,void 0),b=!0;try{f=a(u),b=!1}finally{b?ai(h):ga(h)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(E){return fa(h,s),ua(E,h)},function(E){throw ai(h),E}):(fa(h,s),ua(f,h))}if(!n||typeof n!="object"){if((f=a(n))===void 0&&(f=n),f===wl&&(f=void 0),i.D&&Ca(f,!0),s){var S=[],v=[];Ot("Patches").M(n,f,S,v),s(S,v)}return f}it(21,n)},this.produceWithPatches=function(n,a){if(typeof n=="function")return function(f){for(var h=arguments.length,u=Array(h>1?h-1:0),b=1;b<h;b++)u[b-1]=arguments[b];return i.produceWithPatches(f,function(S){return n.apply(void 0,[S].concat(u))})};var s,l,d=i.produce(n,a,function(f,h){s=f,l=h});return typeof Promise<"u"&&d instanceof Promise?d.then(function(f){return[f,s,l]}):[d,s,l]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var e=t.prototype;return e.createDraft=function(r){ut(r)||it(8),Mt(r)&&(r=df(r));var i=ml(this),n=ba(this,r,void 0);return n[fe].C=!0,ga(i),n},e.finishDraft=function(r,i){var n=r&&r[fe],a=n.A;return fa(a,i),ua(void 0,a)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!vl&&it(20),this.O=r},e.applyPatches=function(r,i){var n;for(n=i.length-1;n>=0;n--){var a=i[n];if(a.path.length===0&&a.op==="replace"){r=a.value;break}}n>-1&&(i=i.slice(n+1));var s=Ot("Patches").$;return Mt(r)?s(r,i):this.produce(r,function(l){return s(l,i)})},t}(),Xe=new hf,mf=Xe.produce,Ob=Xe.produceWithPatches.bind(Xe),Cb=Xe.setAutoFreeze.bind(Xe),Eb=Xe.setUseProxies.bind(Xe),wb=Xe.applyPatches.bind(Xe),Ab=Xe.createDraft.bind(Xe),Rb=Xe.finishDraft.bind(Xe),ci=mf;function Or(t){"@babel/helpers - typeof";return Or=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Or(t)}function Rl(t,e){if(Or(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var i=r.call(t,e||"default");if(Or(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Ll(t){var e=Rl(t,"string");return Or(e)=="symbol"?e:e+""}function kl(t,e,r){return(e=Ll(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function _l(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),r.push.apply(r,i)}return r}function Aa(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?_l(Object(r),!0).forEach(function(i){kl(t,i,r[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):_l(Object(r)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(r,i))})}return t}function Ie(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. "}var $l=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Ra=function(){return Math.random().toString(36).substring(7).split("").join(".")},di={INIT:"@@redux/INIT"+Ra(),REPLACE:"@@redux/REPLACE"+Ra(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Ra()}};function yf(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function La(t,e,r){var i;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(Ie(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(Ie(1));return r(La)(t,e)}if(typeof t!="function")throw new Error(Ie(2));var n=t,a=e,s=[],l=s,d=!1;function f(){l===s&&(l=s.slice())}function h(){if(d)throw new Error(Ie(3));return a}function u(E){if(typeof E!="function")throw new Error(Ie(4));if(d)throw new Error(Ie(5));var $=!0;return f(),l.push(E),function(){if($){if(d)throw new Error(Ie(6));$=!1,f();var T=l.indexOf(E);l.splice(T,1),s=null}}}function b(E){if(!yf(E))throw new Error(Ie(7));if(typeof E.type>"u")throw new Error(Ie(8));if(d)throw new Error(Ie(9));try{d=!0,a=n(a,E)}finally{d=!1}for(var $=s=l,N=0;N<$.length;N++){var T=$[N];T()}return E}function S(E){if(typeof E!="function")throw new Error(Ie(10));n=E,b({type:di.REPLACE})}function v(){var E,$=u;return E={subscribe:function(T){if(typeof T!="object"||T===null)throw new Error(Ie(11));function A(){T.next&&T.next(h())}A();var O=$(A);return{unsubscribe:O}}},E[$l]=function(){return this},E}return b({type:di.INIT}),i={dispatch:b,subscribe:u,getState:h,replaceReducer:S},i[$l]=v,i}function gf(t){Object.keys(t).forEach(function(e){var r=t[e],i=r(void 0,{type:di.INIT});if(typeof i>"u")throw new Error(Ie(12));if(typeof r(void 0,{type:di.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Ie(13))})}function Nl(t){for(var e=Object.keys(t),r={},i=0;i<e.length;i++){var n=e[i];typeof t[n]=="function"&&(r[n]=t[n])}var a=Object.keys(r),s,l;try{gf(r)}catch(d){l=d}return function(f,h){if(f===void 0&&(f={}),l)throw l;if(0)var u;for(var b=!1,S={},v=0;v<a.length;v++){var E=a[v],$=r[E],N=f[E],T=$(N,h);if(typeof T>"u"){var A=h&&h.type;throw new Error(Ie(14))}S[E]=T,b=b||T!==N}return b=b||a.length!==Object.keys(f).length,b?S:f}}function jr(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.length===0?function(i){return i}:e.length===1?e[0]:e.reduce(function(i,n){return function(){return i(n.apply(void 0,arguments))}})}function Pl(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(i){return function(){var n=i.apply(void 0,arguments),a=function(){throw new Error(Ie(15))},s={getState:n.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=e.map(function(d){return d(s)});return a=jr.apply(void 0,l)(n.dispatch),Aa(Aa({},n),{},{dispatch:a})}}}function Tl(t){var e=function(i){var n=i.dispatch,a=i.getState;return function(s){return function(l){return typeof l=="function"?l(n,a,t):s(l)}}};return e}var Il=Tl();Il.withExtraArgument=Tl;var ka=Il;var Ul=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(i[a]=n[a])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function i(){this.constructor=e}e.prototype=r===null?Object.create(r):(i.prototype=r.prototype,new i)}}(),bf=function(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,n,a,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(f){return function(h){return d([f,h])}}function d(f){if(i)throw new TypeError("Generator is already executing.");for(;r;)try{if(i=1,n&&(a=f[0]&2?n.return:f[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,f[1])).done)return a;switch(n=0,a&&(f=[f[0]&2,a.value]),f[0]){case 0:case 1:a=f;break;case 4:return r.label++,{value:f[1],done:!1};case 5:r.label++,n=f[1],f=[0];continue;case 7:f=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(f[0]===6||f[0]===2)){r=0;continue}if(f[0]===3&&(!a||f[1]>a[0]&&f[1]<a[3])){r.label=f[1];break}if(f[0]===6&&r.label<a[1]){r.label=a[1],a=f;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(f);break}a[2]&&r.ops.pop(),r.trys.pop();continue}f=e.call(t,r)}catch(h){f=[6,h],n=0}finally{i=a=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},Gr=function(t,e){for(var r=0,i=e.length,n=t.length;r<i;r++,n++)t[n]=e[r];return t},xf=Object.defineProperty,vf=Object.defineProperties,Sf=Object.getOwnPropertyDescriptors,Bl=Object.getOwnPropertySymbols,Of=Object.prototype.hasOwnProperty,Cf=Object.prototype.propertyIsEnumerable,Dl=function(t,e,r){return e in t?xf(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},Xt=function(t,e){for(var r in e||(e={}))Of.call(e,r)&&Dl(t,r,e[r]);if(Bl)for(var i=0,n=Bl(e);i<n.length;i++){var r=n[i];Cf.call(e,r)&&Dl(t,r,e[r])}return t},_a=function(t,e){return vf(t,Sf(e))},Ef=function(t,e,r){return new Promise(function(i,n){var a=function(d){try{l(r.next(d))}catch(f){n(f)}},s=function(d){try{l(r.throw(d))}catch(f){n(f)}},l=function(d){return d.done?i(d.value):Promise.resolve(d.value).then(a,s)};l((r=r.apply(t,e)).next())})};var wf=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?jr:jr.apply(null,arguments)},jb=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function Af(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return e===r}var Rf=function(t){Ul(e,t);function e(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var n=t.apply(this,r)||this;return Object.setPrototypeOf(n,e.prototype),n}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,Gr([void 0],r[0].concat(this)))):new(e.bind.apply(e,Gr([void 0],r.concat(this))))},e}(Array),Lf=function(t){Ul(e,t);function e(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var n=t.apply(this,r)||this;return Object.setPrototypeOf(n,e.prototype),n}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,Gr([void 0],r[0].concat(this)))):new(e.bind.apply(e,Gr([void 0],r.concat(this))))},e}(Array);function Pa(t){return ut(t)?ci(t,function(){}):t}function kf(t){return typeof t=="boolean"}function _f(){return function(e){return $f(e)}}function $f(t){t===void 0&&(t={});var e=t.thunk,r=e===void 0?!0:e,i=t.immutableCheck,n=i===void 0?!0:i,a=t.serializableCheck,s=a===void 0?!0:a,l=new Rf;if(r&&(kf(r)?l.push(ka):l.push(ka.withExtraArgument(r.extraArgument))),0){if(n)var d;if(s)var f}return l}var $a=!0;function zl(t){var e=_f(),r=t||{},i=r.reducer,n=i===void 0?void 0:i,a=r.middleware,s=a===void 0?e():a,l=r.devTools,d=l===void 0?!0:l,f=r.preloadedState,h=f===void 0?void 0:f,u=r.enhancers,b=u===void 0?void 0:u,S;if(typeof n=="function")S=n;else if(Af(n))S=Nl(n);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var v=s;if(typeof v=="function"&&(v=v(e),!$a&&!Array.isArray(v)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!$a&&v.some(function(O){return typeof O!="function"}))throw new Error("each middleware provided to configureStore must be a function");var E=Pl.apply(void 0,v),$=jr;d&&($=wf(Xt({trace:!$a},typeof d=="object"&&d)));var N=new Lf(E),T=N;Array.isArray(b)?T=Gr([E],b):typeof b=="function"&&(T=b(N));var A=$.apply(void 0,T);return La(S,h,A)}function Jt(t,e){function r(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];if(e){var a=e.apply(void 0,i);if(!a)throw new Error("prepareAction did not return an object");return Xt(Xt({type:t,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:t,payload:i[0]}}return r.toString=function(){return""+t},r.type=t,r.match=function(i){return i.type===t},r}function Wl(t){var e={},r=[],i,n={addCase:function(a,s){var l=typeof a=="string"?a:a.type;if(l in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[l]=s,n},addMatcher:function(a,s){return r.push({matcher:a,reducer:s}),n},addDefaultCase:function(a){return i=a,n}};return t(n),[e,r,i]}function Nf(t){return typeof t=="function"}function Pf(t,e,r,i){r===void 0&&(r=[]);var n=typeof e=="function"?Wl(e):[e,r,i],a=n[0],s=n[1],l=n[2],d;if(Nf(t))d=function(){return Pa(t())};else{var f=Pa(t);d=function(){return f}}function h(u,b){u===void 0&&(u=d());var S=Gr([a[b.type]],s.filter(function(v){var E=v.matcher;return E(b)}).map(function(v){var E=v.reducer;return E}));return S.filter(function(v){return!!v}).length===0&&(S=[l]),S.reduce(function(v,E){if(E)if(Mt(v)){var $=v,N=E($,b);return N===void 0?v:N}else{if(ut(v))return ci(v,function(T){return E(T,b)});var N=E(v,b);if(N===void 0){if(v===null)return v;throw Error("A case reducer on a non-draftable value must not return undefined")}return N}return v},u)}return h.getInitialState=d,h}function Tf(t,e){return t+"/"+e}function Hl(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof t.initialState=="function"?t.initialState:Pa(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},s={},l={};n.forEach(function(h){var u=i[h],b=Tf(e,h),S,v;"reducer"in u?(S=u.reducer,v=u.prepare):S=u,a[h]=S,s[b]=S,l[h]=v?Jt(b,v):Jt(b)});function d(){var h=typeof t.extraReducers=="function"?Wl(t.extraReducers):[t.extraReducers],u=h[0],b=u===void 0?{}:u,S=h[1],v=S===void 0?[]:S,E=h[2],$=E===void 0?void 0:E,N=Xt(Xt({},b),s);return Pf(r,function(T){for(var A in N)T.addCase(A,N[A]);for(var O=0,R=v;O<R.length;O++){var F=R[O];T.addMatcher(F.matcher,F.reducer)}$&&T.addDefaultCase($)})}var f;return{name:e,reducer:function(h,u){return f||(f=d()),f(h,u)},actions:l,caseReducers:a,getInitialState:function(){return f||(f=d()),f.getInitialState()}}}var If="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Bf=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=If[Math.random()*64|0];return e},Df=["name","message","stack","code"],Na=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),Fl=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),Ff=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,i=Df;r<i.length;r++){var n=i[r];typeof t[n]=="string"&&(e[n]=t[n])}return e}return{message:String(t)}},qb=function(){function t(e,r,i){var n=Jt(e+"/fulfilled",function(h,u,b,S){return{payload:h,meta:_a(Xt({},S||{}),{arg:b,requestId:u,requestStatus:"fulfilled"})}}),a=Jt(e+"/pending",function(h,u,b){return{payload:void 0,meta:_a(Xt({},b||{}),{arg:u,requestId:h,requestStatus:"pending"})}}),s=Jt(e+"/rejected",function(h,u,b,S,v){return{payload:S,error:(i&&i.serializeError||Ff)(h||"Rejected"),meta:_a(Xt({},v||{}),{arg:b,requestId:u,rejectedWithValue:!!S,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),l=!1,d=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function f(h){return function(u,b,S){var v=i?.idGenerator?i.idGenerator(h):Bf(),E=new d,$,N=!1;function T(O){$=O,E.abort()}var A=function(){return Ef(this,null,function(){var O,R,F,H,Q,Z,I;return bf(this,function(m){switch(m.label){case 0:return m.trys.push([0,4,,5]),H=(O=i?.condition)==null?void 0:O.call(i,h,{getState:b,extra:S}),Uf(H)?[4,H]:[3,2];case 1:H=m.sent(),m.label=2;case 2:if(H===!1||E.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return N=!0,Q=new Promise(function(C,D){return E.signal.addEventListener("abort",function(){return D({name:"AbortError",message:$||"Aborted"})})}),u(a(v,h,(R=i?.getPendingMeta)==null?void 0:R.call(i,{requestId:v,arg:h},{getState:b,extra:S}))),[4,Promise.race([Q,Promise.resolve(r(h,{dispatch:u,getState:b,extra:S,requestId:v,signal:E.signal,abort:T,rejectWithValue:function(C,D){return new Na(C,D)},fulfillWithValue:function(C,D){return new Fl(C,D)}})).then(function(C){if(C instanceof Na)throw C;return C instanceof Fl?n(C.payload,v,h,C.meta):n(C,v,h)})])];case 3:return F=m.sent(),[3,5];case 4:return Z=m.sent(),F=Z instanceof Na?s(null,v,h,Z.payload,Z.meta):s(Z,v,h),[3,5];case 5:return I=i&&!i.dispatchConditionRejection&&s.match(F)&&F.meta.condition,I||u(F),[2,F]}})})}();return Object.assign(A,{abort:T,requestId:v,arg:h,unwrap:function(){return A.then(Mf)}})}}return Object.assign(f,{pending:a,rejected:s,fulfilled:n,typePrefix:e})}return t.withTypes=function(){return t},t}();function Mf(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function Uf(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var Vl="listener",jl="completed",Gl="cancelled",Yb="task-"+Gl,Xb="task-"+jl,Jb=Vl+"-"+Gl,Qb=Vl+"-"+jl;var Ta="listenerMiddleware";var ex=Jt(Ta+"/add"),tx=Jt(Ta+"/removeAll"),rx=Jt(Ta+"/remove");var Ml,ox=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(Ml||(Ml=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},zf=function(t){return function(e){setTimeout(e,t)}},ix=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:zf(10);El();window.ftReduxStores||(window.ftReduxStores={});var Cr=class t extends fr{static get(e){var r;let i=typeof e=="string"?e:e.name,n=typeof e=="string"?void 0:e,a=window.ftReduxStores[i];if(xr(a))return a;if(n==null)return;let s=Hl({...n,reducers:(r=n.reducers)!==null&&r!==void 0?r:{}}),l=zl({reducer:(d,f)=>f.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...f.overwrites}:s.reducer(d,f)});return window.ftReduxStores[n.name]=new t(s,l,n.eventBus)}constructor(e,r,i){super(),this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new _o;let n=a=>a!=null?JSON.parse(JSON.stringify(a)):a;this.actions=new Proxy(this.reduxSlice.actions,{get:(a,s,l)=>{let d=s,f=a[d];return f?(...h)=>{let u=f(...h.map(n));return this.reduxStore.dispatch(u),u}:h=>{this.setState({[d]:n(h)})}}}),this.eventBus=i??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}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(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function Wf(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))xr(e)&&e.clear()}var pi=class{constructor(e,r,i){this.store=e,this.valueSelector=r,this.callback=i}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let e=this.store.getState(),r=this.valueSelector(e);ur(this.lastValue,r)&&(this.callback(r,e),this.lastValue=r)}),this}stop(){return this.unsubscribe!=null&&(this.unsubscribe(),this.unsubscribe=void 0),this.lastValue=void 0,this}};function Hf(t,e,r){return new pi(t,e,r).watch()}var Fa={};se(Fa,{scrollHelper:()=>Vf});var Ba,fi=new Map,Da=class{lock(e,r){if(r){let i=fi.get(r);if(i==null||i===e)return fi.set(r,e),r}}release(e,r){r&&fi.get(r)===e&&fi.delete(r)}findFirstScrollableParent(e){var r;let i,n;for(let a of sn(e)){let s=a,l=this.elementCanScroll(s);if(l&&s.clientHeight&&s.clientHeight<s.scrollHeight){i=s;break}else l&&n==null&&(n=s)}return(r=i??n)!==null&&r!==void 0?r:document.body}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)}catch{return!1}}getAbsoluteScrollOffset(e,r){var i,n;let a=0;for(;r&&r.offsetParent!==e.offsetParent;)a+=(i=r.offsetTop)!==null&&i!==void 0?i:0,r=r.offsetParent;return a+((n=r?.offsetTop)!==null&&n!==void 0?n:0)-e.offsetTop}computeTopOffsetRatio(e,r){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return r;default:return 0}}scrollIntoViewIfPossible(e,r){let i=this.findFirstScrollableParent(e);if(e&&this.lock(this,i)){let n=this.getAbsoluteScrollOffset(i,e),a=n-i.clientHeight+e.clientHeight,s=n,l=yo(0,(s-i.scrollTop)/(s-a),1),d=this.computeTopOffsetRatio(r?.position,l)*(a-s)+s;i.scrollTo({behavior:r?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,i);this.release(this,i)}};window.FluidTopicsScrollHelper=(Ba=window.FluidTopicsScrollHelper)!==null&&Ba!==void 0?Ba:new Da;var Vf=window.FluidTopicsScrollHelper;var Ma={};se(Ma,{shadowQuerySelector:()=>jf,shadowQuerySelectorAll:()=>Gf});function jf(t,e,...r){var i;let n=t.querySelector(e);for(let a of r)n=(i=n?.shadowRoot)===null||i===void 0?void 0:i.querySelector(a);return n}function Gf(t,e,...r){let i=[...t.querySelectorAll(e)];for(let n of r)i=i.flatMap(a=>{var s,l;return[...(l=(s=a.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(n))!==null&&l!==void 0?l:[]]});return i}var za={};se(za,{SearchPlaceConverter:()=>Er,SearchPlaceQueryParams:()=>le,isSearchPlaceQueryParams:()=>vc,serializeRequest:()=>qf});var Kf=Nd(Zl(),1);var ql;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(ql||(ql={}));var Yl;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(Yl||(Yl={}));var Xl;(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.MAP_ATTACHMENT="MAP_ATTACHMENT",t.RESOURCE="RESOURCE"})(Xl||(Xl={}));var Jl;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Jl||(Jl={}));var Ql;(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(Ql||(Ql={}));var ec;(function(t){t.BOOKMARK__CREATE="BOOKMARK__CREATE",t.BOOKMARK__DELETE="BOOKMARK__DELETE",t.CASE_DEFLECTION__START="CASE_DEFLECTION__START",t.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",t.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",t.COLLECTION__CREATE="COLLECTION__CREATE",t.COLLECTION__UPDATE="COLLECTION__UPDATE",t.COLLECTION__DELETE="COLLECTION__DELETE",t.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",t.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",t.DOCUMENT__PRINT="DOCUMENT__PRINT",t.DOCUMENT__PROCESS="DOCUMENT__PROCESS",t.DOCUMENT__RATE="DOCUMENT__RATE",t.DOCUMENT__SEARCH="DOCUMENT__SEARCH",t.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",t.DOCUMENT__UNRATE="DOCUMENT__UNRATE",t.FEEDBACK__SEND="FEEDBACK__SEND",t.GEN_AI__COMPLETED_QUERY="GEN_AI__COMPLETED_QUERY",t.GEN_AI__RATE="GEN_AI__RATE",t.GENAI_CASE_DEFLECTION__START="GENAI_CASE_DEFLECTION__START",t.GENAI_CASE_DEFLECTION__OPEN_TICKET="GENAI_CASE_DEFLECTION__OPEN_TICKET",t.KHUB__PROCESS="KHUB__PROCESS",t.KHUB__SEARCH="KHUB__SEARCH",t.LABELS__DOWNLOAD="LABELS__DOWNLOAD",t.LINK__SHARE="LINK__SHARE",t.PAGE__DISPLAY="PAGE__DISPLAY",t.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",t.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",t.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",t.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",t.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",t.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",t.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",t.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",t.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",t.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",t.TOPIC__DISPLAY="TOPIC__DISPLAY",t.TOPIC__RATE="TOPIC__RATE",t.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",t.TOPIC__UNRATE="TOPIC__UNRATE",t.USER__LOGIN="USER__LOGIN",t.USER__LOGOUT="USER__LOGOUT",t.HEARTBEAT="HEARTBEAT"})(ec||(ec={}));var tc;(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"})(tc||(tc={}));var rc;(function(t){t.HOMEPAGE="HOMEPAGE",t.CUSTOM="CUSTOM",t.HEADER="HEADER",t.READER="READER",t.TOPIC_TEMPLATE="TOPIC_TEMPLATE",t.SEARCH="SEARCH",t.SEARCH_RESULT="SEARCH_RESULT"})(rc||(rc={}));var oc;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(oc||(oc={}));var ic;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(ic||(ic={}));var nc;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(nc||(nc={}));var ac;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(ac||(ac={}));var sc;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"})(sc||(sc={}));var lc;(function(t){t.ASC="ASC",t.DESC="DESC"})(lc||(lc={}));var cc;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(cc||(cc={}));var Ua;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(Ua||(Ua={}));var mc=t=>Object.keys(Ua).includes(t);var dc;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})(dc||(dc={}));var pc;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(pc||(pc={}));var fc;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(fc||(fc={}));var Zr;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Zr||(Zr={}));var yc=t=>Object.keys(Zr).includes(t);var uc;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(uc||(uc={}));var hc;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(hc||(hc={}));var Ce;(function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_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"})(Ce||(Ce={}));var gc;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(gc||(gc={}));var bc;(function(t){t.TEXT="TEXT",t.HTML="HTML"})(bc||(bc={}));var wx={[Ce.PERSONAL_BOOK_SHARE_USER]:[Ce.PERSONAL_BOOK_USER],[Ce.HTML_EXPORT_USER]:[Ce.PERSONAL_BOOK_USER],[Ce.PDF_EXPORT_USER]:[Ce.PERSONAL_BOOK_USER],[Ce.KHUB_ADMIN]:[Ce.CONTENT_PUBLISHER],[Ce.ADMIN]:[Ce.KHUB_ADMIN,Ce.USERS_ADMIN,Ce.PORTAL_ADMIN],[Ce.DEVELOPER]:[Ce.BETA_USER,Ce.DEBUG_USER],[Ce.GENERATIVE_AI_EXPORT_USER]:[Ce.GENERATIVE_AI_USER]};function Zf(t){return`"${t}"`}function xc(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function qf(t,e){return new Er(t).serialize(e)}var le;(function(t){t.LOCALE="content-lang",t.QUERY="query",t.SCOPE="scope",t.FILTERS="filters",t.VIRTUAL_FIELD="virtual-field",t.PERIOD="period",t.VALUE_FILTERS="value-filters",t.DATE_FILTERS="date-filters",t.RANGE_FILTERS="range-filters",t.SORT="sort",t.PER_PAGE="per-page"})(le||(le={}));var Yf=new Set(Object.values(le));function vc(t){return Yf.has(t)}var Er=class{constructor(e,r={},i=20,n=!1,a="en-US"){this.baseUrl=e,this.predefinedSorts=r,this.defaultPerPage=i,this.allLanguagesAllowed=n,this.defaultContentLocale=a,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(e,r){return this.serializeToCurrentPageIfPossible(e,r??"/search")}serializeToCurrentPageIfPossible(e,r){let i=this.toURLSearchParams(e).toString(),n=r==null||r.trim().length===0,a=new URL(n?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${r}`);return a.search=i,a.toString()}toURLSearchParams(e,r=!1){var i,n,a,s,l,d,f,h,u,b,S,v;let E=new URLSearchParams;e.contentLocale?(!r||e.contentLocale!==this.defaultContentLocale)&&E.append(le.LOCALE,e.contentLocale):E.append(le.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((i=e.query)===null||i===void 0?void 0:i.length)>0&&E.append(le.QUERY,e.query),e.scope&&e.scope!=="DEFAULT"&&E.append(le.SCOPE,e.scope.toLowerCase()),e.virtualField&&e.virtualField!=="EVERYWHERE"&&E.append(le.VIRTUAL_FIELD,e.virtualField.toLowerCase()),((n=e.sort)===null||n===void 0?void 0:n.length)>0&&e.sort[0].key==="ft:lastEdition"&&E.append(le.SORT,"last_update");let $=(s=(a=e.metadataFilters)===null||a===void 0?void 0:a.filter(O=>O.valueFilter))!==null&&s!==void 0?s:[];if($.length>0){let O=$.map(R=>{var F,H;let Q=((H=(F=R.valueFilter)===null||F===void 0?void 0:F.values)!==null&&H!==void 0?H:[]).map(Z=>this.escapeFilters(Z)).map(Z=>encodeURIComponent(Zf(xc(Z)))).join("_");return`${R.key}~${Q}`}).join("*");E.append(le.VALUE_FILTERS,O)}let N=(d=(l=e.metadataFilters)===null||l===void 0?void 0:l.filter(O=>O.dateFilter))!==null&&d!==void 0?d:[];if(N.length>0){let O=N.map(R=>{var F;return`${R.key}~${(F=R.dateFilter)===null||F===void 0?void 0:F.type.toLowerCase()}`}).join("*");E.append(le.DATE_FILTERS,O)}let T=(h=(f=e.metadataFilters)===null||f===void 0?void 0:f.filter(O=>O.rangeFilter))!==null&&h!==void 0?h:[];if(T.length>0){let O=T.map(R=>{var F,H;return`${R.key}~${(F=R.rangeFilter)===null||F===void 0?void 0:F.from}_${(H=R.rangeFilter)===null||H===void 0?void 0:H.to}`}).join("*");E.append(le.RANGE_FILTERS,O)}let A=(u=e.otherQueryParams)!==null&&u!==void 0?u:{};for(let O in A)E.append(O,A[O]);return!((b=e.paging)===null||b===void 0)&&b.perPage&&((v=(S=e.paging)===null||S===void 0?void 0:S.perPage)!==null&&v!==void 0?v:this.defaultPerPage)!=this.defaultPerPage&&E.append(le.PER_PAGE,String(e.paging.perPage)),E}parse(e){var r;let i=e.split("?"),n=this.fromURLSearchParams(new URLSearchParams(i.slice(1).join("?"))),a=i[0].split("/search/")[1];return a==null?n:{...n,scope:(r=this.scopeMapping[a])!==null&&r!==void 0?r:n.scope}}fromURLSearchParams(e){var r,i,n,a,s,l,d,f;let h=e.get(le.LOCALE)==="all"?void 0:e.get(le.LOCALE),u=((r=e.get(le.VIRTUAL_FIELD))!==null&&r!==void 0?r:"EVERYWHERE").toUpperCase(),b=((i=e.get(le.SORT))!==null&&i!==void 0?i:"DEFAULT").toUpperCase(),S=(n=e.get(le.SCOPE))!==null&&n!==void 0?n:"default",v=+((a=e.get(le.PER_PAGE))!==null&&a!==void 0?a:this.defaultPerPage),E={};for(let $ of e.keys())vc($)||(E[$]=e.get($));return{contentLocale:h??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:decodeURIComponent((s=e.get(le.QUERY))!==null&&s!==void 0?s:""),scope:(l=this.scopeMapping[S])!==null&&l!==void 0?l:"DEFAULT",virtualField:mc(u)?u:"EVERYWHERE",sort:(f=(d=this.predefinedSorts[b])!==null&&d!==void 0?d:this.predefinedSorts.DEFAULT)!==null&&f!==void 0?f:[],metadataFilters:this.parseCompatFilters(e),facets:[],paging:{page:1,perPage:yo(1,isNaN(v)?this.defaultPerPage:v,1e3)},otherQueryParams:E}}parseCompatFilters(e){var r,i,n,a,s,l;let d=[];return e.has(le.FILTERS)&&(d=this.parseValueFilters((r=e.get(le.FILTERS))!==null&&r!==void 0?r:"")),(i=e.has(le.PERIOD))!==null&&i!==void 0&&i&&(d=[...d,...this.parseLegacyPeriodFilter(((n=e.get(le.PERIOD))!==null&&n!==void 0?n:"").toUpperCase())]),[...d,...this.parseValueFilters((a=e.get(le.VALUE_FILTERS))!==null&&a!==void 0?a:""),...this.parseDateFilters((s=e.get(le.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((l=e.get(le.RANGE_FILTERS))!==null&&l!==void 0?l:"")]}splitUnknownFilter(e){return this.superEscapeFilters(decodeURIComponent(e)).split("*").map(r=>r.split("~"))}parseValueFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],valueFilter:{values:r[1].split("_").map(xc).map(i=>this.unescapeFilterValue(i)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],dateFilter:{type:Zr[r[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(r=>({key:r[0],rangeFilter:{from:r[1].split("_")[0],to:r[1].split("_")[1]}}))}escapeFilters(e){for(let[r,i,n]of this.filtersEscapeMapping)e=e.replaceAll(r,i);return e}superEscapeFilters(e){for(let[r,i,n]of this.filtersEscapeMapping)e=e.replaceAll(i,n);return e}unescapeFilterValue(e){for(let[r,i,n]of this.filtersEscapeMapping)e=e.replace(n,r);return e}parseLegacyPeriodFilter(e){if(yc(e))return[{key:"ft:lastEdition",dateFilter:{type:Zr[e]}}];if(e.startsWith("CUSTOM_")){let[r,i,n]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:i,to:n}}]}return[]}};var Ha={};se(Ha,{toFtFormComponent:()=>Wa});var mi=Symbol("elementInternals");function Wa(t,e){class r extends t{static get formAssociated(){return!0}get form(){return this[mi].form}constructor(...n){super(n),this[mi]=this.attachInternals(),this[mi].role=e}setFormValue(n){this[mi].setFormValue(n)}}return r}var Va={};se(Va,{DateFormatter:()=>qr});var qr=class{static format(e,r,i,n){return window.moment?window.moment(e).locale(r).format(this.getDateFormat(i,n)):e}static getDateFormat(e,r){return e?r?"lll":"ll":r?"L LT":"L"}};var ja,Ga,Ka,Za,wr=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Ka=(Ga=(ja=window.safari)===null||ja===void 0?void 0:ja.pushNotification)===null||Ga===void 0?void 0:Ga.toString())!==null&&Ka!==void 0?Ka:"")==="[object SafariRemoteNotification]",qa="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Za=window.ftGlobals)!==null&&Za!==void 0?Za:{lit:Ui,litDecorators:Vi,litRepeat:ji,litClassMap:Gi,litStyleMap:Ki,litUnsafeHTML:qi,wcUtils:{...rn,...Xi,...nn,...Va,...an,...cn,...Fn,...tn,...ra,...Dn,...na,...ia,...ll,...ln,...la,...da,...dl,...pa,...Ia,...oa,...Fa,...Ma,...za,...Ha,isSafari:wr,isTouchScreen:qa,setVariable:x}};var nt;(function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"})(nt||(nt={}));var Sc=_`
|
|
49
49
|
.ft-size-watcher--pixel {
|
|
50
50
|
width: 0;
|
|
51
51
|
height: 0;
|
|
@@ -68,7 +68,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
68
68
|
<div class="ft-size-watcher--pixel ${this.local?"ft-size-watcher--local":""}">
|
|
69
69
|
<div class="ft-size-watcher--watcher"></div>
|
|
70
70
|
</div>
|
|
71
|
-
`}contentAvailableCallback(e){super.contentAvailableCallback(e),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run(()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=nt.S:this.size<976?this.category=nt.M:this.size<1024?this.category=nt.L:this.size<1440?this.category=nt.XL:this.category=nt.XXL,this.dispatchEvent(new Ya(this.size,this.category)))},this.debounceTimeout)}};Je.elementDefinitions={};Je.styles=Sc;Io([y({type:Number})],Je.prototype,"debounceTimeout",void 0);Io([y({type:Boolean})],Je.prototype,"local",void 0);Io([y({type:Number,reflect:!0})],Je.prototype,"size",void 0);Io([y({type:String,reflect:!0})],Je.prototype,"category",void 0);Io([M(".ft-size-watcher--watcher")],Je.prototype,"watcher",void 0);V("ft-size-watcher")(Je);var Cc=Symbol.for(""),Xf=t=>{if(t?.r===Cc)return t?._$litStatic$},Xa=t=>({_$litStatic$:t,r:Cc});var Oc=new Map,Ja=t=>(e,...r)=>{let i=r.length,n,a,s=[],l=[],d,f=0,h=!1;for(;f<i;){for(d=e[f];f<i&&(a=r[f],(n=Xf(a))!==void 0);)d+=n+e[++f],h=!0;f!==i&&l.push(a),s.push(d),f++}if(f===i&&s.push(e[i]),h){let u=s.join("$$lit$$");(e=Oc.get(u))===void 0&&(s.raw=s,Oc.set(u,e=s)),r=l}return t(e,...r)},Qa=Ja(w),Rv=Ja(Ii),Lv=Ja(
|
|
71
|
+
`}contentAvailableCallback(e){super.contentAvailableCallback(e),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run(()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=nt.S:this.size<976?this.category=nt.M:this.size<1024?this.category=nt.L:this.size<1440?this.category=nt.XL:this.category=nt.XXL,this.dispatchEvent(new Ya(this.size,this.category)))},this.debounceTimeout)}};Je.elementDefinitions={};Je.styles=Sc;Io([y({type:Number})],Je.prototype,"debounceTimeout",void 0);Io([y({type:Boolean})],Je.prototype,"local",void 0);Io([y({type:Number,reflect:!0})],Je.prototype,"size",void 0);Io([y({type:String,reflect:!0})],Je.prototype,"category",void 0);Io([M(".ft-size-watcher--watcher")],Je.prototype,"watcher",void 0);V("ft-size-watcher")(Je);var Cc=Symbol.for(""),Xf=t=>{if(t?.r===Cc)return t?._$litStatic$},Xa=t=>({_$litStatic$:t,r:Cc});var Oc=new Map,Ja=t=>(e,...r)=>{let i=r.length,n,a,s=[],l=[],d,f=0,h=!1;for(;f<i;){for(d=e[f];f<i&&(a=r[f],(n=Xf(a))!==void 0);)d+=n+e[++f],h=!0;f!==i&&l.push(a),s.push(d),f++}if(f===i&&s.push(e[i]),h){let u=s.join("$$lit$$");(e=Oc.get(u))===void 0&&(s.raw=s,Oc.set(u,e=s)),r=l}return t(e,...r)},Qa=Ja(w),Rv=Ja(Ii),Lv=Ja(Bi);var at;(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"})(at||(at={}));function Ec(t){let e=go[t];return _`
|
|
72
72
|
.ft-typography--${$t(t)} {
|
|
73
73
|
font-family: ${e.fontFamily};
|
|
74
74
|
font-size: ${e.fontSize};
|
|
@@ -77,7 +77,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
77
77
|
line-height: ${e.lineHeight};
|
|
78
78
|
text-transform: ${e.textCase};
|
|
79
79
|
}
|
|
80
|
-
`}var wc=o.extend("--ft-typography-font-family","",L.titleFont),zt=o.extend("--ft-typography-font-family","",L.contentFont),
|
|
80
|
+
`}var wc=o.extend("--ft-typography-font-family","",L.titleFont),zt=o.extend("--ft-typography-font-family","",L.contentFont),B={fontFamily:zt,fontSize:o.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Yr={fontFamily:o.extend("--ft-typography-title-font-family","",wc),fontSize:o.extend("--ft-typography-title-font-size","",B.fontSize,"20px"),fontWeight:o.extend("--ft-typography-title-font-weight","",B.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-letter-spacing","",B.letterSpacing,"0.15px"),lineHeight:o.extend("--ft-typography-title-line-height","",B.lineHeight,"1.2"),textTransform:o.extend("--ft-typography-title-text-transform","",B.textTransform,"inherit")},Xr={fontFamily:o.extend("--ft-typography-title-dense-font-family","",wc),fontSize:o.extend("--ft-typography-title-dense-font-size","",B.fontSize,"14px"),fontWeight:o.extend("--ft-typography-title-dense-font-weight","",B.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-dense-letter-spacing","",B.letterSpacing,"0.105px"),lineHeight:o.extend("--ft-typography-title-dense-line-height","",B.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-title-dense-text-transform","",B.textTransform,"inherit")},Jr={fontFamily:o.extend("--ft-typography-subtitle1-font-family","",zt),fontSize:o.extend("--ft-typography-subtitle1-font-size","",B.fontSize,"16px"),fontWeight:o.extend("--ft-typography-subtitle1-font-weight","",B.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-subtitle1-letter-spacing","",B.letterSpacing,"0.144px"),lineHeight:o.extend("--ft-typography-subtitle1-line-height","",B.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-subtitle1-text-transform","",B.textTransform,"inherit")},Qr={fontFamily:o.extend("--ft-typography-subtitle2-font-family","",zt),fontSize:o.extend("--ft-typography-subtitle2-font-size","",B.fontSize,"14px"),fontWeight:o.extend("--ft-typography-subtitle2-font-weight","",B.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-subtitle2-letter-spacing","",B.letterSpacing,"0.098px"),lineHeight:o.extend("--ft-typography-subtitle2-line-height","",B.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-subtitle2-text-transform","",B.textTransform,"inherit")},Ut={fontFamily:o.extend("--ft-typography-body1-font-family","",zt),fontSize:o.extend("--ft-typography-body1-font-size","",B.fontSize,"16px"),fontWeight:o.extend("--ft-typography-body1-font-weight","",B.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body1-letter-spacing","",B.letterSpacing,"0.496px"),lineHeight:o.extend("--ft-typography-body1-line-height","",B.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-body1-text-transform","",B.textTransform,"inherit")},Ae={fontFamily:o.extend("--ft-typography-body2-font-family","",zt),fontSize:o.extend("--ft-typography-body2-font-size","",B.fontSize,"14px"),fontWeight:o.extend("--ft-typography-body2-font-weight","",B.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body2-letter-spacing","",B.letterSpacing,"0.252px"),lineHeight:o.extend("--ft-typography-body2-line-height","",B.lineHeight,"1.4"),textTransform:o.extend("--ft-typography-body2-text-transform","",B.textTransform,"inherit")},ht={fontFamily:o.extend("--ft-typography-caption-font-family","",zt),fontSize:o.extend("--ft-typography-caption-font-size","",B.fontSize,"12px"),fontWeight:o.extend("--ft-typography-caption-font-weight","",B.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-caption-letter-spacing","",B.letterSpacing,"0.396px"),lineHeight:o.extend("--ft-typography-caption-line-height","",B.lineHeight,"1.33"),textTransform:o.extend("--ft-typography-caption-text-transform","",B.textTransform,"inherit")},eo={fontFamily:o.extend("--ft-typography-breadcrumb-font-family","",zt),fontSize:o.extend("--ft-typography-breadcrumb-font-size","",B.fontSize,"10px"),fontWeight:o.extend("--ft-typography-breadcrumb-font-weight","",B.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-breadcrumb-letter-spacing","",B.letterSpacing,"0.33px"),lineHeight:o.extend("--ft-typography-breadcrumb-line-height","",B.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-breadcrumb-text-transform","",B.textTransform,"inherit")},to={fontFamily:o.extend("--ft-typography-overline-font-family","",zt),fontSize:o.extend("--ft-typography-overline-font-size","",B.fontSize,"10px"),fontWeight:o.extend("--ft-typography-overline-font-weight","",B.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-overline-letter-spacing","",B.letterSpacing,"1.5px"),lineHeight:o.extend("--ft-typography-overline-line-height","",B.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-overline-text-transform","",B.textTransform,"uppercase")},Ct={fontFamily:o.extend("--ft-typography-button-font-family","",zt),fontSize:o.extend("--ft-typography-button-font-size","",B.fontSize,"14px"),fontWeight:o.extend("--ft-typography-button-font-weight","",B.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-button-letter-spacing","",B.letterSpacing,"1.246px"),lineHeight:o.extend("--ft-typography-button-line-height","",B.lineHeight,"1.15"),textTransform:o.extend("--ft-typography-button-text-transform","",B.textTransform,"uppercase")},Ac=_`
|
|
81
81
|
.ft-typography--title {
|
|
82
82
|
font-family: ${Yr.fontFamily};
|
|
83
83
|
font-size: ${Yr.fontSize};
|
|
@@ -172,7 +172,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
172
172
|
.ft-typography {
|
|
173
173
|
vertical-align: inherit;
|
|
174
174
|
}
|
|
175
|
-
`,Ic=[Object.keys(go).map(t=>Ec(t))];var
|
|
175
|
+
`,Ic=[Object.keys(go).map(t=>Ec(t))];var Bc=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ae=class extends z{constructor(){super(...arguments),this.variant=at.body1}render(){return this.element?Qa`
|
|
176
176
|
<${Xa(this.element)}
|
|
177
177
|
part="text"
|
|
178
178
|
class="ft-typography ft-typography--${this.variant}">
|
|
@@ -180,7 +180,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
180
180
|
</${Xa(this.element)}>
|
|
181
181
|
`:Qa`
|
|
182
182
|
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
183
|
-
`}};ae.styles=[Ac,Rc,Lc,kc,_c,ro,er,$c,Nc,Pc,Tc,...Ic];
|
|
183
|
+
`}};ae.styles=[Ac,Rc,Lc,kc,_c,ro,er,$c,Nc,Pc,Tc,...Ic];Bc([y()],ae.prototype,"element",void 0);Bc([y()],ae.prototype,"variant",void 0);V("ft-typography")(ae);function yi(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function Dc(t){return yi(t).split("|").pop()}function Fc(t){return yi(t).split("|").join(" > ")}function Mc(t,e){return{label:t.label,selected:!e&&t.selected,subOptions:t.childNodes.map(r=>Mc(r,t.selected)),value:t.value}}function Uc(t){return qe(t.options,e=>{var r;return(r=e.subOptions)!==null&&r!==void 0?r:[]}).filter(e=>e.selected).map(e=>e.label)}function es(t){return{id:t.key,label:t.label,multivalued:t.multiSelectionable,options:t.rootNodes.map(e=>Mc(e,!1))}}function zc(t){return qe(t.rootNodes,e=>e.selected?[]:e.childNodes).filter(e=>e.selected).map(e=>e.value)}var Wc=o.extend("--ft-ripple-color","",L.colorContent),k={color:Wc,backgroundColor:o.extend("--ft-ripple-background-color","",Wc),opacityContentOnSurfacePressed:o.external(L.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.external(L.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.external(L.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.external(L.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.create("--ft-ripple-border-radius","","SIZE","0px")},Hc=o.extend("--ft-ripple-color","",L.colorPrimary),Vc={color:Hc,backgroundColor:o.extend("--ft-ripple-background-color","",Hc)},jc=o.extend("--ft-ripple-color","",L.colorSecondary),Gc={color:jc,backgroundColor:o.extend("--ft-ripple-background-color","",jc)},Kc=_`
|
|
184
184
|
:host {
|
|
185
185
|
display: contents;
|
|
186
186
|
}
|
|
@@ -653,7 +653,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
653
653
|
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
|
|
654
654
|
`:w`
|
|
655
655
|
<slot part="icon" name="icon"></slot>
|
|
656
|
-
`}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}focusWithoutTooltip(){var e;this.setTooltipManual(!0),(e=this.button)===null||e===void 0||e.focus(),this.setTooltipManual(!1)}setTooltipManual(e){this.tooltip&&(this.tooltip.manual=e)}click(){var e;(e=this.button)===null||e===void 0||e.click()}getLabel(){return this.label||this.textContent}get textContent(){return
|
|
656
|
+
`}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}focusWithoutTooltip(){var e;this.setTooltipManual(!0),(e=this.button)===null||e===void 0||e.focus(),this.setTooltipManual(!1)}setTooltipManual(e){this.tooltip&&(this.tooltip.manual=e)}click(){var e;(e=this.button)===null||e===void 0||e.click()}getLabel(){return this.label||this.textContent}get textContent(){return Br(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};ye.elementDefinitions={"ft-ripple":re,"ft-tooltip":he,"ft-typography":ae,"ft-icon":me,"ft-loader":Ar};Ne([y()],ye.prototype,"href",void 0);Ne([y()],ye.prototype,"target",void 0);Ne([y({type:String,reflect:!0})],ye.prototype,"role",void 0);Ne([y()],ye.prototype,"type",void 0);Ne([y({type:Boolean})],ye.prototype,"disabled",void 0);Ne([y()],ye.prototype,"label",void 0);Ne([y()],ye.prototype,"icon",void 0);Ne([y()],ye.prototype,"iconVariant",void 0);Ne([y({type:Boolean})],ye.prototype,"trailingIcon",void 0);Ne([y({type:Boolean})],ye.prototype,"loading",void 0);Ne([y({attribute:"aria-label"})],ye.prototype,"ariaLabel",void 0);Ne([y()],ye.prototype,"tooltipPosition",void 0);Ne([y({type:Boolean})],ye.prototype,"hideTooltip",void 0);Ne([y({type:Boolean})],ye.prototype,"forceTooltip",void 0);Ne([M(".ft-button")],ye.prototype,"button",void 0);Ne([M(".ft-button--label slot")],ye.prototype,"slottedContent",void 0);Ne([M("[part=tooltip]")],ye.prototype,"tooltip",void 0);var bi=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Re=class extends ye{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"}};Re.styles=[Lo,Jc];bi([y({type:Boolean})],Re.prototype,"primary",void 0);bi([y({type:Boolean})],Re.prototype,"outlined",void 0);bi([y({type:Boolean})],Re.prototype,"dense",void 0);bi([y({type:Boolean})],Re.prototype,"round",void 0);var td=[_`
|
|
657
657
|
:host {
|
|
658
658
|
display: inline-block;
|
|
659
659
|
max-width: 100%;
|
|
@@ -1119,7 +1119,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1119
1119
|
.ftds--size-small.ft-button--icon-only {
|
|
1120
1120
|
width: ${g.smallIconOnlyWidth};
|
|
1121
1121
|
}
|
|
1122
|
-
`,br];var xi=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},mt=class extends ni(ye){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=It.brand,this.iconVariant=ze.fluid_topics}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon,"ft-button--round":this.round,...this.getDesignSystemBaseClasses()}}get typographyVariant(){switch(this.size){case _e.large:return at.body2medium;case _e.medium:return at.caption1medium;case _e.small:return at.caption2medium}}};mt.styles=[Lo,td];xi([y({type:Boolean})],mt.prototype,"primary",void 0);xi([y({type:Boolean})],mt.prototype,"secondary",void 0);xi([y({type:Boolean})],mt.prototype,"tertiary",void 0);xi([y({type:Boolean})],mt.prototype,"round",void 0);V("ft-button")(Re);V("ftds-button")(mt);var Qe={textColor:o.extend("--ft-checkbox-text-color","",L.colorOnSurfaceHigh),fontSize:o.extend("--ft-checkbox-font-size","",
|
|
1122
|
+
`,br];var xi=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},mt=class extends ni(ye){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=It.brand,this.iconVariant=ze.fluid_topics}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon,"ft-button--round":this.round,...this.getDesignSystemBaseClasses()}}get typographyVariant(){switch(this.size){case _e.large:return at.body2medium;case _e.medium:return at.caption1medium;case _e.small:return at.caption2medium}}};mt.styles=[Lo,td];xi([y({type:Boolean})],mt.prototype,"primary",void 0);xi([y({type:Boolean})],mt.prototype,"secondary",void 0);xi([y({type:Boolean})],mt.prototype,"tertiary",void 0);xi([y({type:Boolean})],mt.prototype,"round",void 0);V("ft-button")(Re);V("ftds-button")(mt);var Qe={textColor:o.extend("--ft-checkbox-text-color","",L.colorOnSurfaceHigh),fontSize:o.extend("--ft-checkbox-font-size","",B.fontSize),activeColor:o.extend("--ft-checkbox-active-color","",L.colorPrimary),checkColor:o.extend("--ft-checkbox-check-color","",L.colorOnPrimary),borderColor:o.extend("--ft-checkbox-border-color","",L.colorOnSurfaceMedium),disabledColor:o.extend("--ft-checkbox-disabled-color","",L.colorOnSurfaceDisabled),errorColor:o.extend("--ft-checkbox-error-color","",L.colorError)},rd=_`
|
|
1123
1123
|
* {
|
|
1124
1124
|
box-sizing: border-box;
|
|
1125
1125
|
}
|
|
@@ -1212,7 +1212,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1212
1212
|
}
|
|
1213
1213
|
}
|
|
1214
1214
|
}
|
|
1215
|
-
`;var rr=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},
|
|
1215
|
+
`;var rr=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Be=class extends z{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1,this.error=!1}render(){let e={"ft-checkbox":!0,"ft-checkbox--error":this.error,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return w`
|
|
1216
1216
|
<label class="${pe(e)}" for="checkbox-input" part="checkbox-label">
|
|
1217
1217
|
<div class="ft-checkbox--box-container" part="checkbox-box-container">
|
|
1218
1218
|
<ft-ripple part="checkbox-ripple"
|
|
@@ -1239,7 +1239,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1239
1239
|
<slot></slot>
|
|
1240
1240
|
</ft-typography>
|
|
1241
1241
|
</label>
|
|
1242
|
-
`}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),(r=this.ripple)===null||r===void 0||r.setupFor(this.container)}click(){this.input.click()}};
|
|
1242
|
+
`}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),(r=this.ripple)===null||r===void 0||r.setupFor(this.container)}click(){this.input.click()}};Be.elementDefinitions={"ft-ripple":re,"ft-typography":ae};Be.styles=rd;rr([y()],Be.prototype,"name",void 0);rr([y({type:Boolean,reflect:!0})],Be.prototype,"checked",void 0);rr([y({type:Boolean})],Be.prototype,"indeterminate",void 0);rr([y({type:Boolean})],Be.prototype,"disabled",void 0);rr([y({type:Boolean})],Be.prototype,"error",void 0);rr([M(".ft-checkbox")],Be.prototype,"container",void 0);rr([M("ft-ripple")],Be.prototype,"ripple",void 0);rr([M("input")],Be.prototype,"input",void 0);V("ft-checkbox")(Be);var or={textColor:o.extend("--ft-radio-text-color","",L.colorOnSurfaceHigh),fontSize:o.extend("--ft-radio-font-size","",B.fontSize),colorPrimary:o.external(L.colorPrimary,"Design system"),colorOnPrimary:o.external(L.colorOnPrimary,"Design system"),borderColor:o.extend("--ft-radio-border-color","",L.colorOnSurfaceMedium),colorOnSurfaceDisabled:o.external(L.colorOnSurfaceDisabled,"Design system")},od=_`
|
|
1243
1243
|
* {
|
|
1244
1244
|
box-sizing: border-box;
|
|
1245
1245
|
}
|
|
@@ -1366,7 +1366,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1366
1366
|
@change=${this.onChange}
|
|
1367
1367
|
@keydown=${this.onKeyDown}
|
|
1368
1368
|
></slot>
|
|
1369
|
-
`}connectedCallback(){super.connectedCallback(),this.addEventListener("focus",this.onFocus),this.addEventListener("focusout",this.onFocusOut)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("focus",this.onFocus),this.removeEventListener("focusout",this.onFocusOut)}onSlotChange(){this.radioButtons.forEach(e=>e.name=this.name)}contentAvailableCallback(e){super.contentAvailableCallback(e),this.radioButtons.forEach(r=>r.setInputTabIndex(-1)),this.resolveCurrentSelectedIndex()}onChange(e){e.stopPropagation(),this.radioButtons.forEach(r=>r.checked=e.detail.value===r.value),this.dispatchEvent(new CustomEvent("change",{detail:e.detail.value})),this.resolveCurrentSelectedIndex()}onKeyDown(e){let r=!1;switch(e.key){case"ArrowUp":case"ArrowLeft":{r=!0;let i=this.currentSelectedIndex-1;this.radioButtons[i<0?this.radioButtons.length-1:i].select(),this.radioButtons[i<0?this.radioButtons.length-1:i].focus();break}case"ArrowDown":case"ArrowRight":{r=!0;let i=this.currentSelectedIndex+1;this.radioButtons[i>this.radioButtons.length-1?0:i].select(),this.radioButtons[i>this.radioButtons.length-1?0:i].focus();break}case"Enter":this.radioButtons[this.currentSelectedIndex].select()}r&&(e.stopPropagation(),e.preventDefault())}resolveCurrentSelectedIndex(){let e=this.radioButtons.findIndex(r=>r.checked);e==-1?(this.currentSelectedIndex=0,this.radioButtons[0].select()):this.currentSelectedIndex=e}focusCurrentChecked(){this.radioButtons[this.currentSelectedIndex].focus()}};Ke.elementDefinitions={};Ke.styles=id;oo([y()],Ke.prototype,"name",void 0);oo([y({reflect:!0,attribute:"role"})],Ke.prototype,"role",void 0);oo([y({reflect:!0})],Ke.prototype,"tabIndex",void 0);oo([y({reflect:!0,attribute:"aria-labelledby"})],Ke.prototype,"ariaLabelledBy",void 0);oo([Wi()],Ke.prototype,"assignedElements",void 0);oo([W()],Ke.prototype,"currentSelectedIndex",void 0);V("ft-radio")(Le);V("ft-radio-group")(Ke);var
|
|
1369
|
+
`}connectedCallback(){super.connectedCallback(),this.addEventListener("focus",this.onFocus),this.addEventListener("focusout",this.onFocusOut)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("focus",this.onFocus),this.removeEventListener("focusout",this.onFocusOut)}onSlotChange(){this.radioButtons.forEach(e=>e.name=this.name)}contentAvailableCallback(e){super.contentAvailableCallback(e),this.radioButtons.forEach(r=>r.setInputTabIndex(-1)),this.resolveCurrentSelectedIndex()}onChange(e){e.stopPropagation(),this.radioButtons.forEach(r=>r.checked=e.detail.value===r.value),this.dispatchEvent(new CustomEvent("change",{detail:e.detail.value})),this.resolveCurrentSelectedIndex()}onKeyDown(e){let r=!1;switch(e.key){case"ArrowUp":case"ArrowLeft":{r=!0;let i=this.currentSelectedIndex-1;this.radioButtons[i<0?this.radioButtons.length-1:i].select(),this.radioButtons[i<0?this.radioButtons.length-1:i].focus();break}case"ArrowDown":case"ArrowRight":{r=!0;let i=this.currentSelectedIndex+1;this.radioButtons[i>this.radioButtons.length-1?0:i].select(),this.radioButtons[i>this.radioButtons.length-1?0:i].focus();break}case"Enter":this.radioButtons[this.currentSelectedIndex].select()}r&&(e.stopPropagation(),e.preventDefault())}resolveCurrentSelectedIndex(){let e=this.radioButtons.findIndex(r=>r.checked);e==-1?(this.currentSelectedIndex=0,this.radioButtons[0].select()):this.currentSelectedIndex=e}focusCurrentChecked(){this.radioButtons[this.currentSelectedIndex].focus()}};Ke.elementDefinitions={};Ke.styles=id;oo([y()],Ke.prototype,"name",void 0);oo([y({reflect:!0,attribute:"role"})],Ke.prototype,"role",void 0);oo([y({reflect:!0})],Ke.prototype,"tabIndex",void 0);oo([y({reflect:!0,attribute:"aria-labelledby"})],Ke.prototype,"ariaLabelledBy",void 0);oo([Wi()],Ke.prototype,"assignedElements",void 0);oo([W()],Ke.prototype,"currentSelectedIndex",void 0);V("ft-radio")(Le);V("ft-radio-group")(Ke);var Bo={buttonMoreColor:o.extend("--ft-filter-level-button-more-color","",L.colorOnSurface),borderRadiusM:o.external(L.borderRadiusM,"Design system"),colorOutline:o.external(L.colorOutline,"Design system"),colorOnSurface:o.external(L.colorOnSurface,"Design system"),colorOnSurfaceMedium:o.external(L.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:o.external(L.colorOnSurfaceDisabled,"Design system"),colorPrimary:o.external(L.colorPrimary,"Design system"),colorOnPrimary:o.external(L.colorOnPrimary,"Design system"),fontFamily:o.external(Ae.fontFamily,"Body2 typography"),fontSize:o.external(Ae.fontSize,"Body2 typography"),fontWeight:o.external(Ae.fontWeight,"Body2 typography"),letterSpacing:o.external(Ae.letterSpacing,"Body2 typography"),lineHeight:o.external(Ae.lineHeight,"Body2 typography"),textTransform:o.external(Ae.textTransform,"Body2 typography")},nd=_`
|
|
1370
1370
|
.ft-filter-level--container {
|
|
1371
1371
|
display: flex;
|
|
1372
1372
|
flex-direction: column;
|
|
@@ -1380,14 +1380,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1380
1380
|
flex-shrink: 0;
|
|
1381
1381
|
text-decoration: none;
|
|
1382
1382
|
position: relative;
|
|
1383
|
-
border-radius: ${
|
|
1383
|
+
border-radius: ${Bo.borderRadiusM};
|
|
1384
1384
|
overflow: hidden;
|
|
1385
1385
|
display: flex;
|
|
1386
1386
|
align-items: center;
|
|
1387
1387
|
padding: 4px 4px;
|
|
1388
1388
|
gap: 4px;
|
|
1389
1389
|
cursor: pointer;
|
|
1390
|
-
color: ${
|
|
1390
|
+
color: ${Bo.colorOnSurface};
|
|
1391
1391
|
}
|
|
1392
1392
|
|
|
1393
1393
|
.ft-filter-level--go-back:focus {
|
|
@@ -1416,11 +1416,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1416
1416
|
}
|
|
1417
1417
|
|
|
1418
1418
|
ft-button {
|
|
1419
|
-
${x(te.color,
|
|
1419
|
+
${x(te.color,Bo.colorOnSurface)};
|
|
1420
1420
|
}
|
|
1421
1421
|
|
|
1422
1422
|
ft-button.ft-filter-level--display-more {
|
|
1423
|
-
${x(te.color,
|
|
1423
|
+
${x(te.color,Bo.buttonMoreColor)};
|
|
1424
1424
|
}
|
|
1425
1425
|
|
|
1426
1426
|
ft-radio, ft-checkbox {
|
|
@@ -1434,7 +1434,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1434
1434
|
|
|
1435
1435
|
.ft-filter-level--no-values {
|
|
1436
1436
|
margin: 10px 0;
|
|
1437
|
-
color: ${
|
|
1437
|
+
color: ${Bo.colorOnSurfaceMedium};
|
|
1438
1438
|
}
|
|
1439
1439
|
`;var We=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Se=class extends z{constructor(){super(...arguments),this.filterId="",this.options=[],this.multivalued=!1,this.disabled=!1,this.hideSelectedOptions=!1,this.displayCount=!1,this.preventNavigation=!1,this.filter="",this.moreValuesButtonLabel="More",this.displayedValuesLimit=0,this.displayedPages=1}get hasHiddenValues(){let e=this.limit;return e!=null&&e<this.options.length}get limit(){return this.displayedValuesLimit>0?this.displayedPages*this.displayedValuesLimit:void 0}get height(){var e,r;return(r=(e=this.container)===null||e===void 0?void 0:e.scrollHeight)!==null&&r!==void 0?r:0}render(){let e=[...this.options];this.hideSelectedOptions&&(e=e.filter(i=>!i.selected)),this.filter&&(e=e.filter(i=>i.label.toLowerCase().includes(this.filter.toLowerCase())));let r=e.slice(0,this.limit);return w`
|
|
1440
1440
|
<div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
|
|
@@ -1502,7 +1502,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1502
1502
|
@change=${r=>this.optionsChanged(r,e)}>
|
|
1503
1503
|
${e.renderOption?e.renderOption:e.label}${this.displayCount?` (${e.count})`:""}
|
|
1504
1504
|
</ft-radio>
|
|
1505
|
-
`}onRadioKeyDown(e,r){e.stopPropagation(),(e.key===" "||e.key==="Enter")&&(e.preventDefault(),this.optionsChanged(e,r))}optionsChanged(e,r){e.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:r}))}displayLevel(e){this.dispatchEvent(new CustomEvent("display-level",{detail:e}))}};Se.elementDefinitions={"ft-button":Re,"ft-ripple":re,"ft-typography":ae,"ft-checkbox":
|
|
1505
|
+
`}onRadioKeyDown(e,r){e.stopPropagation(),(e.key===" "||e.key==="Enter")&&(e.preventDefault(),this.optionsChanged(e,r))}optionsChanged(e,r){e.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:r}))}displayLevel(e){this.dispatchEvent(new CustomEvent("display-level",{detail:e}))}};Se.elementDefinitions={"ft-button":Re,"ft-ripple":re,"ft-typography":ae,"ft-checkbox":Be,"ft-icon":me,"ft-radio":Le};Se.styles=nd;We([y({type:String})],Se.prototype,"filterId",void 0);We([y({type:Object})],Se.prototype,"parent",void 0);We([y({type:Array})],Se.prototype,"options",void 0);We([y({type:Boolean})],Se.prototype,"multivalued",void 0);We([y({type:Boolean})],Se.prototype,"disabled",void 0);We([y({type:Boolean})],Se.prototype,"hideSelectedOptions",void 0);We([y({type:Boolean})],Se.prototype,"displayCount",void 0);We([y({type:Boolean})],Se.prototype,"preventNavigation",void 0);We([y({type:String})],Se.prototype,"filter",void 0);We([y({type:String})],Se.prototype,"moreValuesButtonLabel",void 0);We([y({type:String})],Se.prototype,"noValuesLabel",void 0);We([y({type:Number})],Se.prototype,"displayedValuesLimit",void 0);We([M(".ft-filter-level--container")],Se.prototype,"container",void 0);We([W()],Se.prototype,"radios",void 0);We([W()],Se.prototype,"displayedPages",void 0);var He={buttonsColor:o.extend("--ft-snap-scroll-buttons-color","",L.colorPrimary),buttonsZIndex:o.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:o.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:o.external(L.colorSurface,"Design system")},ad=_`
|
|
1506
1506
|
.ft-snap-scroll {
|
|
1507
1507
|
box-sizing: border-box;
|
|
1508
1508
|
position: relative;
|
|
@@ -1651,7 +1651,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1651
1651
|
@click=${this.next}
|
|
1652
1652
|
></ft-button>
|
|
1653
1653
|
</div>
|
|
1654
|
-
`}update(e){super.update(e),e.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),e.has("currentElement")&&this.dispatchEvent(new os(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,(r=this.listenedContainer)===null||r===void 0||r.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run(()=>this.snap()),this.scheduleUpdateScroll()}snap(){let e=this.closestElementFromStart();if(e!=null){let r=this.getDistanceFromStart(e);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<r&&(e=this.lastElement),this.scrollToElement(e)}}scrollToElement(e){var r,i;e&&(this.horizontal?(r=this.contentSlot)===null||r===void 0||r.scrollTo({left:this.getOffset(e)-this.controlsSize,behavior:"smooth"}):(i=this.contentSlot)===null||i===void 0||i.scrollTo({top:this.getOffset(e)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(e))}onSlotChange(){var e,r;this.elements=(r=(e=this.contentSlot)===null||e===void 0?void 0:e.assignedElements().map(i=>i))!==null&&r!==void 0?r:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let e=-1;for(let r=0;r<this.elements.length;r++)(e<0||this.getDistanceFromStart(this.elements[r])<this.getDistanceFromStart(this.elements[e]))&&(e=r);return e}scheduleUpdateScroll(){this.updateScrollDebouncer.run(()=>this.updateScroll())}updateScroll(){this.contentSlot!=null?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=this.contentSlot[this.scrollAttribute]===0,this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let e=this.elements[0];return e?e[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(e){return e[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(e){let r=e===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(e)-this.contentSlot[this.scrollAttribute]-r)}};Ee.elementDefinitions={"ft-button":Re};Ee.styles=ad;At([y({type:Boolean})],Ee.prototype,"horizontal",void 0);At([y({type:Boolean})],Ee.prototype,"hideScrollbar",void 0);At([y({type:Boolean})],Ee.prototype,"controls",void 0);At([y({type:Boolean})],Ee.prototype,"limitSize",void 0);At([W()],Ee.prototype,"elements",void 0);At([W()],Ee.prototype,"currentElement",void 0);At([W()],Ee.prototype,"withScroll",void 0);At([W()],Ee.prototype,"startReached",void 0);At([W()],Ee.prototype,"endReached",void 0);At([M(".ft-snap-scroll--content")],Ee.prototype,"contentSlot",void 0);V("ft-snap-scroll")(Ee);var Ze={colorOutline:o.external(L.colorOutline,"Design system"),colorOnSurface:o.external(L.colorOnSurface,"Design system"),colorOnSurfaceMedium:o.external(L.colorOnSurfaceMedium,"Design system"),colorPrimary:o.external(L.colorPrimary,"Design system"),colorSurface:o.external(L.colorSurface,"Design system"),transitionDuration:o.external(L.transitionDuration,"Design system"),transitionTimingFunction:o.external(L.transitionTimingFunction,"Design system"),labelColor:o.extend("--ft-filter-label-color","",L.colorOnSurface),labelFontSize:o.extend("--ft-filter-label-font-size","",
|
|
1654
|
+
`}update(e){super.update(e),e.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),e.has("currentElement")&&this.dispatchEvent(new os(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,(r=this.listenedContainer)===null||r===void 0||r.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run(()=>this.snap()),this.scheduleUpdateScroll()}snap(){let e=this.closestElementFromStart();if(e!=null){let r=this.getDistanceFromStart(e);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<r&&(e=this.lastElement),this.scrollToElement(e)}}scrollToElement(e){var r,i;e&&(this.horizontal?(r=this.contentSlot)===null||r===void 0||r.scrollTo({left:this.getOffset(e)-this.controlsSize,behavior:"smooth"}):(i=this.contentSlot)===null||i===void 0||i.scrollTo({top:this.getOffset(e)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(e))}onSlotChange(){var e,r;this.elements=(r=(e=this.contentSlot)===null||e===void 0?void 0:e.assignedElements().map(i=>i))!==null&&r!==void 0?r:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let e=-1;for(let r=0;r<this.elements.length;r++)(e<0||this.getDistanceFromStart(this.elements[r])<this.getDistanceFromStart(this.elements[e]))&&(e=r);return e}scheduleUpdateScroll(){this.updateScrollDebouncer.run(()=>this.updateScroll())}updateScroll(){this.contentSlot!=null?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=this.contentSlot[this.scrollAttribute]===0,this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let e=this.elements[0];return e?e[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(e){return e[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(e){let r=e===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(e)-this.contentSlot[this.scrollAttribute]-r)}};Ee.elementDefinitions={"ft-button":Re};Ee.styles=ad;At([y({type:Boolean})],Ee.prototype,"horizontal",void 0);At([y({type:Boolean})],Ee.prototype,"hideScrollbar",void 0);At([y({type:Boolean})],Ee.prototype,"controls",void 0);At([y({type:Boolean})],Ee.prototype,"limitSize",void 0);At([W()],Ee.prototype,"elements",void 0);At([W()],Ee.prototype,"currentElement",void 0);At([W()],Ee.prototype,"withScroll",void 0);At([W()],Ee.prototype,"startReached",void 0);At([W()],Ee.prototype,"endReached",void 0);At([M(".ft-snap-scroll--content")],Ee.prototype,"contentSlot",void 0);V("ft-snap-scroll")(Ee);var Ze={colorOutline:o.external(L.colorOutline,"Design system"),colorOnSurface:o.external(L.colorOnSurface,"Design system"),colorOnSurfaceMedium:o.external(L.colorOnSurfaceMedium,"Design system"),colorPrimary:o.external(L.colorPrimary,"Design system"),colorSurface:o.external(L.colorSurface,"Design system"),transitionDuration:o.external(L.transitionDuration,"Design system"),transitionTimingFunction:o.external(L.transitionTimingFunction,"Design system"),labelColor:o.extend("--ft-filter-label-color","",L.colorOnSurface),labelFontSize:o.extend("--ft-filter-label-font-size","",B.fontSize,"16px")},sd=[er,ko,_`
|
|
1655
1655
|
:host {
|
|
1656
1656
|
display: flex;
|
|
1657
1657
|
max-height: 100%;
|
|
@@ -1693,8 +1693,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1693
1693
|
word-break: break-word;
|
|
1694
1694
|
color: ${Ze.labelColor};
|
|
1695
1695
|
font-size: ${Ze.labelFontSize};
|
|
1696
|
-
${x(
|
|
1697
|
-
${x(
|
|
1696
|
+
${x(B.lineHeight,"22px")};
|
|
1697
|
+
${x(B.fontWeight,"bold")};
|
|
1698
1698
|
}
|
|
1699
1699
|
|
|
1700
1700
|
.ft-filter--filter {
|
|
@@ -1931,7 +1931,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1931
1931
|
</div>
|
|
1932
1932
|
<div class="ft-accordion-item--separator" part="separator"></div>
|
|
1933
1933
|
</div>
|
|
1934
|
-
`}update(e){super.update(e),e.has("active")&&this.active&&this.dispatchEvent(new Event("activated",{composed:!0,bubbles:!0}))}onToggleKeyDown(e){(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),this.active=!this.active)}};st.elementDefinitions={"ft-ripple":re,"ft-typography":ae,"ft-icon":me};st.styles=dd;Si([y()],st.prototype,"icon",void 0);Si([y()],st.prototype,"iconVariant",void 0);Si([y()],st.prototype,"label",void 0);Si([y({type:Boolean,reflect:!0})],st.prototype,"active",void 0);V("ft-accordion")(Rt);V("ft-accordion-item")(st);var pd=o.extend("--ft-chip-color","",L.colorOnSurface),
|
|
1934
|
+
`}update(e){super.update(e),e.has("active")&&this.active&&this.dispatchEvent(new Event("activated",{composed:!0,bubbles:!0}))}onToggleKeyDown(e){(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),this.active=!this.active)}};st.elementDefinitions={"ft-ripple":re,"ft-typography":ae,"ft-icon":me};st.styles=dd;Si([y()],st.prototype,"icon",void 0);Si([y()],st.prototype,"iconVariant",void 0);Si([y()],st.prototype,"label",void 0);Si([y({type:Boolean,reflect:!0})],st.prototype,"active",void 0);V("ft-accordion")(Rt);V("ft-accordion-item")(st);var pd=o.extend("--ft-chip-color","",L.colorOnSurface),De={backgroundColor:o.extend("--ft-chip-background-color","",L.colorSurface),color:pd,fontSize:o.extend("--ft-chip-font-size","",Ae.fontSize),fontWeight:o.extend("--ft-chip-font-weight","",Ae.fontWeight),iconSize:o.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:o.create("--ft-chip-border-radius","","SIZE",""),rippleColor:o.extend("--ft-chip-ripple-color","",pd),horizontalPadding:o.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:o.create("--ft-chip-vertical-padding","","SIZE","6px"),borderColor:o.extend("--ft-chip-border-color","",L.colorOutline),opacityDisabled:o.external(L.colorOpacityDisabled,"Design system")},fd=o.extend("--ft-chip-highlighted-color","",o.extend("--ft-chip-color","",L.colorOnPrimary)),ns={backgroundColor:o.extend("--ft-chip-highlighted-background-color","",o.extend("--ft-chip-background-color","",L.colorPrimary)),color:fd,rippleColor:o.extend("--ft-chip-highlighted-ripple-color","",fd)},ud={horizontalPadding:o.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:o.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},hd=[br,_`
|
|
1935
1935
|
:host {
|
|
1936
1936
|
display: inline-block;
|
|
1937
1937
|
max-width: 100%;
|
|
@@ -1947,21 +1947,21 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1947
1947
|
box-sizing: border-box;
|
|
1948
1948
|
pointer-events: auto;
|
|
1949
1949
|
|
|
1950
|
-
--ft-chip-internal-font-size: ${
|
|
1951
|
-
--ft-chip-internal-font-weight: ${
|
|
1950
|
+
--ft-chip-internal-font-size: ${De.fontSize};
|
|
1951
|
+
--ft-chip-internal-font-weight: ${De.fontWeight};
|
|
1952
1952
|
--ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
|
|
1953
|
-
${x(be.size,
|
|
1954
|
-
--ft-chip-internal-vertical-padding: ${
|
|
1955
|
-
--ft-chip-internal-horizontal-padding: ${
|
|
1953
|
+
${x(be.size,De.iconSize)};
|
|
1954
|
+
--ft-chip-internal-vertical-padding: ${De.verticalPadding};
|
|
1955
|
+
--ft-chip-internal-horizontal-padding: ${De.horizontalPadding};
|
|
1956
1956
|
--ft-chip-internal-icon-padding: 3px;
|
|
1957
|
-
--ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${
|
|
1957
|
+
--ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${De.iconSize});
|
|
1958
1958
|
|
|
1959
|
-
border: 1px solid ${
|
|
1960
|
-
color: ${
|
|
1961
|
-
${x(k.color,
|
|
1962
|
-
border-radius: var(${$t(
|
|
1959
|
+
border: 1px solid ${De.borderColor};
|
|
1960
|
+
color: ${De.color};
|
|
1961
|
+
${x(k.color,De.rippleColor)};
|
|
1962
|
+
border-radius: var(${$t(De.borderRadius.name)}, calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding)));
|
|
1963
1963
|
padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
|
|
1964
|
-
background-color: ${
|
|
1964
|
+
background-color: ${De.backgroundColor};
|
|
1965
1965
|
line-height: var(--ft-chip-internal-content-height);
|
|
1966
1966
|
}
|
|
1967
1967
|
|
|
@@ -1984,7 +1984,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1984
1984
|
cursor: default;
|
|
1985
1985
|
pointer-events: none;
|
|
1986
1986
|
filter: grayscale(1);
|
|
1987
|
-
opacity: ${
|
|
1987
|
+
opacity: ${De.opacityDisabled};
|
|
1988
1988
|
}
|
|
1989
1989
|
|
|
1990
1990
|
.ft-chip--highlighted {
|
|
@@ -2023,7 +2023,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2023
2023
|
}
|
|
2024
2024
|
|
|
2025
2025
|
.ft-chip--icon-button {
|
|
2026
|
-
${x(te.iconSize,
|
|
2026
|
+
${x(te.iconSize,De.iconSize)};
|
|
2027
2027
|
${x(te.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
|
|
2028
2028
|
${x(te.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
|
|
2029
2029
|
margin: calc((-1) * var(--ft-chip-internal-icon-padding));
|
|
@@ -2097,7 +2097,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2097
2097
|
<div class="ft-chip--icon-container ft-no-text-select" part="icon-container">
|
|
2098
2098
|
<ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}" part="icon"></ft-icon>
|
|
2099
2099
|
</div>
|
|
2100
|
-
`}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new Oi))}onIconClick(e){this.interactionsOnIcon&&(e.stopPropagation(),this.dispatchEvent(new Oi))}getLabel(){return this.label||this.textContent}get textContent(){return
|
|
2100
|
+
`}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new Oi))}onIconClick(e){this.interactionsOnIcon&&(e.stopPropagation(),this.dispatchEvent(new Oi))}getLabel(){return this.label||this.textContent}get textContent(){return Br(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};Oe.elementDefinitions={"ft-ripple":re,"ft-typography":ae,"ft-icon":me,"ft-button":Re};Oe.styles=hd;tt([y({type:Boolean})],Oe.prototype,"highlighted",void 0);tt([y({type:Boolean})],Oe.prototype,"removable",void 0);tt([y({type:Boolean})],Oe.prototype,"disabled",void 0);tt([y({type:Boolean})],Oe.prototype,"clickable",void 0);tt([y({type:Boolean})],Oe.prototype,"iconClickable",void 0);tt([y({type:Boolean})],Oe.prototype,"dense",void 0);tt([y({type:Boolean})],Oe.prototype,"multiLine",void 0);tt([y()],Oe.prototype,"label",void 0);tt([y()],Oe.prototype,"iconLabel",void 0);tt([y()],Oe.prototype,"icon",void 0);tt([y()],Oe.prototype,"iconVariant",void 0);tt([y({type:Boolean})],Oe.prototype,"trailingIcon",void 0);tt([M("ft-typography slot")],Oe.prototype,"slottedContent",void 0);var md=[_`
|
|
2101
2101
|
:host {
|
|
2102
2102
|
display: inline-block;
|
|
2103
2103
|
max-width: 100%;
|
|
@@ -2203,7 +2203,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2203
2203
|
.ftds--family-error .ftds-chip--icon-container {
|
|
2204
2204
|
color: ${ee.errorIconColor};
|
|
2205
2205
|
}
|
|
2206
|
-
`];var
|
|
2206
|
+
`];var Do=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},as=class extends CustomEvent{constructor(){super("remove")}},yt=class extends Ao{constructor(){super(...arguments),this.removable=!1,this.removeButtonLabel="Remove",this.label=""}render(){let e={"ftds-chip":!0,"ftds-chip--removable":this.removable,"ftds-chip--with-icon":!!this.icon,...this.getDesignSystemBaseClasses()};return w`
|
|
2207
2207
|
<div class="${pe(e)}"
|
|
2208
2208
|
aria-label="${this.getLabel()}"
|
|
2209
2209
|
part="chip">
|
|
@@ -2227,7 +2227,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2227
2227
|
size=${this.resolveButtonSize()}
|
|
2228
2228
|
part="icon-button"
|
|
2229
2229
|
></ftds-button>
|
|
2230
|
-
`:U}resolveButtonSize(){switch(this.size){case _e.large:return _e.medium;case _e.medium:case _e.small:return _e.small}}getLabel(){return this.label||this.textContent}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&r!==void 0?r:""}onSlotchange(){this.requestUpdate()}dispatchRemoveEvent(){this.dispatchEvent(new as)}typographyVariant(){switch(this.size){case _e.large:return at.body2medium;case _e.medium:return at.caption1medium;case _e.small:return at.caption2medium}}};yt.elementDefinitions={"ft-typography":ae,"ft-icon":me,"ftds-button":mt};yt.styles=md;
|
|
2230
|
+
`:U}resolveButtonSize(){switch(this.size){case _e.large:return _e.medium;case _e.medium:case _e.small:return _e.small}}getLabel(){return this.label||this.textContent}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&r!==void 0?r:""}onSlotchange(){this.requestUpdate()}dispatchRemoveEvent(){this.dispatchEvent(new as)}typographyVariant(){switch(this.size){case _e.large:return at.body2medium;case _e.medium:return at.caption1medium;case _e.small:return at.caption2medium}}};yt.elementDefinitions={"ft-typography":ae,"ft-icon":me,"ftds-button":mt};yt.styles=md;Do([y({type:Boolean})],yt.prototype,"removable",void 0);Do([y()],yt.prototype,"removeButtonLabel",void 0);Do([y()],yt.prototype,"label",void 0);Do([y()],yt.prototype,"icon",void 0);Do([M("ft-typography slot")],yt.prototype,"slottedContent",void 0);V("ft-chip")(Oe);V("ftds-chip")(yt);var X={fontSize:o.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:o.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:o.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:o.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:o.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:o.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:o.extend("--ft-input-label-border-color","",L.colorOutline),textColor:o.extend("--ft-input-label-text-color","",L.colorOnSurfaceMedium),disabledTextColor:o.extend("--ft-input-label-disabled-text-color","",L.colorOnSurfaceDisabled),backgroundColor:o.extend("--ft-input-label-background-color","",L.colorSurface),borderRadius:o.extend("--ft-input-label-border-radius","",L.borderRadiusS),colorError:o.external(L.colorError,"Design system")},yd=_`
|
|
2231
2231
|
.ft-input-label {
|
|
2232
2232
|
position: absolute;
|
|
2233
2233
|
inset: 0;
|
|
@@ -2763,7 +2763,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2763
2763
|
flex-shrink: 0;
|
|
2764
2764
|
padding: 0 10px;
|
|
2765
2765
|
margin-bottom: 8px;
|
|
2766
|
-
${x(
|
|
2766
|
+
${x(B.fontSize,"14px")};
|
|
2767
2767
|
}
|
|
2768
2768
|
|
|
2769
2769
|
[part="content-locale-selector-label"] {
|
|
@@ -2771,8 +2771,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
2771
2771
|
flex-shrink: 1;
|
|
2772
2772
|
flex-grow: 1;
|
|
2773
2773
|
word-break: break-word;
|
|
2774
|
-
${x(
|
|
2775
|
-
${x(
|
|
2774
|
+
${x(B.lineHeight,"22px")};
|
|
2775
|
+
${x(B.fontWeight,"bold")};
|
|
2776
2776
|
}
|
|
2777
2777
|
|
|
2778
2778
|
`,vd=_`
|
|
@@ -3082,7 +3082,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3082
3082
|
@icon-click=${()=>this.searchBar.setFilter(n.key,a.filter(h=>h!==s))}
|
|
3083
3083
|
data-key="${n.key}"
|
|
3084
3084
|
data-value="${s}">
|
|
3085
|
-
${
|
|
3085
|
+
${Dc(s)}
|
|
3086
3086
|
</ft-chip>
|
|
3087
3087
|
`;return r?f:w`
|
|
3088
3088
|
<ft-tooltip inline text="${l}">
|
|
@@ -3127,8 +3127,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
3127
3127
|
}
|
|
3128
3128
|
|
|
3129
3129
|
.ft-search-bar--desktop ft-snap-scroll.ft-search-bar--selected-filters {
|
|
3130
|
-
${x(
|
|
3131
|
-
${x(
|
|
3130
|
+
${x(De.iconSize,"17px")};
|
|
3131
|
+
${x(De.fontSize,"12px")};
|
|
3132
3132
|
}
|
|
3133
3133
|
|
|
3134
3134
|
.ft-search-bar--selected-filters * {
|