@fluid-topics/ft-search-context 1.1.69 → 1.1.71
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.
|
@@ -1,5 +1,55 @@
|
|
|
1
|
-
!function(t){
|
|
2
|
-
|
|
1
|
+
"use strict";(()=>{var Ss=Object.create;var Br=Object.defineProperty;var Os=Object.getOwnPropertyDescriptor;var ws=Object.getOwnPropertyNames;var Es=Object.getPrototypeOf,Cs=Object.prototype.hasOwnProperty;var As=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),U=(t,e)=>{for(var r in e)Br(t,r,{get:e[r],enumerable:!0})},Ns=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of ws(e))!Cs.call(t,a)&&a!==r&&Br(t,a,{get:()=>e[a],enumerable:!(n=Os(e,a))||n.enumerable});return t};var Rs=(t,e,r)=>(r=t!=null?Ss(Es(t)):{},Ns(e||!t||!t.__esModule?Br(r,"default",{value:t,enumerable:!0}):r,t));var Qi=As(Xi=>{(function(t){var e=function(r){var n={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};function a(m){return m&&DataView.prototype.isPrototypeOf(m)}if(n.arrayBuffer)var i=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],s=ArrayBuffer.isView||function(m){return m&&i.indexOf(Object.prototype.toString.call(m))>-1};function l(m){if(typeof m!="string"&&(m=String(m)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(m))throw new TypeError("Invalid character in header field name");return m.toLowerCase()}function c(m){return typeof m!="string"&&(m=String(m)),m}function d(m){var x={next:function(){var E=m.shift();return{done:E===void 0,value:E}}};return n.iterable&&(x[Symbol.iterator]=function(){return x}),x}function p(m){this.map={},m instanceof p?m.forEach(function(x,E){this.append(E,x)},this):Array.isArray(m)?m.forEach(function(x){this.append(x[0],x[1])},this):m&&Object.getOwnPropertyNames(m).forEach(function(x){this.append(x,m[x])},this)}p.prototype.append=function(m,x){m=l(m),x=c(x);var E=this.map[m];this.map[m]=E?E+", "+x:x},p.prototype.delete=function(m){delete this.map[l(m)]},p.prototype.get=function(m){return m=l(m),this.has(m)?this.map[m]:null},p.prototype.has=function(m){return this.map.hasOwnProperty(l(m))},p.prototype.set=function(m,x){this.map[l(m)]=c(x)},p.prototype.forEach=function(m,x){for(var E in this.map)this.map.hasOwnProperty(E)&&m.call(x,this.map[E],E,this)},p.prototype.keys=function(){var m=[];return this.forEach(function(x,E){m.push(E)}),d(m)},p.prototype.values=function(){var m=[];return this.forEach(function(x){m.push(x)}),d(m)},p.prototype.entries=function(){var m=[];return this.forEach(function(x,E){m.push([E,x])}),d(m)},n.iterable&&(p.prototype[Symbol.iterator]=p.prototype.entries);function h(m){if(m.bodyUsed)return Promise.reject(new TypeError("Already read"));m.bodyUsed=!0}function g(m){return new Promise(function(x,E){m.onload=function(){x(m.result)},m.onerror=function(){E(m.error)}})}function y(m){var x=new FileReader,E=g(x);return x.readAsArrayBuffer(m),E}function b(m){var x=new FileReader,E=g(x);return x.readAsText(m),E}function O(m){for(var x=new Uint8Array(m),E=new Array(x.length),_=0;_<x.length;_++)E[_]=String.fromCharCode(x[_]);return E.join("")}function C(m){if(m.slice)return m.slice(0);var x=new Uint8Array(m.byteLength);return x.set(new Uint8Array(m)),x.buffer}function A(){return this.bodyUsed=!1,this._initBody=function(m){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=C(m.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(m)||s(m))?this._bodyArrayBuffer=C(m):this._bodyText=m=Object.prototype.toString.call(m):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=h(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(){return this._bodyArrayBuffer?h(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(y)}),this.text=function(){var m=h(this);if(m)return m;if(this._bodyBlob)return b(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(O(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(w)}),this.json=function(){return this.text().then(JSON.parse)},this}var N=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function S(m){var x=m.toUpperCase();return N.indexOf(x)>-1?x:m}function v(m,x){x=x||{};var E=x.body;if(m instanceof v){if(m.bodyUsed)throw new TypeError("Already read");this.url=m.url,this.credentials=m.credentials,x.headers||(this.headers=new p(m.headers)),this.method=m.method,this.mode=m.mode,this.signal=m.signal,!E&&m._bodyInit!=null&&(E=m._bodyInit,m.bodyUsed=!0)}else this.url=String(m);if(this.credentials=x.credentials||this.credentials||"same-origin",(x.headers||!this.headers)&&(this.headers=new p(x.headers)),this.method=S(x.method||this.method||"GET"),this.mode=x.mode||this.mode||null,this.signal=x.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&E)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(E)}v.prototype.clone=function(){return new v(this,{body:this._bodyInit})};function w(m){var x=new FormData;return m.trim().split("&").forEach(function(E){if(E){var _=E.split("="),D=_.shift().replace(/\+/g," "),k=_.join("=").replace(/\+/g," ");x.append(decodeURIComponent(D),decodeURIComponent(k))}}),x}function R(m){var x=new p,E=m.replace(/\r?\n[\t ]+/g," ");return E.split(/\r?\n/).forEach(function(_){var D=_.split(":"),k=D.shift().trim();if(k){var Vt=D.join(":").trim();x.append(k,Vt)}}),x}A.call(v.prototype);function I(m,x){x||(x={}),this.type="default",this.status=x.status===void 0?200:x.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in x?x.statusText:"OK",this.headers=new p(x.headers),this.url=x.url||"",this._initBody(m)}A.call(I.prototype),I.prototype.clone=function(){return new I(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new p(this.headers),url:this.url})},I.error=function(){var m=new I(null,{status:0,statusText:""});return m.type="error",m};var j=[301,302,303,307,308];I.redirect=function(m,x){if(j.indexOf(x)===-1)throw new RangeError("Invalid status code");return new I(null,{status:x,headers:{location:m}})},r.DOMException=t.DOMException;try{new r.DOMException}catch{r.DOMException=function(x,E){this.message=x,this.name=E;var _=Error(x);this.stack=_.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function L(m,x){return new Promise(function(E,_){var D=new v(m,x);if(D.signal&&D.signal.aborted)return _(new r.DOMException("Aborted","AbortError"));var k=new XMLHttpRequest;function Vt(){k.abort()}k.onload=function(){var gt={status:k.status,statusText:k.statusText,headers:R(k.getAllResponseHeaders()||"")};gt.url="responseURL"in k?k.responseURL:gt.headers.get("X-Request-URL");var Fr="response"in k?k.response:k.responseText;E(new I(Fr,gt))},k.onerror=function(){_(new TypeError("Network request failed"))},k.ontimeout=function(){_(new TypeError("Network request failed"))},k.onabort=function(){_(new r.DOMException("Aborted","AbortError"))},k.open(D.method,D.url,!0),D.credentials==="include"?k.withCredentials=!0:D.credentials==="omit"&&(k.withCredentials=!1),"responseType"in k&&n.blob&&(k.responseType="blob"),D.headers.forEach(function(gt,Fr){k.setRequestHeader(Fr,gt)}),D.signal&&(D.signal.addEventListener("abort",Vt),k.onreadystatechange=function(){k.readyState===4&&D.signal.removeEventListener("abort",Vt)}),k.send(typeof D._bodyInit>"u"?null:D._bodyInit)})}return L.polyfill=!0,t.fetch||(t.fetch=L,t.Headers=p,t.Request=v,t.Response=I),r.Headers=p,r.Request=v,r.Response=I,r.fetch=L,Object.defineProperty(r,"__esModule",{value:!0}),r}({})})(typeof self<"u"?self:Xi)});if(!ShadowRoot.prototype.createElement){let t=window.HTMLElement,e=window.customElements.define,r=window.customElements.get,n=window.customElements,a=new WeakMap,i=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(S,v){if(S=S.toLowerCase(),this._getDefinition(S)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${S}" has already been used with this registry`);if(this._definitionsByClass.get(v)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let w=v.prototype.attributeChangedCallback,R=new Set(v.observedAttributes||[]);g(v,R,w);let I={elementClass:v,connectedCallback:v.prototype.connectedCallback,disconnectedCallback:v.prototype.disconnectedCallback,adoptedCallback:v.prototype.adoptedCallback,attributeChangedCallback:w,formAssociated:v.formAssociated,formAssociatedCallback:v.prototype.formAssociatedCallback,formDisabledCallback:v.prototype.formDisabledCallback,formResetCallback:v.prototype.formResetCallback,formStateRestoreCallback:v.prototype.formStateRestoreCallback,observedAttributes:R};this._definitionsByTag.set(S,I),this._definitionsByClass.set(v,I);let j=r.call(n,S);j||(j=h(S),e.call(n,S,j)),this===window.customElements&&(s.set(v,I),I.standInClass=j);let L=this._awaitingUpgrade.get(S);if(L){this._awaitingUpgrade.delete(S);for(let x of L)i.delete(x),b(x,I,!0)}let m=this._whenDefinedPromises.get(S);return m!==void 0&&(m.resolve(v),this._whenDefinedPromises.delete(S)),v}upgrade(){C.push(this),n.upgrade.apply(n,arguments),C.pop()}get(S){return this._definitionsByTag.get(S)?.elementClass}_getDefinition(S){return this._definitionsByTag.get(S)}whenDefined(S){let v=this._getDefinition(S);if(v!==void 0)return Promise.resolve(v.elementClass);let w=this._whenDefinedPromises.get(S);return w===void 0&&(w={},w.promise=new Promise(R=>w.resolve=R),this._whenDefinedPromises.set(S,w)),w.promise}_upgradeWhenDefined(S,v,w){let R=this._awaitingUpgrade.get(v);R||this._awaitingUpgrade.set(v,R=new Set),w?R.add(S):R.delete(S)}};let c;window.HTMLElement=function(){let v=c;if(v)return c=void 0,v;let w=s.get(this.constructor);if(!w)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return v=Reflect.construct(t,[],w.standInClass),Object.setPrototypeOf(v,this.constructor.prototype),a.set(v,w),v},window.HTMLElement.prototype=t.prototype;let d=S=>S===document||S instanceof ShadowRoot,p=S=>{let v=S.getRootNode();if(!d(v)){let w=C[C.length-1];if(w instanceof CustomElementRegistry)return w;v=w.getRootNode(),d(v)||(v=l.get(v)?.getRootNode()||document)}return v.customElements},h=S=>class{static get formAssociated(){return!0}constructor(){let w=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(w,HTMLElement.prototype);let R=p(w)||window.customElements,I=R._getDefinition(S);return I?b(w,I):i.set(w,R),w}connectedCallback(){let w=a.get(this);w?w.connectedCallback&&w.connectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,S,!0)}disconnectedCallback(){let w=a.get(this);w?w.disconnectedCallback&&w.disconnectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,S,!1)}adoptedCallback(){a.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let w=a.get(this);w&&w.formAssociated&&w?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let w=a.get(this);w?.formAssociated&&w?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let w=a.get(this);w?.formAssociated&&w?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let w=a.get(this);w?.formAssociated&&w?.formStateRestoreCallback?.apply(this,arguments)}},g=(S,v,w)=>{if(v.size===0||w===void 0)return;let R=S.prototype.setAttribute;R&&(S.prototype.setAttribute=function(L,m){let x=L.toLowerCase();if(v.has(x)){let E=this.getAttribute(x);R.call(this,x,m),w.call(this,x,E,m)}else R.call(this,x,m)});let I=S.prototype.removeAttribute;I&&(S.prototype.removeAttribute=function(L){let m=L.toLowerCase();if(v.has(m)){let x=this.getAttribute(m);I.call(this,m),w.call(this,m,x,null)}else I.call(this,m)});let j=S.prototype.toggleAttribute;j&&(S.prototype.toggleAttribute=function(L,m){let x=L.toLowerCase();if(v.has(x)){let E=this.getAttribute(x);j.call(this,x,m);let _=this.getAttribute(x);w.call(this,x,E,_)}else j.call(this,x,m)})},y=S=>{let v=Object.getPrototypeOf(S);if(v!==window.HTMLElement)return v===t?Object.setPrototypeOf(S,window.HTMLElement):y(v)},b=(S,v,w=!1)=>{Object.setPrototypeOf(S,v.elementClass.prototype),a.set(S,v),c=S;try{new v.elementClass}catch{y(v.elementClass),new v.elementClass}v.attributeChangedCallback&&v.observedAttributes.forEach(R=>{S.hasAttribute(R)&&v.attributeChangedCallback.call(S,R,null,S.getAttribute(R))}),w&&v.connectedCallback&&S.isConnected&&v.connectedCallback.call(S)},O=Element.prototype.attachShadow;Element.prototype.attachShadow=function(S){let v=O.apply(this,arguments);return S.customElements&&(v.customElements=S.customElements),v};let C=[document],A=(S,v,w=void 0)=>{let R=(w?Object.getPrototypeOf(w):S.prototype)[v];S.prototype[v]=function(){C.push(this);let I=R.apply(w||this,arguments);return I!==void 0&&l.set(I,this),C.pop(),I}};A(ShadowRoot,"createElement",document),A(ShadowRoot,"importNode",document),A(Element,"insertAdjacentHTML");let N=(S,v)=>{let w=Object.getOwnPropertyDescriptor(S.prototype,v);Object.defineProperty(S.prototype,v,{...w,set(R){C.push(this),w.set.call(this,R),C.pop()}})};if(N(Element,"innerHTML"),N(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let S=new WeakMap,v=HTMLElement.prototype.attachInternals,w=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...L){let m=v.call(this,...L);return S.set(m,this),m},w.forEach(L=>{let m=window.ElementInternals.prototype,x=m[L];m[L]=function(...E){let _=S.get(this);if(a.get(_).formAssociated===!0)return x?.call(this,...E);throw new DOMException(`Failed to execute ${x} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class R extends Array{constructor(m){super(...m),this._elements=m}get value(){return this._elements.find(m=>m.checked===!0)?.value||""}}class I{constructor(m){let x=new Map;m.forEach((E,_)=>{let D=E.getAttribute("name"),k=x.get(D)||[];this[+_]=E,k.push(E),x.set(D,k)}),this.length=m.length,x.forEach((E,_)=>{E&&(E.length===1?this[_]=E[0]:this[_]=new R(E))})}namedItem(m){return this[m]}}let j=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let L=j.get.call(this,[]),m=[];for(let x of L){let E=a.get(x);(!E||E.formAssociated===!0)&&m.push(x)}return new I(m)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(r,n,a)=>{if(n!==null)try{e.bind(window.customElements)(r,n,a)}catch(i){console.info(r,n,a,i)}}}var Qr={};U(Qr,{CSSResult:()=>et,LitElement:()=>me,ReactiveElement:()=>ne,_$LE:()=>Xs,_$LH:()=>qs,adoptStyles:()=>sr,css:()=>W,defaultConverter:()=>cr,getCompatibleStyle:()=>Ct,html:()=>_t,isServer:()=>Wu,noChange:()=>Oe,notEqual:()=>Gr,nothing:()=>H,render:()=>Xr,supportsAdoptingStyleSheets:()=>wt,svg:()=>Zs,unsafeCSS:()=>Et});var Gt=globalThis,qt=Gt.ShadowRoot&&(Gt.ShadyCSS===void 0||Gt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Rn=Symbol(),Nn=new WeakMap,Zt=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==Rn)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(qt&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=Nn.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Nn.set(r,e))}return e}toString(){return this.cssText}},In=t=>new Zt(typeof t=="string"?t:t+"",void 0,Rn);var Wr=(t,e)=>{if(qt)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),a=Gt.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=r.cssText,t.appendChild(n)}},Yt=qt?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return In(r)})(t):t;var{is:Is,defineProperty:Ps,getOwnPropertyDescriptor:_s,getOwnPropertyNames:Ts,getOwnPropertySymbols:Ls,getPrototypeOf:ks}=Object,Jt=globalThis,Pn=Jt.trustedTypes,Us=Pn?Pn.emptyScript:"",Ms=Jt.reactiveElementPolyfillSupport,yt=(t,e)=>t,bt={toAttribute(t,e){switch(e){case Boolean:t=t?Us: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}},Xt=(t,e)=>!Is(t,e),_n={attribute:!0,type:String,converter:bt,reflect:!1,hasChanged:Xt};Symbol.metadata??=Symbol("metadata"),Jt.litPropertyMetadata??=new WeakMap;var Ue=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=_n){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(e,r),!r.noAccessor){let n=Symbol(),a=this.getPropertyDescriptor(e,n,r);a!==void 0&&Ps(this.prototype,e,a)}}static getPropertyDescriptor(e,r,n){let{get:a,set:i}=_s(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return a?.call(this)},set(s){let l=a?.call(this);i.call(this,s),this.requestUpdate(e,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??_n}static _$Ei(){if(this.hasOwnProperty(yt("elementProperties")))return;let e=ks(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(yt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(yt("properties"))){let r=this.properties,n=[...Ts(r),...Ls(r)];for(let a of n)this.createProperty(a,r[a])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[n,a]of r)this.elementProperties.set(n,a)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let a=this._$Eu(r,n);a!==void 0&&this._$Eh.set(a,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let a of n)r.unshift(Yt(a))}else e!==void 0&&r.push(Yt(e));return r}static _$Eu(e,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n: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._$Eg=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){let e=new Map,r=this.constructor.elementProperties;for(let n of r.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Wr(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,n){this._$AK(e,n)}_$EO(e,r){let n=this.constructor.elementProperties.get(e),a=this.constructor._$Eu(e,n);if(a!==void 0&&n.reflect===!0){let i=(n.converter?.toAttribute!==void 0?n.converter:bt).toAttribute(r,n.type);this._$Em=e,i==null?this.removeAttribute(a):this.setAttribute(a,i),this._$Em=null}}_$AK(e,r){let n=this.constructor,a=n._$Eh.get(e);if(a!==void 0&&this._$Em!==a){let i=n.getPropertyOptions(a),s=typeof i.converter=="function"?{fromAttribute:i.converter}:i.converter?.fromAttribute!==void 0?i.converter:bt;this._$Em=a,this[a]=s.fromAttribute(r,i.type),this._$Em=null}}requestUpdate(e,r,n,a=!1,i){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??Xt)(a?i:this[e],r))return;this.C(e,r,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,r,n){this._$AL.has(e)||this._$AL.set(e,r),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}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[a,i]of this._$Ep)this[a]=i;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[a,i]of n)i.wrapped!==!0||this._$AL.has(a)||this[a]===void 0||this.C(a,this[a],i)}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$E_?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(r=>this._$EO(r,this[r])),this._$ET()}updated(e){}firstUpdated(e){}};Ue.elementStyles=[],Ue.shadowRootOptions={mode:"open"},Ue[yt("elementProperties")]=new Map,Ue[yt("finalized")]=new Map,Ms?.({ReactiveElement:Ue}),(Jt.reactiveElementVersions??=[]).push("2.0.2");var zr=globalThis,Qt=zr.trustedTypes,Tn=Qt?Qt.createPolicy("lit-html",{createHTML:t=>t}):void 0,jr="$lit$",pe=`lit$${(Math.random()+"").slice(9)}$`,Kr="?"+pe,Ds=`<${Kr}>`,$e=document,er=()=>$e.createComment(""),vt=t=>t===null||typeof t!="object"&&typeof t!="function",$n=Array.isArray,Fn=t=>$n(t)||typeof t?.[Symbol.iterator]=="function",Hr=`[
|
|
2
|
+
\f\r]`,xt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ln=/-->/g,kn=/>/g,Me=RegExp(`>|${Hr}(?:([^\\s"'>=/]+)(${Hr}*=${Hr}*(?:[^
|
|
3
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Un=/'/g,Mn=/"/g,Bn=/^(?:script|style|textarea|title)$/i,Wn=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),Ru=Wn(1),Iu=Wn(2),q=Symbol.for("lit-noChange"),$=Symbol.for("lit-nothing"),Dn=new WeakMap,De=$e.createTreeWalker($e,129);function Hn(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Tn!==void 0?Tn.createHTML(e):e}var zn=(t,e)=>{let r=t.length-1,n=[],a,i=e===2?"<svg>":"",s=xt;for(let l=0;l<r;l++){let c=t[l],d,p,h=-1,g=0;for(;g<c.length&&(s.lastIndex=g,p=s.exec(c),p!==null);)g=s.lastIndex,s===xt?p[1]==="!--"?s=Ln:p[1]!==void 0?s=kn:p[2]!==void 0?(Bn.test(p[2])&&(a=RegExp("</"+p[2],"g")),s=Me):p[3]!==void 0&&(s=Me):s===Me?p[0]===">"?(s=a??xt,h=-1):p[1]===void 0?h=-2:(h=s.lastIndex-p[2].length,d=p[1],s=p[3]===void 0?Me:p[3]==='"'?Mn:Un):s===Mn||s===Un?s=Me:s===Ln||s===kn?s=xt:(s=Me,a=void 0);let y=s===Me&&t[l+1].startsWith("/>")?" ":"";i+=s===xt?c+Ds:h>=0?(n.push(d),c.slice(0,h)+jr+c.slice(h)+pe+y):c+pe+(h===-2?l:y)}return[Hn(t,i+(t[r]||"<?>")+(e===2?"</svg>":"")),n]},St=class t{constructor({strings:e,_$litType$:r},n){let a;this.parts=[];let i=0,s=0,l=e.length-1,c=this.parts,[d,p]=zn(e,r);if(this.el=t.createElement(d,n),De.currentNode=this.el.content,r===2){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(a=De.nextNode())!==null&&c.length<l;){if(a.nodeType===1){if(a.hasAttributes())for(let h of a.getAttributeNames())if(h.endsWith(jr)){let g=p[s++],y=a.getAttribute(h).split(pe),b=/([.?@])?(.*)/.exec(g);c.push({type:1,index:i,name:b[2],strings:y,ctor:b[1]==="."?rr:b[1]==="?"?or:b[1]==="@"?nr:Be}),a.removeAttribute(h)}else h.startsWith(pe)&&(c.push({type:6,index:i}),a.removeAttribute(h));if(Bn.test(a.tagName)){let h=a.textContent.split(pe),g=h.length-1;if(g>0){a.textContent=Qt?Qt.emptyScript:"";for(let y=0;y<g;y++)a.append(h[y],er()),De.nextNode(),c.push({type:2,index:++i});a.append(h[g],er())}}}else if(a.nodeType===8)if(a.data===Kr)c.push({type:2,index:i});else{let h=-1;for(;(h=a.data.indexOf(pe,h+1))!==-1;)c.push({type:7,index:i}),h+=pe.length-1}i++}}static createElement(e,r){let n=$e.createElement("template");return n.innerHTML=e,n}};function Fe(t,e,r=t,n){if(e===q)return e;let a=n!==void 0?r._$Co?.[n]:r._$Cl,i=vt(e)?void 0:e._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(t),a._$AT(t,r,n)),n!==void 0?(r._$Co??=[])[n]=a:r._$Cl=a),a!==void 0&&(e=Fe(t,a._$AS(t,e.values),a,n)),e}var tr=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:n}=this._$AD,a=(e?.creationScope??$e).importNode(r,!0);De.currentNode=a;let i=De.nextNode(),s=0,l=0,c=n[0];for(;c!==void 0;){if(s===c.index){let d;c.type===2?d=new Ot(i,i.nextSibling,this,e):c.type===1?d=new c.ctor(i,c.name,c.strings,this,e):c.type===6&&(d=new ar(i,this,e)),this._$AV.push(d),c=n[++l]}s!==c?.index&&(i=De.nextNode(),s++)}return De.currentNode=$e,a}p(e){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}},Ot=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,a){this.type=2,this._$AH=$,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=a,this._$Cv=a?.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=Fe(this,e,r),vt(e)?e===$||e==null||e===""?(this._$AH!==$&&this._$AR(),this._$AH=$):e!==this._$AH&&e!==q&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Fn(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==$&&vt(this._$AH)?this._$AA.nextSibling.data=e:this.$($e.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:n}=e,a=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=St.createElement(Hn(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(r);else{let i=new tr(a,this),s=i.u(this.options);i.p(r),this.$(s),this._$AH=i}}_$AC(e){let r=Dn.get(e.strings);return r===void 0&&Dn.set(e.strings,r=new St(e)),r}T(e){$n(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,a=0;for(let i of e)a===r.length?r.push(n=new t(this.k(er()),this.k(er()),this,this.options)):n=r[a],n._$AI(i),a++;a<r.length&&(this._$AR(n&&n._$AB.nextSibling,a),r.length=a)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Be=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,a,i){this.type=1,this._$AH=$,this._$AN=void 0,this.element=e,this.name=r,this._$AM=a,this.options=i,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=$}_$AI(e,r=this,n,a){let i=this.strings,s=!1;if(i===void 0)e=Fe(this,e,r,0),s=!vt(e)||e!==this._$AH&&e!==q,s&&(this._$AH=e);else{let l=e,c,d;for(e=i[0],c=0;c<i.length-1;c++)d=Fe(this,l[n+c],r,c),d===q&&(d=this._$AH[c]),s||=!vt(d)||d!==this._$AH[c],d===$?e=$:e!==$&&(e+=(d??"")+i[c+1]),this._$AH[c]=d}s&&!a&&this.O(e)}O(e){e===$?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},rr=class extends Be{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===$?void 0:e}},or=class extends Be{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==$)}},nr=class extends Be{constructor(e,r,n,a,i){super(e,r,n,a,i),this.type=5}_$AI(e,r=this){if((e=Fe(this,e,r,0)??$)===q)return;let n=this._$AH,a=e===$&&n!==$||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,i=e!==$&&(n===$||a);a&&this.element.removeEventListener(this.name,this,n),i&&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)}},ar=class{constructor(e,r,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){Fe(this,e)}},jn={j:jr,P:pe,A:Kr,C:1,M:zn,L:tr,R:Fn,V:Fe,D:Ot,I:Be,H:or,N:nr,U:rr,B:ar},$s=zr.litHtmlPolyfillSupport;$s?.(St,Ot),(zr.litHtmlVersions??=[]).push("3.1.0");var ir=globalThis,wt=ir.ShadowRoot&&(ir.ShadyCSS===void 0||ir.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Vr=Symbol(),Kn=new WeakMap,et=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==Vr)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(wt&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=Kn.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Kn.set(r,e))}return e}toString(){return this.cssText}},Et=t=>new et(typeof t=="string"?t:t+"",void 0,Vr),W=(t,...e)=>{let r=t.length===1?t[0]:e.reduce((n,a,i)=>n+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(a)+t[i+1],t[0]);return new et(r,t,Vr)},sr=(t,e)=>{if(wt)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),a=ir.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=r.cssText,t.appendChild(n)}},Ct=wt?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return Et(r)})(t):t;var{is:Fs,defineProperty:Bs,getOwnPropertyDescriptor:Ws,getOwnPropertyNames:Hs,getOwnPropertySymbols:zs,getPrototypeOf:js}=Object,lr=globalThis,Vn=lr.trustedTypes,Ks=Vn?Vn.emptyScript:"",Vs=lr.reactiveElementPolyfillSupport,At=(t,e)=>t,cr={toAttribute(t,e){switch(e){case Boolean:t=t?Ks: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}},Gr=(t,e)=>!Fs(t,e),Gn={attribute:!0,type:String,converter:cr,reflect:!1,hasChanged:Gr};Symbol.metadata??=Symbol("metadata"),lr.litPropertyMetadata??=new WeakMap;var ne=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=Gn){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(e,r),!r.noAccessor){let n=Symbol(),a=this.getPropertyDescriptor(e,n,r);a!==void 0&&Bs(this.prototype,e,a)}}static getPropertyDescriptor(e,r,n){let{get:a,set:i}=Ws(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return a?.call(this)},set(s){let l=a?.call(this);i.call(this,s),this.requestUpdate(e,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Gn}static _$Ei(){if(this.hasOwnProperty(At("elementProperties")))return;let e=js(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(At("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(At("properties"))){let r=this.properties,n=[...Hs(r),...zs(r)];for(let a of n)this.createProperty(a,r[a])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[n,a]of r)this.elementProperties.set(n,a)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let a=this._$Eu(r,n);a!==void 0&&this._$Eh.set(a,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let a of n)r.unshift(Ct(a))}else e!==void 0&&r.push(Ct(e));return r}static _$Eu(e,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n: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._$Eg=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){let e=new Map,r=this.constructor.elementProperties;for(let n of r.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return sr(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,n){this._$AK(e,n)}_$EO(e,r){let n=this.constructor.elementProperties.get(e),a=this.constructor._$Eu(e,n);if(a!==void 0&&n.reflect===!0){let i=(n.converter?.toAttribute!==void 0?n.converter:cr).toAttribute(r,n.type);this._$Em=e,i==null?this.removeAttribute(a):this.setAttribute(a,i),this._$Em=null}}_$AK(e,r){let n=this.constructor,a=n._$Eh.get(e);if(a!==void 0&&this._$Em!==a){let i=n.getPropertyOptions(a),s=typeof i.converter=="function"?{fromAttribute:i.converter}:i.converter?.fromAttribute!==void 0?i.converter:cr;this._$Em=a,this[a]=s.fromAttribute(r,i.type),this._$Em=null}}requestUpdate(e,r,n,a=!1,i){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??Gr)(a?i:this[e],r))return;this.C(e,r,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,r,n){this._$AL.has(e)||this._$AL.set(e,r),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}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[a,i]of this._$Ep)this[a]=i;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[a,i]of n)i.wrapped!==!0||this._$AL.has(a)||this[a]===void 0||this.C(a,this[a],i)}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$E_?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(r=>this._$EO(r,this[r])),this._$ET()}updated(e){}firstUpdated(e){}};ne.elementStyles=[],ne.shadowRootOptions={mode:"open"},ne[At("elementProperties")]=new Map,ne[At("finalized")]=new Map,Vs?.({ReactiveElement:ne}),(lr.reactiveElementVersions??=[]).push("2.0.2");var qr=globalThis,ur=qr.trustedTypes,Zn=ur?ur.createPolicy("lit-html",{createHTML:t=>t}):void 0,Yr="$lit$",he=`lit$${(Math.random()+"").slice(9)}$`,Jr="?"+he,Gs=`<${Jr}>`,ze=document,Rt=()=>ze.createComment(""),It=t=>t===null||typeof t!="object"&&typeof t!="function",ea=Array.isArray,ta=t=>ea(t)||typeof t?.[Symbol.iterator]=="function",Zr=`[
|
|
4
|
+
\f\r]`,Nt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,qn=/-->/g,Yn=/>/g,We=RegExp(`>|${Zr}(?:([^\\s"'>=/]+)(${Zr}*=${Zr}*(?:[^
|
|
5
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Jn=/'/g,Xn=/"/g,ra=/^(?:script|style|textarea|title)$/i,oa=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),_t=oa(1),Zs=oa(2),Oe=Symbol.for("lit-noChange"),H=Symbol.for("lit-nothing"),Qn=new WeakMap,He=ze.createTreeWalker(ze,129);function na(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Zn!==void 0?Zn.createHTML(e):e}var aa=(t,e)=>{let r=t.length-1,n=[],a,i=e===2?"<svg>":"",s=Nt;for(let l=0;l<r;l++){let c=t[l],d,p,h=-1,g=0;for(;g<c.length&&(s.lastIndex=g,p=s.exec(c),p!==null);)g=s.lastIndex,s===Nt?p[1]==="!--"?s=qn:p[1]!==void 0?s=Yn:p[2]!==void 0?(ra.test(p[2])&&(a=RegExp("</"+p[2],"g")),s=We):p[3]!==void 0&&(s=We):s===We?p[0]===">"?(s=a??Nt,h=-1):p[1]===void 0?h=-2:(h=s.lastIndex-p[2].length,d=p[1],s=p[3]===void 0?We:p[3]==='"'?Xn:Jn):s===Xn||s===Jn?s=We:s===qn||s===Yn?s=Nt:(s=We,a=void 0);let y=s===We&&t[l+1].startsWith("/>")?" ":"";i+=s===Nt?c+Gs:h>=0?(n.push(d),c.slice(0,h)+Yr+c.slice(h)+he+y):c+he+(h===-2?l:y)}return[na(t,i+(t[r]||"<?>")+(e===2?"</svg>":"")),n]},Pt=class t{constructor({strings:e,_$litType$:r},n){let a;this.parts=[];let i=0,s=0,l=e.length-1,c=this.parts,[d,p]=aa(e,r);if(this.el=t.createElement(d,n),He.currentNode=this.el.content,r===2){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(a=He.nextNode())!==null&&c.length<l;){if(a.nodeType===1){if(a.hasAttributes())for(let h of a.getAttributeNames())if(h.endsWith(Yr)){let g=p[s++],y=a.getAttribute(h).split(he),b=/([.?@])?(.*)/.exec(g);c.push({type:1,index:i,name:b[2],strings:y,ctor:b[1]==="."?fr:b[1]==="?"?pr:b[1]==="@"?hr:Ke}),a.removeAttribute(h)}else h.startsWith(he)&&(c.push({type:6,index:i}),a.removeAttribute(h));if(ra.test(a.tagName)){let h=a.textContent.split(he),g=h.length-1;if(g>0){a.textContent=ur?ur.emptyScript:"";for(let y=0;y<g;y++)a.append(h[y],Rt()),He.nextNode(),c.push({type:2,index:++i});a.append(h[g],Rt())}}}else if(a.nodeType===8)if(a.data===Jr)c.push({type:2,index:i});else{let h=-1;for(;(h=a.data.indexOf(he,h+1))!==-1;)c.push({type:7,index:i}),h+=he.length-1}i++}}static createElement(e,r){let n=ze.createElement("template");return n.innerHTML=e,n}};function je(t,e,r=t,n){if(e===Oe)return e;let a=n!==void 0?r._$Co?.[n]:r._$Cl,i=It(e)?void 0:e._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(t),a._$AT(t,r,n)),n!==void 0?(r._$Co??=[])[n]=a:r._$Cl=a),a!==void 0&&(e=je(t,a._$AS(t,e.values),a,n)),e}var dr=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:n}=this._$AD,a=(e?.creationScope??ze).importNode(r,!0);He.currentNode=a;let i=He.nextNode(),s=0,l=0,c=n[0];for(;c!==void 0;){if(s===c.index){let d;c.type===2?d=new tt(i,i.nextSibling,this,e):c.type===1?d=new c.ctor(i,c.name,c.strings,this,e):c.type===6&&(d=new mr(i,this,e)),this._$AV.push(d),c=n[++l]}s!==c?.index&&(i=He.nextNode(),s++)}return He.currentNode=ze,a}p(e){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}},tt=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,a){this.type=2,this._$AH=H,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=a,this._$Cv=a?.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=je(this,e,r),It(e)?e===H||e==null||e===""?(this._$AH!==H&&this._$AR(),this._$AH=H):e!==this._$AH&&e!==Oe&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):ta(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==H&&It(this._$AH)?this._$AA.nextSibling.data=e:this.$(ze.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:n}=e,a=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=Pt.createElement(na(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(r);else{let i=new dr(a,this),s=i.u(this.options);i.p(r),this.$(s),this._$AH=i}}_$AC(e){let r=Qn.get(e.strings);return r===void 0&&Qn.set(e.strings,r=new Pt(e)),r}T(e){ea(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,a=0;for(let i of e)a===r.length?r.push(n=new t(this.k(Rt()),this.k(Rt()),this,this.options)):n=r[a],n._$AI(i),a++;a<r.length&&(this._$AR(n&&n._$AB.nextSibling,a),r.length=a)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Ke=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,a,i){this.type=1,this._$AH=H,this._$AN=void 0,this.element=e,this.name=r,this._$AM=a,this.options=i,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=H}_$AI(e,r=this,n,a){let i=this.strings,s=!1;if(i===void 0)e=je(this,e,r,0),s=!It(e)||e!==this._$AH&&e!==Oe,s&&(this._$AH=e);else{let l=e,c,d;for(e=i[0],c=0;c<i.length-1;c++)d=je(this,l[n+c],r,c),d===Oe&&(d=this._$AH[c]),s||=!It(d)||d!==this._$AH[c],d===H?e=H:e!==H&&(e+=(d??"")+i[c+1]),this._$AH[c]=d}s&&!a&&this.O(e)}O(e){e===H?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},fr=class extends Ke{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===H?void 0:e}},pr=class extends Ke{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==H)}},hr=class extends Ke{constructor(e,r,n,a,i){super(e,r,n,a,i),this.type=5}_$AI(e,r=this){if((e=je(this,e,r,0)??H)===Oe)return;let n=this._$AH,a=e===H&&n!==H||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,i=e!==H&&(n===H||a);a&&this.element.removeEventListener(this.name,this,n),i&&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)}},mr=class{constructor(e,r,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){je(this,e)}},qs={j:Yr,P:he,A:Jr,C:1,M:aa,L:dr,R:ta,V:je,D:tt,I:Ke,H:pr,N:hr,U:fr,B:mr},Ys=qr.litHtmlPolyfillSupport;Ys?.(Pt,tt),(qr.litHtmlVersions??=[]).push("3.1.0");var Xr=(t,e,r)=>{let n=r?.renderBefore??e,a=n._$litPart$;if(a===void 0){let i=r?.renderBefore??null;n._$litPart$=a=new tt(e.insertBefore(Rt(),i),i,void 0,r??{})}return a._$AI(t),a};var me=class extends ne{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=Xr(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Oe}};me._$litElement$=!0,me.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:me});var Js=globalThis.litElementPolyfillSupport;Js?.({LitElement:me});var Xs={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var Wu=!1;var to={};U(to,{customElement:()=>Qs,eventOptions:()=>tc,property:()=>T,query:()=>rc,queryAll:()=>nc,queryAssignedElements:()=>ic,queryAssignedNodes:()=>sc,queryAsync:()=>ac,standardProperty:()=>ia,state:()=>eo});var Qs=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};var ec={attribute:!0,type:String,converter:bt,reflect:!1,hasChanged:Xt},ia=(t=ec,e,r)=>{let{kind:n,metadata:a}=r,i=globalThis.litPropertyMetadata.get(a);if(i===void 0&&globalThis.litPropertyMetadata.set(a,i=new Map),i.set(r.name,t),n==="accessor"){let{name:s}=r;return{set(l){let c=e.get.call(this);e.set.call(this,l),this.requestUpdate(s,c,t)},init(l){return l!==void 0&&this.C(s,void 0,t),l}}}if(n==="setter"){let{name:s}=r;return function(l){let c=this[s];e.call(this,l),this.requestUpdate(s,c,t)}}throw Error("Unsupported decorator location: "+n)};function T(t){return(e,r)=>typeof r=="object"?ia(t,e,r):((n,a,i)=>{let s=a.hasOwnProperty(i);return a.constructor.createProperty(i,s?{...n,wrapped:!0}:n),s?Object.getOwnPropertyDescriptor(a,i):void 0})(t,e,r)}function eo(t){return T({...t,state:!0,attribute:!1})}function tc(t){return(e,r)=>{let n=typeof e=="function"?e:e[r];Object.assign(n,t)}}var ee=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r);function rc(t,e){return(r,n,a)=>{let i=s=>s.renderRoot?.querySelector(t)??null;if(e){let{get:s,set:l}=typeof n=="object"?r:a??(()=>{let c=Symbol();return{get(){return this[c]},set(d){this[c]=d}}})();return ee(r,n,{get(){let c=s.call(this);return c===void 0&&(c=i(this),(c!==null||this.hasUpdated)&&l.call(this,c)),c}})}return ee(r,n,{get(){return i(this)}})}}var oc;function nc(t){return(e,r)=>ee(e,r,{get(){return(this.renderRoot??(oc??=document.createDocumentFragment())).querySelectorAll(t)}})}function ac(t){return(e,r)=>ee(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function ic(t){return(e,r)=>{let{slot:n,selector:a}=t??{},i="slot"+(n?`[name=${n}]`:":not([name])");return ee(e,r,{get(){let s=this.renderRoot?.querySelector(i),l=s?.assignedElements(t)??[];return a===void 0?l:l.filter(c=>c.matches(a))}})}}function sc(t){return(e,r)=>{let{slot:n}=t??{},a="slot"+(n?`[name=${n}]`:":not([name])");return ee(e,r,{get(){return this.renderRoot?.querySelector(a)?.assignedNodes(t)??[]}})}}var ro={};U(ro,{repeat:()=>uc});var we={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Ee=t=>(...e)=>({_$litDirective$:t,values:e}),ae=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,r,n){this._$Ct=e,this._$AM=r,this._$Ci=n}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}};var{D:cc}=jn;var sa=()=>document.createComment(""),rt=(t,e,r)=>{let n=t._$AA.parentNode,a=e===void 0?t._$AB:e._$AA;if(r===void 0){let i=n.insertBefore(sa(),a),s=n.insertBefore(sa(),a);r=new cc(i,s,t,t.options)}else{let i=r._$AB.nextSibling,s=r._$AM,l=s!==t;if(l){let c;r._$AQ?.(t),r._$AM=t,r._$AP!==void 0&&(c=t._$AU)!==s._$AU&&r._$AP(c)}if(i!==a||l){let c=r._$AA;for(;c!==i;){let d=c.nextSibling;n.insertBefore(c,a),c=d}}}return r},Ce=(t,e,r=t)=>(t._$AI(e,r),t),lc={},ca=(t,e=lc)=>t._$AH=e,la=t=>t._$AH,gr=t=>{t._$AP?.(!1,!0);let e=t._$AA,r=t._$AB.nextSibling;for(;e!==r;){let n=e.nextSibling;e.remove(),e=n}};var ua=(t,e,r)=>{let n=new Map;for(let a=e;a<=r;a++)n.set(t[a],a);return n},uc=Ee(class extends ae{constructor(t){if(super(t),t.type!==we.CHILD)throw Error("repeat() can only be used in text expressions")}ht(t,e,r){let n;r===void 0?r=e:e!==void 0&&(n=e);let a=[],i=[],s=0;for(let l of t)a[s]=n?n(l,s):s,i[s]=r(l,s),s++;return{values:i,keys:a}}render(t,e,r){return this.ht(t,e,r).values}update(t,[e,r,n]){let a=la(t),{values:i,keys:s}=this.ht(e,r,n);if(!Array.isArray(a))return this.dt=s,i;let l=this.dt??=[],c=[],d,p,h=0,g=a.length-1,y=0,b=i.length-1;for(;h<=g&&y<=b;)if(a[h]===null)h++;else if(a[g]===null)g--;else if(l[h]===s[y])c[y]=Ce(a[h],i[y]),h++,y++;else if(l[g]===s[b])c[b]=Ce(a[g],i[b]),g--,b--;else if(l[h]===s[b])c[b]=Ce(a[h],i[b]),rt(t,c[b+1],a[h]),h++,b--;else if(l[g]===s[y])c[y]=Ce(a[g],i[y]),rt(t,a[h],a[g]),g--,y++;else if(d===void 0&&(d=ua(s,y,b),p=ua(l,h,g)),d.has(l[h]))if(d.has(l[g])){let O=p.get(s[y]),C=O!==void 0?a[O]:null;if(C===null){let A=rt(t,a[h]);Ce(A,i[y]),c[y]=A}else c[y]=Ce(C,i[y]),rt(t,a[h],C),a[O]=null;y++}else gr(a[g]),g--;else gr(a[h]),h++;for(;y<=b;){let O=rt(t,c[b+1]);Ce(O,i[y]),c[y++]=O}for(;h<=g;){let O=a[h++];O!==null&&gr(O)}return this.dt=s,ca(t,c),q}});var oo={};U(oo,{classMap:()=>dc});var dc=Ee(class extends ae{constructor(t){if(super(t),t.type!==we.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.it===void 0){this.it=new Set,t.strings!==void 0&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in e)e[n]&&!this.st?.has(n)&&this.it.add(n);return this.render(e)}let r=t.element.classList;for(let n of this.it)n in e||(r.remove(n),this.it.delete(n));for(let n in e){let a=!!e[n];a===this.it.has(n)||this.st?.has(n)||(a?(r.add(n),this.it.add(n)):(r.remove(n),this.it.delete(n)))}return q}});var no={};U(no,{styleMap:()=>pc});var da="important",fc=" !"+da,pc=Ee(class extends ae{constructor(t){if(super(t),t.type!==we.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 n=t[r];return n==null?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(t,[e]){let{style:r}=t.element;if(this.ut===void 0)return this.ut=new Set(Object.keys(e)),this.render(e);for(let n of this.ut)e[n]==null&&(this.ut.delete(n),n.includes("-")?r.removeProperty(n):r[n]=null);for(let n in e){let a=e[n];if(a!=null){this.ut.add(n);let i=typeof a=="string"&&a.endsWith(fc);n.includes("-")||i?r.setProperty(n,i?a.slice(0,-11):a,i?da:""):r[n]=a}}return q}});var ao={};U(ao,{UnsafeHTMLDirective:()=>ot,unsafeHTML:()=>hc});var ot=class extends ae{constructor(e){if(super(e),this.et=$,e.type!==we.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===$||e==null)return this.vt=void 0,this.et=e;if(e===q)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.et)return this.vt;this.et=e;let r=[e];return r.raw=r,this.vt={_$litType$:this.constructor.resultType,strings:r,values:[]}}};ot.directiveName="unsafeHTML",ot.resultType=1;var hc=Ee(ot);var so={};U(so,{CacheRegistry:()=>ie});var io={};U(io,{CancelablePromise:()=>nt,CanceledPromiseError:()=>Ae,cancelable:()=>at});var Ae=class extends Error{constructor(e,r,n){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=n}},nt=class extends Promise{constructor(e){super((r,n)=>e(a=>{this.isCanceled?n(new Ae("Promise has been canceled",a)):r(a)},a=>{this.isCanceled?n(new Ae("Promise has been canceled",void 0,a)):n(a)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},at=t=>new nt((e,r)=>t.then(e).catch(r));var ie=class{constructor(){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(){for(let e in this.content)this.clear(e)}clear(e){this.finalContent.has(e)||this.forceClear(e)}forceClear(e){this.clearClearTimeout(e),this.content[e]instanceof nt&&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,n){if(this.content[e]===void 0){if(r=r??this.loaders[e],r==null)throw new Error("Unknown cache key "+e);let a=at(r());return this.content[e]=a,a.then(i=>(this.content[e]=i,n!=null&&(this.clearClearTimeout(e),this.clearTimeouts[e]=window.setTimeout(()=>this.clear(e),n)),i))}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 lo={};U(lo,{ClusteringHelper:()=>co});var co=class t{constructor(e,r,n,a){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=n,this.metadataDescriptors=a}static extractResultMetadata(e,r){var n,a;let i=((a=(n=e?.map)!==null&&n!==void 0?n:e?.document)!==null&&a!==void 0?a:e?.topic).metadata.map(s=>t.flattenMetadata(s));return r==null?i:i.find(s=>s.key===r)}static flattenMetadata(e){if(e.hierarchicalValues){let r=[],n=[];return e.hierarchicalValues.forEach(a=>{r.push(a.join(" > ")),a.length>2?n.push(`... > ${a[a.length-1]}`):n.push(a.join(" > "))}),{key:e.key,label:e.label,value:r.join(", "),displayValue:n.join(", ")}}else{let r=e.values.join(", ");return{key:e.key,label:e.label,value:r,displayValue:r}}}computeClustersItemsForMetadata(e,r,n="No value"){var a,i;let s=t.extractResultMetadata(this.selectedResult,e),l=(a=s?.label)!==null&&a!==void 0?a:(i=this.getMetadataDescriptor(e))===null||i===void 0?void 0:i.label;return this.allResults.map(d=>t.extractResultMetadata(d,e)).map(d=>d??{key:e,label:l,value:void 0,displayValue:n}).filter(d=>d.value!=s?.value).filter((d,p,h)=>h.findIndex(g=>g.value===d.value)===p).map(d=>({result:this.findBestResultForMetadataValue(e,d.value),metadata:d})).sort((d,p)=>this.compareMetadata(d.metadata.value,p.metadata.value,e,r))}compareMetadata(e,r,n,a){if(e==null)return-1;if(r==null)return 1;let i=this.getMetadataDescriptor(n),s=i?.sortRule||"NONE",l=i?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let c=e.localeCompare(r,a,{numeric:!0});return l?c*-1:c}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(r=>e==r.key)}findBestResultForMetadataValue(e,r){let n=this.allResults.filter(c=>{var d;return((d=t.extractResultMetadata(c,e))===null||d===void 0?void 0:d.value)==r}),i=[...t.extractResultMetadata(this.selectedResult).filter(c=>this.clusteringMetadata.has(c.key)).filter(c=>c.key!==e)],s,l=-1;for(let c of n){let d=this.countMatchingMetadata(c,i);if(d>l&&(l=d,s=c,d===i.length))break}return s}countMatchingMetadata(e,r){return t.extractResultMetadata(e).filter(n=>r.some(a=>a.key===n.key&&a.value===n.value)).length}};var uo={};U(uo,{Debouncer:()=>se});var se=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,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let n=[...this.callbacks];this.callbacks=[];let a=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,i=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(l){a(l);return}i(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var po={};U(po,{customElement:()=>Tt,isNumber:()=>ma,jsonProperty:()=>te,optionalNumberProperty:()=>Sc});var fo={};U(fo,{dateReviver:()=>gc,deepEqual:()=>X,delay:()=>yr,eventPathContainsMatchingElement:()=>bc,flatDeep:()=>pa,last:()=>vc,minmax:()=>xc,parseDate:()=>ha,waitFor:()=>fa,waitUntil:()=>mc});var yr=t=>new Promise(e=>setTimeout(e,t));async function mc(t,e=10,r=2e4){await fa(async()=>await t()||void 0,e,r)}async function fa(t,e=10,r=2e4){let n=await t(),a,i;for(a=i=performance.now();n==null&&(!r||i-a<r);)await yr(e),n=await t(),i=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function pa(t,e){return t.flatMap(r=>[r,...pa(e(r),e)])}function gc(...t){return function(e,r){return t.includes(e)?ha(r):r}}function ha(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,n,a)=>r+n+":"+a),new Date(t)}function yc(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,n,a;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(n=r;n--!==0;)if(!X(t[n],e[n]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;for(n of t.entries())if(!X(n[1],e.get(n[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if(a=Object.keys(t),r=a.length,r!==Object.keys(e).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,a[n]))return!1;for(n=r;n--!==0;){var i=a[n];if(!X(t[i],e[i]))return!1}return!0}return t!==t&&e!==e}function X(t,e){try{return yc(t,e)}catch{return!1}}function bc(t,e,r=window.document.body){if(e.length>0){let n=t.composedPath();for(let a of n){if(a===r)return!1;if(a.matches&&e.some(i=>a.matches(i)))return!0}}return!1}function xc(t,e,r){return Math.min(Math.max(t,e),r)}function vc(t){return t[t.length-1]}var Tt=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function te(t,e){let r=()=>JSON.parse(JSON.stringify(t));return T({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:(n,a)=>!X(n,a),...e??{}})}function Sc(t){return T({type:Object,converter:{fromAttribute:e=>{if(e!=null)return ma(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...t??{}})}function ma(t){return!isNaN(parseFloat(t))}var mo={};U(mo,{designSystemVariables:()=>qc});var ho={};U(ho,{FtCssVariableFactory:()=>o,banner:()=>Ac,border:()=>Hc,breadcrumb:()=>Nc,button:()=>Cc,chart:()=>Bc,checkbox:()=>jc,chip:()=>Wc,collapsible:()=>$c,comboboxMultiSelect:()=>Uc,comboboxSingleSelect:()=>kc,drawer:()=>Pc,floatingMenu:()=>Lc,foundation:()=>u,modal:()=>Ic,notice:()=>zc,notification:()=>Gc,pageHeader:()=>Rc,popover:()=>Mc,radio:()=>Vc,semantic:()=>f,setVariable:()=>Oc,switch_:()=>Fc,tabs:()=>Dc,textArea:()=>Tc,textInput:()=>_c,toggle:()=>Kc,tooltip:()=>Zc,typographies:()=>wc,typographyBody1Medium:()=>Sa,typographyBody1Regular:()=>va,typographyBody1Semibold:()=>Oa,typographyBody2Medium:()=>Ea,typographyBody2MediumUnderline:()=>Ca,typographyBody2Regular:()=>wa,typographyBody2Semibold:()=>Aa,typographyCaption1Bold:()=>Ua,typographyCaption1Medium:()=>La,typographyCaption1Semibold:()=>ka,typographyCaption2Bold:()=>$a,typographyCaption2Medium:()=>Ma,typographyCaption2Semibold:()=>Da,typographyCaption3Bold:()=>Wa,typographyCaption3Medium:()=>Fa,typographyCaption3Semibold:()=>Ba,typographyDisplay:()=>ga,typographyLabel1Bold:()=>Ia,typographyLabel1Medium:()=>Na,typographyLabel1Semibold:()=>Ra,typographyLabel2Bold:()=>Ta,typographyLabel2Medium:()=>Pa,typographyLabel2Semibold:()=>_a,typographyTitle1:()=>ya,typographyTitle2:()=>ba,typographyTitle3:()=>xa,typographyVariants:()=>Ec});var ge=t=>typeof t=="string"?Et(t):t,o=class{static create(e,r,n,a){let i=l=>ge(l??a),s=W`var(${ge(e)}, ${i(a)})`;return s.name=e,s.description=r,s.category=n,s.defaultValue=a,s.defaultCssValue=i,s.get=l=>W`var(${ge(e)}, ${i(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>a,s}static extend(e,r,n,a){let i=l=>n.get(l??a),s=W`var(${ge(e)}, ${i(a)})`;return s.name=e,s.description=r,s.category=n.category,s.fallbackVariable=n,s.defaultValue=a,s.defaultCssValue=i,s.get=l=>W`var(${ge(e)}, ${i(l)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),s}static external(e,r){let n=i=>e.fallbackVariable?e.fallbackVariable.get(i??e.defaultValue):ge(i??e.lastResortDefaultValue()),a=W`var(${ge(e.name)}, ${n(e.defaultValue)})`;return a.name=e.name,a.category=e.category,a.fallbackVariable=e.fallbackVariable,a.defaultValue=e.defaultValue,a.context=r,a.defaultCssValue=n,a.get=i=>W`var(${ge(e.name)}, ${n(i)})`,a.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>e.lastResortDefaultValue(),a}};function Oc(t,e){return ge(`${t.name}: ${e}`)}var u={colorWhite:o.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:o.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:o.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:o.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:o.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:o.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:o.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:o.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:o.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:o.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:o.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:o.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:o.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:o.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:o.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:o.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:o.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:o.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:o.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:o.create("--ft-icon-size-6","","SIZE","48px"),opacity0:o.create("--ft-opacity-0","","NUMBER","0"),opacity8:o.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:o.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:o.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:o.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:o.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:o.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:o.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:o.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:o.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:o.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:o.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:o.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:o.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},ga={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")},ya={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")},ba={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")},xa={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")},va={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")},Sa={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")},Oa={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")},wa={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")},Ea={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")},Ca={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")},Aa={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")},Na={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")},Ra={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")},Ia={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")},Pa={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")},_a={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")},Ta={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")},La={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")},ka={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")},Ua={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")},Ma={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")},Da={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")},$a={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")},Fa={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")},Ba={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")},Wa={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")},wc={display:ga,"title-1":ya,"title-2":ba,"title-3":xa,"body-1-regular":va,"body-1-medium":Sa,"body-1-semibold":Oa,"body-2-regular":wa,"body-2-medium":Ea,"body-2-medium-underline":Ca,"body-2-semibold":Aa,"label-1-medium":Na,"label-1-semibold":Ra,"label-1-bold":Ia,"label-2-medium":Pa,"label-2-semibold":_a,"label-2-bold":Ta,"caption-1-medium":La,"caption-1-semibold":ka,"caption-1-bold":Ua,"caption-2-medium":Ma,"caption-2-semibold":Da,"caption-2-bold":$a,"caption-3-medium":Fa,"caption-3-semibold":Ba,"caption-3-bold":Wa},Ec=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"];var f={backgroundActionPrimary:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",u.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",u.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",u.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",u.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",u.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",u.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",u.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",u.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",u.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",u.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",u.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",u.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",u.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",u.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",u.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",u.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",u.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",u.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
6
|
+
Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",u.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",u.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",u.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",u.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",u.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",u.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",u.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",u.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",u.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",u.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",u.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",u.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",u.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",u.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",u.colorGray80)};var Cc={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",u.spacing4),largeGap:o.extend("--ft-button-large-gap","",u.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",u.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",u.iconSize3),largeBorderWidth:o.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:o.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:o.extend("--ft-button-small-horizontal-padding","",u.spacing3),smallGap:o.extend("--ft-button-small-gap","",u.spacing2),smallBorderRadius:o.extend("--ft-button-small-border-radius","",u.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",u.iconSize2),smallBorderWidth:o.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:o.extend("--ft-button-primary-background-color","",f.backgroundActionPrimary),primaryColor:o.extend("--ft-button-primary-color","",f.contentGlobalOnColor),primaryIconColor:o.extend("--ft-button-primary-icon-color","",f.contentGlobalOnColor),primaryStateLayerColor:o.extend("--ft-button-primary-state-layer-color","",f.contentGlobalOnColor),primaryHoverStateLayerOpacity:o.extend("--ft-button-primary-hover-state-layer-opacity","",u.opacity16),primaryFocusStateLayerOpacity:o.extend("--ft-button-primary-focus-state-layer-opacity","",u.opacity16),primaryActiveStateLayerOpacity:o.extend("--ft-button-primary-active-state-layer-opacity","",u.opacity24),primaryDisabledComponentOpacity:o.extend("--ft-button-primary-disabled-component-opacity","",u.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",f.borderActionFocusRing),tertiaryBackgroundColor:o.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:o.extend("--ft-button-tertiary-color","",f.contentActionPrimary),tertiaryIconColor:o.extend("--ft-button-tertiary-icon-color","",f.contentActionPrimary),tertiaryStateLayerColor:o.extend("--ft-button-tertiary-state-layer-color","",f.contentActionPrimary),tertiaryHoverStateLayerOpacity:o.extend("--ft-button-tertiary-hover-state-layer-opacity","",u.opacity8),tertiaryFocusStateLayerOpacity:o.extend("--ft-button-tertiary-focus-state-layer-opacity","",u.opacity8),tertiaryActiveStateLayerOpacity:o.extend("--ft-button-tertiary-active-state-layer-opacity","",u.opacity16),tertiaryDisabledComponentOpacity:o.extend("--ft-button-tertiary-disabled-component-opacity","",u.opacity40),secondaryBackgroundColor:o.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:o.extend("--ft-button-secondary-color","",f.contentActionPrimary),secondaryIconColor:o.extend("--ft-button-secondary-icon-color","",f.contentActionPrimary),secondaryStateLayerColor:o.extend("--ft-button-secondary-state-layer-color","",f.contentActionPrimary),secondaryHoverStateLayerOpacity:o.extend("--ft-button-secondary-hover-state-layer-opacity","",u.opacity8),secondaryFocusStateLayerOpacity:o.extend("--ft-button-secondary-focus-state-layer-opacity","",u.opacity8),secondaryActiveStateLayerOpacity:o.extend("--ft-button-secondary-active-state-layer-opacity","",u.opacity16),secondaryDisabledComponentOpacity:o.extend("--ft-button-secondary-disabled-component-opacity","",u.opacity40),secondaryBorderColor:o.extend("--ft-button-secondary-border-color","",f.borderActionPrimary),neutralBackgroundColor:o.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:o.extend("--ft-button-neutral-icon-color","",f.contentGlobalSecondary),neutralColor:o.extend("--ft-button-neutral-color","",f.contentGlobalSecondary),neutralStateLayerColor:o.extend("--ft-button-neutral-state-layer-color","",f.contentGlobalSecondary),neutralHoverStateLayerOpacity:o.extend("--ft-button-neutral-hover-state-layer-opacity","",u.opacity8),neutralFocusStateLayerOpacity:o.extend("--ft-button-neutral-focus-state-layer-opacity","",u.opacity8),neutralActiveStateLayerOpacity:o.extend("--ft-button-neutral-active-state-layer-opacity","",u.opacity16),neutralDisabledComponentOpacity:o.extend("--ft-button-neutral-disabled-component-opacity","",u.opacity40)};var Ac={iconSize:o.extend("--ft-banner-icon-size","",u.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-banner-horizontal-padding","",u.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",u.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",u.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",u.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",u.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",u.spacing20),infoBackgroundColor:o.extend("--ft-banner-info-background-color","",f.backgroundInfoSubtle),infoColor:o.extend("--ft-banner-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-banner-info-icon-color","",f.contentInfoIconOnly)};var Nc={horizontalGap:o.extend("--ft-breadcrumb-horizontal-gap","",u.spacing1),verticalGap:o.extend("--ft-breadcrumb-vertical-gap","",u.spacing2),currentElementColor:o.extend("--ft-breadcrumb-current-element-color","",f.contentGlobalPrimary),iconColor:o.extend("--ft-breadcrumb-icon-color","",f.contentGlobalSubtle)};var Rc={horizontalPadding:o.extend("--ft-page-header-horizontal-padding","",u.spacing12),horizontalGap:o.extend("--ft-page-header-horizontal-gap","",u.spacing4),verticalGap:o.extend("--ft-page-header-vertical-gap","",u.spacing2),classicVerticalPadding:o.extend("--ft-page-header-classic-vertical-padding","",u.spacing6),multilineVerticalPadding:o.extend("--ft-page-header-multiline-vertical-padding","",u.spacing4),inlineVerticalPadding:o.extend("--ft-page-header-inline-vertical-padding","",u.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",u.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",f.borderGlobalSubtle),titleColor:o.extend("--ft-page-header-title-color","",f.contentGlobalPrimary),subtitleColor:o.extend("--ft-page-header-subtitle-color","",f.contentGlobalSecondary)};var Ic={smallContainerWidth:o.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:o.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:o.extend("--ft-modal-overlay-background-color","",u.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",u.opacity40),shadow:o.extend("--ft-modal-shadow","",u.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",u.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",u.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",u.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",u.spacing6),containerMargin:o.extend("--ft-modal-container-margin","",u.spacing3),headerBackgroundColor:o.extend("--ft-modal-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-modal-header-border-color","",f.borderGlobalSubtle),headerColor:o.extend("--ft-modal-header-color","",f.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-modal-header-trailing-icon-color","",f.contentGlobalSecondary),headerVerticalPadding:o.extend("--ft-modal-header-vertical-padding","",u.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",u.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",u.spacing6),headerGap:o.extend("--ft-modal-header-gap","",u.spacing2),headerBorderBottom:o.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",u.borderRadiusM)};var Pc={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",u.opacity40),shadow:o.extend("--ft-drawer-shadow","",u.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",u.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",u.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",u.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",u.colorWhite),headerBackgroundColor:o.extend("--ft-drawer-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-drawer-header-border-color","",f.borderGlobalSubtle),headerColor:o.extend("--ft-drawer-header-color","",f.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-drawer-header-trailing-icon-color","",f.contentGlobalSecondary),headerHeight:o.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ft-drawer-header-horizontal-padding","",u.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",u.spacing3),buttonsBarBackgroundColor:o.extend("--ft-drawer-buttons-bar-background-color","",f.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ft-drawer-buttons-bar-border-color","",f.borderGlobalSubtle),buttonsBarColor:o.extend("--ft-drawer-buttons-bar-color","",f.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ft-drawer-buttons-bar-horizontal-padding","",u.spacing4),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",u.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",u.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","",u.colorGray700)};var _c={fieldHorizontalPadding:o.extend("--ft-text-input-field-horizontal-padding","",u.spacing4),fieldHorizontalGap:o.extend("--ft-text-input-field-horizontal-gap","",u.spacing3),fieldVerticalGap:o.extend("--ft-text-input-field-vertical-gap","",u.spacing05),fieldIconSize:o.extend("--ft-text-input-field-icon-size","",u.iconSize3),fieldHeight:o.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",u.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",u.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",u.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",u.borderRadiusM),backgroundColor:o.extend("--ft-text-input-background-color","",u.colorWhite),contentValueColor:o.extend("--ft-text-input-content-value-color","",f.contentGlobalPrimary),trailingIconColor:o.extend("--ft-text-input-trailing-icon-color","",f.contentGlobalSubtle),labelColor:o.extend("--ft-text-input-label-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-input-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-input-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-input-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-input-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-input-error-helper-icon-color","",f.contentErrorIconOnly),warningBorderWidth:o.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-text-input-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-input-disabled-component-opacity","",u.opacity40)};var Tc={backgroundColor:o.extend("--ft-text-area-background-color","",u.colorWhite),contentValueColor:o.extend("--ft-text-area-content-value-color","",f.contentGlobalPrimary),labelColor:o.extend("--ft-text-area-label-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-area-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-area-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-area-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-area-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-area-error-helper-icon-color","",f.contentErrorIconOnly),focusFocusRingColor:o.extend("--ft-text-area-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:o.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-area-disabled-component-opacity","",u.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",u.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",u.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",u.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",u.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",u.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",u.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",u.borderRadiusM)};var Lc={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",u.spacing4),offIconColor:o.extend("--ft-floating-menu-off-icon-color","",f.contentGlobalPrimary),offColor:o.extend("--ft-floating-menu-off-color","",f.contentGlobalPrimary),onColor:o.extend("--ft-floating-menu-on-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-floating-menu-on-state-layer-color","",f.contentActionPrimary),gap:o.extend("--ft-floating-menu-gap","",u.spacing3),focusFocusRingColor:o.extend("--ft-floating-menu-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:o.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ft-floating-menu-focus-state-layer-opacity","",u.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",u.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",u.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",u.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",u.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",f.backgroundGlobalOnSurface)};var kc={fieldHorizontalPadding:o.extend("--ft-combobox-single-select-field-horizontal-padding","",u.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-single-select-field-horizontal-gap","",u.spacing3),fieldVerticalGap:o.extend("--ft-combobox-single-select-field-vertical-gap","",u.spacing05),fieldIconSize:o.extend("--ft-combobox-single-select-field-icon-size","",u.iconSize3),fieldHeight:o.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",u.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",u.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",u.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",u.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",u.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",u.borderRadiusM),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",u.colorWhite),labelColor:o.extend("--ft-combobox-single-select-label-color","",f.contentGlobalSubtle),contentValueColor:o.extend("--ft-combobox-single-select-content-value-color","",f.contentGlobalPrimary),trailingIconColor:o.extend("--ft-combobox-single-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-single-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-single-select-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-combobox-single-select-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-single-select-error-helper-text-color","",f.contentErrorPrimary),warningBorderWidth:o.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-single-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-single-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-single-select-warning-helper-icon-color","",f.contentWarningIconOnly),focusOutlineWidth:o.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-single-select-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-single-select-disabled-component-opacity","",u.opacity40)};var Uc={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",u.colorWhite),labelColor:o.extend("--ft-combobox-multi-select-label-color","",f.contentGlobalSubtle),trailingIconColor:o.extend("--ft-combobox-multi-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-multi-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-multi-select-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ft-combobox-multi-select-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-multi-select-error-helper-text-color","",f.contentErrorPrimary),errorHelperIcon:o.extend("--ft-combobox-multi-select-error-helper-icon","",f.contentErrorIconOnly),errorBorderWidth:o.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-multi-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-multi-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-multi-select-warning-helper-icon-color","",f.contentWarningIconOnly),warningBorderWidth:o.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-multi-select-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:o.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-multi-select-disabled-component-opacity","",u.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",u.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",u.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",u.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",u.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",u.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",u.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",u.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",u.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",u.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",u.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",u.borderRadiusM)};var Mc={backgroundColor:o.extend("--ft-popover-background-color","",f.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",u.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",u.spacing6),iconColor:o.extend("--ft-popover-icon-color","",f.contentGlobalSecondary),iconSize:o.extend("--ft-popover-icon-size","",u.iconSize2),titleColor:o.extend("--ft-popover-title-color","",f.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",f.contentGlobalSecondary),linkColor:o.extend("--ft-popover-link-color","",f.contentActionPrimary),gap:o.extend("--ft-popover-gap","",u.spacing3),borderRadius:o.extend("--ft-popover-border-radius","",u.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",u.shadowElevation02)};var Dc={topLeftBorderRadius:o.extend("--ft-tabs-top-left-border-radius","",u.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",u.borderRadiusS),labelHorizontalPadding:o.extend("--ft-tabs-label-horizontal-padding","",u.spacing4),labelVerticalPadding:o.extend("--ft-tabs-label-vertical-padding","",u.spacing3),labelGap:o.extend("--ft-tabs-label-gap","",u.spacing1),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",u.opacity8),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",u.opacity8),offActiveStateLayerOpacity:o.extend("--ft-tabs-off-active-state-layer-opacity","",u.opacity16),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",u.opacity40),offColor:o.extend("--ft-tabs-off-color","",f.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-tabs-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",u.opacity8),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",u.opacity8),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",u.opacity16),onDisabledComponentOpacity:o.extend("--ft-tabs-on-disabled-component-opacity","",u.opacity40),onColor:o.extend("--ft-tabs-on-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-tabs-on-state-layer-color","",f.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-tabs-icon-horizontal-padding","",u.spacing1),iconVerticalPadding:o.extend("--ft-tabs-icon-vertical-padding","",u.spacing4),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",f.borderActionFocusRing)};var $c={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",u.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",u.opacity8),focusOutlineWidth:o.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ft-collapsible-focus-focus-ring-color","",f.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ft-collapsible-active-state-layer-opacity","",u.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",u.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",u.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",u.spacing3),color:o.extend("--ft-collapsible-color","",f.contentGlobalPrimary),stateLayerColor:o.extend("--ft-collapsible-state-layer-color","",f.contentGlobalPrimary),backgroundColor:o.extend("--ft-collapsible-background-color","",f.backgroundGlobalOnSurface),borderColor:o.extend("--ft-collapsible-border-color","",f.borderGlobalSubtle),iconSize:o.extend("--ft-collapsible-icon-size","",u.iconSize3)};var Fc={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",u.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",u.spacing1),groupGap:o.extend("--ft-switch-group-gap","",u.spacing1),groupBackgroundColor:o.extend("--ft-switch-group-background-color","",f.backgroundGlobalSurface),groupBorderColor:o.extend("--ft-switch-group-border-color","",f.borderGlobalSubtle),groupBorderRadius:o.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ft-switch-label-horizontal-padding","",u.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",u.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",u.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",u.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",u.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",u.opacity40),offColor:o.extend("--ft-switch-off-color","",f.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-switch-on-hover-state-layer-opacity","",u.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",u.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",u.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",u.opacity40),onColor:o.extend("--ft-switch-on-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",f.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-switch-icon-horizontal-padding","",u.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",u.spacing1),focusOutlineWidth:o.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-switch-focus-focus-ring-color","",f.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",u.borderRadiusS)};var Bc={color1Light:o.extend("--ft-chart-1-light","for area color charts",u.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",u.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",u.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",u.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",u.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",u.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",u.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",u.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",u.colorRed40),color5Base:o.extend("--ft-chart-5-base","",u.colorRed60),color6Light:o.extend("--ft-chart-6-light","",u.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",u.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",u.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",u.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",u.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",u.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",u.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",u.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",u.colorGray50),color10Base:o.extend("--ft-chart-10-base","",u.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",u.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",u.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",u.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",u.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",u.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",u.colorBrand200)};var Wc={largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",u.spacing4),largeVerticalPadding:o.extend("--ft-chip-large-vertical-padding","",u.spacing2),largeGap:o.extend("--ft-chip-large-gap","",u.spacing1),largeFocusOutlineOffset:o.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.extend("--ft-chip-large-border-radius","",u.borderRadiusPill),largeBorderWidth:o.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-large-icon-size","",u.iconSize3),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",u.spacing3),mediumVerticalPadding:o.extend("--ft-chip-medium-vertical-padding","",u.spacing1),mediumGap:o.extend("--ft-chip-medium-gap","",u.spacing1),mediumFocusOutlineOffset:o.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.extend("--ft-chip-medium-border-radius","",u.borderRadiusPill),mediumBorderWidth:o.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-medium-icon-size","",u.iconSize2),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",u.spacing2),smallVerticalPadding:o.extend("--ft-chip-small-vertical-padding","",u.spacing05),smallGap:o.extend("--ft-chip-small-gap","",u.spacing1),smallFocusOutlineOffset:o.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.extend("--ft-chip-small-border-radius","",u.borderRadiusPill),smallBorderWidth:o.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ft-chip-small-icon-size","",u.iconSize1),neutralBackgroundColor:o.extend("--ft-chip-neutral-background-color","",f.backgroundGlobalOnSurface),neutralColor:o.extend("--ft-chip-neutral-color","",f.contentGlobalPrimary),neutralIconColor:o.extend("--ft-chip-neutral-icon-color","",f.contentGlobalPrimary),neutralBorderColor:o.extend("--ft-chip-neutral-border-color","",f.borderGlobalSubtle),infoBackgroundColor:o.extend("--ft-chip-info-background-color","",f.backgroundInfoSubtle),infoColor:o.extend("--ft-chip-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-chip-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:o.extend("--ft-chip-info-border-color","",f.borderInfoSubtle),successBackgroundColor:o.extend("--ft-chip-success-background-color","",f.backgroundSuccessSubtle),successColor:o.extend("--ft-chip-success-color","",f.contentSuccessPrimary),successIconColor:o.extend("--ft-chip-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:o.extend("--ft-chip-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-chip-warning-background-color","",f.backgroundWarningSubtle),warningColor:o.extend("--ft-chip-warning-color","",f.contentWarningPrimary),warningIconColor:o.extend("--ft-chip-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:o.extend("--ft-chip-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-chip-error-background-color","",f.backgroundErrorSubtle),errorColor:o.extend("--ft-chip-error-color","",f.contentErrorPrimary),errorIconColor:o.extend("--ft-chip-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:o.extend("--ft-chip-error-border-color","",f.borderErrorSubtle)};var Hc={infoBorderColor:o.extend("--ft-border-info-border-color","",f.borderInfoSubtle)};var zc={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",u.spacing2),verticalPadding:o.extend("--ft-notice-vertical-padding","",u.spacing1),borderRadius:o.extend("--ft-notice-border-radius","",u.borderRadiusS),gap:o.extend("--ft-notice-gap","",u.spacing2),iconSize:o.extend("--ft-notice-icon-size","",u.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",f.backgroundInfoSubtle),infoBorderColor:o.extend("--ft-notice-info-border-color","",f.borderInfoSubtle),infoColor:o.extend("--ft-notice-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-notice-info-icon-color","",f.contentInfoIconOnly),warningBackgroundColor:o.extend("--ft-notice-warning-background-color","",f.backgroundWarningSubtle),warningBorderColor:o.extend("--ft-notice-warning-border-color","",f.borderWarningSubtle),warningColor:o.extend("--ft-notice-warning-color","",f.contentWarningPrimary),warningIconColor:o.extend("--ft-notice-warning-icon-color","",f.contentWarningIconOnly),errorBackgroundColor:o.extend("--ft-notice-error-background-color","",f.backgroundErrorSubtle),errorBorderColor:o.extend("--ft-notice-error-border-color","",f.borderErrorSubtle),errorColor:o.extend("--ft-notice-error-color","",f.contentErrorPrimary),errorIconColor:o.extend("--ft-notice-error-icon-color","",f.contentErrorIconOnly),successBackgroundColor:o.extend("--ft-notice-success-background-color","",f.backgroundSuccessSubtle),successBorderColor:o.extend("--ft-notice-success-border-color","",f.borderSuccessSubtle),successColor:o.extend("--ft-notice-success-color","",f.contentSuccessPrimary),successIconColor:o.extend("--ft-notice-success-icon-color","",f.contentSuccessIconOnly)};var jc={color:o.extend("--ft-checkbox-color","",f.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ft-checkbox-checked-background-color","",f.contentActionPrimary),checkedStateLayerColor:o.extend("--ft-checkbox-checked-state-layer-color","",f.contentActionPrimary),checkedIconColor:o.extend("--ft-checkbox-checked-icon-color","",f.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ft-checkbox-checked-hover-state-layer-opacity","",u.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",u.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",u.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",u.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",u.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",u.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",u.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",u.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",u.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",u.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-checkbox-gap","",u.spacing3)};var Kc={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",u.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",u.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",u.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",u.opacity40),offBackgroundColor:o.extend("--ft-toggle-off-background-color","",f.contentGlobalSubtle),offIconColor:o.extend("--ft-toggle-off-icon-color","",f.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-toggle-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-toggle-on-hover-state-layer-opacity","",u.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",u.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",u.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",u.opacity40),onBackgroundColor:o.extend("--ft-toggle-on-background-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-toggle-on-state-layer-color","",f.contentActionPrimary),onIconColor:o.extend("--ft-toggle-on-icon-color","",f.contentActionPrimary),color:o.extend("--ft-toggle-color","",f.contentGlobalPrimary),focusFocusRingColor:o.extend("--ft-toggle-focus-focus-ring-color","",f.borderActionFocusRing),gap:o.extend("--ft-toggle-gap","",u.spacing3)};var Vc={color:o.extend("--ft-radio-color","",f.contentGlobalPrimary),selectedRadioColor:o.extend("--ft-radio-selected-radio-color","",f.contentActionPrimary),selectedStateLayerColor:o.extend("--ft-radio-selected-state-layer-color","",f.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ft-radio-selected-hover-state-layer-opacity","",u.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",u.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",u.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",u.opacity40),unselectedStateLayerColor:o.extend("--ft-radio-unselected-state-layer-color","",f.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",f.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ft-radio-unselected-hover-state-layer-opacity","",u.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",u.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",u.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",u.opacity40),focusFocusRingColor:o.extend("--ft-radio-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-radio-gap","",u.spacing3)};var Gc={iconSize:o.extend("--ft-notification-icon-size","",u.iconSize4),horizontalPadding:o.extend("--ft-notification-horizontal-padding","",u.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",u.spacing4),infoBackgroundColor:o.extend("--ft-notification-info-background-color","",f.backgroundInfoSubtle),infoColor:o.extend("--ft-notification-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-notification-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:o.extend("--ft-notification-info-border-color","",f.borderInfoSubtle),successBackgroundColor:o.extend("--ft-notification-success-background-color","",f.backgroundSuccessSubtle),successColor:o.extend("--ft-notification-success-color","",f.contentSuccessPrimary),successIconColor:o.extend("--ft-notification-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:o.extend("--ft-notification-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-notification-warning-background-color","",f.backgroundWarningSubtle),warningColor:o.extend("--ft-notification-warning-color","",f.contentWarningPrimary),warningIconColor:o.extend("--ft-notification-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:o.extend("--ft-notification-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-notification-error-background-color","",f.backgroundErrorSubtle),errorColor:o.extend("--ft-notification-error-color","",f.contentErrorPrimary),errorIconColor:o.extend("--ft-notification-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:o.extend("--ft-notification-error-border-color","",f.borderErrorSubtle),borderRadius:o.extend("--ft-notification-border-radius","",u.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",u.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",u.spacing8)};var Zc={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",u.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",u.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",u.borderRadiusS),color:o.extend("--ft-tooltip-color","",f.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",f.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",u.opacity80),shadow:o.extend("--ft-tooltip-shadow","",u.shadowElevation03),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",u.spacing05)};var qc={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 xo={};U(xo,{FtNotificationEvent:()=>go,PostResizeEvent:()=>bo,PreResizeEvent:()=>yo});var go=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},yo=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},bo=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};var Po={};U(Po,{computeOffsetPosition:()=>hl});var za=["top","right","bottom","left"],Ha=["start","end"],So=za.reduce((t,e)=>t.concat(e,e+"-"+Ha[0],e+"-"+Ha[1]),[]),Lt=Math.min,Ne=Math.max,kt=Math.round;var ye=t=>({x:t,y:t}),Yc={left:"right",right:"left",bottom:"top",top:"bottom"},Jc={start:"end",end:"start"};function Oo(t,e,r){return Ne(t,Lt(e,r))}function br(t,e){return typeof t=="function"?t(e):t}function it(t){return t.split("-")[0]}function Re(t){return t.split("-")[1]}function wo(t){return t==="x"?"y":"x"}function Eo(t){return t==="y"?"height":"width"}function xr(t){return["top","bottom"].includes(it(t))?"y":"x"}function Co(t){return wo(xr(t))}function ja(t,e,r){r===void 0&&(r=!1);let n=Re(t),a=Co(t),i=Eo(a),s=a==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=vo(s)),[s,vo(s)]}function Ka(t){return t.replace(/start|end/g,e=>Jc[e])}function vo(t){return t.replace(/left|right|bottom|top/g,e=>Yc[e])}function Xc(t){return{top:0,right:0,bottom:0,left:0,...t}}function Va(t){return typeof t!="number"?Xc(t):{top:t,right:t,bottom:t,left:t}}function Ve(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Ga(t,e,r){let{reference:n,floating:a}=t,i=xr(e),s=Co(e),l=Eo(s),c=it(e),d=i==="y",p=n.x+n.width/2-a.width/2,h=n.y+n.height/2-a.height/2,g=n[l]/2-a[l]/2,y;switch(c){case"top":y={x:p,y:n.y-a.height};break;case"bottom":y={x:p,y:n.y+n.height};break;case"right":y={x:n.x+n.width,y:h};break;case"left":y={x:n.x-a.width,y:h};break;default:y={x:n.x,y:n.y}}switch(Re(e)){case"start":y[s]-=g*(r&&d?-1:1);break;case"end":y[s]+=g*(r&&d?-1:1);break}return y}var Za=async(t,e,r)=>{let{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:s}=r,l=i.filter(Boolean),c=await(s.isRTL==null?void 0:s.isRTL(e)),d=await s.getElementRects({reference:t,floating:e,strategy:a}),{x:p,y:h}=Ga(d,n,c),g=n,y={},b=0;for(let O=0;O<l.length;O++){let{name:C,fn:A}=l[O],{x:N,y:S,data:v,reset:w}=await A({x:p,y:h,initialPlacement:n,placement:g,strategy:a,middlewareData:y,rects:d,platform:s,elements:{reference:t,floating:e}});if(p=N??p,h=S??h,y={...y,[C]:{...y[C],...v}},w&&b<=50){b++,typeof w=="object"&&(w.placement&&(g=w.placement),w.rects&&(d=w.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:a}):w.rects),{x:p,y:h}=Ga(d,g,c)),O=-1;continue}}return{x:p,y:h,placement:g,strategy:a,middlewareData:y}};async function Ao(t,e){var r;e===void 0&&(e={});let{x:n,y:a,platform:i,rects:s,elements:l,strategy:c}=t,{boundary:d="clippingAncestors",rootBoundary:p="viewport",elementContext:h="floating",altBoundary:g=!1,padding:y=0}=br(e,t),b=Va(y),C=l[g?h==="floating"?"reference":"floating":h],A=Ve(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(C)))==null||r?C:C.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:d,rootBoundary:p,strategy:c})),N=h==="floating"?{...s.floating,x:n,y:a}:s.reference,S=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),v=await(i.isElement==null?void 0:i.isElement(S))?await(i.getScale==null?void 0:i.getScale(S))||{x:1,y:1}:{x:1,y:1},w=Ve(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:N,offsetParent:S,strategy:c}):N);return{top:(A.top-w.top+b.top)/v.y,bottom:(w.bottom-A.bottom+b.bottom)/v.y,left:(A.left-w.left+b.left)/v.x,right:(w.right-A.right+b.right)/v.x}}function Qc(t,e,r){return(t?[...r.filter(a=>Re(a)===t),...r.filter(a=>Re(a)!==t)]:r.filter(a=>it(a)===a)).filter(a=>t?Re(a)===t||(e?Ka(a)!==a:!1):!0)}var No=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,n,a;let{rects:i,middlewareData:s,placement:l,platform:c,elements:d}=e,{crossAxis:p=!1,alignment:h,allowedPlacements:g=So,autoAlignment:y=!0,...b}=br(t,e),O=h!==void 0||g===So?Qc(h||null,y,g):g,C=await Ao(e,b),A=((r=s.autoPlacement)==null?void 0:r.index)||0,N=O[A];if(N==null)return{};let S=ja(N,i,await(c.isRTL==null?void 0:c.isRTL(d.floating)));if(l!==N)return{reset:{placement:O[0]}};let v=[C[it(N)],C[S[0]],C[S[1]]],w=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:N,overflows:v}],R=O[A+1];if(R)return{data:{index:A+1,overflows:w},reset:{placement:R}};let I=w.map(m=>{let x=Re(m.placement);return[m.placement,x&&p?m.overflows.slice(0,2).reduce((E,_)=>E+_,0):m.overflows[0],m.overflows]}).sort((m,x)=>m[1]-x[1]),L=((a=I.filter(m=>m[2].slice(0,Re(m[0])?2:3).every(x=>x<=0))[0])==null?void 0:a[0])||I[0][0];return L!==l?{data:{index:A+1,overflows:w},reset:{placement:L}}:{}}}};var Ro=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:n,placement:a}=e,{mainAxis:i=!0,crossAxis:s=!1,limiter:l={fn:C=>{let{x:A,y:N}=C;return{x:A,y:N}}},...c}=br(t,e),d={x:r,y:n},p=await Ao(e,c),h=xr(it(a)),g=wo(h),y=d[g],b=d[h];if(i){let C=g==="y"?"top":"left",A=g==="y"?"bottom":"right",N=y+p[C],S=y-p[A];y=Oo(N,y,S)}if(s){let C=h==="y"?"top":"left",A=h==="y"?"bottom":"right",N=b+p[C],S=b-p[A];b=Oo(N,b,S)}let O=l.fn({...e,[g]:y,[h]:b});return{...O,data:{x:O.x-r,y:O.y-n}}}}};function be(t){return Ya(t)?(t.nodeName||"").toLowerCase():"#document"}function Z(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function xe(t){var e;return(e=(Ya(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Ya(t){return t instanceof Node||t instanceof Z(t).Node}function ce(t){return t instanceof Element||t instanceof Z(t).Element}function re(t){return t instanceof HTMLElement||t instanceof Z(t).HTMLElement}function qa(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Z(t).ShadowRoot}function st(t){let{overflow:e,overflowX:r,overflowY:n,display:a}=Y(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!["inline","contents"].includes(a)}function Ja(t){return["table","td","th"].includes(be(t))}function Sr(t){let e=Or(),r=Y(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(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function Xa(t){let e=Ge(t);for(;re(e)&&!Ut(e);){if(Sr(e))return e;e=Ge(e)}return null}function Or(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Ut(t){return["html","body","#document"].includes(be(t))}function Y(t){return Z(t).getComputedStyle(t)}function Mt(t){return ce(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Ge(t){if(be(t)==="html")return t;let e=t.assignedSlot||t.parentNode||qa(t)&&t.host||xe(t);return qa(e)?e.host:e}function Qa(t){let e=Ge(t);return Ut(e)?t.ownerDocument?t.ownerDocument.body:t.body:re(e)&&st(e)?e:Qa(e)}function vr(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);let a=Qa(t),i=a===((n=t.ownerDocument)==null?void 0:n.body),s=Z(a);return i?e.concat(s,s.visualViewport||[],st(a)?a:[],s.frameElement&&r?vr(s.frameElement):[]):e.concat(a,vr(a,[],r))}function ri(t){let e=Y(t),r=parseFloat(e.width)||0,n=parseFloat(e.height)||0,a=re(t),i=a?t.offsetWidth:r,s=a?t.offsetHeight:n,l=kt(r)!==i||kt(n)!==s;return l&&(r=i,n=s),{width:r,height:n,$:l}}function oi(t){return ce(t)?t:t.contextElement}function ct(t){let e=oi(t);if(!re(e))return ye(1);let r=e.getBoundingClientRect(),{width:n,height:a,$:i}=ri(e),s=(i?kt(r.width):r.width)/n,l=(i?kt(r.height):r.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var el=ye(0);function ni(t){let e=Z(t);return!Or()||!e.visualViewport?el:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function tl(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==Z(t)?!1:e}function Dt(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);let a=t.getBoundingClientRect(),i=oi(t),s=ye(1);e&&(n?ce(n)&&(s=ct(n)):s=ct(t));let l=tl(i,r,n)?ni(i):ye(0),c=(a.left+l.x)/s.x,d=(a.top+l.y)/s.y,p=a.width/s.x,h=a.height/s.y;if(i){let g=Z(i),y=n&&ce(n)?Z(n):n,b=g.frameElement;for(;b&&n&&y!==g;){let O=ct(b),C=b.getBoundingClientRect(),A=Y(b),N=C.left+(b.clientLeft+parseFloat(A.paddingLeft))*O.x,S=C.top+(b.clientTop+parseFloat(A.paddingTop))*O.y;c*=O.x,d*=O.y,p*=O.x,h*=O.y,c+=N,d+=S,b=Z(b).frameElement}}return Ve({width:p,height:h,x:c,y:d})}function rl(t){let{rect:e,offsetParent:r,strategy:n}=t,a=re(r),i=xe(r);if(r===i)return e;let s={scrollLeft:0,scrollTop:0},l=ye(1),c=ye(0);if((a||!a&&n!=="fixed")&&((be(r)!=="body"||st(i))&&(s=Mt(r)),re(r))){let d=Dt(r);l=ct(r),c.x=d.x+r.clientLeft,c.y=d.y+r.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-s.scrollLeft*l.x+c.x,y:e.y*l.y-s.scrollTop*l.y+c.y}}function ol(t){return Array.from(t.getClientRects())}function ai(t){return Dt(xe(t)).left+Mt(t).scrollLeft}function nl(t){let e=xe(t),r=Mt(t),n=t.ownerDocument.body,a=Ne(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=Ne(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),s=-r.scrollLeft+ai(t),l=-r.scrollTop;return Y(n).direction==="rtl"&&(s+=Ne(e.clientWidth,n.clientWidth)-a),{width:a,height:i,x:s,y:l}}function al(t,e){let r=Z(t),n=xe(t),a=r.visualViewport,i=n.clientWidth,s=n.clientHeight,l=0,c=0;if(a){i=a.width,s=a.height;let d=Or();(!d||d&&e==="fixed")&&(l=a.offsetLeft,c=a.offsetTop)}return{width:i,height:s,x:l,y:c}}function il(t,e){let r=Dt(t,!0,e==="fixed"),n=r.top+t.clientTop,a=r.left+t.clientLeft,i=re(t)?ct(t):ye(1),s=t.clientWidth*i.x,l=t.clientHeight*i.y,c=a*i.x,d=n*i.y;return{width:s,height:l,x:c,y:d}}function ei(t,e,r){let n;if(e==="viewport")n=al(t,r);else if(e==="document")n=nl(xe(t));else if(ce(e))n=il(e,r);else{let a=ni(t);n={...e,x:e.x-a.x,y:e.y-a.y}}return Ve(n)}function ii(t,e){let r=Ge(t);return r===e||!ce(r)||Ut(r)?!1:Y(r).position==="fixed"||ii(r,e)}function sl(t,e){let r=e.get(t);if(r)return r;let n=vr(t,[],!1).filter(l=>ce(l)&&be(l)!=="body"),a=null,i=Y(t).position==="fixed",s=i?Ge(t):t;for(;ce(s)&&!Ut(s);){let l=Y(s),c=Sr(s);!c&&l.position==="fixed"&&(a=null),(i?!c&&!a:!c&&l.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||st(s)&&!c&&ii(t,s))?n=n.filter(p=>p!==s):a=l,s=Ge(s)}return e.set(t,n),n}function cl(t){let{element:e,boundary:r,rootBoundary:n,strategy:a}=t,s=[...r==="clippingAncestors"?sl(e,this._c):[].concat(r),n],l=s[0],c=s.reduce((d,p)=>{let h=ei(e,p,a);return d.top=Ne(h.top,d.top),d.right=Lt(h.right,d.right),d.bottom=Lt(h.bottom,d.bottom),d.left=Ne(h.left,d.left),d},ei(e,l,a));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function ll(t){return ri(t)}function ul(t,e,r){let n=re(e),a=xe(e),i=r==="fixed",s=Dt(t,!0,i,e),l={scrollLeft:0,scrollTop:0},c=ye(0);if(n||!n&&!i)if((be(e)!=="body"||st(a))&&(l=Mt(e)),n){let d=Dt(e,!0,i,e);c.x=d.x+e.clientLeft,c.y=d.y+e.clientTop}else a&&(c.x=ai(a));return{x:s.left+l.scrollLeft-c.x,y:s.top+l.scrollTop-c.y,width:s.width,height:s.height}}function ti(t,e){return!re(t)||Y(t).position==="fixed"?null:e?e(t):t.offsetParent}function si(t,e){let r=Z(t);if(!re(t))return r;let n=ti(t,e);for(;n&&Ja(n)&&Y(n).position==="static";)n=ti(n,e);return n&&(be(n)==="html"||be(n)==="body"&&Y(n).position==="static"&&!Sr(n))?r:n||Xa(t)||r}var dl=async function(t){let{reference:e,floating:r,strategy:n}=t,a=this.getOffsetParent||si,i=this.getDimensions;return{reference:ul(e,await a(r),n),floating:{x:0,y:0,...await i(r)}}};function fl(t){return Y(t).direction==="rtl"}var wr={convertOffsetParentRelativeRectToViewportRelativeRect:rl,getDocumentElement:xe,getClippingRect:cl,getOffsetParent:si,getElementRects:dl,getClientRects:ol,getDimensions:ll,getScale:ct,isElement:ce,isRTL:fl};var ci=(t,e,r)=>{let n=new Map,a={platform:wr,...r},i={...a.platform,_c:n};return Za(t,e,{...a,platform:i})};function li(t){return pl(t)}function Io(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function pl(t){for(let e=t;e;e=Io(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Io(t);e;e=Io(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 hl(t,e,r){return ci(t,e,{platform:{...wr,getOffsetParent:n=>wr.getOffsetParent(n,li)},middleware:[Ro({crossAxis:!0}),No({allowedPlacements:[r]})]})}var Lo={};U(Lo,{FtLitElement:()=>le});var _o={};U(_o,{ScopedRegistryLitElement:()=>$t});var Er=window,ml=Er.ShadowRoot&&(Er.ShadyCSS===void 0||Er.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Bh=Symbol();var ui=(t,e)=>{ml?t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):e.forEach(r=>{let n=document.createElement("style"),a=Er.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=r.cssText,t.appendChild(n)})};var $t=class extends me{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([a,i])=>e.registry.define(a,i)));let r={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return ui(n,e.elementStyles),n}};var To=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},pi,di=Symbol("constructorPrototype"),fi=Symbol("constructorName"),hi=Symbol("exportpartsDebouncer"),le=class extends $t{constructor(){super(),this.adoptedCustomStyleSheet=new CSSStyleSheet,this.useAdoptedStyleSheets=!0,this[pi]=new se(5),this[fi]=this.constructor.name,this[di]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[fi]&&Object.setPrototypeOf(this,this[di])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet])}catch(e){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",e)}}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var r,n,a;if(this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((r=this.customStylesheet)!==null&&r!==void 0?r:"")}catch(i){console.error(i,this.customStylesheet)}}else if(((a=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&a!==void 0?a:[]).forEach(i=>i.remove()),this.customStylesheet){let i=document.createElement("style");i.classList.add("ft-lit-element--custom-stylesheet"),i.innerHTML=this.customStylesheet,this.shadowRoot.append(i)}}scheduleExportpartsUpdate(){var e,r,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[hi].run(()=>{var a,i;!((a=this.exportpartsPrefix)===null||a===void 0)&&a.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((i=this.exportpartsPrefixes)===null||i===void 0?void 0:i.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var r,n,a,i,s,l;let c=g=>g!=null&&g.trim().length>0,d=e.filter(c).map(g=>g.trim());if(d.length===0){this.removeAttribute("exportparts");return}let p=new Set;for(let g of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let y=(i=(a=g.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&i!==void 0?i:[],b=(l=(s=g.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(O=>O.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...y,...b).filter(c).map(O=>O.trim()).forEach(O=>p.add(O))}if(p.size===0){this.removeAttribute("exportparts");return}let h=[...p.values()].flatMap(g=>d.map(y=>`${g}:${y}--${g}`));this.setAttribute("exportparts",[...this.part,...h].join(", "))}};pi=hi;To([T()],le.prototype,"exportpartsPrefix",void 0);To([te([])],le.prototype,"exportpartsPrefixes",void 0);To([T()],le.prototype,"customStylesheet",void 0);var mi={};var Do={};U(Do,{highlightHtml:()=>Mo,highlightHtmlColorCssVariable:()=>gi,highlightHtmlStyles:()=>yl});var Ze=class t{constructor(e,r=!0,n=[],a=5e3){this.ctx=e,this.iframes=r,this.exclude=n,this.iframesTimeout=a}static matches(e,r){let n=typeof r=="string"?[r]:r,a=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(a){let i=!1;return n.every(s=>a.call(e,s)?(i=!0,!1):!0),i}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(n=>{let a=r.filter(i=>i.contains(n)).length>0;r.indexOf(n)===-1&&!a&&r.push(n)}),r}getIframeContents(e,r,n=()=>{}){let a;try{let i=e.contentWindow;if(a=i.document,!i||!a)throw new Error("iframe inaccessible")}catch{n()}a&&r(a)}isIframeBlank(e){let r="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===r&&n!==r&&n}observeIframeLoad(e,r,n){let a=!1,i=null,s=()=>{if(!a){a=!0,clearTimeout(i);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,r,n))}catch{n()}}};e.addEventListener("load",s),i=setTimeout(s,this.iframesTimeout)}onIframeReady(e,r,n){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,r,n):this.getIframeContents(e,r,n):this.observeIframeLoad(e,r,n)}catch{n()}}waitForIframes(e,r){let n=0;this.forEachIframe(e,()=>!0,a=>{n++,this.waitForIframes(a.querySelector("html"),()=>{--n||r()})},a=>{a||r()})}forEachIframe(e,r,n,a=()=>{}){let i=e.querySelectorAll("iframe"),s=i.length,l=0;i=Array.prototype.slice.call(i);let c=()=>{--s<=0&&a(l)};s||c(),i.forEach(d=>{t.matches(d,this.exclude)?c():this.onIframeReady(d,p=>{r(d)&&(l++,n(p)),c()},c)})}createIterator(e,r,n){return document.createNodeIterator(e,r,n,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,r,n){let a=e.compareDocumentPosition(n),i=Node.DOCUMENT_POSITION_PRECEDING;if(a&i)if(r!==null){let s=r.compareDocumentPosition(n),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(e){let r=e.previousNode(),n;return r===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:r,node:n}}checkIframeFilter(e,r,n,a){let i=!1,s=!1;return a.forEach((l,c)=>{l.val===n&&(i=c,s=l.handled)}),this.compareNodeIframe(e,r,n)?(i===!1&&!s?a.push({val:n,handled:!0}):i!==!1&&!s&&(a[i].handled=!0),!0):(i===!1&&a.push({val:n,handled:!1}),!1)}handleOpenIframes(e,r,n,a){e.forEach(i=>{i.handled||this.getIframeContents(i.val,s=>{this.createInstanceOnIframe(s).forEachNode(r,n,a)})})}iterateThroughNodes(e,r,n,a,i){let s=this.createIterator(r,e,a),l=[],c=[],d,p,h=()=>({prevNode:p,node:d}=this.getIteratorNode(s),d);for(;h();)this.iframes&&this.forEachIframe(r,g=>this.checkIframeFilter(d,p,g,l),g=>{this.createInstanceOnIframe(g).forEachNode(e,y=>c.push(y),a)}),c.push(d);c.forEach(g=>{n(g)}),this.iframes&&this.handleOpenIframes(l,e,n,a),i()}forEachNode(e,r,n,a=()=>{}){let i=this.getContexts(),s=i.length;s||a(),i.forEach(l=>{let c=()=>{this.iterateThroughNodes(e,l,r,n,()=>{--s<=0&&a()})};this.iframes?this.waitForIframes(l,c):c()})}};var Ft=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 Ze(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,r="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[r]=="function"&&n[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,n=this.opt.caseSensitive?"":"i",a=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let i in r)if(r.hasOwnProperty(i)){let s=r[i],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(i):this.escapeStr(i),c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&c!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(c)})`,`gm${n}`),a+`(${this.processSynomyms(l)}|${this.processSynomyms(c)})`+a))}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,n,a)=>{let i=a.charAt(n+1);return/[(|)\\]/.test(i)||i===""?r:r+"\0"})}createJoinersRegExp(e){let r=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&r.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&r.push("\\u00ad\\u200b\\u200c\\u200d"),r.length?e.split(/\u0000+/).join(`[${r.join("")}]*`):e}createDiacriticsRegExp(e){let r=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],a=[];return e.split("").forEach(i=>{n.every(s=>{if(s.indexOf(i)!==-1){if(a.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${r}`),`[${s}]`),a.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,a=typeof n=="string"?n:n.value,i=typeof n=="string"?[]:n.limiters,s="";switch(i.forEach(l=>{s+=`|${this.escapeStr(l)}`}),a){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(n=>{this.opt.separateWordSearch?n.split(" ").forEach(a=>{a.trim()&&r.indexOf(a)===-1&&r.push(a)}):n.trim()&&r.indexOf(n)===-1&&r.push(n)}),{keywords:r.sort((n,a)=>a.length-n.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=[],n=0;return e.sort((a,i)=>a.start-i.start).forEach(a=>{let{start:i,end:s,valid:l}=this.callNoMatchOnInvalidRanges(a,n);l&&(a.start=i,a.length=s-i,r.push(a),n=s)}),r}callNoMatchOnInvalidRanges(e,r){let n,a,i=!1;return e&&typeof e.start<"u"?(n=parseInt(e.start,10),a=n+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&a-r>0&&a-n>0?i=!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:n,end:a,valid:i}}checkWhitespaceRanges(e,r,n){let a,i=!0,s=n.length,l=r-s,c=parseInt(e.start,10)-l;return c=c>s?s:c,a=c+parseInt(e.length,10),a>s&&(a=s,this.log(`End range automatically set to the max value of ${s}`)),c<0||a-c<0||c>s||a>s?(i=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(c,a).replace(/\s+/g,"")===""&&(i=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:c,end:a,valid:i}}getTextNodes(e){let r="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,a=>{n.push({start:r.length,end:(r+=a.textContent).length,node:a})},a=>this.matchesExclude(a.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:r,nodes:n})})}matchesExclude(e){return Ze.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,r,n){let a=this.opt.element?this.opt.element:"mark",i=e.splitText(r),s=i.splitText(n-r),l=document.createElement(a);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=i.textContent,i.parentNode.replaceChild(l,i),s}wrapRangeInMappedTextNode(e,r,n,a,i){e.nodes.every((s,l)=>{let c=e.nodes[l+1];if(typeof c>"u"||c.start>r){if(!a(s.node))return!1;let d=r-s.start,p=(n>s.end?s.end:n)-s.start,h=e.value.substr(0,s.start),g=e.value.substr(p+s.start);if(s.node=this.wrapRangeInTextNode(s.node,d,p),e.value=h+g,e.nodes.forEach((y,b)=>{b>=l&&(e.nodes[b].start>0&&b!==l&&(e.nodes[b].start-=p),e.nodes[b].end-=p)}),n-=p,i(s.node.previousSibling,s.start),n>s.end)r=s.end;else return!1}return!0})}wrapMatches(e,r,n,a,i){let s=r===0?0:r+1;this.getTextNodes(l=>{l.nodes.forEach(c=>{c=c.node;let d;for(;(d=e.exec(c.textContent))!==null&&d[s]!=="";){if(!n(d[s],c))continue;let p=d.index;if(s!==0)for(let h=1;h<s;h++)p+=d[h].length;c=this.wrapRangeInTextNode(c,p,p+d[s].length),a(c.previousSibling),e.lastIndex=0}}),i()})}wrapMatchesAcrossElements(e,r,n,a,i){let s=r===0?0:r+1;this.getTextNodes(l=>{let c;for(;(c=e.exec(l.value))!==null&&c[s]!=="";){let d=c.index;if(s!==0)for(let h=1;h<s;h++)d+=c[h].length;let p=d+c[s].length;this.wrapRangeInMappedTextNode(l,d,p,h=>n(c[s],h),(h,g)=>{e.lastIndex=g,a(h)})}i()})}wrapRangeFromIndex(e,r,n,a){this.getTextNodes(i=>{let s=i.value.length;e.forEach((l,c)=>{let{start:d,end:p,valid:h}=this.checkWhitespaceRanges(l,s,i.value);h&&this.wrapRangeInMappedTextNode(i,d,p,g=>r(g,l,i.value.substring(d,p),c),g=>{n(g,l)})}),a()})}unwrapMatches(e){let r=e.parentNode,n=document.createDocumentFragment();for(;e.firstChild;)n.appendChild(e.removeChild(e.firstChild));r.replaceChild(n,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 n=0,a="wrapMatches",i=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),this[a](e,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,n),i,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,r){this.opt=r;let n=0,a="wrapMatches",{keywords:i,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),l=this.opt.caseSensitive?"":"i",c=d=>{let p=new RegExp(this.createRegExp(d),`gm${l}`),h=0;this.log(`Searching with expression "${p}"`),this[a](p,1,(g,y)=>this.opt.filter(y,d,n,h),g=>{h++,n++,this.opt.each(g)},()=>{h===0&&this.opt.noMatch(d),i[s-1]===d?this.opt.done(n):c(i[i.indexOf(d)+1])})};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),s===0?this.opt.done(n):c(i[0])}markRanges(e,r){this.opt=r;let n=0,a=this.checkRanges(e);a&&a.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(a)),this.wrapRangeFromIndex(a,(i,s,l,c)=>this.opt.filter(i,s,l,c),(i,s)=>{n++,this.opt.each(i,s)},()=>{this.opt.done(n)})):this.opt.done(n)}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,n=>{this.unwrapMatches(n)},n=>{let a=Ze.matches(n,r),i=this.matchesExclude(n);return!a||i?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function ko(t){let e=new Ft(t);return this.mark=(r,n)=>(e.mark(r,n),this),this.markRegExp=(r,n)=>(e.markRegExp(r,n),this),this.markRanges=(r,n)=>(e.markRanges(r,n),this),this.unmark=r=>(e.unmark(r),this),this}var gl=ko,gi=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),yl=W`
|
|
7
|
+
.highlight-html-match {
|
|
8
|
+
background: ${gi};
|
|
9
|
+
}
|
|
10
|
+
`,Uo={className:"highlight-html-match"};function Mo(t,e){var r;let n=t.getAttribute("data-highlight-html-query");if((n??"")!==(e??"")){let a=new gl(t);a.unmark(Uo),e&&e.trim()&&(a.mark(e.replace(/"[^"]+"/g,""),{...Uo,separateWordSearch:!0}),((r=e.match(/"[^"]+"/g))!==null&&r!==void 0?r:[]).forEach(s=>a.mark(s.replace(/"/g,""),{...Uo,separateWordSearch:!1})))}t.setAttribute("data-highlight-html-query",e??"")}var $o={};U($o,{noTextSelect:()=>bl,safariEllipsisFix:()=>vl,wordWrap:()=>xl});var bl=W`
|
|
11
|
+
.ft-no-text-select {
|
|
12
|
+
-webkit-touch-callout: none;
|
|
13
|
+
-webkit-user-select: none;
|
|
14
|
+
-khtml-user-select: none;
|
|
15
|
+
-moz-user-select: none;
|
|
16
|
+
-ms-user-select: none;
|
|
17
|
+
user-select: none;
|
|
18
|
+
}
|
|
19
|
+
`,xl=W`
|
|
20
|
+
.ft-word-wrap {
|
|
21
|
+
white-space: normal;
|
|
22
|
+
word-wrap: break-word;
|
|
23
|
+
-ms-word-break: break-all;
|
|
24
|
+
word-break: break-all;
|
|
25
|
+
word-break: break-word;
|
|
26
|
+
-ms-hyphens: auto;
|
|
27
|
+
-moz-hyphens: auto;
|
|
28
|
+
-webkit-hyphens: auto;
|
|
29
|
+
hyphens: auto
|
|
30
|
+
}
|
|
31
|
+
`,vl=W`
|
|
32
|
+
.ft-safari-ellipsis-fix {
|
|
33
|
+
margin-right: 0;
|
|
34
|
+
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.ft-safari-ellipsis-fix:after {
|
|
38
|
+
content: "\\0000a0";
|
|
39
|
+
display: inline-block;
|
|
40
|
+
width: 0;
|
|
41
|
+
}
|
|
42
|
+
`;var yi={};var Fo={};U(Fo,{ParametrizedLabelResolver:()=>Bt});var Bt=class{constructor(e,r){this.defaultLabels=e,this.labels=r}resolve(e,...r){var n,a;e=this.resolvePluralKey(e,r);let i=(a=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&a!==void 0?a:"";return r.forEach((s,l)=>i=i.replace(new RegExp(`\\{${l}([^}]*)\\}`,"g"),(c,d)=>this.formatValue(s,d))),i}resolvePluralKey(e,r){for(let n of r)if(typeof n=="number"){let a=`${String(e)}[\\=${n}]`;if(a in this.labels||a in this.defaultLabels)return a}return e}formatValue(e,r){return e instanceof Date?this.formatDate(e,r):e??""}formatDate(e,r){let n=a=>r?.includes("date")?e.toLocaleDateString(a):r?.includes("time")?e.toLocaleTimeString(a):e.toLocaleString(a);try{return n(document.documentElement.lang)}catch{return n()}}};var fn={};U(fn,{FtCommandQueue:()=>Wt,FtLitElementRedux:()=>ue,FtReduxStore:()=>Se,clearAllStores:()=>au,isFtReduxStore:()=>Ye,redux:()=>qe,reduxEventListener:()=>Ol,reduxReactive:()=>Sl});var Sl=()=>(t,e)=>{var r;let n=t.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(r=n.reduxReactiveProperties)===null||r===void 0||r.add(e)},qe=t=>{let e=t??{};return(r,n)=>{var a;let i={hasChanged:(l,c)=>!X(l,c),attribute:!1,...e};T(i)(r,n);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(a=e.selector)!==null&&a!==void 0?a:l=>l[n],store:e.store})}},Ol=t=>(e,r)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(r,t)};var Wt=class{constructor(){this.queue=[]}add(e,r=!1){r&&(this.queue=this.queue.filter(n=>n.type!==e.type)),this.queue.push(e)}consume(e){let r=this.queue.find(n=>n.type===e);return r&&(this.queue=this.queue.filter(n=>n!==r)),r}};function Ye(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var bi,xi,vi,Cr=Symbol("internalReduxEventsUnsubscribers"),Ie=Symbol("internalStoresUnsubscribers"),Je=Symbol("internalStores"),ue=class extends le{constructor(){super(...arguments),this[bi]=new Map,this[xi]=new Map,this[vi]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(r=>e.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[Je].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Je].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[Je].get(e)}addStore(e,r){var n;r=(n=r??(Ye(e)?e.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(r),this.setupStore(r,e)}removeStore(e){let r=typeof e=="string"?e:e.name;this.unsubscribeFromStore(r),this[Je].delete(r)}setupStore(e,r){this[Je].set(e,r),this.subscribeToStore(e,r),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Je].forEach((e,r)=>this.subscribeToStore(r,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,r)=>{let n=this.constructor.getPropertyOptions(r);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:r)){let a=this.getStore(e.store);a&&(e.store?this[Ie].has(e.store):this[Ie].size>0)&&(this[r]=e.selector(a.getState(),this))}})}subscribeToStore(e,r){var n;this[Ie].set(e,r.subscribe(()=>this.updateFromStores())),Ye(r)&&r.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((a,i)=>{if(typeof this[i]=="function"&&(!a.store||r.name===a.store)){let s=l=>this[i](l);r.eventBus.addEventListener(a.eventName,s),this[Cr].push(()=>r.eventBus.removeEventListener(a.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[Ie].forEach((e,r)=>this.unsubscribeFromStore(r)),this[Cr].forEach(e=>e()),this[Cr]=[]}unsubscribeFromStore(e){this[Ie].has(e)&&this[Ie].get(e)(),this[Ie].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};bi=Ie,xi=Je,vi=Cr;ue.reduxProperties=new Map;ue.reduxReactiveProperties=new Set;ue.reduxEventListeners=new Map;function Q(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];if(0)var a,i;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 ve(t){return!!t&&!!t[M]}function oe(t){var e;return!!t&&(function(r){if(!r||typeof r!="object")return!1;var n=Object.getPrototypeOf(r);if(n===null)return!0;var a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===Pl}(t)||Array.isArray(t)||!!t[Ni]||!!(!((e=t.constructor)===null||e===void 0)&&e[Ni])||Zo(t)||qo(t))}function Xe(t,e,r){r===void 0&&(r=!1),dt(t)===0?(r?Object.keys:ut)(t).forEach(function(n){r&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,a){return e(a,n,t)})}function dt(t){var e=t[M];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Zo(t)?2:qo(t)?3:0}function lt(t,e){return dt(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function wl(t,e){return dt(t)===2?t.get(e):t[e]}function Ri(t,e,r){var n=dt(t);n===2?t.set(e,r):n===3?t.add(r):t[e]=r}function Ii(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function Zo(t){return Rl&&t instanceof Map}function qo(t){return Il&&t instanceof Set}function Pe(t){return t.o||t.t}function Yo(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Ti(t);delete e[M];for(var r=ut(e),n=0;n<r.length;n++){var a=r[n],i=e[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(e[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:t[a]})}return Object.create(Object.getPrototypeOf(t),e)}function Jo(t,e){return e===void 0&&(e=!1),Xo(t)||ve(t)||!oe(t)||(dt(t)>1&&(t.set=t.add=t.clear=t.delete=El),Object.freeze(t),e&&Xe(t,function(r,n){return Jo(n,!0)},!0)),t}function El(){Q(2)}function Xo(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function de(t){var e=Go[t];return e||Q(18,t),e}function Cl(t,e){Go[t]||(Go[t]=e)}function jo(){return zt}function Bo(t,e){e&&(de("Patches"),t.u=[],t.s=[],t.v=e)}function Ar(t){Ko(t),t.p.forEach(Al),t.p=null}function Ko(t){t===zt&&(zt=t.l)}function Si(t){return zt={p:[],l:zt,h:t,m:!0,_:0}}function Al(t){var e=t[M];e.i===0||e.i===1?e.j():e.g=!0}function Wo(t,e){e._=e.p.length;var r=e.p[0],n=t!==void 0&&t!==r;return e.h.O||de("ES5").S(e,t,n),n?(r[M].P&&(Ar(e),Q(4)),oe(t)&&(t=Nr(e,t),e.l||Rr(e,t)),e.u&&de("Patches").M(r[M].t,t,e.u,e.s)):t=Nr(e,r,[]),Ar(e),e.u&&e.v(e.u,e.s),t!==_i?t:void 0}function Nr(t,e,r){if(Xo(e))return e;var n=e[M];if(!n)return Xe(e,function(l,c){return Oi(t,n,e,l,c,r)},!0),e;if(n.A!==t)return e;if(!n.P)return Rr(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=Yo(n.k):n.o,i=a,s=!1;n.i===3&&(i=new Set(a),a.clear(),s=!0),Xe(i,function(l,c){return Oi(t,n,a,l,c,r,s)}),Rr(t,a,!1),r&&t.u&&de("Patches").N(n,r,t.u,t.s)}return n.o}function Oi(t,e,r,n,a,i,s){if(ve(a)){var l=Nr(t,a,i&&e&&e.i!==3&&!lt(e.R,n)?i.concat(n):void 0);if(Ri(r,n,l),!ve(l))return;t.m=!1}else s&&r.add(a);if(oe(a)&&!Xo(a)){if(!t.h.D&&t._<1)return;Nr(t,a),e&&e.A.l||Rr(t,a)}}function Rr(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&Jo(e,r)}function Ho(t,e){var r=t[M];return(r?Pe(r):t)[e]}function wi(t,e){if(e in t)for(var r=Object.getPrototypeOf(t);r;){var n=Object.getOwnPropertyDescriptor(r,e);if(n)return n;r=Object.getPrototypeOf(r)}}function _e(t){t.P||(t.P=!0,t.l&&_e(t.l))}function zo(t){t.o||(t.o=Yo(t.t))}function Vo(t,e,r){var n=Zo(e)?de("MapSet").F(e,r):qo(e)?de("MapSet").T(e,r):t.O?function(a,i){var s=Array.isArray(a),l={i:s?1:0,A:i?i.A:jo(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},c=l,d=jt;s&&(c=[l],d=Ht);var p=Proxy.revocable(c,d),h=p.revoke,g=p.proxy;return l.k=g,l.j=h,g}(e,r):de("ES5").J(e,r);return(r?r.A:jo()).p.push(n),n}function Nl(t){return ve(t)||Q(22,t),function e(r){if(!oe(r))return r;var n,a=r[M],i=dt(r);if(a){if(!a.P&&(a.i<4||!de("ES5").K(a)))return a.t;a.I=!0,n=Ei(r,i),a.I=!1}else n=Ei(r,i);return Xe(n,function(s,l){a&&wl(a.t,s)===l||Ri(n,s,e(l))}),i===3?new Set(n):n}(t)}function Ei(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Yo(t)}function Pi(){function t(s,l){var c=i[s];return c?c.enumerable=l:i[s]=c={configurable:!0,enumerable:l,get:function(){var d=this[M];return jt.get(d,s)},set:function(d){var p=this[M];jt.set(p,s,d)}},c}function e(s){for(var l=s.length-1;l>=0;l--){var c=s[l][M];if(!c.P)switch(c.i){case 5:n(c)&&_e(c);break;case 4:r(c)&&_e(c)}}}function r(s){for(var l=s.t,c=s.k,d=ut(c),p=d.length-1;p>=0;p--){var h=d[p];if(h!==M){var g=l[h];if(g===void 0&&!lt(l,h))return!0;var y=c[h],b=y&&y[M];if(b?b.t!==g:!Ii(y,g))return!0}}var O=!!l[M];return d.length!==ut(l).length+(O?0:1)}function n(s){var l=s.k;if(l.length!==s.t.length)return!0;var c=Object.getOwnPropertyDescriptor(l,l.length-1);if(c&&!c.get)return!0;for(var d=0;d<l.length;d++)if(!l.hasOwnProperty(d))return!0;return!1}function a(s){s.g&&Q(3,JSON.stringify(Pe(s)))}var i={};Cl("ES5",{J:function(s,l){var c=Array.isArray(s),d=function(h,g){if(h){for(var y=Array(g.length),b=0;b<g.length;b++)Object.defineProperty(y,""+b,t(b,!0));return y}var O=Ti(g);delete O[M];for(var C=ut(O),A=0;A<C.length;A++){var N=C[A];O[N]=t(N,h||!!O[N].enumerable)}return Object.create(Object.getPrototypeOf(g),O)}(c,s),p={i:c?5:4,A:l?l.A:jo(),P:!1,I:!1,R:{},l,t:s,k:d,o:null,g:!1,C:!1};return Object.defineProperty(d,M,{value:p,writable:!0}),d},S:function(s,l,c){c?ve(l)&&l[M].A===s&&e(s.p):(s.u&&function d(p){if(p&&typeof p=="object"){var h=p[M];if(h){var g=h.t,y=h.k,b=h.R,O=h.i;if(O===4)Xe(y,function(v){v!==M&&(g[v]!==void 0||lt(g,v)?b[v]||d(y[v]):(b[v]=!0,_e(h)))}),Xe(g,function(v){y[v]!==void 0||lt(y,v)||(b[v]=!1,_e(h))});else if(O===5){if(n(h)&&(_e(h),b.length=!0),y.length<g.length)for(var C=y.length;C<g.length;C++)b[C]=!1;else for(var A=g.length;A<y.length;A++)b[A]=!0;for(var N=Math.min(y.length,g.length),S=0;S<N;S++)y.hasOwnProperty(S)||(b[S]=!0),b[S]===void 0&&d(y[S])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?r(s):n(s)}})}var Ci,zt,Qo=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Rl=typeof Map<"u",Il=typeof Set<"u",Ai=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",_i=Qo?Symbol.for("immer-nothing"):((Ci={})["immer-nothing"]=!0,Ci),Ni=Qo?Symbol.for("immer-draftable"):"__$immer_draftable",M=Qo?Symbol.for("immer-state"):"__$immer_state";var Pl=""+Object.prototype.constructor,ut=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Ti=Object.getOwnPropertyDescriptors||function(t){var e={};return ut(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},Go={},jt={get:function(t,e){if(e===M)return t;var r=Pe(t);if(!lt(r,e))return function(a,i,s){var l,c=wi(i,s);return c?"value"in c?c.value:(l=c.get)===null||l===void 0?void 0:l.call(a.k):void 0}(t,r,e);var n=r[e];return t.I||!oe(n)?n:n===Ho(t.t,e)?(zo(t),t.o[e]=Vo(t.A.h,n,t)):n},has:function(t,e){return e in Pe(t)},ownKeys:function(t){return Reflect.ownKeys(Pe(t))},set:function(t,e,r){var n=wi(Pe(t),e);if(n?.set)return n.set.call(t.k,r),!0;if(!t.P){var a=Ho(Pe(t),e),i=a?.[M];if(i&&i.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(Ii(r,a)&&(r!==void 0||lt(t.t,e)))return!0;zo(t),_e(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 Ho(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,zo(t),_e(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=Pe(t),n=Reflect.getOwnPropertyDescriptor(r,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:r[e]}},defineProperty:function(){Q(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Q(12)}},Ht={};Xe(jt,function(t,e){Ht[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),Ht.deleteProperty=function(t,e){return Ht.set.call(this,t,e,void 0)},Ht.set=function(t,e,r){return jt.set.call(this,t[0],e,r,t[0])};var _l=function(){function t(r){var n=this;this.O=Ai,this.D=!0,this.produce=function(a,i,s){if(typeof a=="function"&&typeof i!="function"){var l=i;i=a;var c=n;return function(O){var C=this;O===void 0&&(O=l);for(var A=arguments.length,N=Array(A>1?A-1:0),S=1;S<A;S++)N[S-1]=arguments[S];return c.produce(O,function(v){var w;return(w=i).call.apply(w,[C,v].concat(N))})}}var d;if(typeof i!="function"&&Q(6),s!==void 0&&typeof s!="function"&&Q(7),oe(a)){var p=Si(n),h=Vo(n,a,void 0),g=!0;try{d=i(h),g=!1}finally{g?Ar(p):Ko(p)}return typeof Promise<"u"&&d instanceof Promise?d.then(function(O){return Bo(p,s),Wo(O,p)},function(O){throw Ar(p),O}):(Bo(p,s),Wo(d,p))}if(!a||typeof a!="object"){if((d=i(a))===void 0&&(d=a),d===_i&&(d=void 0),n.D&&Jo(d,!0),s){var y=[],b=[];de("Patches").M(a,d,y,b),s(y,b)}return d}Q(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(d){for(var p=arguments.length,h=Array(p>1?p-1:0),g=1;g<p;g++)h[g-1]=arguments[g];return n.produceWithPatches(d,function(y){return a.apply(void 0,[y].concat(h))})};var s,l,c=n.produce(a,i,function(d,p){s=d,l=p});return typeof Promise<"u"&&c instanceof Promise?c.then(function(d){return[d,s,l]}):[c,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){oe(r)||Q(8),ve(r)&&(r=Nl(r));var n=Si(this),a=Vo(this,r,void 0);return a[M].C=!0,Ko(n),a},e.finishDraft=function(r,n){var a=r&&r[M],i=a.A;return Bo(i,n),Wo(void 0,i)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!Ai&&Q(20),this.O=r},e.applyPatches=function(r,n){var a;for(a=n.length-1;a>=0;a--){var i=n[a];if(i.path.length===0&&i.op==="replace"){r=i.value;break}}a>-1&&(n=n.slice(a+1));var s=de("Patches").$;return ve(r)?s(r,n):this.produce(r,function(l){return s(l,n)})},t}(),J=new _l,Tl=J.produce,dm=J.produceWithPatches.bind(J),fm=J.setAutoFreeze.bind(J),pm=J.setUseProxies.bind(J),hm=J.applyPatches.bind(J),mm=J.createDraft.bind(J),gm=J.finishDraft.bind(J),Ir=Tl;function Te(t){"@babel/helpers - typeof";return Te=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},Te(t)}function en(t,e){if(Te(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(Te(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function tn(t){var e=en(t,"string");return Te(e)==="symbol"?e:String(e)}function rn(t,e,r){return e=tn(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Li(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),r.push.apply(r,n)}return r}function Pr(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Li(Object(r),!0).forEach(function(n){rn(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Li(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function K(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 ki=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),on=function(){return Math.random().toString(36).substring(7).split("").join(".")},_r={INIT:"@@redux/INIT"+on(),REPLACE:"@@redux/REPLACE"+on(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+on()}};function Ll(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 nn(t,e,r){var n;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(K(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(K(1));return r(nn)(t,e)}if(typeof t!="function")throw new Error(K(2));var a=t,i=e,s=[],l=s,c=!1;function d(){l===s&&(l=s.slice())}function p(){if(c)throw new Error(K(3));return i}function h(O){if(typeof O!="function")throw new Error(K(4));if(c)throw new Error(K(5));var C=!0;return d(),l.push(O),function(){if(C){if(c)throw new Error(K(6));C=!1,d();var N=l.indexOf(O);l.splice(N,1),s=null}}}function g(O){if(!Ll(O))throw new Error(K(7));if(typeof O.type>"u")throw new Error(K(8));if(c)throw new Error(K(9));try{c=!0,i=a(i,O)}finally{c=!1}for(var C=s=l,A=0;A<C.length;A++){var N=C[A];N()}return O}function y(O){if(typeof O!="function")throw new Error(K(10));a=O,g({type:_r.REPLACE})}function b(){var O,C=h;return O={subscribe:function(N){if(typeof N!="object"||N===null)throw new Error(K(11));function S(){N.next&&N.next(p())}S();var v=C(S);return{unsubscribe:v}}},O[ki]=function(){return this},O}return g({type:_r.INIT}),n={dispatch:g,subscribe:h,getState:p,replaceReducer:y},n[ki]=b,n}function kl(t){Object.keys(t).forEach(function(e){var r=t[e],n=r(void 0,{type:_r.INIT});if(typeof n>"u")throw new Error(K(12));if(typeof r(void 0,{type:_r.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(K(13))})}function Ui(t){for(var e=Object.keys(t),r={},n=0;n<e.length;n++){var a=e[n];typeof t[a]=="function"&&(r[a]=t[a])}var i=Object.keys(r),s,l;try{kl(r)}catch(c){l=c}return function(d,p){if(d===void 0&&(d={}),l)throw l;if(0)var h;for(var g=!1,y={},b=0;b<i.length;b++){var O=i[b],C=r[O],A=d[O],N=C(A,p);if(typeof N>"u"){var S=p&&p.type;throw new Error(K(14))}y[O]=N,g=g||N!==A}return g=g||i.length!==Object.keys(d).length,g?y:d}}function ft(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.length===0?function(n){return n}:e.length===1?e[0]:e.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function Mi(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(n){return function(){var a=n.apply(void 0,arguments),i=function(){throw new Error(K(15))},s={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},l=e.map(function(c){return c(s)});return i=ft.apply(void 0,l)(a.dispatch),Pr(Pr({},a),{},{dispatch:i})}}}function Di(t){var e=function(n){var a=n.dispatch,i=n.getState;return function(s){return function(l){return typeof l=="function"?l(a,i,t):s(l)}}};return e}var $i=Di();$i.withExtraArgument=Di;var an=$i;var zi=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},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 n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),Ul=function(t,e){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(d){return function(p){return c([d,p])}}function c(d){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,a&&(i=d[0]&2?a.return:d[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,d[1])).done)return i;switch(a=0,i&&(d=[d[0]&2,i.value]),d[0]){case 0:case 1:i=d;break;case 4:return r.label++,{value:d[1],done:!1};case 5:r.label++,a=d[1],d=[0];continue;case 7:d=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(d[0]===6||d[0]===2)){r=0;continue}if(d[0]===3&&(!i||d[1]>i[0]&&d[1]<i[3])){r.label=d[1];break}if(d[0]===6&&r.label<i[1]){r.label=i[1],i=d;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(d);break}i[2]&&r.ops.pop(),r.trys.pop();continue}d=e.call(t,r)}catch(p){d=[6,p],a=0}finally{n=i=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}},pt=function(t,e){for(var r=0,n=e.length,a=t.length;r<n;r++,a++)t[a]=e[r];return t},Ml=Object.defineProperty,Dl=Object.defineProperties,$l=Object.getOwnPropertyDescriptors,Fi=Object.getOwnPropertySymbols,Fl=Object.prototype.hasOwnProperty,Bl=Object.prototype.propertyIsEnumerable,Bi=function(t,e,r){return e in t?Ml(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},Le=function(t,e){for(var r in e||(e={}))Fl.call(e,r)&&Bi(t,r,e[r]);if(Fi)for(var n=0,a=Fi(e);n<a.length;n++){var r=a[n];Bl.call(e,r)&&Bi(t,r,e[r])}return t},sn=function(t,e){return Dl(t,$l(e))},Wl=function(t,e,r){return new Promise(function(n,a){var i=function(c){try{l(r.next(c))}catch(d){a(d)}},s=function(c){try{l(r.throw(c))}catch(d){a(d)}},l=function(c){return c.done?n(c.value):Promise.resolve(c.value).then(i,s)};l((r=r.apply(t,e)).next())})};var Hl=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?ft:ft.apply(null,arguments)},km=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function zl(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 jl=function(t){zi(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var a=t.apply(this,r)||this;return Object.setPrototypeOf(a,e.prototype),a}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,pt([void 0],r[0].concat(this)))):new(e.bind.apply(e,pt([void 0],r.concat(this))))},e}(Array),Kl=function(t){zi(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var a=t.apply(this,r)||this;return Object.setPrototypeOf(a,e.prototype),a}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,pt([void 0],r[0].concat(this)))):new(e.bind.apply(e,pt([void 0],r.concat(this))))},e}(Array);function un(t){return oe(t)?Ir(t,function(){}):t}function Vl(t){return typeof t=="boolean"}function Gl(){return function(e){return Zl(e)}}function Zl(t){t===void 0&&(t={});var e=t.thunk,r=e===void 0?!0:e,n=t.immutableCheck,a=n===void 0?!0:n,i=t.serializableCheck,s=i===void 0?!0:i,l=new jl;if(r&&(Vl(r)?l.push(an):l.push(an.withExtraArgument(r.extraArgument))),0){if(a)var c;if(s)var d}return l}var cn=!0;function ji(t){var e=Gl(),r=t||{},n=r.reducer,a=n===void 0?void 0:n,i=r.middleware,s=i===void 0?e():i,l=r.devTools,c=l===void 0?!0:l,d=r.preloadedState,p=d===void 0?void 0:d,h=r.enhancers,g=h===void 0?void 0:h,y;if(typeof a=="function")y=a;else if(zl(a))y=Ui(a);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 b=s;if(typeof b=="function"&&(b=b(e),!cn&&!Array.isArray(b)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!cn&&b.some(function(v){return typeof v!="function"}))throw new Error("each middleware provided to configureStore must be a function");var O=Mi.apply(void 0,b),C=ft;c&&(C=Hl(Le({trace:!cn},typeof c=="object"&&c)));var A=new Kl(O),N=A;Array.isArray(g)?N=pt([O],g):typeof g=="function"&&(N=g(A));var S=C.apply(void 0,N);return nn(y,p,S)}function ke(t,e){function r(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(e){var i=e.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return Le(Le({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:n[0]}}return r.toString=function(){return""+t},r.type=t,r.match=function(n){return n.type===t},r}function Ki(t){var e={},r=[],n,a={addCase:function(i,s){var l=typeof i=="string"?i:i.type;if(l in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[l]=s,a},addMatcher:function(i,s){return r.push({matcher:i,reducer:s}),a},addDefaultCase:function(i){return n=i,a}};return t(a),[e,r,n]}function ql(t){return typeof t=="function"}function Yl(t,e,r,n){r===void 0&&(r=[]);var a=typeof e=="function"?Ki(e):[e,r,n],i=a[0],s=a[1],l=a[2],c;if(ql(t))c=function(){return un(t())};else{var d=un(t);c=function(){return d}}function p(h,g){h===void 0&&(h=c());var y=pt([i[g.type]],s.filter(function(b){var O=b.matcher;return O(g)}).map(function(b){var O=b.reducer;return O}));return y.filter(function(b){return!!b}).length===0&&(y=[l]),y.reduce(function(b,O){if(O)if(ve(b)){var C=b,A=O(C,g);return A===void 0?b:A}else{if(oe(b))return Ir(b,function(N){return O(N,g)});var A=O(b,g);if(A===void 0){if(b===null)return b;throw Error("A case reducer on a non-draftable value must not return undefined")}return A}return b},h)}return p.getInitialState=c,p}function Jl(t,e){return t+"/"+e}function Vi(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:un(t.initialState),n=t.reducers||{},a=Object.keys(n),i={},s={},l={};a.forEach(function(p){var h=n[p],g=Jl(e,p),y,b;"reducer"in h?(y=h.reducer,b=h.prepare):y=h,i[p]=y,s[g]=y,l[p]=b?ke(g,b):ke(g)});function c(){var p=typeof t.extraReducers=="function"?Ki(t.extraReducers):[t.extraReducers],h=p[0],g=h===void 0?{}:h,y=p[1],b=y===void 0?[]:y,O=p[2],C=O===void 0?void 0:O,A=Le(Le({},g),s);return Yl(r,function(N){for(var S in A)N.addCase(S,A[S]);for(var v=0,w=b;v<w.length;v++){var R=w[v];N.addMatcher(R.matcher,R.reducer)}C&&N.addDefaultCase(C)})}var d;return{name:e,reducer:function(p,h){return d||(d=c()),d(p,h)},actions:l,caseReducers:i,getInitialState:function(){return d||(d=c()),d.getInitialState()}}}var Xl="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Ql=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=Xl[Math.random()*64|0];return e},eu=["name","message","stack","code"],ln=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),Wi=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),tu=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,n=eu;r<n.length;r++){var a=n[r];typeof t[a]=="string"&&(e[a]=t[a])}return e}return{message:String(t)}},$m=function(){function t(e,r,n){var a=ke(e+"/fulfilled",function(p,h,g,y){return{payload:p,meta:sn(Le({},y||{}),{arg:g,requestId:h,requestStatus:"fulfilled"})}}),i=ke(e+"/pending",function(p,h,g){return{payload:void 0,meta:sn(Le({},g||{}),{arg:h,requestId:p,requestStatus:"pending"})}}),s=ke(e+"/rejected",function(p,h,g,y,b){return{payload:y,error:(n&&n.serializeError||tu)(p||"Rejected"),meta:sn(Le({},b||{}),{arg:g,requestId:h,rejectedWithValue:!!y,requestStatus:"rejected",aborted:p?.name==="AbortError",condition:p?.name==="ConditionError"})}}),l=!1,c=typeof AbortController<"u"?AbortController:function(){function p(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return p.prototype.abort=function(){},p}();function d(p){return function(h,g,y){var b=n?.idGenerator?n.idGenerator(p):Ql(),O=new c,C,A=!1;function N(v){C=v,O.abort()}var S=function(){return Wl(this,null,function(){var v,w,R,I,j,L,m;return Ul(this,function(x){switch(x.label){case 0:return x.trys.push([0,4,,5]),I=(v=n?.condition)==null?void 0:v.call(n,p,{getState:g,extra:y}),ou(I)?[4,I]:[3,2];case 1:I=x.sent(),x.label=2;case 2:if(I===!1||O.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return A=!0,j=new Promise(function(E,_){return O.signal.addEventListener("abort",function(){return _({name:"AbortError",message:C||"Aborted"})})}),h(i(b,p,(w=n?.getPendingMeta)==null?void 0:w.call(n,{requestId:b,arg:p},{getState:g,extra:y}))),[4,Promise.race([j,Promise.resolve(r(p,{dispatch:h,getState:g,extra:y,requestId:b,signal:O.signal,abort:N,rejectWithValue:function(E,_){return new ln(E,_)},fulfillWithValue:function(E,_){return new Wi(E,_)}})).then(function(E){if(E instanceof ln)throw E;return E instanceof Wi?a(E.payload,b,p,E.meta):a(E,b,p)})])];case 3:return R=x.sent(),[3,5];case 4:return L=x.sent(),R=L instanceof ln?s(null,b,p,L.payload,L.meta):s(L,b,p),[3,5];case 5:return m=n&&!n.dispatchConditionRejection&&s.match(R)&&R.meta.condition,m||h(R),[2,R]}})})}();return Object.assign(S,{abort:N,requestId:b,arg:p,unwrap:function(){return S.then(ru)}})}}return Object.assign(d,{pending:i,rejected:s,fulfilled:a,typePrefix:e})}return t.withTypes=function(){return t},t}();function ru(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function ou(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var Gi="listener",Zi="completed",qi="cancelled",Fm="task-"+qi,Bm="task-"+Zi,Wm=Gi+"-"+qi,Hm=Gi+"-"+Zi;var dn="listenerMiddleware";var zm=ke(dn+"/add"),jm=ke(dn+"/removeAll"),Km=ke(dn+"/remove");var Hi,Vm=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(Hi||(Hi=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},nu=function(t){return function(e){setTimeout(e,t)}},Gm=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:nu(10);Pi();window.ftReduxStores||(window.ftReduxStores={});var Se=class t{static get(e){var r;let n=typeof e=="string"?e:e.name,a=typeof e=="string"?void 0:e,i=window.ftReduxStores[n];if(Ye(i))return i;if(a==null)return;let s=Vi({...a,reducers:(r=a.reducers)!==null&&r!==void 0?r:{}}),l=ji({reducer:(c,d)=>d.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof d.type=="string"&&d.type.startsWith("DEFAULT_VALUE_SETTER__")?{...c,...d.overwrites}:s.reducer(c,d)});return window.ftReduxStores[a.name]=new t(s,l)}constructor(e,r){this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Wt,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,a,i)=>{let s=a,l=n[s];return l?(...c)=>{let d=l(...c);return this.reduxStore.dispatch(d),d}:c=>{this.setState({[s]:c})}}})}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 au(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))Ye(e)&&e.clear()}var pn={};U(pn,{serializeRequest:()=>su});function iu(t){return`"${t}"`}function su(t,e){var r,n,a,i;let s=new URLSearchParams({"content-lang":(r=e.contentLocale)!==null&&r!==void 0?r:"all"});if(((n=e.query)===null||n===void 0?void 0:n.length)>0&&s.append("query",e.query),e.scope&&e.scope!=="DEFAULT"&&s.append("scope",e.scope.toLowerCase()),e.virtualField&&s.append("virtual-field",e.virtualField.toLowerCase()),e.periodFilter){let c=e.periodFilter.period,d=c?`_${c.from}_${c.to}`:"";s.append("period",e.periodFilter.periodType.toLowerCase()+d)}if(((a=e.sort)===null||a===void 0?void 0:a.length)>0&&e.sort[0].key==="ft:lastEdition"&&s.append("sort","last_update"),((i=e.filters)===null||i===void 0?void 0:i.length)>0){let c=e.filters.map(d=>{let p=d.values.map(h=>h.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*")).map(h=>encodeURIComponent(iu(h))).join("_");return`${d.key}~${p}`}).join("*");s.append("filters",c)}return new URL(`${t.replace(/\/+$/,"")}/search?${s.toString()}`).href}var hn={};U(hn,{toFtFormComponent:()=>cu});var Tr=Symbol("elementInternals");function cu(t,e){class r extends t{static get formAssociated(){return!0}get form(){return this[Tr].form}constructor(...a){super(a),this[Tr]=this.attachInternals(),this[Tr].role=e}setFormValue(a){this[Tr].setFormValue(a)}}return r}var mn,gn,yn,bn,lu=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((yn=(gn=(mn=window.safari)===null||mn===void 0?void 0:mn.pushNotification)===null||gn===void 0?void 0:gn.toString())!==null&&yn!==void 0?yn:"")==="[object SafariRemoteNotification]",uu="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(bn=window.ftGlobals)!==null&&bn!==void 0?bn:{lit:Qr,litDecorators:to,litRepeat:ro,litClassMap:oo,litStyleMap:no,litUnsafeHTML:ao,wcUtils:{...so,...io,...lo,...uo,...po,...mo,...xo,...Po,...ho,...Lo,...mi,...fo,...Do,...$o,...yi,...Fo,...fn,..._o,...pn,...hn,isSafari:lu,isTouchScreen:uu}};var Rg={},Yi=W`
|
|
43
|
+
`;var du={setRequest:(t,e)=>{t.request=e.payload},setRequestQuery:(t,e)=>{t.request.query=e.payload},setRequestContentLocale:(t,e)=>{t.request.contentLocale=e.payload},setPageSize:(t,e)=>{t.request.paging.perPage=e.payload},setPageNumber:(t,e)=>{t.request.paging.page=e.payload},setRequestSort:(t,e)=>{t.request.sort=e.payload},setRequestFilters:(t,e)=>{t.request.filters=e.payload},setRequestFacets:(t,e)=>{t.request.facets=e.payload},setRequestVirtualField:(t,e)=>{t.request.virtualField=e.payload},setRequestScope:(t,e)=>{t.request.scope=e.payload},setRequestClusterSortCriterion:(t,e)=>{t.request.clusterSortCriterions=e.payload},setResults:(t,e)=>{t.results=e.payload},setFacets:(t,e)=>{t.facets=e.payload},setSpellcheck:(t,e)=>{t.spellcheck=e.payload},setLocales:(t,e)=>{t.locales=e.payload},setPaging:(t,e)=>{t.paging=e.payload},setLiveQuery:(t,e)=>{t.liveQuery=e.payload},setSuggestResults:(t,e)=>{t.suggestResults=e.payload},setRequestPeriodFilter:(t,e)=>{t.request.periodFilter=e.payload}},Ji=t=>Se.get({name:"ft-search-"+t,initialState:{request:{query:"",filters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:""},reducers:du});var Wg=Rs(Qi(),1);var es;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(es||(es={}));var ts;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(ts||(ts={}));var rs;(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"})(rs||(rs={}));var os;(function(t){t.HOMEPAGE="HOMEPAGE",t.CUSTOM="CUSTOM",t.READER="READER",t.TOPIC_TEMPLATE="TOPIC_TEMPLATE",t.SEARCH="SEARCH",t.SEARCH_RESULT="SEARCH_RESULT"})(os||(os={}));var ns;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(ns||(ns={}));var as;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(as||(as={}));var is;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(is||(is={}));var ss;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(ss||(ss={}));var cs;(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"})(cs||(cs={}));var ls;(function(t){t.ASC="ASC",t.DESC="DESC"})(ls||(ls={}));var us;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(us||(us={}));var ht;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(ht||(ht={}));var ds;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})(ds||(ds={}));var fs;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(fs||(fs={}));var ps;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(ps||(ps={}));var hs;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(hs||(hs={}));var mt;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"})(mt||(mt={}));var z;(function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"})(z||(z={}));var ms;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(ms||(ms={}));var Dg={[z.PERSONAL_BOOK_SHARE_USER]:[z.PERSONAL_BOOK_USER],[z.HTML_EXPORT_USER]:[z.PERSONAL_BOOK_USER],[z.PDF_EXPORT_USER]:[z.PERSONAL_BOOK_USER],[z.KHUB_ADMIN]:[z.CONTENT_PUBLISHER],[z.ADMIN]:[z.KHUB_ADMIN,z.USERS_ADMIN,z.PORTAL_ADMIN],[z.DEVELOPER]:[z.BETA_USER,z.DEBUG_USER]};var gs=W`
|
|
44
|
+
`;var fu="ft-app-info",pu={},P=Se.get({name:fu,reducers:pu,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}});var Qe=class t{static get(e){let{baseUrl:r,apiIntegrationIdentifier:n}=P.getState(),a=e??n;if(r&&a&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,a,!0)}static await(e){return new Promise(r=>{let n=t.get(e);if(n)r(n);else{let a=P.subscribe(()=>{n=t.get(e),n&&(a(),r(n))})}})}};var fe=class{constructor(e=!0,r){var n;this.overrideApi=r;let a=this.constructor;a.commonCache=(n=a.commonCache)!==null&&n!==void 0?n:new ie,this.cache=e?a.commonCache:new ie}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:Qe.get()}get awaitApi(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:Qe.await()}clearCache(){this.cache.clearAll()}};var ys,hu=Symbol("clearAfterUnitTest"),Lr=class extends fe{constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[ys]=()=>{this.defaultMessages={},this.cache=new ie,this.listeners={}},this.currentUiLocale=P.getState().uiLocale,P.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=P.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let r=e.name.toLowerCase();this.cache.setFinal(r,e),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,r){var n;if(e=e.toLowerCase(),Object.keys(r).length>0){let a={...(n=this.defaultMessages[e])!==null&&n!==void 0?n:{},...r};X(this.defaultMessages[e],a)||(this.defaultMessages[e]=a,await this.notify(e))}await this.fetchContext(e)}resolveMessage(e,r,...n){var a,i,s;e=e.toLowerCase(),this.fetchContext(e);let l=(i=(a=this.cache.getNow(e))===null||a===void 0?void 0:a.messages)!==null&&i!==void 0?i:{};return new Bt((s=this.defaultMessages[e])!==null&&s!==void 0?s:{},l).resolve(r,...n)}async fetchContext(e){if(!this.cache.has(e))try{await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),await this.notify(e)}catch(r){console.error(r)}}subscribe(e,r){var n;return e=e.toLowerCase(),this.listeners[e]=(n=this.listeners[e])!==null&&n!==void 0?n:new Set,this.listeners[e].add(r),()=>{var a;return(a=this.listeners[e])===null||a===void 0?void 0:a.delete(r)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(e=>this.notify(e)))}async notify(e){this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(r=>yr(0).then(()=>r()).catch(()=>null)))}};ys=hu;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Lr{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Lr{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});var bs=window.FluidTopicsI18nService,iy=window.FluidTopicsCustomI18nService;var V=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},F=class extends le{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>Qe.get(),this.messageContexts=[],this.cache=new ie,this.cleanSessionDebouncer=new se}render(){return _t`
|
|
45
|
+
<slot></slot>
|
|
46
|
+
`}update(e){super.update(e),e.has("baseUrl")&&(P.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&P.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&P.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&P.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&P.actions.noCustom(this.noCustom),e.has("editorMode")&&P.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&P.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&P.actions.session(this.session),e.has("availableUiLocales")&&P.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(r=>bs.addContext(r)),e.has("openExternalDocumentInNewTab")&&P.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&P.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&P.actions.forcedOffline(this.forcedOffline),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(this.session==null&&this.updateSession(),this.availableUiLocales==null&&this.updateUiLocales(),this.metadataConfiguration==null&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let e=await this.apiProvider().getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},e.idleTimeoutInMillis),e})}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",()=>this.apiProvider().getAvailableUiLocales())}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}};F.elementDefinitions={};F.styles=gs;V([T()],F.prototype,"baseUrl",void 0);V([T()],F.prototype,"apiIntegrationIdentifier",void 0);V([T()],F.prototype,"uiLocale",void 0);V([te(null)],F.prototype,"availableUiLocales",void 0);V([te(null)],F.prototype,"metadataConfiguration",void 0);V([T({type:Boolean})],F.prototype,"editorMode",void 0);V([T({type:Boolean})],F.prototype,"noCustom",void 0);V([T({type:Boolean})],F.prototype,"openExternalDocumentInNewTab",void 0);V([T({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],F.prototype,"noCustomComponent",void 0);V([T({type:Boolean})],F.prototype,"withManualResources",void 0);V([T({type:Boolean})],F.prototype,"navigatorOnline",void 0);V([T({type:Boolean})],F.prototype,"forcedOffline",void 0);V([T({type:Object})],F.prototype,"apiProvider",void 0);V([te([])],F.prototype,"messageContexts",void 0);V([te(void 0)],F.prototype,"session",void 0);var kr=class extends fe{async listMySearches(){let e=P.getState().session;return e?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}};var Ur=class extends fe{async listMyBookmarks(){let e=P.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}};var mu="ft-user-assets",Mr=Se.get({name:mu,initialState:{savedSearches:void 0,bookmarks:void 0}}),xn=class{constructor(){this.currentSession=P.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Ur,this.savedSearchesService=new kr,P.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=P.getState();X((e=this.currentSession)===null||e===void 0?void 0:e.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Mr.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Mr.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();Mr.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let r=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;Mr.actions.bookmarks(r)}}},xs=new xn;var vn=class{addCommand(e,r=!1){P.commands.add(e,r)}consumeCommand(e){return P.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new vn;var Sn=class{highlightHtml(e,r){Mo(e,r)}};window.FluidTopicsHighlightHtmlService=new Sn;Tt("ft-app-context")(F);var Dr=class extends fe{constructor(){super(),this.cache.registerFinal("available-locales",()=>this.api.getAvailableSearchLocales())}async launchSearch(e){return this.api.search(e)}async launchSuggest(e){return this.api.getSuggestions(e)}async getAvailableSearchLocales(){return this.cache.get("available-locales")}};var gu=t=>t.request.virtualField===ht.TITLE_ONLY&&t.request.scope===mt.DOCUMENTS,$r=class t extends Event{constructor(){super(t.eventName)}};$r.eventName="search-context-clear-all-filters";var Kt=class t{static build(e,r){return new t(Ji(e.trim()||"context"),r)}constructor(e,r){this.store=e,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.searchDebouncer=new se(100),this.suggestDebouncer=new se(300),this.service=r??new Dr}async initService(){return this.store.actions.setLocales((await this.service.getAvailableSearchLocales()).contentLocales),this.launchSearch()}setQuery(e){this.store.actions.setRequestQuery(e),this.store.actions.setLiveQuery(e),this.store.actions.setPageNumber(1),this.launchSearch()}setContentLocale(e){let r=this.store.getState().locales,n=this.store.getState().request.contentLocale;if(e!=n){if(r){let a=i=>r.some(s=>s.lang==i);a(e)||(e=a(n)?n:r[0].lang)}this.store.actions.setRequestContentLocale(e),this.store.actions.setPageNumber(1),this.store.actions.setRequestFilters([]),this.launchSearch()}return e}setPageSize(e){this.store.actions.setPageSize(e),this.launchSearch()}setPageNumber(e){this.store.actions.setPageNumber(e),this.launchSearch()}setSort(e){this.store.actions.setRequestSort(e),this.store.actions.setPageNumber(1),this.launchSearch()}setFilters(e){let r=e.filter(n=>n.values.length>0);this.store.actions.setRequestFilters(r),this.store.actions.setPageNumber(1),r.forEach(n=>{this.facetIds.includes(n.key)||(this.facetIds=[...this.facetIds,n.key])}),this.launchSearch()}setClusterSortCriterion(e){this.store.actions.setRequestClusterSortCriterion(e),this.launchSearch()}setSearchInDocumentTitlesOnly(e){e?(this.store.actions.setRequestVirtualField(ht.TITLE_ONLY),this.store.actions.setRequestScope(mt.DOCUMENTS)):(this.store.actions.setRequestVirtualField(ht.EVERYWHERE),this.store.actions.setRequestScope(mt.DEFAULT)),this.launchSearch()}get searchInDocumentTitlesOnly(){return gu(this.store.getState())}get periodFilter(){return this.store.getState().request.periodFilter}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new $r)}addFacet(e){this.facetIds=[...this.facetIds,e],this.launchSearch()}replaceFacet(e,r){let n=this.facetIds.filter(a=>a!=e);r&&n.push(r),this.facetIds=n,this.launchSearch()}get facetIds(){return this.store.getState().request.facets.map(e=>e.id)}set facetIds(e){let n=[...new Set(e)].map(a=>({id:a}));this.store.actions.setRequestFacets(n)}setFilter(e,r){let n=this.store.getState().request.filters,a={key:e,values:r,negative:!1},i=[...n.filter(s=>s.key!==e),a];this.setFilters(i)}setLiveQuery(e){this.store.actions.setLiveQuery(e),this.launchSuggest()}setRequest(e){this.store.actions.setRequest(e),this.store.actions.setLiveQuery(e.query),this.store.actions.setPageNumber(1),this.launchSearch()}setScope(e){this.store.actions.setRequestScope(e),this.launchSearch()}setIgnoreEmptyQuery(e){this.ignoreEmptyQuery=e,this.launchSearch()}setOpenExternalDocumentInNewTab(e){this.openExternalDocumentInNewTab=e}setPeriodFilter(e){this.store.actions.setRequestPeriodFilter(e),this.store.actions.setPageNumber(1),this.launchSearch()}launchSearch(){return this.searchDebouncer.run(()=>this.fetchSearchData())}launchSuggest(){return this.suggestDebouncer.run(()=>this.fetchSuggestData())}async fetchSearchData(){var e,r;try{(e=this.cancelableSearch)===null||e===void 0||e.cancel();let n=this.store.getState().request;if(this.store.actions.setPaging(void 0),this.ignoreEmptyQuery&&n.query.length==0)this.store.actions.setResults(void 0),this.store.actions.setFacets(void 0),this.store.actions.setSpellcheck(void 0);else{this.cancelableSearch=at(this.service.launchSearch(n));let a=await this.cancelableSearch;if(a.paging.currentPage<=1)this.store.actions.setResults(a.results),this.store.actions.setFacets(a.facets),this.store.actions.setSpellcheck(a.spellcheck);else{let i=((r=this.store.getState().results)!==null&&r!==void 0?r:[]).concat(a.results);this.store.actions.setResults(i)}this.store.actions.setPaging(a.paging)}}catch(n){!(n instanceof Ae)&&this.errorHandler&&this.errorHandler(n)}}async fetchSuggestData(){var e;try{let r=this.store.getState(),n=r.request,a={input:r.liveQuery,filters:n.filters,sort:n.sort,contentLocale:n.contentLocale,scope:n.scope};(e=this.cancelableSuggest)===null||e===void 0||e.cancel(),this.cancelableSuggest=at(this.service.launchSuggest(a));let i=await this.cancelableSuggest;this.store.actions.setSuggestResults(i.suggestions)}catch(r){!(r instanceof Ae)&&this.errorHandler&&this.errorHandler(r)}}clear(){this.store.clear()}};var yu=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},wn=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},On=Symbol("registerInterval");function bu(t){var e;class r extends t{constructor(){super(...arguments),this[e]=0}setSearchStateManager(a){this.clearStateManager(),this.stateManager=a,this.addStore(a.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[On]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[On]):this.dispatchEvent(new wn)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=On,yu([eo()],r.prototype,"stateManager",void 0),r}var vs=class extends bu(ue){};var G=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,r,i):s(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},En=class extends CustomEvent{constructor(e){super("ft-search-load-error",{detail:e})}},Cn=class extends CustomEvent{constructor(e){super("ft-search-request-change",{detail:e})}},An=class extends CustomEvent{constructor(e,r,n){super("ft-search-results-change",{detail:{request:e,paging:r,spellcheck:n}})}},B=class extends ue{get stateManager(){if(this._stateManager==null){let e=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=Kt.build(this.id||(""+Math.round(Math.random()*999e3)).padStart(6,"0"),e),this._stateManager.errorHandler=r=>this.handleLoadError(r),this.addStore(this.stateManager.store,"search")}return this._stateManager}constructor(){super(),this.query="",this.pageSize=20,this.searchInDocumentTitlesOnly=!1,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.filters=[],this.sort=[],this.addStore(P)}render(){return _t`
|
|
47
|
+
<slot @register-ft-search-component=${this.registerComponent}></slot>
|
|
48
|
+
`}update(e){super.update(e),e.has("query")&&this.query!==void 0&&this.stateManager.setQuery(this.query),e.has("contentLocale")&&this.contentLocale!==void 0&&this.stateManager.setContentLocale(this.contentLocale),e.has("session")&&this.session&&this.stateManager.initService(),e.has("filters")&&this.filters!==void 0&&this.stateManager.setFilters(this.filters),e.has("sort")&&this.sort!==void 0&&this.stateManager.setSort(this.sort),e.has("pageSize")&&this.pageSize!==void 0&&this.stateManager.setPageSize(this.pageSize),e.has("searchInDocumentTitlesOnly")&&this.searchInDocumentTitlesOnly!==void 0&&this.stateManager.setSearchInDocumentTitlesOnly(this.searchInDocumentTitlesOnly),e.has("scope")&&this.scope!==void 0&&this.stateManager.setScope(this.scope),e.has("ignoreEmptyQuery")&&this.ignoreEmptyQuery!==void 0&&this.stateManager.setIgnoreEmptyQuery(this.ignoreEmptyQuery),e.has("openExternalDocumentInNewTab")&&this.openExternalDocumentInNewTab!==void 0&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("periodFilter")&&this.periodFilter!==void 0&&this.stateManager.setPeriodFilter(this.periodFilter)}connectedCallback(){super.connectedCallback(),this.stateManager.setQuery(this.query),this.stateManager.setContentLocale(this.contentLocale),this.stateManager.setFilters(this.filters),this.stateManager.setPageSize(this.pageSize),this.stateManager.setSort(this.sort)}contentAvailableCallback(e){super.contentAvailableCallback(e),e.has("request")&&this.request&&this.dispatchEvent(new Cn(this.request)),e.has("paging")&&this.paging!==void 0&&this.dispatchEvent(new An(this.request,this.paging,this.autocorrect))}registerComponent(e){e.stopPropagation();let r=e.composedPath()[0];this.register(r)}register(e){e.setSearchStateManager(this.stateManager)}handleLoadError(e){this.dispatchEvent(new En(e))}reloadSavedSearches(){xs.clearMySearches()}clear(){this.stateManager.clear()}};B.elementDefinitions={};B.styles=Yi;G([T()],B.prototype,"query",void 0);G([T()],B.prototype,"contentLocale",void 0);G([T({type:Number})],B.prototype,"pageSize",void 0);G([T({type:Boolean})],B.prototype,"searchInDocumentTitlesOnly",void 0);G([T()],B.prototype,"periodFilter",void 0);G([T()],B.prototype,"scope",void 0);G([T({type:Boolean})],B.prototype,"ignoreEmptyQuery",void 0);G([qe({store:P.name})],B.prototype,"openExternalDocumentInNewTab",void 0);G([te([])],B.prototype,"filters",void 0);G([te([])],B.prototype,"sort",void 0);G([qe({store:"search"})],B.prototype,"request",void 0);G([qe({store:"search"})],B.prototype,"paging",void 0);G([qe({store:"search",selector:t=>t.spellcheck})],B.prototype,"autocorrect",void 0);G([qe({store:P.name})],B.prototype,"session",void 0);G([T({attribute:!1})],B.prototype,"searchServiceProvider",void 0);Tt("ft-search-context")(B);})();
|
|
49
|
+
/*! Bundled license information:
|
|
50
|
+
|
|
51
|
+
@webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js:
|
|
52
|
+
(**
|
|
3
53
|
* @license
|
|
4
54
|
* Copyright (c) 2020 The Polymer Project Authors. All rights reserved.
|
|
5
55
|
* This code may only be used under the BSD style license found at
|
|
@@ -11,173 +61,180 @@
|
|
|
11
61
|
* Code distributed by Google as part of the polymer project is also
|
|
12
62
|
* subject to an additional IP rights grant found at
|
|
13
63
|
* http://polymer.github.io/PATENTS.txt
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
64
|
+
*)
|
|
65
|
+
|
|
66
|
+
@lit/reactive-element/css-tag.js:
|
|
67
|
+
(**
|
|
17
68
|
* @license
|
|
18
69
|
* Copyright 2019 Google LLC
|
|
19
70
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
20
|
-
|
|
21
|
-
|
|
71
|
+
*)
|
|
72
|
+
|
|
73
|
+
@lit/reactive-element/reactive-element.js:
|
|
74
|
+
(**
|
|
22
75
|
* @license
|
|
23
76
|
* Copyright 2017 Google LLC
|
|
24
77
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
25
|
-
|
|
26
|
-
|
|
78
|
+
*)
|
|
79
|
+
|
|
80
|
+
lit-html/lit-html.js:
|
|
81
|
+
(**
|
|
27
82
|
* @license
|
|
28
83
|
* Copyright 2017 Google LLC
|
|
29
84
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
85
|
+
*)
|
|
86
|
+
|
|
87
|
+
@lit/reactive-element/css-tag.js:
|
|
88
|
+
(**
|
|
33
89
|
* @license
|
|
34
90
|
* Copyright 2019 Google LLC
|
|
35
91
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
92
|
+
*)
|
|
93
|
+
|
|
94
|
+
@lit/reactive-element/reactive-element.js:
|
|
95
|
+
(**
|
|
39
96
|
* @license
|
|
40
97
|
* Copyright 2017 Google LLC
|
|
41
98
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
42
|
-
|
|
43
|
-
|
|
99
|
+
*)
|
|
100
|
+
|
|
101
|
+
lit-html/lit-html.js:
|
|
102
|
+
(**
|
|
44
103
|
* @license
|
|
45
104
|
* Copyright 2017 Google LLC
|
|
46
105
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
106
|
+
*)
|
|
107
|
+
|
|
108
|
+
lit-element/lit-element.js:
|
|
109
|
+
(**
|
|
50
110
|
* @license
|
|
51
111
|
* Copyright 2017 Google LLC
|
|
52
112
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
53
|
-
|
|
54
|
-
|
|
113
|
+
*)
|
|
114
|
+
|
|
115
|
+
lit-html/is-server.js:
|
|
116
|
+
(**
|
|
117
|
+
* @license
|
|
118
|
+
* Copyright 2022 Google LLC
|
|
119
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
120
|
+
*)
|
|
121
|
+
|
|
122
|
+
@lit/reactive-element/decorators/custom-element.js:
|
|
123
|
+
(**
|
|
55
124
|
* @license
|
|
56
125
|
* Copyright 2017 Google LLC
|
|
57
126
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
58
|
-
|
|
59
|
-
|
|
127
|
+
*)
|
|
128
|
+
|
|
129
|
+
@lit/reactive-element/decorators/property.js:
|
|
130
|
+
(**
|
|
60
131
|
* @license
|
|
61
132
|
* Copyright 2017 Google LLC
|
|
62
133
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
63
|
-
|
|
64
|
-
|
|
134
|
+
*)
|
|
135
|
+
|
|
136
|
+
@lit/reactive-element/decorators/state.js:
|
|
137
|
+
(**
|
|
65
138
|
* @license
|
|
66
139
|
* Copyright 2017 Google LLC
|
|
67
140
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
68
|
-
|
|
69
|
-
|
|
141
|
+
*)
|
|
142
|
+
|
|
143
|
+
@lit/reactive-element/decorators/event-options.js:
|
|
144
|
+
(**
|
|
70
145
|
* @license
|
|
71
146
|
* Copyright 2017 Google LLC
|
|
72
147
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
73
|
-
|
|
74
|
-
|
|
148
|
+
*)
|
|
149
|
+
|
|
150
|
+
@lit/reactive-element/decorators/base.js:
|
|
151
|
+
(**
|
|
75
152
|
* @license
|
|
76
153
|
* Copyright 2017 Google LLC
|
|
77
154
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
155
|
+
*)
|
|
156
|
+
|
|
157
|
+
@lit/reactive-element/decorators/query.js:
|
|
158
|
+
(**
|
|
81
159
|
* @license
|
|
82
160
|
* Copyright 2017 Google LLC
|
|
83
161
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
84
|
-
|
|
85
|
-
|
|
162
|
+
*)
|
|
163
|
+
|
|
164
|
+
@lit/reactive-element/decorators/query-all.js:
|
|
165
|
+
(**
|
|
86
166
|
* @license
|
|
87
167
|
* Copyright 2017 Google LLC
|
|
88
168
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
169
|
+
*)
|
|
170
|
+
|
|
171
|
+
@lit/reactive-element/decorators/query-async.js:
|
|
172
|
+
(**
|
|
92
173
|
* @license
|
|
93
174
|
* Copyright 2017 Google LLC
|
|
94
175
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
95
|
-
|
|
96
|
-
|
|
176
|
+
*)
|
|
177
|
+
|
|
178
|
+
@lit/reactive-element/decorators/query-assigned-elements.js:
|
|
179
|
+
(**
|
|
97
180
|
* @license
|
|
98
181
|
* Copyright 2021 Google LLC
|
|
99
182
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
183
|
+
*)
|
|
184
|
+
|
|
185
|
+
@lit/reactive-element/decorators/query-assigned-nodes.js:
|
|
186
|
+
(**
|
|
103
187
|
* @license
|
|
104
188
|
* Copyright 2017 Google LLC
|
|
105
189
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
106
|
-
|
|
107
|
-
|
|
190
|
+
*)
|
|
191
|
+
|
|
192
|
+
lit-html/directive.js:
|
|
193
|
+
(**
|
|
108
194
|
* @license
|
|
109
195
|
* Copyright 2017 Google LLC
|
|
110
196
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
111
|
-
|
|
112
|
-
|
|
197
|
+
*)
|
|
198
|
+
|
|
199
|
+
lit-html/directive-helpers.js:
|
|
200
|
+
(**
|
|
113
201
|
* @license
|
|
114
202
|
* Copyright 2020 Google LLC
|
|
115
203
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
116
|
-
|
|
117
|
-
|
|
204
|
+
*)
|
|
205
|
+
|
|
206
|
+
lit-html/directives/repeat.js:
|
|
207
|
+
(**
|
|
118
208
|
* @license
|
|
119
209
|
* Copyright 2017 Google LLC
|
|
120
210
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
121
|
-
|
|
122
|
-
|
|
211
|
+
*)
|
|
212
|
+
|
|
213
|
+
lit-html/directives/class-map.js:
|
|
214
|
+
(**
|
|
123
215
|
* @license
|
|
124
216
|
* Copyright 2018 Google LLC
|
|
125
217
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
126
|
-
|
|
127
|
-
|
|
218
|
+
*)
|
|
219
|
+
|
|
220
|
+
lit-html/directives/style-map.js:
|
|
221
|
+
(**
|
|
128
222
|
* @license
|
|
129
223
|
* Copyright 2018 Google LLC
|
|
130
224
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
131
|
-
|
|
132
|
-
|
|
225
|
+
*)
|
|
226
|
+
|
|
227
|
+
lit-html/directives/unsafe-html.js:
|
|
228
|
+
(**
|
|
133
229
|
* @license
|
|
134
230
|
* Copyright 2017 Google LLC
|
|
135
231
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
136
|
-
*/let Te=class extends Le{constructor(t){if(super(t),this.et=H,t.type!==Re)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===H||null==t)return this.vt=void 0,this.et=t;if(t===K)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const e=[t];return e.raw=e,this.vt={_$litType$:this.constructor.resultType,strings:e,values:[]}}};Te.directiveName="unsafeHTML",Te.resultType=1;const $e=Ie(Te);var Ge=Object.freeze({__proto__:null,UnsafeHTMLDirective:Te,unsafeHTML:$e});class Ve extends Error{constructor(t,e,o){super(t),this.canceledPromiseResult=e,this.canceledPromiseError=o}}class qe extends Promise{constructor(t){super(((e,o)=>t((t=>{this.isCanceled?o(new Ve("Promise has been canceled",t)):e(t)}),(t=>{this.isCanceled?o(new Ve("Promise has been canceled",void 0,t)):o(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}const Ye=t=>new qe(((e,o)=>t.then(e).catch(o)));var Je=Object.freeze({__proto__:null,CancelablePromise:qe,CanceledPromiseError:Ve,cancelable:Ye});class Xe{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,e){this.loaders[t]=e,this.finalContent.delete(t)}registerFinal(t,e){this.loaders[t]=e,this.finalContent.add(t)}clearAll(){for(let t in this.content)this.clear(t)}clear(t){this.finalContent.has(t)||this.forceClear(t)}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof qe&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){null!=this.clearTimeouts[t]&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,e){this.forceClear(t),this.register(t,(async()=>e)),this.content[t]=e}setFinal(t,e){this.forceClear(t),this.registerFinal(t,(async()=>e)),this.content[t]=e}async get(t,e,o){if(void 0===this.content[t]){if(null==(e=null!=e?e:this.loaders[t]))throw new Error("Unknown cache key "+t);const r=Ye(e());return this.content[t]=r,r.then((e=>(this.content[t]=e,null!=o&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout((()=>this.clear(t)),o)),e)))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return!(null==t||t instanceof Promise||t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return null!=this.content[t]}resolvedKeys(){return Object.keys(this.content).filter((t=>this.isResolvedValue(this.content[t])))}resolvedValues(){return Object.values(this.content).filter((t=>this.isResolvedValue(t)))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}}var Qe=Object.freeze({__proto__:null,CacheRegistry:Xe});class to{constructor(t,e,o,r){this.allResults=t,this.selectedResult=e,this.clusteringMetadata=o,this.metadataDescriptors=r}static extractResultMetadata(t,e){var o,r;let i=(null!==(r=null!==(o=null==t?void 0:t.map)&&void 0!==o?o:null==t?void 0:t.document)&&void 0!==r?r:null==t?void 0:t.topic).metadata.map((t=>to.flattenMetadata(t)));return null==e?i:i.find((t=>t.key===e))}static flattenMetadata(t){if(t.hierarchicalValues){const e=[],o=[];return t.hierarchicalValues.forEach((t=>{e.push(t.join(" > ")),t.length>2?o.push(`... > ${t[t.length-1]}`):o.push(t.join(" > "))})),{key:t.key,label:t.label,value:e.join(", "),displayValue:o.join(", ")}}{const e=t.values.join(", ");return{key:t.key,label:t.label,value:e,displayValue:e}}}computeClustersItemsForMetadata(t,e,o="No value"){var r,i;let n=to.extractResultMetadata(this.selectedResult,t),a=null!==(r=null==n?void 0:n.label)&&void 0!==r?r:null===(i=this.getMetadataDescriptor(t))||void 0===i?void 0:i.label;const s=this.allResults.map((e=>to.extractResultMetadata(e,t))).map((e=>null!=e?e:{key:t,label:a,value:void 0,displayValue:o})).filter((t=>t.value!=(null==n?void 0:n.value))).filter(((t,e,o)=>o.findIndex((e=>e.value===t.value))===e));return s.map((e=>({result:this.findBestResultForMetadataValue(t,e.value),metadata:e}))).sort(((o,r)=>this.compareMetadata(o.metadata.value,r.metadata.value,t,e)))}compareMetadata(t,e,o,r){if(null==t)return-1;if(null==e)return 1;let i=this.getMetadataDescriptor(o),n=(null==i?void 0:i.sortRule)||"NONE",a=(null==i?void 0:i.reverseSort)||!1;if("ALPHABET"==n||"VERSION"==n){let o=t.localeCompare(e,r,{numeric:!0});return a?-1*o:o}return 0}getMetadataDescriptor(t){return this.metadataDescriptors.find((e=>t==e.key))}findBestResultForMetadataValue(t,e){const o=this.allResults.filter((o=>{var r;return(null===(r=to.extractResultMetadata(o,t))||void 0===r?void 0:r.value)==e}));let r,i=to.extractResultMetadata(this.selectedResult).filter((t=>this.clusteringMetadata.has(t.key))),n=[...i.filter((e=>e.key!==t))],a=-1;for(let t of o){let e=this.countMatchingMetadata(t,n);if(e>a&&(a=e,r=t,e===n.length))break}return r}countMatchingMetadata(t,e){return to.extractResultMetadata(t).filter((t=>e.some((e=>e.key===t.key&&e.value===t.value)))).length}}var eo=Object.freeze({__proto__:null,ClusteringHelper:to});class oo{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const o=[...this.callbacks];this.callbacks=[];const r=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,i=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of o)try{await t()}catch(t){return void r(t)}i(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}var ro=Object.freeze({__proto__:null,Debouncer:oo});const io=t=>new Promise((e=>setTimeout(e,t)));async function no(t,e=10,o=2e4){let r,i,n=await t();for(r=i=performance.now();null==n&&(!o||i-r<o);)await io(e),n=await t(),i=performance.now();if(null==n)throw new Error("Timeout exceeded");return n}function ao(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,((t,e,o,r)=>e+o+":"+r)),new Date(t)}function so(t,e){try{return function(t,e){if(t===e)return!0;if(t&&e&&"object"==typeof t&&"object"==typeof e){if(t.constructor!==e.constructor)return!1;var o,r,i;if(Array.isArray(t)){if((o=t.length)!=e.length)return!1;for(r=o;0!=r--;)if(!so(t[r],e[r]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(r of t.entries())if(!e.has(r[0]))return!1;for(r of t.entries())if(!so(r[1],e.get(r[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(r of t.entries())if(!e.has(r[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if((o=(i=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(r=o;0!=r--;)if(!Object.prototype.hasOwnProperty.call(e,i[r]))return!1;for(r=o;0!=r--;){var n=i[r];if(!so(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}var co=Object.freeze({__proto__:null,dateReviver:function(...t){return function(e,o){return t.includes(e)?ao(o):o}},deepEqual:so,delay:io,eventPathContainsMatchingElement:function(t,e,o=window.document.body){if(e.length>0){const r=t.composedPath();for(let t of r){if(t===o)return!1;if(t.matches&&e.some((e=>t.matches(e))))return!0}}return!1},flatDeep:function t(e,o){return e.flatMap((e=>[e,...t(o(e),o)]))},last:function(t){return t[t.length-1]},minmax:function(t,e,o){return Math.min(Math.max(t,e),o)},parseDate:ao,waitFor:no,waitUntil:async function(t,e=10,o=2e4){await no((async()=>await t()||void 0),e,o)}});const lo=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function fo(t,e){const o=()=>JSON.parse(JSON.stringify(t));return Se({type:Object,converter:{fromAttribute:t=>{if(null==t)return o();try{return JSON.parse(t)}catch{return o()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,e)=>!so(t,e),...null!=e?e:{}})}function uo(t){return!isNaN(parseFloat(t))}var ho=Object.freeze({__proto__:null,customElement:lo,isNumber:uo,jsonProperty:fo,optionalNumberProperty:function(t){return Se({type:Object,converter:{fromAttribute:t=>{if(null!=t)return uo(t)?+t:void 0},toAttribute:t=>null==t?void 0:""+t},...null!=t?t:{}})}});const po=t=>"string"==typeof t?ft(t):t;class yo{static create(t,e,o,r){const i=t=>po(null!=t?t:r),n=ut`var(${po(t)}, ${i(r)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=r,n.defaultCssValue=i,n.get=e=>ut`var(${po(t)}, ${i(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>r,n}static extend(t,e,o,r){const i=t=>o.get(null!=t?t:r),n=ut`var(${po(t)}, ${i(r)})`;return n.name=t,n.description=e,n.category=o.category,n.fallbackVariable=o,n.defaultValue=r,n.defaultCssValue=i,n.get=e=>ut`var(${po(t)}, ${i(e)})`,n.breadcrumb=()=>[o.name,...o.breadcrumb()],n.lastResortDefaultValue=()=>null!=r?r:o.lastResortDefaultValue(),n}static external(t,e){const o=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):po(null!=e?e:t.lastResortDefaultValue()),r=ut`var(${po(t.name)}, ${o(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=e,r.defaultCssValue=o,r.get=e=>ut`var(${po(t.name)}, ${o(e)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const go={colorWhite:yo.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:yo.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:yo.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:yo.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:yo.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:yo.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:yo.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:yo.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:yo.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:yo.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:yo.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:yo.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:yo.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:yo.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:yo.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:yo.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:yo.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:yo.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:yo.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:yo.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:yo.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:yo.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:yo.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:yo.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:yo.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:yo.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:yo.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:yo.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:yo.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:yo.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:yo.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:yo.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:yo.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:yo.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:yo.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:yo.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:yo.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:yo.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:yo.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:yo.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:yo.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:yo.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:yo.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:yo.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:yo.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:yo.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:yo.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:yo.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:yo.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:yo.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:yo.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:yo.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:yo.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:yo.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:yo.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:yo.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:yo.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:yo.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:yo.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:yo.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:yo.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:yo.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:yo.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:yo.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:yo.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:yo.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:yo.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:yo.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:yo.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:yo.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:yo.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:yo.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:yo.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:yo.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:yo.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:yo.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:yo.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:yo.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:yo.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:yo.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:yo.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:yo.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:yo.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:yo.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:yo.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:yo.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:yo.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:yo.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:yo.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:yo.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:yo.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:yo.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:yo.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:yo.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:yo.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:yo.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:yo.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:yo.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:yo.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:yo.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:yo.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:yo.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:yo.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:yo.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:yo.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:yo.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:yo.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:yo.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:yo.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:yo.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:yo.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:yo.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:yo.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:yo.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:yo.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:yo.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:yo.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:yo.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:yo.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:yo.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:yo.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:yo.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:yo.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:yo.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:yo.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:yo.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:yo.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:yo.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:yo.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:yo.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:yo.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:yo.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:yo.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:yo.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:yo.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:yo.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:yo.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:yo.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:yo.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:yo.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:yo.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:yo.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:yo.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:yo.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:yo.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:yo.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:yo.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:yo.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:yo.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:yo.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:yo.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:yo.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:yo.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:yo.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:yo.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:yo.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:yo.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:yo.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:yo.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:yo.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:yo.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:yo.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:yo.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:yo.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:yo.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:yo.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:yo.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:yo.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:yo.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:yo.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:yo.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:yo.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:yo.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:yo.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:yo.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:yo.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:yo.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:yo.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:yo.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:yo.create("--ft-icon-size-6","","SIZE","48px"),opacity0:yo.create("--ft-opacity-0","","NUMBER","0"),opacity8:yo.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:yo.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:yo.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:yo.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:yo.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:yo.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:yo.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:yo.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:yo.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:yo.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:yo.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:yo.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:yo.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:yo.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)")},bo={fontFamily:yo.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:yo.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:yo.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:yo.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:yo.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:yo.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:yo.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:yo.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:yo.create("--ft-typography-display-textCase","","UNKNOWN","none")},mo={fontFamily:yo.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:yo.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:yo.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:yo.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:yo.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:yo.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:yo.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:yo.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:yo.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},vo={fontFamily:yo.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:yo.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:yo.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:yo.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:yo.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:yo.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:yo.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:yo.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:yo.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Oo={fontFamily:yo.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:yo.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:yo.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:yo.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:yo.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:yo.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:yo.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:yo.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:yo.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},So={fontFamily:yo.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:yo.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:yo.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:yo.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:yo.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:yo.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:yo.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:yo.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:yo.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},wo={fontFamily:yo.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:yo.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:yo.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:yo.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:yo.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:yo.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:yo.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:yo.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:yo.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},xo={fontFamily:yo.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:yo.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:yo.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:yo.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:yo.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:yo.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:yo.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:yo.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:yo.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Co={fontFamily:yo.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:yo.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:yo.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:yo.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:yo.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:yo.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:yo.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:yo.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:yo.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},No={fontFamily:yo.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:yo.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:yo.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:yo.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:yo.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:yo.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:yo.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:yo.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:yo.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Eo={fontFamily:yo.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:yo.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:yo.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:yo.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:yo.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:yo.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:yo.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:yo.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:yo.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Ro={fontFamily:yo.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:yo.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:yo.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:yo.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:yo.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:yo.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:yo.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:yo.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:yo.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Io={fontFamily:yo.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:yo.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:yo.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:yo.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:yo.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:yo.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:yo.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:yo.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:yo.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Lo={fontFamily:yo.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:yo.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:yo.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:yo.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:yo.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:yo.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:yo.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:yo.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:yo.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Uo={fontFamily:yo.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:yo.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:yo.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:yo.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:yo.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:yo.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:yo.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:yo.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:yo.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Wo={fontFamily:yo.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:yo.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:yo.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:yo.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:yo.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:yo.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:yo.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:yo.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:yo.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},ko={fontFamily:yo.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:yo.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:yo.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:yo.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:yo.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:yo.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:yo.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:yo.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:yo.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Ao={fontFamily:yo.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:yo.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:yo.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:yo.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:yo.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:yo.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:yo.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:yo.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:yo.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Bo={fontFamily:yo.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:yo.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:yo.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:yo.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:yo.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:yo.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:yo.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:yo.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:yo.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Fo={fontFamily:yo.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:yo.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:yo.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:yo.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:yo.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:yo.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:yo.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:yo.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:yo.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},_o={fontFamily:yo.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:yo.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:yo.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:yo.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:yo.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:yo.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:yo.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:yo.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:yo.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Po={fontFamily:yo.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:yo.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:yo.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:yo.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:yo.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:yo.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:yo.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:yo.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:yo.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},zo={fontFamily:yo.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:yo.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:yo.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:yo.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:yo.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:yo.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:yo.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:yo.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:yo.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Do={fontFamily:yo.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:yo.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:yo.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:yo.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:yo.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:yo.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:yo.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:yo.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:yo.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Mo={fontFamily:yo.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:yo.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:yo.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:yo.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:yo.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:yo.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:yo.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:yo.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:yo.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},jo={fontFamily:yo.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:yo.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:yo.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:yo.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:yo.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:yo.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:yo.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:yo.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:yo.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Ko={fontFamily:yo.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:yo.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:yo.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:yo.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:yo.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:yo.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:yo.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:yo.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:yo.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Ho={display:bo,"title-1":mo,"title-2":vo,"title-3":Oo,"body-1-regular":So,"body-1-medium":wo,"body-1-semibold":xo,"body-2-regular":Co,"body-2-medium":No,"body-2-medium-underline":Eo,"body-2-semibold":Ro,"label-1-medium":Io,"label-1-semibold":Lo,"label-1-bold":Uo,"label-2-medium":Wo,"label-2-semibold":ko,"label-2-bold":Ao,"caption-1-medium":Bo,"caption-1-semibold":Fo,"caption-1-bold":_o,"caption-2-medium":Po,"caption-2-semibold":zo,"caption-2-bold":Do,"caption-3-medium":Mo,"caption-3-semibold":jo,"caption-3-bold":Ko},Zo={backgroundActionPrimary:yo.extend("--ft-background-action-primary","Used as backgorund of primary action components.",go.colorBrand0),backgroundErrorSubtle:yo.extend("--ft-background-error-subtle","Used as background of subtle error components.",go.colorRed10),backgroundInfoSubtle:yo.extend("--ft-background-info-subtle","Used as background of subtle information components.",go.colorCyan10),backgroundWarningSubtle:yo.extend("--ft-background-warning-subtle","Used as background of subtle information components.",go.colorOrange10),backgroundSuccessSubtle:yo.extend("--ft-background-success-subtle","Used as background of subtle success components.",go.colorGreen10),backgroundGlobalSurface:yo.extend("--ft-background-global-surface","Used as app background.",go.colorWhite),backgroundGlobalOnSurface:yo.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",go.colorGray10),backgroundGlobalOnSurfaceDark:yo.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",go.colorGray30),contentActionPrimary:yo.extend("--ft-content-action-primary","Used on label of primary action on light surface.",go.colorBrand0),contentWarningPrimary:yo.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",go.colorOrange200),contentWarningIconOnly:yo.extend("--ft-content-warning-icon-only","Used on warning status icons alone",go.colorOrange0),contentErrorPrimary:yo.extend("--ft-content-error-primary","Used on label of error messages on light surface.",go.colorRed0),contentErrorIconOnly:yo.extend("--ft-content-error-icon-only","Used on error status icons alone",go.colorRed70),contentInfoPrimary:yo.extend("--ft-content-info-primary","Used on label of information messages on light surface.",go.colorCyan200),contentInfoIconOnly:yo.extend("--ft-content-info-icon-only","Used on info status icons alone",go.colorCyan0),contentSuccessPrimary:yo.extend("--ft-content-success-primary","Used on label of success messages on light surface.",go.colorGreen200),contentSuccessIconOnly:yo.extend("--ft-content-success-icon-only","Used on success status icons alone",go.colorGreen0),contentGlobalPrimary:yo.extend("--ft-content-global-primary","Used for main content on the page.",go.colorGray500),contentGlobalSecondary:yo.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",go.colorGray200),contentGlobalSubtle:yo.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",go.colorGray0),contentGlobalOnColor:yo.extend("--ft-content-global-on-color","Used for content on a dominant color.",go.colorWhite),borderActionPrimary:yo.extend("--ft-border-action-primary","Used as border for primary action components.",go.colorBrand0),borderActionFocusRing:yo.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",go.colorCyan0),borderWarningPrimary:yo.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",go.colorOrange200),borderWarningSubtle:yo.extend("--ft-border-warning-subtle","Used as border for warning components.",go.colorOrange30),borderSuccessPrimary:yo.extend("--ft-border-success-primary","Used as border for success buttons.",go.colorGreen200),borderSuccessSubtle:yo.extend("--ft-border-success-subtle","Used as border for success components.",go.colorGreen30),borderErrorPrimary:yo.extend("--ft-border-error-primary","Used as border for text fields in error states.",go.colorRed0),borderErrorSubtle:yo.extend("--ft-border-error-subtle","Used as border for error components.",go.colorRed30),borderInfoPrimary:yo.extend("--ft-border-info-primary","Used as border for buttons in info color.",go.colorCyan200),borderInfoSubtle:yo.extend("--ft-border-info-subtle","Used as border for information components.",go.colorCyan30),borderGlobalPrimary:yo.extend("--ft-border-global-primary","Used as border for element like input.",go.colorGray50),borderGlobalSubtle:yo.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",go.colorGray30),borderInputPrimary:yo.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",go.colorGray80)},To={largeHeight:yo.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:yo.extend("--ft-button-large-horizontal-padding","",go.spacing4),largeGap:yo.extend("--ft-button-large-gap","",go.spacing2),largeBorderRadius:yo.extend("--ft-button-large-border-radius","",go.borderRadiusS),largeIconSize:yo.extend("--ft-button-large-icon-size","",go.iconSize3),largeBorderWidth:yo.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:yo.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:yo.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:yo.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:yo.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:yo.extend("--ft-button-small-horizontal-padding","",go.spacing3),smallGap:yo.extend("--ft-button-small-gap","",go.spacing2),smallBorderRadius:yo.extend("--ft-button-small-border-radius","",go.borderRadiusS),smallIconSize:yo.extend("--ft-button-small-icon-size","",go.iconSize2),smallBorderWidth:yo.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:yo.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:yo.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:yo.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:yo.extend("--ft-button-primary-background-color","",Zo.backgroundActionPrimary),primaryColor:yo.extend("--ft-button-primary-color","",Zo.contentGlobalOnColor),primaryIconColor:yo.extend("--ft-button-primary-icon-color","",Zo.contentGlobalOnColor),primaryStateLayerColor:yo.extend("--ft-button-primary-state-layer-color","",Zo.contentGlobalOnColor),primaryHoverStateLayerOpacity:yo.extend("--ft-button-primary-hover-state-layer-opacity","",go.opacity16),primaryFocusStateLayerOpacity:yo.extend("--ft-button-primary-focus-state-layer-opacity","",go.opacity16),primaryActiveStateLayerOpacity:yo.extend("--ft-button-primary-active-state-layer-opacity","",go.opacity24),primaryDisabledComponentOpacity:yo.extend("--ft-button-primary-disabled-component-opacity","",go.opacity40),focusFocusRingColor:yo.extend("--ft-button-focus-focus-ring-color","",Zo.borderActionFocusRing),tertiaryBackgroundColor:yo.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:yo.extend("--ft-button-tertiary-color","",Zo.contentActionPrimary),tertiaryIconColor:yo.extend("--ft-button-tertiary-icon-color","",Zo.contentActionPrimary),tertiaryStateLayerColor:yo.extend("--ft-button-tertiary-state-layer-color","",Zo.contentActionPrimary),tertiaryHoverStateLayerOpacity:yo.extend("--ft-button-tertiary-hover-state-layer-opacity","",go.opacity8),tertiaryFocusStateLayerOpacity:yo.extend("--ft-button-tertiary-focus-state-layer-opacity","",go.opacity8),tertiaryActiveStateLayerOpacity:yo.extend("--ft-button-tertiary-active-state-layer-opacity","",go.opacity16),tertiaryDisabledComponentOpacity:yo.extend("--ft-button-tertiary-disabled-component-opacity","",go.opacity40),secondaryBackgroundColor:yo.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:yo.extend("--ft-button-secondary-color","",Zo.contentActionPrimary),secondaryIconColor:yo.extend("--ft-button-secondary-icon-color","",Zo.contentActionPrimary),secondaryStateLayerColor:yo.extend("--ft-button-secondary-state-layer-color","",Zo.contentActionPrimary),secondaryHoverStateLayerOpacity:yo.extend("--ft-button-secondary-hover-state-layer-opacity","",go.opacity8),secondaryFocusStateLayerOpacity:yo.extend("--ft-button-secondary-focus-state-layer-opacity","",go.opacity8),secondaryActiveStateLayerOpacity:yo.extend("--ft-button-secondary-active-state-layer-opacity","",go.opacity16),secondaryDisabledComponentOpacity:yo.extend("--ft-button-secondary-disabled-component-opacity","",go.opacity40),secondaryBorderColor:yo.extend("--ft-button-secondary-border-color","",Zo.borderActionPrimary),neutralBackgroundColor:yo.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:yo.extend("--ft-button-neutral-icon-color","",Zo.contentGlobalSecondary),neutralColor:yo.extend("--ft-button-neutral-color","",Zo.contentGlobalSecondary),neutralStateLayerColor:yo.extend("--ft-button-neutral-state-layer-color","",Zo.contentGlobalSecondary),neutralHoverStateLayerOpacity:yo.extend("--ft-button-neutral-hover-state-layer-opacity","",go.opacity8),neutralFocusStateLayerOpacity:yo.extend("--ft-button-neutral-focus-state-layer-opacity","",go.opacity8),neutralActiveStateLayerOpacity:yo.extend("--ft-button-neutral-active-state-layer-opacity","",go.opacity16),neutralDisabledComponentOpacity:yo.extend("--ft-button-neutral-disabled-component-opacity","",go.opacity40)},$o={iconSize:yo.extend("--ft-banner-icon-size","",go.iconSize5),borderWidth:yo.create("--ft-banner-border-width","","SIZE","1px"),horizontalPadding:yo.extend("--ft-banner-horizontal-padding","",go.spacing6),verticalPadding:yo.extend("--ft-banner-vertical-padding","",go.spacing6),horizontalSideGap:yo.extend("--ft-banner-horizontal-side-gap","",go.spacing6),horizontalMobileGap:yo.extend("--ft-banner-horizontal-mobile-gap","",go.spacing4),verticalMobileGap:yo.extend("--ft-banner-vertical-mobile-gap","",go.spacing6),horizontalMiddleGap:yo.extend("--ft-banner-horizontal-middle-gap","",go.spacing20),infoBackgroundColor:yo.extend("--ft-banner-info-background-color","",Zo.backgroundInfoSubtle),infoColor:yo.extend("--ft-banner-info-color","",Zo.contentInfoPrimary),infoIconColor:yo.extend("--ft-banner-info-icon-color","",Zo.contentInfoIconOnly)},Go={horizontalGap:yo.extend("--ft-breadcrumb-horizontal-gap","",go.spacing1),verticalGap:yo.extend("--ft-breadcrumb-vertical-gap","",go.spacing2),currentElementColor:yo.extend("--ft-breadcrumb-current-element-color","",Zo.contentGlobalPrimary),iconColor:yo.extend("--ft-breadcrumb-icon-color","",Zo.contentGlobalSubtle)},Vo={horizontalPadding:yo.extend("--ft-page-header-horizontal-padding","",go.spacing12),horizontalGap:yo.extend("--ft-page-header-horizontal-gap","",go.spacing4),verticalGap:yo.extend("--ft-page-header-vertical-gap","",go.spacing2),classicVerticalPadding:yo.extend("--ft-page-header-classic-vertical-padding","",go.spacing6),multilineVerticalPadding:yo.extend("--ft-page-header-multiline-vertical-padding","",go.spacing4),inlineVerticalPadding:yo.extend("--ft-page-header-inline-vertical-padding","",go.spacing2),backgroundColor:yo.extend("--ft-page-header-background-color","",go.colorWhite),bottomBorderColor:yo.extend("--ft-page-header-bottom-border-color","",Zo.borderGlobalSubtle),titleColor:yo.extend("--ft-page-header-title-color","",Zo.contentGlobalPrimary),subtitleColor:yo.extend("--ft-page-header-subtitle-color","",Zo.contentGlobalSecondary)},qo={smallContainerWidth:yo.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:yo.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:yo.extend("--ft-modal-overlay-background-color","",go.colorGray700),overlayOpacity:yo.extend("--ft-modal-overlay-opacity","",go.opacity40),shadow:yo.extend("--ft-modal-shadow","",go.shadowElevation03),bodyBackgroundColor:yo.extend("--ft-modal-body-background-color","",go.colorWhite),bodyColor:yo.extend("--ft-modal-body-color","",Zo.contentGlobalPrimary),bodyHorizontalPadding:yo.extend("--ft-modal-body-horizontal-padding","",go.spacing6),bodyVerticalPadding:yo.extend("--ft-modal-body-vertical-padding","",go.spacing6),bodyVerticalGap:yo.extend("--ft-modal-body-vertical-gap","",go.spacing6),containerMargin:yo.extend("--ft-modal-container-margin","",go.spacing3),headerBackgroundColor:yo.extend("--ft-modal-header-background-color","",Zo.backgroundGlobalOnSurface),headerBorderColor:yo.extend("--ft-modal-header-border-color","",Zo.borderGlobalSubtle),headerColor:yo.extend("--ft-modal-header-color","",Zo.contentGlobalPrimary),headerTrailingIconColor:yo.extend("--ft-modal-header-trailing-icon-color","",Zo.contentGlobalSecondary),headerVerticalPadding:yo.extend("--ft-modal-header-vertical-padding","",go.spacing1),headerRightPadding:yo.extend("--ft-modal-header-right-padding","",go.spacing1),headerLeftPadding:yo.extend("--ft-modal-header-left-padding","",go.spacing6),headerGap:yo.extend("--ft-modal-header-gap","",go.spacing2),headerBorderBottom:yo.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:yo.extend("--ft-modal-border-radius","",go.borderRadiusM)},Yo={overlayOpacity:yo.extend("--ft-drawer-overlay-opacity","",go.opacity40),shadow:yo.extend("--ft-drawer-shadow","",go.shadowElevation03),bodyColor:yo.extend("--ft-drawer-body-color","",Zo.contentGlobalPrimary),bodyHorizontalPadding:yo.extend("--ft-drawer-body-horizontal-padding","",go.spacing6),bodyVerticalPadding:yo.extend("--ft-drawer-body-vertical-padding","",go.spacing6),bodyGap:yo.extend("--ft-drawer-body-gap","",go.spacing6),bodyBackgroundColor:yo.extend("--ft-drawer-body-background-color","",go.colorWhite),headerBackgroundColor:yo.extend("--ft-drawer-header-background-color","",Zo.backgroundGlobalOnSurface),headerBorderColor:yo.extend("--ft-drawer-header-border-color","",Zo.borderGlobalSubtle),headerColor:yo.extend("--ft-drawer-header-color","",Zo.contentGlobalPrimary),headerTrailingIconColor:yo.extend("--ft-drawer-header-trailing-icon-color","",Zo.contentGlobalSecondary),headerHeight:yo.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:yo.extend("--ft-drawer-header-horizontal-padding","",go.spacing2),headerBorderWidth:yo.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:yo.extend("--ft-drawer-header-gap","",go.spacing3),buttonsBarBackgroundColor:yo.extend("--ft-drawer-buttons-bar-background-color","",Zo.backgroundGlobalOnSurface),buttonsBarBorderColor:yo.extend("--ft-drawer-buttons-bar-border-color","",Zo.borderGlobalSubtle),buttonsBarColor:yo.extend("--ft-drawer-buttons-bar-color","",Zo.contentGlobalPrimary),buttonsBarHorizontalPadding:yo.extend("--ft-drawer-buttons-bar-horizontal-padding","",go.spacing4),buttonsBarVerticalPadding:yo.extend("--ft-drawer-buttons-bar-vertical-padding","",go.spacing4),buttonsBarGap:yo.extend("--ft-drawer-buttons-bar-gap","",go.spacing3),buttonsBarBorderWidth:yo.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:yo.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:yo.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:yo.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:yo.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:yo.extend("--ft-drawer-overlay-background-color","",go.colorGray700)},Jo={fieldHorizontalPadding:yo.extend("--ft-text-input-field-horizontal-padding","",go.spacing4),fieldHorizontalGap:yo.extend("--ft-text-input-field-horizontal-gap","",go.spacing3),fieldVerticalGap:yo.extend("--ft-text-input-field-vertical-gap","",go.spacing05),fieldIconSize:yo.extend("--ft-text-input-field-icon-size","",go.iconSize3),fieldHeight:yo.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:yo.extend("--ft-text-input-helper-horizontal-padding","",go.spacing4),helperHorizontalGap:yo.extend("--ft-text-input-helper-horizontal-gap","",go.spacing1),helperIconSize:yo.extend("--ft-text-input-helper-icon-size","",go.iconSize2),borderRadius:yo.extend("--ft-text-input-border-radius","",go.borderRadiusM),backgroundColor:yo.extend("--ft-text-input-background-color","",go.colorWhite),contentValueColor:yo.extend("--ft-text-input-content-value-color","",Zo.contentGlobalPrimary),trailingIconColor:yo.extend("--ft-text-input-trailing-icon-color","",Zo.contentGlobalSubtle),labelColor:yo.extend("--ft-text-input-label-color","",Zo.contentGlobalSubtle),defaultBorderColor:yo.extend("--ft-text-input-default-border-color","",Zo.borderInputPrimary),defaultHelperTextColor:yo.extend("--ft-text-input-default-helper-text-color","",Zo.contentGlobalSubtle),defaultBorderWidth:yo.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:yo.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:yo.extend("--ft-text-input-error-border-color","",Zo.borderErrorPrimary),errorHelperTextColor:yo.extend("--ft-text-input-error-helper-text-color","",Zo.contentErrorPrimary),errorHelperIconColor:yo.extend("--ft-text-input-error-helper-icon-color","",Zo.contentErrorIconOnly),warningBorderWidth:yo.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:yo.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:yo.extend("--ft-text-input-focus-focus-ring-color","",Zo.borderActionFocusRing),focusOutlineOffset:yo.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:yo.extend("--ft-text-input-disabled-component-opacity","",go.opacity40)},Xo={backgroundColor:yo.extend("--ft-text-area-background-color","",go.colorWhite),contentValueColor:yo.extend("--ft-text-area-content-value-color","",Zo.contentGlobalPrimary),labelColor:yo.extend("--ft-text-area-label-color","",Zo.contentGlobalSubtle),defaultBorderColor:yo.extend("--ft-text-area-default-border-color","",Zo.borderInputPrimary),defaultHelperTextColor:yo.extend("--ft-text-area-default-helper-text-color","",Zo.contentGlobalSubtle),defaultBorderWidth:yo.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:yo.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:yo.extend("--ft-text-area-error-border-color","",Zo.borderErrorPrimary),errorHelperTextColor:yo.extend("--ft-text-area-error-helper-text-color","",Zo.contentErrorPrimary),errorHelperIconColor:yo.extend("--ft-text-area-error-helper-icon-color","",Zo.contentErrorIconOnly),focusFocusRingColor:yo.extend("--ft-text-area-focus-focus-ring-color","",Zo.borderActionFocusRing),focusOutlineWidth:yo.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:yo.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:yo.extend("--ft-text-area-disabled-component-opacity","",go.opacity40),fieldHorizontalLeftPadding:yo.extend("--ft-text-area-field-horizontal-left-padding","",go.spacing4),fieldHorizontalGap:yo.extend("--ft-text-area-field-horizontal-gap","",go.spacing3),fieldVerticalGap:yo.extend("--ft-text-area-field-vertical-gap","",go.spacing05),fieldMinHeight:yo.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:yo.extend("--ft-text-area-helper-horizontal-padding","",go.spacing4),helperHorizontalGap:yo.extend("--ft-text-area-helper-horizontal-gap","",go.spacing1),helperIconSize:yo.extend("--ft-text-area-helper-icon-size","",go.iconSize2),borderRadius:yo.extend("--ft-text-area-border-radius","",go.borderRadiusM)},Qo={height:yo.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:yo.extend("--ft-floating-menu-horizontal-padding","",go.spacing4),offIconColor:yo.extend("--ft-floating-menu-off-icon-color","",Zo.contentGlobalPrimary),offColor:yo.extend("--ft-floating-menu-off-color","",Zo.contentGlobalPrimary),onColor:yo.extend("--ft-floating-menu-on-color","",Zo.contentActionPrimary),onStateLayerColor:yo.extend("--ft-floating-menu-on-state-layer-color","",Zo.contentActionPrimary),gap:yo.extend("--ft-floating-menu-gap","",go.spacing3),focusFocusRingColor:yo.extend("--ft-floating-menu-focus-focus-ring-color","",Zo.borderActionFocusRing),focusOutlineWidth:yo.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:yo.extend("--ft-floating-menu-focus-state-layer-opacity","",go.opacity8),hoverStateLayerOpacity:yo.extend("--ft-floating-menu-hover-state-layer-opacity","",go.opacity8),activeStateLayerOpacity:yo.extend("--ft-floating-menu-active-state-layer-opacity","",go.opacity16),disabledComponentOpacity:yo.extend("--ft-floating-menu-disabled-component-opacity","",go.opacity40),iconSize:yo.extend("--ft-floating-menu-icon-size","",go.iconSize3),backgroundColor:yo.extend("--ft-floating-menu-background-color","",Zo.backgroundGlobalOnSurface)},tr={fieldHorizontalPadding:yo.extend("--ft-combobox-single-select-field-horizontal-padding","",go.spacing4),fieldHorizontalGap:yo.extend("--ft-combobox-single-select-field-horizontal-gap","",go.spacing3),fieldVerticalGap:yo.extend("--ft-combobox-single-select-field-vertical-gap","",go.spacing05),fieldIconSize:yo.extend("--ft-combobox-single-select-field-icon-size","",go.iconSize3),fieldHeight:yo.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:yo.extend("--ft-combobox-single-select-helper-horizontal-padding","",go.spacing4),helperHorizontalGap:yo.extend("--ft-combobox-single-select-helper-horizontal-gap","",go.spacing1),helperVerticalGap:yo.extend("--ft-combobox-single-select-helper-vertical-gap","",go.spacing1),helperIconSize:yo.extend("--ft-combobox-single-select-helper-icon-size","",go.iconSize2),menuVerticalGap:yo.extend("--ft-combobox-single-select-menu-vertical-gap","",go.spacing2),borderRadius:yo.extend("--ft-combobox-single-select-border-radius","",go.borderRadiusM),backgroundColor:yo.extend("--ft-combobox-single-select-background-color","",go.colorWhite),labelColor:yo.extend("--ft-combobox-single-select-label-color","",Zo.contentGlobalSubtle),contentValueColor:yo.extend("--ft-combobox-single-select-content-value-color","",Zo.contentGlobalPrimary),trailingIconColor:yo.extend("--ft-combobox-single-select-trailing-icon-color","",Zo.contentGlobalSubtle),defaultBorderColor:yo.extend("--ft-combobox-single-select-default-border-color","",Zo.borderInputPrimary),defaultHelperTextColor:yo.extend("--ft-combobox-single-select-default-helper-text-color","",Zo.contentGlobalSubtle),defaultBorderWidth:yo.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:yo.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:yo.extend("--ft-combobox-single-select-error-border-color","",Zo.borderErrorPrimary),errorHelperTextColor:yo.extend("--ft-combobox-single-select-error-helper-text-color","",Zo.contentErrorPrimary),warningBorderWidth:yo.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:yo.extend("--ft-combobox-single-select-warning-border-color","",Zo.borderWarningPrimary),warningHelperTextColor:yo.extend("--ft-combobox-single-select-warning-helper-text-color","",Zo.contentWarningPrimary),warningHelperIconColor:yo.extend("--ft-combobox-single-select-warning-helper-icon-color","",Zo.contentWarningIconOnly),focusOutlineWidth:yo.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:yo.extend("--ft-combobox-single-select-focus-focus-ring-color","",Zo.borderActionFocusRing),focusOutlineOffset:yo.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:yo.extend("--ft-combobox-single-select-disabled-component-opacity","",go.opacity40)},er={backgroundColor:yo.extend("--ft-combobox-multi-select-background-color","",go.colorWhite),labelColor:yo.extend("--ft-combobox-multi-select-label-color","",Zo.contentGlobalSubtle),trailingIconColor:yo.extend("--ft-combobox-multi-select-trailing-icon-color","",Zo.contentGlobalSubtle),defaultBorderColor:yo.extend("--ft-combobox-multi-select-default-border-color","",Zo.borderInputPrimary),defaultHelperTextColor:yo.extend("--ft-combobox-multi-select-default-helper-text-color","",Zo.contentGlobalSubtle),defaultBorderWidth:yo.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:yo.extend("--ft-combobox-multi-select-error-border-color","",Zo.borderErrorPrimary),errorHelperTextColor:yo.extend("--ft-combobox-multi-select-error-helper-text-color","",Zo.contentErrorPrimary),errorHelperIcon:yo.extend("--ft-combobox-multi-select-error-helper-icon","",Zo.contentErrorIconOnly),errorBorderWidth:yo.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:yo.extend("--ft-combobox-multi-select-warning-border-color","",Zo.borderWarningPrimary),warningHelperTextColor:yo.extend("--ft-combobox-multi-select-warning-helper-text-color","",Zo.contentWarningPrimary),warningHelperIconColor:yo.extend("--ft-combobox-multi-select-warning-helper-icon-color","",Zo.contentWarningIconOnly),warningBorderWidth:yo.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:yo.extend("--ft-combobox-multi-select-focus-focus-ring-color","",Zo.borderActionFocusRing),focusOutlineWidth:yo.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:yo.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:yo.extend("--ft-combobox-multi-select-disabled-component-opacity","",go.opacity40),helperHorizontalPadding:yo.extend("--ft-combobox-multi-select-helper-horizontal-padding","",go.spacing4),helperHorizontalGap:yo.extend("--ft-combobox-multi-select-helper-horizontal-gap","",go.spacing1),helperVerticalGap:yo.extend("--ft-combobox-multi-select-helper-vertical-gap","",go.spacing1),helperIconSize:yo.extend("--ft-combobox-multi-select-helper-icon-size","",go.iconSize2),fieldHorizontalPadding:yo.extend("--ft-combobox-multi-select-field-horizontal-padding","",go.spacing4),fieldHorizontalGap:yo.extend("--ft-combobox-multi-select-field-horizontal-gap","",go.spacing3),fieldVerticalGap:yo.extend("--ft-combobox-multi-select-field-vertical-gap","",go.spacing05),fieldIconSize:yo.extend("--ft-combobox-multi-select-field-icon-size","",go.iconSize3),fieldMaxHeight:yo.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:yo.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",go.spacing1),contentValuesVerticalGap:yo.extend("--ft-combobox-multi-select-content-values-vertical-gap","",go.spacing1),borderRadius:yo.extend("--ft-combobox-multi-select-border-radius","",go.borderRadiusM)},or={backgroundColor:yo.extend("--ft-popover-background-color","",Zo.backgroundGlobalOnSurface),horizontalPadding:yo.extend("--ft-popover-horizontal-padding","",go.spacing6),verticalPadding:yo.extend("--ft-popover-vertical-padding","",go.spacing6),iconColor:yo.extend("--ft-popover-icon-color","",Zo.contentGlobalSecondary),iconSize:yo.extend("--ft-popover-icon-size","",go.iconSize2),titleColor:yo.extend("--ft-popover-title-color","",Zo.contentGlobalPrimary),bodyColor:yo.extend("--ft-popover-body-color","",Zo.contentGlobalSecondary),linkColor:yo.extend("--ft-popover-link-color","",Zo.contentActionPrimary),gap:yo.extend("--ft-popover-gap","",go.spacing3),borderRadius:yo.extend("--ft-popover-border-radius","",go.borderRadiusM),shadow:yo.extend("--ft-popover-shadow","",go.shadowElevation02)},rr={topLeftBorderRadius:yo.extend("--ft-tabs-top-left-border-radius","",go.borderRadiusS),topRightBorderRadius:yo.extend("--ft-tabs-top-right-border-radius","",go.borderRadiusS),labelHorizontalPadding:yo.extend("--ft-tabs-label-horizontal-padding","",go.spacing4),labelVerticalPadding:yo.extend("--ft-tabs-label-vertical-padding","",go.spacing3),labelGap:yo.extend("--ft-tabs-label-gap","",go.spacing1),offHoverStateLayerOpacity:yo.extend("--ft-tabs-off-hover-state-layer-opacity","",go.opacity8),offFocusStateLayerOpacity:yo.extend("--ft-tabs-off-focus-state-layer-opacity","",go.opacity8),offActiveStateLayerOpacity:yo.extend("--ft-tabs-off-active-state-layer-opacity","",go.opacity16),offDisabledComponentOpacity:yo.extend("--ft-tabs-off-disabled-component-opacity","",go.opacity40),offColor:yo.extend("--ft-tabs-off-color","",Zo.contentGlobalSubtle),offStateLayerColor:yo.extend("--ft-tabs-off-state-layer-color","",Zo.contentGlobalSubtle),onHoverStateLayerOpacity:yo.extend("--ft-tabs-on-hover-state-layer-opacity","",go.opacity8),onFocusStateLayerOpacity:yo.extend("--ft-tabs-on-focus-state-layer-opacity","",go.opacity8),onActiveStateLayerOpacity:yo.extend("--ft-tabs-on-active-state-layer-opacity","",go.opacity16),onDisabledComponentOpacity:yo.extend("--ft-tabs-on-disabled-component-opacity","",go.opacity40),onColor:yo.extend("--ft-tabs-on-color","",Zo.contentActionPrimary),onStateLayerColor:yo.extend("--ft-tabs-on-state-layer-color","",Zo.contentActionPrimary),iconHorizontalPadding:yo.extend("--ft-tabs-icon-horizontal-padding","",go.spacing1),iconVerticalPadding:yo.extend("--ft-tabs-icon-vertical-padding","",go.spacing4),focusOutlineWidth:yo.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:yo.extend("--ft-tabs-focus-focus-ring-color","",Zo.borderActionFocusRing)},ir={hoverStateLayerOpacity:yo.extend("--ft-collapsible-hover-state-layer-opacity","",go.opacity8),focusStateLayerOpacity:yo.extend("--ft-collapsible-focus-state-layer-opacity","",go.opacity8),focusOutlineWidth:yo.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:yo.extend("--ft-collapsible-focus-focus-ring-color","",Zo.borderActionFocusRing),activeStateLayerOpacity:yo.extend("--ft-collapsible-active-state-layer-opacity","",go.opacity16),disabledComponentOpacity:yo.extend("--ft-collapsible-disabled-component-opacity","",go.opacity40),horizontalPadding:yo.extend("--ft-collapsible-horizontal-padding","",go.spacing4),verticalPadding:yo.extend("--ft-collapsible-vertical-padding","",go.spacing3),color:yo.extend("--ft-collapsible-color","",Zo.contentGlobalPrimary),stateLayerColor:yo.extend("--ft-collapsible-state-layer-color","",Zo.contentGlobalPrimary),backgroundColor:yo.extend("--ft-collapsible-background-color","",Zo.backgroundGlobalOnSurface),borderColor:yo.extend("--ft-collapsible-border-color","",Zo.borderGlobalSubtle),iconSize:yo.extend("--ft-collapsible-icon-size","",go.iconSize3)},nr={groupHorizontalPadding:yo.extend("--ft-switch-group-horizontal-padding","",go.spacing1),groupVerticalPadding:yo.extend("--ft-switch-group-vertical-padding","",go.spacing1),groupGap:yo.extend("--ft-switch-group-gap","",go.spacing1),groupBackgroundColor:yo.extend("--ft-switch-group-background-color","",Zo.backgroundGlobalSurface),groupBorderColor:yo.extend("--ft-switch-group-border-color","",Zo.borderGlobalSubtle),groupBorderRadius:yo.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:yo.extend("--ft-switch-label-horizontal-padding","",go.spacing2),labelVerticalPadding:yo.extend("--ft-switch-label-vertical-padding","",go.spacing1),offHoverStateLayerOpacity:yo.extend("--ft-switch-off-hover-state-layer-opacity","",go.opacity8),offFocusStateLayerOpacity:yo.extend("--ft-switch-off-focus-state-layer-opacity","",go.opacity8),offActiveStateLayerOpacity:yo.extend("--ft-switch-off-active-state-layer-opacity","",go.opacity16),offDisabledComponentOpacity:yo.extend("--ft-switch-off-disabled-component-opacity","",go.opacity40),offColor:yo.extend("--ft-switch-off-color","",Zo.contentGlobalSubtle),offStateLayerColor:yo.extend("--ft-switch-off-state-layer-color","",Zo.contentGlobalSubtle),onHoverStateLayerOpacity:yo.extend("--ft-switch-on-hover-state-layer-opacity","",go.opacity8),onFocusStateLayerOpacity:yo.extend("--ft-switch-on-focus-state-layer-opacity","",go.opacity8),onActiveStateLayerOpacity:yo.extend("--ft-switch-on-active-state-layer-opacity","",go.opacity16),onDisabledComponentOpacity:yo.extend("--ft-switch-on-disabled-component-opacity","",go.opacity40),onColor:yo.extend("--ft-switch-on-color","",Zo.contentActionPrimary),onStateLayerColor:yo.extend("--ft-switch-on-state-layer-color","",Zo.contentActionPrimary),iconHorizontalPadding:yo.extend("--ft-switch-icon-horizontal-padding","",go.spacing1),iconVerticalPadding:yo.extend("--ft-switch-icon-vertical-padding","",go.spacing1),focusOutlineWidth:yo.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:yo.extend("--ft-switch-focus-focus-ring-color","",Zo.borderActionFocusRing),optionBorderRadius:yo.extend("--ft-switch-option-border-radius","",go.borderRadiusS)},ar={color1Light:yo.extend("--ft-chart-1-light","for area color charts",go.colorBrand40),color1Base:yo.extend("--ft-chart-1-base","for line charts",go.colorBrand0),color2Light:yo.extend("--ft-chart-2-light","for area color charts",go.colorYellow60),color2Base:yo.extend("--ft-chart-2-base","for line charts",go.colorYellow100),color3Light:yo.extend("--ft-chart-3-light","",go.colorUltramarine40),color3Base:yo.extend("--ft-chart-3-base","",go.colorUltramarine70),color4Light:yo.extend("--ft-chart-4-light","",go.colorCyan50),color4Base:yo.extend("--ft-chart-4-base","",go.colorCyan100),color5Light:yo.extend("--ft-chart-5-light","",go.colorRed40),color5Base:yo.extend("--ft-chart-5-base","",go.colorRed60),color6Light:yo.extend("--ft-chart-6-light","",go.colorGreen40),color6Base:yo.extend("--ft-chart-6-base","",go.colorGreen70),color7Light:yo.extend("--ft-chart-7-light","",go.colorOrange70),color7Base:yo.extend("--ft-chart-7-base","",go.colorOrange100),color8Light:yo.extend("--ft-chart-8-light","",go.colorAvocado70),color8Base:yo.extend("--ft-chart-8-base","",go.colorAvocado200),color9Light:yo.extend("--ft-chart-9-light","",go.colorBrown50),color9Base:yo.extend("--ft-chart-9-base","",go.colorBrown200),color10Light:yo.extend("--ft-chart-10-light","",go.colorGray50),color10Base:yo.extend("--ft-chart-10-base","",go.colorGray80),monochrome10:yo.extend("--ft-chart-monochrome-10","",go.colorBrand10),monochrome20:yo.extend("--ft-chart-monochrome-20","",go.colorBrand20),monochrome30:yo.extend("--ft-chart-monochrome-30","",go.colorBrand40),monochrome40:yo.extend("--ft-chart-monochrome-40","",go.colorBrand60),monochrome50:yo.extend("--ft-chart-monochrome-50","",go.colorBrand0),monochrome60:yo.extend("--ft-chart-monochrome-60","",go.colorBrand200)},sr={largeHorizontalPadding:yo.extend("--ft-chip-large-horizontal-padding","",go.spacing4),largeVerticalPadding:yo.extend("--ft-chip-large-vertical-padding","",go.spacing2),largeGap:yo.extend("--ft-chip-large-gap","",go.spacing1),largeFocusOutlineOffset:yo.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:yo.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:yo.extend("--ft-chip-large-border-radius","",go.borderRadiusPill),largeBorderWidth:yo.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:yo.extend("--ft-chip-large-icon-size","",go.iconSize3),mediumHorizontalPadding:yo.extend("--ft-chip-medium-horizontal-padding","",go.spacing3),mediumVerticalPadding:yo.extend("--ft-chip-medium-vertical-padding","",go.spacing1),mediumGap:yo.extend("--ft-chip-medium-gap","",go.spacing1),mediumFocusOutlineOffset:yo.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:yo.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:yo.extend("--ft-chip-medium-border-radius","",go.borderRadiusPill),mediumBorderWidth:yo.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:yo.extend("--ft-chip-medium-icon-size","",go.iconSize2),smallHorizontalPadding:yo.extend("--ft-chip-small-horizontal-padding","",go.spacing2),smallVerticalPadding:yo.extend("--ft-chip-small-vertical-padding","",go.spacing05),smallGap:yo.extend("--ft-chip-small-gap","",go.spacing1),smallFocusOutlineOffset:yo.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:yo.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:yo.extend("--ft-chip-small-border-radius","",go.borderRadiusPill),smallBorderWidth:yo.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:yo.extend("--ft-chip-small-icon-size","",go.iconSize1),neutralBackgroundColor:yo.extend("--ft-chip-neutral-background-color","",Zo.backgroundGlobalOnSurface),neutralColor:yo.extend("--ft-chip-neutral-color","",Zo.contentGlobalPrimary),neutralIconColor:yo.extend("--ft-chip-neutral-icon-color","",Zo.contentGlobalPrimary),neutralBorderColor:yo.extend("--ft-chip-neutral-border-color","",Zo.borderGlobalSubtle),infoBackgroundColor:yo.extend("--ft-chip-info-background-color","",Zo.backgroundInfoSubtle),infoColor:yo.extend("--ft-chip-info-color","",Zo.contentInfoPrimary),infoIconColor:yo.extend("--ft-chip-info-icon-color","",Zo.contentInfoIconOnly),infoBorderColor:yo.extend("--ft-chip-info-border-color","",Zo.borderInfoSubtle),successBackgroundColor:yo.extend("--ft-chip-success-background-color","",Zo.backgroundSuccessSubtle),successColor:yo.extend("--ft-chip-success-color","",Zo.contentSuccessPrimary),successIconColor:yo.extend("--ft-chip-success-icon-color","",Zo.contentSuccessIconOnly),successBorderColor:yo.extend("--ft-chip-success-border-color","",Zo.borderSuccessSubtle),warningBackgroundColor:yo.extend("--ft-chip-warning-background-color","",Zo.backgroundWarningSubtle),warningColor:yo.extend("--ft-chip-warning-color","",Zo.contentWarningPrimary),warningIconColor:yo.extend("--ft-chip-warning-icon-color","",Zo.contentWarningIconOnly),warningBorderColor:yo.extend("--ft-chip-warning-border-color","",Zo.borderWarningSubtle),errorBackgroundColor:yo.extend("--ft-chip-error-background-color","",Zo.backgroundErrorSubtle),errorColor:yo.extend("--ft-chip-error-color","",Zo.contentErrorPrimary),errorIconColor:yo.extend("--ft-chip-error-icon-color","",Zo.contentErrorIconOnly),errorBorderColor:yo.extend("--ft-chip-error-border-color","",Zo.borderErrorSubtle)},cr={infoBorderColor:yo.extend("--ft-border-info-border-color","",Zo.borderInfoSubtle)},lr={borderWidth:yo.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:yo.extend("--ft-notice-horizontal-padding","",go.spacing2),verticalPadding:yo.extend("--ft-notice-vertical-padding","",go.spacing1),borderRadius:yo.extend("--ft-notice-border-radius","",go.borderRadiusS),gap:yo.extend("--ft-notice-gap","",go.spacing2),iconSize:yo.extend("--ft-notice-icon-size","",go.iconSize3),infoBackgroundColor:yo.extend("--ft-notice-info-background-color","",Zo.backgroundInfoSubtle),infoBorderColor:yo.extend("--ft-notice-info-border-color","",Zo.borderInfoSubtle),infoColor:yo.extend("--ft-notice-info-color","",Zo.contentInfoPrimary),infoIconColor:yo.extend("--ft-notice-info-icon-color","",Zo.contentInfoIconOnly),warningBackgroundColor:yo.extend("--ft-notice-warning-background-color","",Zo.backgroundWarningSubtle),warningBorderColor:yo.extend("--ft-notice-warning-border-color","",Zo.borderWarningSubtle),warningColor:yo.extend("--ft-notice-warning-color","",Zo.contentWarningPrimary),warningIconColor:yo.extend("--ft-notice-warning-icon-color","",Zo.contentWarningIconOnly),errorBackgroundColor:yo.extend("--ft-notice-error-background-color","",Zo.backgroundErrorSubtle),errorBorderColor:yo.extend("--ft-notice-error-border-color","",Zo.borderErrorSubtle),errorColor:yo.extend("--ft-notice-error-color","",Zo.contentErrorPrimary),errorIconColor:yo.extend("--ft-notice-error-icon-color","",Zo.contentErrorIconOnly),successBackgroundColor:yo.extend("--ft-notice-success-background-color","",Zo.backgroundSuccessSubtle),successBorderColor:yo.extend("--ft-notice-success-border-color","",Zo.borderSuccessSubtle),successColor:yo.extend("--ft-notice-success-color","",Zo.contentSuccessPrimary),successIconColor:yo.extend("--ft-notice-success-icon-color","",Zo.contentSuccessIconOnly)},fr={color:yo.extend("--ft-checkbox-color","",Zo.contentGlobalPrimary),checkedBackgroundColor:yo.extend("--ft-checkbox-checked-background-color","",Zo.contentActionPrimary),checkedStateLayerColor:yo.extend("--ft-checkbox-checked-state-layer-color","",Zo.contentActionPrimary),checkedIconColor:yo.extend("--ft-checkbox-checked-icon-color","",Zo.contentGlobalOnColor),checkedHoverStateLayerOpacity:yo.extend("--ft-checkbox-checked-hover-state-layer-opacity","",go.opacity16),checkedFocusStateLayerOpacity:yo.extend("--ft-checkbox-checked-focus-state-layer-opacity","",go.opacity16),checkedActiveStateLayerOpacity:yo.extend("--ft-checkbox-checked-active-state-layer-opacity","",go.opacity24),checkedDisabledComponentOpacity:yo.extend("--ft-checkbox-checked-disabled-component-opacity","",go.opacity40),uncheckedBorderColor:yo.extend("--ft-checkbox-unchecked-border-color","",go.colorGray80),uncheckedStateLayerColor:yo.extend("--ft-checkbox-unchecked-state-layer-color","",go.colorGray80),uncheckedHoverStateLayerOpacity:yo.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",go.opacity16),uncheckedFocusStateLayerOpacity:yo.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",go.opacity16),uncheckedActiveStateLayerOpacity:yo.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",go.opacity24),uncheckedDisabledComponentOpacity:yo.extend("--ft-checkbox-unchecked-disabled-component-opacity","",go.opacity40),focusFocusRingColor:yo.extend("--ft-checkbox-focus-focus-ring-color","",Zo.borderActionFocusRing),focusOutlineOffset:yo.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:yo.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:yo.extend("--ft-checkbox-gap","",go.spacing3)},ur={offHoverStateLayerOpacity:yo.extend("--ft-toggle-off-hover-state-layer-opacity","",go.opacity16),offFocusStateLayerOpacity:yo.extend("--ft-toggle-off-focus-state-layer-opacity","",go.opacity16),offActiveStateLayerOpacity:yo.extend("--ft-toggle-off-active-state-layer-opacity","",go.opacity24),offDisabledComponentOpacity:yo.extend("--ft-toggle-off-disabled-component-opacity","",go.opacity40),offBackgroundColor:yo.extend("--ft-toggle-off-background-color","",Zo.contentGlobalSubtle),offIconColor:yo.extend("--ft-toggle-off-icon-color","",Zo.contentGlobalSubtle),offStateLayerColor:yo.extend("--ft-toggle-off-state-layer-color","",Zo.contentGlobalSubtle),onHoverStateLayerOpacity:yo.extend("--ft-toggle-on-hover-state-layer-opacity","",go.opacity16),onFocusStateLayerOpacity:yo.extend("--ft-toggle-on-focus-state-layer-opacity","",go.opacity16),onActiveStateLayerOpacity:yo.extend("--ft-toggle-on-active-state-layer-opacity","",go.opacity24),onDisabledComponentOpacity:yo.extend("--ft-toggle-on-disabled-component-opacity","",go.opacity40),onBackgroundColor:yo.extend("--ft-toggle-on-background-color","",Zo.contentActionPrimary),onStateLayerColor:yo.extend("--ft-toggle-on-state-layer-color","",Zo.contentActionPrimary),onIconColor:yo.extend("--ft-toggle-on-icon-color","",Zo.contentActionPrimary),color:yo.extend("--ft-toggle-color","",Zo.contentGlobalPrimary),focusFocusRingColor:yo.extend("--ft-toggle-focus-focus-ring-color","",Zo.borderActionFocusRing),gap:yo.extend("--ft-toggle-gap","",go.spacing3)},hr={color:yo.extend("--ft-radio-color","",Zo.contentGlobalPrimary),selectedRadioColor:yo.extend("--ft-radio-selected-radio-color","",Zo.contentActionPrimary),selectedStateLayerColor:yo.extend("--ft-radio-selected-state-layer-color","",Zo.contentActionPrimary),selectedHoverStateLayerOpacity:yo.extend("--ft-radio-selected-hover-state-layer-opacity","",go.opacity16),selectedFocusStateLayerOpacity:yo.extend("--ft-radio-selected-focus-state-layer-opacity","",go.opacity16),selectedActiveStateLayerOpacity:yo.extend("--ft-radio-selected-active-state-layer-opacity","",go.opacity24),selectedDisabledComponentOpacity:yo.extend("--ft-radio-selected-disabled-component-opacity","",go.opacity40),unselectedStateLayerColor:yo.extend("--ft-radio-unselected-state-layer-color","",Zo.borderInputPrimary),unselectedBorderColor:yo.extend("--ft-radio-unselected-border-color","",Zo.borderInputPrimary),unselectedHoverStateLayerOpacity:yo.extend("--ft-radio-unselected-hover-state-layer-opacity","",go.opacity16),unselectedFocusStateLayerOpacity:yo.extend("--ft-radio-unselected-focus-state-layer-opacity","",go.opacity16),unselectedActiveStateLayerOpacity:yo.extend("--ft-radio-unselected-active-state-layer-opacity","",go.opacity24),unselectedDisabledComponentOpacity:yo.extend("--ft-radio-unselected-disabled-component-opacity","",go.opacity40),focusFocusRingColor:yo.extend("--ft-radio-focus-focus-ring-color","",Zo.borderActionFocusRing),focusOutlineOffset:yo.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:yo.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:yo.extend("--ft-radio-gap","",go.spacing3)},dr={iconSize:yo.extend("--ft-notification-icon-size","",go.iconSize4),horizontalPadding:yo.extend("--ft-notification-horizontal-padding","",go.spacing4),verticalPadding:yo.extend("--ft-notification-vertical-padding","",go.spacing4),infoBackgroundColor:yo.extend("--ft-notification-info-background-color","",Zo.backgroundInfoSubtle),infoColor:yo.extend("--ft-notification-info-color","",Zo.contentInfoPrimary),infoIconColor:yo.extend("--ft-notification-info-icon-color","",Zo.contentInfoIconOnly),infoBorderColor:yo.extend("--ft-notification-info-border-color","",Zo.borderInfoSubtle),successBackgroundColor:yo.extend("--ft-notification-success-background-color","",Zo.backgroundSuccessSubtle),successColor:yo.extend("--ft-notification-success-color","",Zo.contentSuccessPrimary),successIconColor:yo.extend("--ft-notification-success-icon-color","",Zo.contentSuccessIconOnly),successBorderColor:yo.extend("--ft-notification-success-border-color","",Zo.borderSuccessSubtle),warningBackgroundColor:yo.extend("--ft-notification-warning-background-color","",Zo.backgroundWarningSubtle),warningColor:yo.extend("--ft-notification-warning-color","",Zo.contentWarningPrimary),warningIconColor:yo.extend("--ft-notification-warning-icon-color","",Zo.contentWarningIconOnly),warningBorderColor:yo.extend("--ft-notification-warning-border-color","",Zo.borderWarningSubtle),errorBackgroundColor:yo.extend("--ft-notification-error-background-color","",Zo.backgroundErrorSubtle),errorColor:yo.extend("--ft-notification-error-color","",Zo.contentErrorPrimary),errorIconColor:yo.extend("--ft-notification-error-icon-color","",Zo.contentErrorIconOnly),errorBorderColor:yo.extend("--ft-notification-error-border-color","",Zo.borderErrorSubtle),borderRadius:yo.extend("--ft-notification-border-radius","",go.borderRadiusPill),borderWidth:yo.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:yo.extend("--ft-notification-leading-gap","",go.spacing2),trailingGap:yo.extend("--ft-notification-trailing-gap","",go.spacing8)},pr={horizontalPadding:yo.extend("--ft-tooltip-horizontal-padding","",go.spacing2),verticalPadding:yo.extend("--ft-tooltip-vertical-padding","",go.spacing2),borderRadius:yo.extend("--ft-tooltip-border-radius","",go.borderRadiusS),color:yo.extend("--ft-tooltip-color","",Zo.contentGlobalOnColor),backgroundColor:yo.extend("--ft-tooltip-background-color","",Zo.contentGlobalPrimary),backgroundOpacity:yo.extend("--ft-tooltip-background-opacity","",go.opacity80),shadow:yo.extend("--ft-tooltip-shadow","",go.shadowElevation03),maxWidth:yo.create("--ft-tooltip-max-width","","SIZE","256px"),gap:yo.extend("--ft-tooltip-gap","",go.spacing05)};var yr=Object.freeze({__proto__:null,FtCssVariableFactory:yo,banner:$o,border:cr,breadcrumb:Go,button:To,chart:ar,checkbox:fr,chip:sr,collapsible:ir,comboboxMultiSelect:er,comboboxSingleSelect:tr,drawer:Yo,floatingMenu:Qo,foundation:go,modal:qo,notice:lr,notification:dr,pageHeader:Vo,popover:or,radio:hr,semantic:Zo,setVariable:function(t,e){return po(`${t.name}: ${e}`)},switch_:nr,tabs:rr,textArea:Xo,textInput:Jo,toggle:ur,tooltip:pr,typographies:Ho,typographyBody1Medium:wo,typographyBody1Regular:So,typographyBody1Semibold:xo,typographyBody2Medium:No,typographyBody2MediumUnderline:Eo,typographyBody2Regular:Co,typographyBody2Semibold:Ro,typographyCaption1Bold:_o,typographyCaption1Medium:Bo,typographyCaption1Semibold:Fo,typographyCaption2Bold:Do,typographyCaption2Medium:Po,typographyCaption2Semibold:zo,typographyCaption3Bold:Ko,typographyCaption3Medium:Mo,typographyCaption3Semibold:jo,typographyDisplay:bo,typographyLabel1Bold:Uo,typographyLabel1Medium:Io,typographyLabel1Semibold:Lo,typographyLabel2Bold:Ao,typographyLabel2Medium:Wo,typographyLabel2Semibold:ko,typographyTitle1:mo,typographyTitle2:vo,typographyTitle3:Oo,typographyVariants:["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"]});const gr={colorPrimary:yo.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:yo.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:yo.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:yo.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:yo.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:yo.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:yo.create("--ft-color-error","","COLOR","#B00020"),colorOutline:yo.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:yo.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:yo.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:yo.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:yo.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:yo.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:yo.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:yo.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:yo.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:yo.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:yo.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:yo.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:yo.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:yo.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:yo.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:yo.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:yo.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:yo.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:yo.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:yo.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:yo.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:yo.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:yo.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:yo.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:yo.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:yo.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:yo.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:yo.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:yo.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:yo.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:yo.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:yo.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:yo.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:yo.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:yo.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:yo.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:yo.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:yo.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:yo.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:yo.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:yo.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:yo.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:yo.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:yo.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:yo.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:yo.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:yo.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:yo.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:yo.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:yo.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:yo.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:yo.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:yo.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:yo.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:yo.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var br=Object.freeze({__proto__:null,designSystemVariables:gr});class mr extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}}class vr extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}}class Or extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}}var Sr=Object.freeze({__proto__:null,FtNotificationEvent:mr,PostResizeEvent:Or,PreResizeEvent:vr});const wr=["start","end"],xr=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+wr[0],e+"-"+wr[1])),[]),Cr=Math.min,Nr=Math.max,Er=Math.round,Rr=t=>({x:t,y:t}),Ir={left:"right",right:"left",bottom:"top",top:"bottom"},Lr={start:"end",end:"start"};function Ur(t,e,o){return Nr(t,Cr(e,o))}function Wr(t,e){return"function"==typeof t?t(e):t}function kr(t){return t.split("-")[0]}function Ar(t){return t.split("-")[1]}function Br(t){return"x"===t?"y":"x"}function Fr(t){return"y"===t?"height":"width"}function _r(t){return["top","bottom"].includes(kr(t))?"y":"x"}function Pr(t){return Br(_r(t))}function zr(t){return t.replace(/left|right|bottom|top/g,(t=>Ir[t]))}function Dr(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Mr(t,e,o){let{reference:r,floating:i}=t;const n=_r(e),a=Pr(e),s=Fr(a),c=kr(e),l="y"===n,f=r.x+r.width/2-i.width/2,u=r.y+r.height/2-i.height/2,h=r[s]/2-i[s]/2;let d;switch(c){case"top":d={x:f,y:r.y-i.height};break;case"bottom":d={x:f,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:u};break;case"left":d={x:r.x-i.width,y:u};break;default:d={x:r.x,y:r.y}}switch(Ar(e)){case"start":d[a]-=h*(o&&l?-1:1);break;case"end":d[a]+=h*(o&&l?-1:1)}return d}async function jr(t,e){var o;void 0===e&&(e={});const{x:r,y:i,platform:n,rects:a,elements:s,strategy:c}=t,{boundary:l="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:h=!1,padding:d=0}=Wr(e,t),p=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(d),y=s[h?"floating"===u?"reference":"floating":u],g=Dr(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(y)))||o?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:l,rootBoundary:f,strategy:c})),b="floating"===u?{...a.floating,x:r,y:i}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),v=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},O=Dr(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:c}):b);return{top:(g.top-O.top+p.top)/v.y,bottom:(O.bottom-g.bottom+p.bottom)/v.y,left:(g.left-O.left+p.left)/v.x,right:(O.right-g.right+p.right)/v.x}}function Kr(t,e,o){return(t?[...o.filter((e=>Ar(e)===t)),...o.filter((e=>Ar(e)!==t))]:o.filter((t=>kr(t)===t))).filter((o=>!t||(Ar(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>Lr[t]))}(o)!==o)))}const Hr=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,r,i;const{rects:n,middlewareData:a,placement:s,platform:c,elements:l}=e,{crossAxis:f=!1,alignment:u,allowedPlacements:h=xr,autoAlignment:d=!0,...p}=Wr(t,e),y=void 0!==u||h===xr?Kr(u||null,d,h):h,g=await jr(e,p),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=y[b];if(null==m)return{};const v=function(t,e,o){void 0===o&&(o=!1);const r=Ar(t),i=Pr(t),n=Fr(i);let a="x"===i?r===(o?"end":"start")?"right":"left":"start"===r?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=zr(a)),[a,zr(a)]}(m,n,await(null==c.isRTL?void 0:c.isRTL(l.floating)));if(s!==m)return{reset:{placement:y[0]}};const O=[g[kr(m)],g[v[0]],g[v[1]]],S=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:O}],w=y[b+1];if(w)return{data:{index:b+1,overflows:S},reset:{placement:w}};const x=S.map((t=>{const e=Ar(t.placement);return[t.placement,e&&f?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),C=x.filter((t=>t[2].slice(0,Ar(t[0])?2:3).every((t=>t<=0)))),N=(null==(i=C[0])?void 0:i[0])||x[0][0];return N!==s?{data:{index:b+1,overflows:S},reset:{placement:N}}:{}}}};function Zr(t){return Gr(t)?(t.nodeName||"").toLowerCase():"#document"}function Tr(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function $r(t){var e;return null==(e=(Gr(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function Gr(t){return t instanceof Node||t instanceof Tr(t).Node}function Vr(t){return t instanceof Element||t instanceof Tr(t).Element}function qr(t){return t instanceof HTMLElement||t instanceof Tr(t).HTMLElement}function Yr(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Tr(t).ShadowRoot)}function Jr(t){const{overflow:e,overflowX:o,overflowY:r,display:i}=oi(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+o)&&!["inline","contents"].includes(i)}function Xr(t){return["table","td","th"].includes(Zr(t))}function Qr(t){const e=ti(),o=oi(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function ti(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function ei(t){return["html","body","#document"].includes(Zr(t))}function oi(t){return Tr(t).getComputedStyle(t)}function ri(t){return Vr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ii(t){if("html"===Zr(t))return t;const e=t.assignedSlot||t.parentNode||Yr(t)&&t.host||$r(t);return Yr(e)?e.host:e}function ni(t){const e=ii(t);return ei(e)?t.ownerDocument?t.ownerDocument.body:t.body:qr(e)&&Jr(e)?e:ni(e)}function ai(t,e,o){var r;void 0===e&&(e=[]),void 0===o&&(o=!0);const i=ni(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=Tr(i);return n?e.concat(a,a.visualViewport||[],Jr(i)?i:[],a.frameElement&&o?ai(a.frameElement):[]):e.concat(i,ai(i,[],o))}function si(t){const e=oi(t);let o=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const i=qr(t),n=i?t.offsetWidth:o,a=i?t.offsetHeight:r,s=Er(o)!==n||Er(r)!==a;return s&&(o=n,r=a),{width:o,height:r,$:s}}function ci(t){return Vr(t)?t:t.contextElement}function li(t){const e=ci(t);if(!qr(e))return Rr(1);const o=e.getBoundingClientRect(),{width:r,height:i,$:n}=si(e);let a=(n?Er(o.width):o.width)/r,s=(n?Er(o.height):o.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const fi=Rr(0);function ui(t){const e=Tr(t);return ti()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:fi}function hi(t,e,o,r){void 0===e&&(e=!1),void 0===o&&(o=!1);const i=t.getBoundingClientRect(),n=ci(t);let a=Rr(1);e&&(r?Vr(r)&&(a=li(r)):a=li(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==Tr(t))&&e}(n,o,r)?ui(n):Rr(0);let c=(i.left+s.x)/a.x,l=(i.top+s.y)/a.y,f=i.width/a.x,u=i.height/a.y;if(n){const t=Tr(n),e=r&&Vr(r)?Tr(r):r;let o=t.frameElement;for(;o&&r&&e!==t;){const t=li(o),e=o.getBoundingClientRect(),r=oi(o),i=e.left+(o.clientLeft+parseFloat(r.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(r.paddingTop))*t.y;c*=t.x,l*=t.y,f*=t.x,u*=t.y,c+=i,l+=n,o=Tr(o).frameElement}}return Dr({width:f,height:u,x:c,y:l})}function di(t){return hi($r(t)).left+ri(t).scrollLeft}function pi(t,e,o){let r;if("viewport"===e)r=function(t,e){const o=Tr(t),r=$r(t),i=o.visualViewport;let n=r.clientWidth,a=r.clientHeight,s=0,c=0;if(i){n=i.width,a=i.height;const t=ti();(!t||t&&"fixed"===e)&&(s=i.offsetLeft,c=i.offsetTop)}return{width:n,height:a,x:s,y:c}}(t,o);else if("document"===e)r=function(t){const e=$r(t),o=ri(t),r=t.ownerDocument.body,i=Nr(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),n=Nr(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let a=-o.scrollLeft+di(t);const s=-o.scrollTop;return"rtl"===oi(r).direction&&(a+=Nr(e.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:s}}($r(t));else if(Vr(e))r=function(t,e){const o=hi(t,!0,"fixed"===e),r=o.top+t.clientTop,i=o.left+t.clientLeft,n=qr(t)?li(t):Rr(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:i*n.x,y:r*n.y}}(e,o);else{const o=ui(t);r={...e,x:e.x-o.x,y:e.y-o.y}}return Dr(r)}function yi(t,e){const o=ii(t);return!(o===e||!Vr(o)||ei(o))&&("fixed"===oi(o).position||yi(o,e))}function gi(t,e,o){const r=qr(e),i=$r(e),n="fixed"===o,a=hi(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const c=Rr(0);if(r||!r&&!n)if(("body"!==Zr(e)||Jr(i))&&(s=ri(e)),r){const t=hi(e,!0,n,e);c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}else i&&(c.x=di(i));return{x:a.left+s.scrollLeft-c.x,y:a.top+s.scrollTop-c.y,width:a.width,height:a.height}}function bi(t,e){return qr(t)&&"fixed"!==oi(t).position?e?e(t):t.offsetParent:null}function mi(t,e){const o=Tr(t);if(!qr(t))return o;let r=bi(t,e);for(;r&&Xr(r)&&"static"===oi(r).position;)r=bi(r,e);return r&&("html"===Zr(r)||"body"===Zr(r)&&"static"===oi(r).position&&!Qr(r))?o:r||function(t){let e=ii(t);for(;qr(e)&&!ei(e);){if(Qr(e))return e;e=ii(e)}return null}(t)||o}const vi={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:r}=t;const i=qr(o),n=$r(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=Rr(1);const c=Rr(0);if((i||!i&&"fixed"!==r)&&(("body"!==Zr(o)||Jr(n))&&(a=ri(o)),qr(o))){const t=hi(o);s=li(o),c.x=t.x+o.clientLeft,c.y=t.y+o.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-a.scrollLeft*s.x+c.x,y:e.y*s.y-a.scrollTop*s.y+c.y}},getDocumentElement:$r,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:r,strategy:i}=t;const n=[..."clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let r=ai(t,[],!1).filter((t=>Vr(t)&&"body"!==Zr(t))),i=null;const n="fixed"===oi(t).position;let a=n?ii(t):t;for(;Vr(a)&&!ei(a);){const e=oi(a),o=Qr(a);o||"fixed"!==e.position||(i=null),(n?!o&&!i:!o&&"static"===e.position&&i&&["absolute","fixed"].includes(i.position)||Jr(a)&&!o&&yi(t,a))?r=r.filter((t=>t!==a)):i=e,a=ii(a)}return e.set(t,r),r}(e,this._c):[].concat(o),r],a=n[0],s=n.reduce(((t,o)=>{const r=pi(e,o,i);return t.top=Nr(r.top,t.top),t.right=Cr(r.right,t.right),t.bottom=Cr(r.bottom,t.bottom),t.left=Nr(r.left,t.left),t}),pi(e,a,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:mi,getElementRects:async function(t){let{reference:e,floating:o,strategy:r}=t;const i=this.getOffsetParent||mi,n=this.getDimensions;return{reference:gi(e,await i(o),r),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return si(t)},getScale:li,isElement:Vr,isRTL:function(t){return"rtl"===oi(t).direction}},Oi=(t,e,o)=>{const r=new Map,i={platform:vi,...o},n={...i.platform,_c:r};return(async(t,e,o)=>{const{placement:r="bottom",strategy:i="absolute",middleware:n=[],platform:a}=o,s=n.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(e));let l=await a.getElementRects({reference:t,floating:e,strategy:i}),{x:f,y:u}=Mr(l,r,c),h=r,d={},p=0;for(let o=0;o<s.length;o++){const{name:n,fn:y}=s[o],{x:g,y:b,data:m,reset:v}=await y({x:f,y:u,initialPlacement:r,placement:h,strategy:i,middlewareData:d,rects:l,platform:a,elements:{reference:t,floating:e}});f=null!=g?g:f,u=null!=b?b:u,d={...d,[n]:{...d[n],...m}},v&&p<=50&&(p++,"object"==typeof v&&(v.placement&&(h=v.placement),v.rects&&(l=!0===v.rects?await a.getElementRects({reference:t,floating:e,strategy:i}):v.rects),({x:f,y:u}=Mr(l,h,c))),o=-1)}return{x:f,y:u,placement:h,strategy:i,middlewareData:d}})(t,e,{...i,platform:n})};function Si(t){return function(t){for(let e=t;e;e=wi(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=wi(t);e;e=wi(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}(t)}function wi(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var xi=Object.freeze({__proto__:null,computeOffsetPosition:async function(t,e,o){return Oi(t,e,{platform:{...vi,getOffsetParent:t=>vi.getOffsetParent(t,Si)},middleware:[(r={crossAxis:!0},void 0===r&&(r={}),{name:"shift",options:r,async fn(t){const{x:e,y:o,placement:i}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...c}=Wr(r,t),l={x:e,y:o},f=await jr(t,c),u=_r(kr(i)),h=Br(u);let d=l[h],p=l[u];if(n){const t="y"===h?"bottom":"right";d=Ur(d+f["y"===h?"top":"left"],d,d-f[t])}if(a){const t="y"===u?"bottom":"right";p=Ur(p+f["y"===u?"top":"left"],p,p-f[t])}const y=s.fn({...t,[h]:d,[u]:p});return{...y,data:{x:y.x-e,y:y.y-o}}}}),Hr({allowedPlacements:[o]})]});var r}});
|
|
137
|
-
|
|
232
|
+
*)
|
|
233
|
+
|
|
234
|
+
@lit/reactive-element/css-tag.js:
|
|
235
|
+
(**
|
|
138
236
|
* @license
|
|
139
237
|
* Copyright 2019 Google LLC
|
|
140
238
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
141
|
-
*/const Ci=window,Ni=Ci.ShadowRoot&&(void 0===Ci.ShadyCSS||Ci.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class Ei extends ge{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,o])=>t.registry.define(e,o))));const e={...t.shadowRootOptions,customElements:t.registry},o=this.renderOptions.creationScope=this.attachShadow(e);return((t,e)=>{Ni?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),r=Ci.litNonce;void 0!==r&&o.setAttribute("nonce",r),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var Ri,Ii=Object.freeze({__proto__:null,ScopedRegistryLitElement:Ei}),Li=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const Ui=Symbol("constructorPrototype"),Wi=Symbol("constructorName"),ki=Symbol("exportpartsDebouncer");class Ai extends Ei{constructor(){super(),this.adoptedCustomStyleSheet=new CSSStyleSheet,this.useAdoptedStyleSheets=!0,this[Ri]=new oo(5),this[Wi]=this.constructor.name,this[Ui]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Wi]&&Object.setPrototypeOf(this,this[Ui])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet])}catch(t){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",t)}}updated(t){super.updated(t),this.updateComplete.then((()=>{this.contentAvailableCallback(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate()}))}contentAvailableCallback(t){}applyCustomStylesheet(t){var e,o,r;if(this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync(null!==(e=this.customStylesheet)&&void 0!==e?e:"")}catch(t){console.error(t,this.customStylesheet)}}else if((null!==(r=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==r?r:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){var t,e,o;((null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())||null!==(o=null===(e=this.exportpartsPrefixes)||void 0===e?void 0:e.length)&&void 0!==o&&o)&&this[ki].run((()=>{var t,e;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&(null===(e=this.exportpartsPrefixes)||void 0===e?void 0:e.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,o,r,i,n,a;const s=t=>null!=t&&t.trim().length>0,c=t.filter(s).map((t=>t.trim()));if(0===c.length)return void this.removeAttribute("exportparts");const l=new Set;for(let t of null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==o?o:[]){const e=null!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],o=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...e,...o).filter(s).map((t=>t.trim())).forEach((t=>l.add(t)))}if(0===l.size)return void this.removeAttribute("exportparts");const f=[...l.values()].flatMap((t=>c.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}Ri=ki,Li([Se()],Ai.prototype,"exportpartsPrefix",void 0),Li([fo([])],Ai.prototype,"exportpartsPrefixes",void 0),Li([Se()],Ai.prototype,"customStylesheet",void 0);var Bi=Object.freeze({__proto__:null,FtLitElement:Ai}),Fi=Object.freeze({__proto__:null});class _i{constructor(t,e=!0,o=[],r=5e3){this.ctx=t,this.iframes=e,this.exclude=o,this.iframesTimeout=r}static matches(t,e){const o="string"==typeof e?[e]:e,r=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(r){let e=!1;return o.every((o=>!r.call(t,o)||(e=!0,!1))),e}return!1}getContexts(){let t,e=[];return t=void 0!==this.ctx&&this.ctx?NodeList.prototype.isPrototypeOf(this.ctx)?Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?this.ctx:"string"==typeof this.ctx?Array.prototype.slice.call(document.querySelectorAll(this.ctx)):[this.ctx]:[],t.forEach((t=>{const o=e.filter((e=>e.contains(t))).length>0;-1!==e.indexOf(t)||o||e.push(t)})),e}getIframeContents(t,e,o=(()=>{})){let r;try{const e=t.contentWindow;if(r=e.document,!e||!r)throw new Error("iframe inaccessible")}catch(t){o()}r&&e(r)}isIframeBlank(t){const e="about:blank",o=t.getAttribute("src").trim();return t.contentWindow.location.href===e&&o!==e&&o}observeIframeLoad(t,e,o){let r=!1,i=null;const n=()=>{if(!r){r=!0,clearTimeout(i);try{this.isIframeBlank(t)||(t.removeEventListener("load",n),this.getIframeContents(t,e,o))}catch(t){o()}}};t.addEventListener("load",n),i=setTimeout(n,this.iframesTimeout)}onIframeReady(t,e,o){try{"complete"===t.contentWindow.document.readyState?this.isIframeBlank(t)?this.observeIframeLoad(t,e,o):this.getIframeContents(t,e,o):this.observeIframeLoad(t,e,o)}catch(t){o()}}waitForIframes(t,e){let o=0;this.forEachIframe(t,(()=>!0),(t=>{o++,this.waitForIframes(t.querySelector("html"),(()=>{--o||e()}))}),(t=>{t||e()}))}forEachIframe(t,e,o,r=(()=>{})){let i=t.querySelectorAll("iframe"),n=i.length,a=0;i=Array.prototype.slice.call(i);const s=()=>{--n<=0&&r(a)};n||s(),i.forEach((t=>{_i.matches(t,this.exclude)?s():this.onIframeReady(t,(r=>{e(t)&&(a++,o(r)),s()}),s)}))}createIterator(t,e,o){return document.createNodeIterator(t,e,o,!1)}createInstanceOnIframe(t){return new _i(t.querySelector("html"),this.iframes)}compareNodeIframe(t,e,o){if(t.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_PRECEDING){if(null===e)return!0;if(e.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_FOLLOWING)return!0}return!1}getIteratorNode(t){const e=t.previousNode();let o;return o=(null===e||t.nextNode())&&t.nextNode(),{prevNode:e,node:o}}checkIframeFilter(t,e,o,r){let i=!1,n=!1;return r.forEach(((t,e)=>{t.val===o&&(i=e,n=t.handled)})),this.compareNodeIframe(t,e,o)?(!1!==i||n?!1===i||n||(r[i].handled=!0):r.push({val:o,handled:!0}),!0):(!1===i&&r.push({val:o,handled:!1}),!1)}handleOpenIframes(t,e,o,r){t.forEach((t=>{t.handled||this.getIframeContents(t.val,(t=>{this.createInstanceOnIframe(t).forEachNode(e,o,r)}))}))}iterateThroughNodes(t,e,o,r,i){const n=this.createIterator(e,t,r);let a,s,c=[],l=[],f=()=>(({prevNode:s,node:a}=this.getIteratorNode(n)),a);for(;f();)this.iframes&&this.forEachIframe(e,(t=>this.checkIframeFilter(a,s,t,c)),(e=>{this.createInstanceOnIframe(e).forEachNode(t,(t=>l.push(t)),r)})),l.push(a);l.forEach((t=>{o(t)})),this.iframes&&this.handleOpenIframes(c,t,o,r),i()}forEachNode(t,e,o,r=(()=>{})){const i=this.getContexts();let n=i.length;n||r(),i.forEach((i=>{const a=()=>{this.iterateThroughNodes(t,i,e,o,(()=>{--n<=0&&r()}))};this.iframes?this.waitForIframes(i,a):a()}))}}const Pi=function(t){const e=new class{constructor(t){this.ctx=t,this.ie=!1;const e=window.navigator.userAgent;(e.indexOf("MSIE")>-1||e.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(t){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},t)}get opt(){return this._opt}get iterator(){return new _i(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,e="debug"){const o=this.opt.log;this.opt.debug&&"object"==typeof o&&"function"==typeof o[e]&&o[e](`mark.js: ${t}`)}escapeStr(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(t){return"disabled"!==this.opt.wildcards&&(t=this.setupWildcardsRegExp(t)),t=this.escapeStr(t),Object.keys(this.opt.synonyms).length&&(t=this.createSynonymsRegExp(t)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),this.opt.diacritics&&(t=this.createDiacriticsRegExp(t)),t=this.createMergedBlanksRegExp(t),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.createJoinersRegExp(t)),"disabled"!==this.opt.wildcards&&(t=this.createWildcardsRegExp(t)),this.createAccuracyRegExp(t)}createSynonymsRegExp(t){const e=this.opt.synonyms,o=this.opt.caseSensitive?"":"i",r=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let i in e)if(e.hasOwnProperty(i)){const n=e[i],a="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(i):this.escapeStr(i),s="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(n):this.escapeStr(n);""!==a&&""!==s&&(t=t.replace(new RegExp(`(${this.escapeStr(a)}|${this.escapeStr(s)})`,`gm${o}`),r+`(${this.processSynomyms(a)}|`+`${this.processSynomyms(s)})`+r))}return t}processSynomyms(t){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),t}setupWildcardsRegExp(t){return(t=t.replace(/(?:\\)*\?/g,(t=>"\\"===t.charAt(0)?"?":""))).replace(/(?:\\)*\*/g,(t=>"\\"===t.charAt(0)?"*":""))}createWildcardsRegExp(t){let e="withSpaces"===this.opt.wildcards;return t.replace(/\u0001/g,e?"[\\S\\s]?":"\\S?").replace(/\u0002/g,e?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,((t,e,o)=>{let r=o.charAt(e+1);return/[(|)\\]/.test(r)||""===r?t:t+"\0"}))}createJoinersRegExp(t){let e=[];const o=this.opt.ignorePunctuation;return Array.isArray(o)&&o.length&&e.push(this.escapeStr(o.join(""))),this.opt.ignoreJoiners&&e.push("\\u00ad\\u200b\\u200c\\u200d"),e.length?t.split(/\u0000+/).join(`[${e.join("")}]*`):t}createDiacriticsRegExp(t){const e=this.opt.caseSensitive?"":"i",o=this.opt.caseSensitive?["aàáảãạăằắẳẵặâầấẩẫậäåāą","AÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćč","CÇĆČ","dđď","DĐĎ","eèéẻẽẹêềếểễệëěēę","EÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïī","IÌÍỈĨỊÎÏĪ","lł","LŁ","nñňń","NÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøō","OÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rř","RŘ","sšśșş","SŠŚȘŞ","tťțţ","TŤȚŢ","uùúủũụưừứửữựûüůū","UÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿ","YÝỲỶỸỴŸ","zžżź","ZŽŻŹ"]:["aàáảãạăằắẳẵặâầấẩẫậäåāąAÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćčCÇĆČ","dđďDĐĎ","eèéẻẽẹêềếểễệëěēęEÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïīIÌÍỈĨỊÎÏĪ","lłLŁ","nñňńNÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøōOÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rřRŘ","sšśșşSŠŚȘŞ","tťțţTŤȚŢ","uùúủũụưừứửữựûüůūUÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿYÝỲỶỸỴŸ","zžżźZŽŻŹ"];let r=[];return t.split("").forEach((i=>{o.every((o=>{if(-1!==o.indexOf(i)){if(r.indexOf(o)>-1)return!1;t=t.replace(new RegExp(`[${o}]`,`gm${e}`),`[${o}]`),r.push(o)}return!0}))})),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gim,"[\\s]+")}createAccuracyRegExp(t){let e=this.opt.accuracy,o="string"==typeof e?e:e.value,r="string"==typeof e?[]:e.limiters,i="";switch(r.forEach((t=>{i+=`|${this.escapeStr(t)}`})),o){case"partially":default:return`()(${t})`;case"complementary":return i="\\s"+(i||this.escapeStr("!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~¡¿")),`()([^${i}]*${t}[^${i}]*)`;case"exactly":return`(^|\\s${i})(${t})(?=$|\\s${i})`}}getSeparatedKeywords(t){let e=[];return t.forEach((t=>{this.opt.separateWordSearch?t.split(" ").forEach((t=>{t.trim()&&-1===e.indexOf(t)&&e.push(t)})):t.trim()&&-1===e.indexOf(t)&&e.push(t)})),{keywords:e.sort(((t,e)=>e.length-t.length)),length:e.length}}isNumeric(t){return Number(parseFloat(t))==t}checkRanges(t){if(!Array.isArray(t)||"[object Object]"!==Object.prototype.toString.call(t[0]))return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(t),[];const e=[];let o=0;return t.sort(((t,e)=>t.start-e.start)).forEach((t=>{let{start:r,end:i,valid:n}=this.callNoMatchOnInvalidRanges(t,o);n&&(t.start=r,t.length=i-r,e.push(t),o=i)})),e}callNoMatchOnInvalidRanges(t,e){let o,r,i=!1;return t&&void 0!==t.start?(o=parseInt(t.start,10),r=o+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&r-e>0&&r-o>0?i=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(t)}`),this.opt.noMatch(t))):(this.log(`Ignoring invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)),{start:o,end:r,valid:i}}checkWhitespaceRanges(t,e,o){let r,i=!0,n=o.length,a=e-n,s=parseInt(t.start,10)-a;return s=s>n?n:s,r=s+parseInt(t.length,10),r>n&&(r=n,this.log(`End range automatically set to the max value of ${n}`)),s<0||r-s<0||s>n||r>n?(i=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):""===o.substring(s,r).replace(/\s+/g,"")&&(i=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:s,end:r,valid:i}}getTextNodes(t){let e="",o=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,(t=>{o.push({start:e.length,end:(e+=t.textContent).length,node:t})}),(t=>this.matchesExclude(t.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT),(()=>{t({value:e,nodes:o})}))}matchesExclude(t){return _i.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,e,o){const r=this.opt.element?this.opt.element:"mark",i=t.splitText(e),n=i.splitText(o-e);let a=document.createElement(r);return a.setAttribute("data-markjs","true"),this.opt.className&&a.setAttribute("class",this.opt.className),a.textContent=i.textContent,i.parentNode.replaceChild(a,i),n}wrapRangeInMappedTextNode(t,e,o,r,i){t.nodes.every(((n,a)=>{const s=t.nodes[a+1];if(void 0===s||s.start>e){if(!r(n.node))return!1;const s=e-n.start,c=(o>n.end?n.end:o)-n.start,l=t.value.substr(0,n.start),f=t.value.substr(c+n.start);if(n.node=this.wrapRangeInTextNode(n.node,s,c),t.value=l+f,t.nodes.forEach(((e,o)=>{o>=a&&(t.nodes[o].start>0&&o!==a&&(t.nodes[o].start-=c),t.nodes[o].end-=c)})),o-=c,i(n.node.previousSibling,n.start),!(o>n.end))return!1;e=n.end}return!0}))}wrapMatches(t,e,o,r,i){const n=0===e?0:e+1;this.getTextNodes((e=>{e.nodes.forEach((e=>{let i;for(e=e.node;null!==(i=t.exec(e.textContent))&&""!==i[n];){if(!o(i[n],e))continue;let a=i.index;if(0!==n)for(let t=1;t<n;t++)a+=i[t].length;e=this.wrapRangeInTextNode(e,a,a+i[n].length),r(e.previousSibling),t.lastIndex=0}})),i()}))}wrapMatchesAcrossElements(t,e,o,r,i){const n=0===e?0:e+1;this.getTextNodes((e=>{let a;for(;null!==(a=t.exec(e.value))&&""!==a[n];){let i=a.index;if(0!==n)for(let t=1;t<n;t++)i+=a[t].length;const s=i+a[n].length;this.wrapRangeInMappedTextNode(e,i,s,(t=>o(a[n],t)),((e,o)=>{t.lastIndex=o,r(e)}))}i()}))}wrapRangeFromIndex(t,e,o,r){this.getTextNodes((i=>{const n=i.value.length;t.forEach(((t,r)=>{let{start:a,end:s,valid:c}=this.checkWhitespaceRanges(t,n,i.value);c&&this.wrapRangeInMappedTextNode(i,a,s,(o=>e(o,t,i.value.substring(a,s),r)),(e=>{o(e,t)}))})),r()}))}unwrapMatches(t){const e=t.parentNode;let o=document.createDocumentFragment();for(;t.firstChild;)o.appendChild(t.removeChild(t.firstChild));e.replaceChild(o,t),this.ie?this.normalizeTextNode(e):e.normalize()}normalizeTextNode(t){if(t){if(3===t.nodeType)for(;t.nextSibling&&3===t.nextSibling.nodeType;)t.nodeValue+=t.nextSibling.nodeValue,t.parentNode.removeChild(t.nextSibling);else this.normalizeTextNode(t.firstChild);this.normalizeTextNode(t.nextSibling)}}markRegExp(t,e){this.opt=e,this.log(`Searching with expression "${t}"`);let o=0,r="wrapMatches";this.opt.acrossElements&&(r="wrapMatchesAcrossElements"),this[r](t,this.opt.ignoreGroups,((t,e)=>this.opt.filter(e,t,o)),(t=>{o++,this.opt.each(t)}),(()=>{0===o&&this.opt.noMatch(t),this.opt.done(o)}))}mark(t,e){this.opt=e;let o=0,r="wrapMatches";const{keywords:i,length:n}=this.getSeparatedKeywords("string"==typeof t?[t]:t),a=this.opt.caseSensitive?"":"i",s=t=>{let e=new RegExp(this.createRegExp(t),`gm${a}`),c=0;this.log(`Searching with expression "${e}"`),this[r](e,1,((e,r)=>this.opt.filter(r,t,o,c)),(t=>{c++,o++,this.opt.each(t)}),(()=>{0===c&&this.opt.noMatch(t),i[n-1]===t?this.opt.done(o):s(i[i.indexOf(t)+1])}))};this.opt.acrossElements&&(r="wrapMatchesAcrossElements"),0===n?this.opt.done(o):s(i[0])}markRanges(t,e){this.opt=e;let o=0,r=this.checkRanges(t);r&&r.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(r)),this.wrapRangeFromIndex(r,((t,e,o,r)=>this.opt.filter(t,e,o,r)),((t,e)=>{o++,this.opt.each(t,e)}),(()=>{this.opt.done(o)}))):this.opt.done(o)}unmark(t){this.opt=t;let e=this.opt.element?this.opt.element:"*";e+="[data-markjs]",this.opt.className&&(e+=`.${this.opt.className}`),this.log(`Removal selector "${e}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,(t=>{this.unwrapMatches(t)}),(t=>{const o=_i.matches(t,e),r=this.matchesExclude(t);return!o||r?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}),this.opt.done)}}(t);return this.mark=(t,o)=>(e.mark(t,o),this),this.markRegExp=(t,o)=>(e.markRegExp(t,o),this),this.markRanges=(t,o)=>(e.markRanges(t,o),this),this.unmark=t=>(e.unmark(t),this),this},zi=yo.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Di=ut`
|
|
142
|
-
|
|
143
|
-
background: ${zi};
|
|
144
|
-
}
|
|
145
|
-
`,Mi={className:"highlight-html-match"};function ji(t,e){var o;let r=t.getAttribute("data-highlight-html-query");if((null!=r?r:"")!==(null!=e?e:"")){const r=new Pi(t);if(r.unmark(Mi),e&&e.trim()){r.mark(e.replace(/"[^"]+"/g,""),{...Mi,separateWordSearch:!0});(null!==(o=e.match(/"[^"]+"/g))&&void 0!==o?o:[]).forEach((t=>r.mark(t.replace(/"/g,""),{...Mi,separateWordSearch:!1})))}}t.setAttribute("data-highlight-html-query",null!=e?e:"")}var Ki=Object.freeze({__proto__:null,highlightHtml:ji,highlightHtmlColorCssVariable:zi,highlightHtmlStyles:Di});const Hi=ut`
|
|
146
|
-
.ft-no-text-select {
|
|
147
|
-
-webkit-touch-callout: none;
|
|
148
|
-
-webkit-user-select: none;
|
|
149
|
-
-khtml-user-select: none;
|
|
150
|
-
-moz-user-select: none;
|
|
151
|
-
-ms-user-select: none;
|
|
152
|
-
user-select: none;
|
|
153
|
-
}
|
|
154
|
-
`,Zi=ut`
|
|
155
|
-
.ft-word-wrap {
|
|
156
|
-
white-space: normal;
|
|
157
|
-
word-wrap: break-word;
|
|
158
|
-
-ms-word-break: break-all;
|
|
159
|
-
word-break: break-all;
|
|
160
|
-
word-break: break-word;
|
|
161
|
-
-ms-hyphens: auto;
|
|
162
|
-
-moz-hyphens: auto;
|
|
163
|
-
-webkit-hyphens: auto;
|
|
164
|
-
hyphens: auto
|
|
165
|
-
}
|
|
166
|
-
`,Ti=ut`
|
|
167
|
-
.ft-safari-ellipsis-fix {
|
|
168
|
-
margin-right: 0;
|
|
169
|
-
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
.ft-safari-ellipsis-fix:after {
|
|
173
|
-
content: "\\0000a0";
|
|
174
|
-
display: inline-block;
|
|
175
|
-
width: 0;
|
|
176
|
-
}
|
|
177
|
-
`;var $i=Object.freeze({__proto__:null,noTextSelect:Hi,safariEllipsisFix:Ti,wordWrap:Zi}),Gi=Object.freeze({__proto__:null});class Vi{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var o,r;t=this.resolvePluralKey(t,e);let i=null!==(r=null!==(o=this.labels[t])&&void 0!==o?o:this.defaultLabels[t])&&void 0!==r?r:"";return e.forEach(((t,e)=>i=i.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,o)=>this.formatValue(t,o))))),i}resolvePluralKey(t,e){for(let o of e)if("number"==typeof o){const e=`${String(t)}[\\=${o}]`;if(e in this.labels||e in this.defaultLabels)return e}return t}formatValue(t,e){return t instanceof Date?this.formatDate(t,e):null!=t?t:""}formatDate(t,e){const o=o=>(null==e?void 0:e.includes("date"))?t.toLocaleDateString(o):(null==e?void 0:e.includes("time"))?t.toLocaleTimeString(o):t.toLocaleString(o);try{return o(document.documentElement.lang)}catch(t){return o()}}}var qi=Object.freeze({__proto__:null,ParametrizedLabelResolver:Vi});const Yi=t=>{const e=null!=t?t:{};return(t,o)=>{var r;const i={hasChanged:(t,e)=>!so(t,e),attribute:!1,...e};Se(i)(t,o);const n=t.constructor;n.reduxProperties=new Map(n.reduxProperties),n.reduxProperties.set(o,{selector:null!==(r=e.selector)&&void 0!==r?r:t=>t[o],store:e.store})}};class Ji{constructor(){this.queue=[]}add(t,e=!1){e&&(this.queue=this.queue.filter((e=>e.type!==t.type))),this.queue.push(t)}consume(t){const e=this.queue.find((e=>e.type===t));return e&&(this.queue=this.queue.filter((t=>t!==e))),e}}function Xi(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var Qi,tn,en;const on=Symbol("internalReduxEventsUnsubscribers"),rn=Symbol("internalStoresUnsubscribers"),nn=Symbol("internalStores");class an extends Ai{constructor(){super(...arguments),this[Qi]=new Map,this[tn]=new Map,this[en]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((e=>t.has(e)))&&this.updateFromStores()}getUnnamedStore(){if(this[nn].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[nn].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[nn].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:Xi(t)?t.name:void 0)&&void 0!==o?o:"default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[nn].delete(e)}setupStore(t,e){this[nn].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[nn].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,e)=>{const o=this.constructor.getPropertyOptions(e);if(!(null==o?void 0:o.attribute)||!this.hasAttribute("string"==typeof(null==o?void 0:o.attribute)?o.attribute:e)){const o=this.getStore(t.store);o&&(t.store?this[rn].has(t.store):this[rn].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[rn].set(t,e.subscribe((()=>this.updateFromStores()))),Xi(e)&&e.eventBus&&(null===(o=this.reduxConstructor.reduxEventListeners)||void 0===o||o.forEach(((t,o)=>{if("function"==typeof this[o]&&(!t.store||e.name===t.store)){const r=t=>this[o](t);e.eventBus.addEventListener(t.eventName,r),this[on].push((()=>e.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[rn].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[on].forEach((t=>t())),this[on]=[]}unsubscribeFromStore(t){this[rn].has(t)&&this[rn].get(t)(),this[rn].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function sn(t){for(var e=arguments.length,o=Array(e>1?e-1:0),r=1;r<e;r++)o[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function cn(t){return!!t&&!!t[Vn]}function ln(t){var e;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;var o=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return o===Object||"function"==typeof o&&Function.toString.call(o)===qn}(t)||Array.isArray(t)||!!t[Gn]||!!(null===(e=t.constructor)||void 0===e?void 0:e[Gn])||yn(t)||gn(t))}function fn(t,e,o){void 0===o&&(o=!1),0===un(t)?(o?Object.keys:Yn)(t).forEach((function(r){o&&"symbol"==typeof r||e(r,t[r],t)})):t.forEach((function(o,r){return e(r,o,t)}))}function un(t){var e=t[Vn];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:yn(t)?2:gn(t)?3:0}function hn(t,e){return 2===un(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function dn(t,e,o){var r=un(t);2===r?t.set(e,o):3===r?t.add(o):t[e]=o}function pn(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function yn(t){return Hn&&t instanceof Map}function gn(t){return Zn&&t instanceof Set}function bn(t){return t.o||t.t}function mn(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Jn(t);delete e[Vn];for(var o=Yn(e),r=0;r<o.length;r++){var i=o[r],n=e[i];!1===n.writable&&(n.writable=!0,n.configurable=!0),(n.get||n.set)&&(e[i]={configurable:!0,writable:!0,enumerable:n.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function vn(t,e){return void 0===e&&(e=!1),Sn(t)||cn(t)||!ln(t)||(un(t)>1&&(t.set=t.add=t.clear=t.delete=On),Object.freeze(t),e&&fn(t,(function(t,e){return vn(e,!0)}),!0)),t}function On(){sn(2)}function Sn(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function wn(t){var e=Xn[t];return e||sn(18,t),e}function xn(){return jn}function Cn(t,e){e&&(wn("Patches"),t.u=[],t.s=[],t.v=e)}function Nn(t){En(t),t.p.forEach(In),t.p=null}function En(t){t===jn&&(jn=t.l)}function Rn(t){return jn={p:[],l:jn,h:t,m:!0,_:0}}function In(t){var e=t[Vn];0===e.i||1===e.i?e.j():e.g=!0}function Ln(t,e){e._=e.p.length;var o=e.p[0],r=void 0!==t&&t!==o;return e.h.O||wn("ES5").S(e,t,r),r?(o[Vn].P&&(Nn(e),sn(4)),ln(t)&&(t=Un(e,t),e.l||kn(e,t)),e.u&&wn("Patches").M(o[Vn].t,t,e.u,e.s)):t=Un(e,o,[]),Nn(e),e.u&&e.v(e.u,e.s),t!==$n?t:void 0}function Un(t,e,o){if(Sn(e))return e;var r=e[Vn];if(!r)return fn(e,(function(i,n){return Wn(t,r,e,i,n,o)}),!0),e;if(r.A!==t)return e;if(!r.P)return kn(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=mn(r.k):r.o,n=i,a=!1;3===r.i&&(n=new Set(i),i.clear(),a=!0),fn(n,(function(e,n){return Wn(t,r,i,e,n,o,a)})),kn(t,i,!1),o&&t.u&&wn("Patches").N(r,o,t.u,t.s)}return r.o}function Wn(t,e,o,r,i,n,a){if(cn(i)){var s=Un(t,i,n&&e&&3!==e.i&&!hn(e.R,r)?n.concat(r):void 0);if(dn(o,r,s),!cn(s))return;t.m=!1}else a&&o.add(i);if(ln(i)&&!Sn(i)){if(!t.h.D&&t._<1)return;Un(t,i),e&&e.A.l||kn(t,i)}}function kn(t,e,o){void 0===o&&(o=!1),!t.l&&t.h.D&&t.m&&vn(e,o)}function An(t,e){var o=t[Vn];return(o?bn(o):t)[e]}function Bn(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var r=Object.getOwnPropertyDescriptor(o,e);if(r)return r;o=Object.getPrototypeOf(o)}}function Fn(t){t.P||(t.P=!0,t.l&&Fn(t.l))}function _n(t){t.o||(t.o=mn(t.t))}function Pn(t,e,o){var r=yn(e)?wn("MapSet").F(e,o):gn(e)?wn("MapSet").T(e,o):t.O?function(t,e){var o=Array.isArray(t),r={i:o?1:0,A:e?e.A:xn(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},i=r,n=Qn;o&&(i=[r],n=ta);var a=Proxy.revocable(i,n),s=a.revoke,c=a.proxy;return r.k=c,r.j=s,c}(e,o):wn("ES5").J(e,o);return(o?o.A:xn()).p.push(r),r}function zn(t){return cn(t)||sn(22,t),function t(e){if(!ln(e))return e;var o,r=e[Vn],i=un(e);if(r){if(!r.P&&(r.i<4||!wn("ES5").K(r)))return r.t;r.I=!0,o=Dn(e,i),r.I=!1}else o=Dn(e,i);return fn(o,(function(e,i){r&&function(t,e){return 2===un(t)?t.get(e):t[e]}(r.t,e)===i||dn(o,e,t(i))})),3===i?new Set(o):o}(t)}function Dn(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return mn(t)}Qi=rn,tn=nn,en=on,an.reduxProperties=new Map,an.reduxReactiveProperties=new Set,an.reduxEventListeners=new Map;var Mn,jn,Kn="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Hn="undefined"!=typeof Map,Zn="undefined"!=typeof Set,Tn="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,$n=Kn?Symbol.for("immer-nothing"):((Mn={})["immer-nothing"]=!0,Mn),Gn=Kn?Symbol.for("immer-draftable"):"__$immer_draftable",Vn=Kn?Symbol.for("immer-state"):"__$immer_state",qn=""+Object.prototype.constructor,Yn="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Jn=Object.getOwnPropertyDescriptors||function(t){var e={};return Yn(t).forEach((function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)})),e},Xn={},Qn={get:function(t,e){if(e===Vn)return t;var o=bn(t);if(!hn(o,e))return function(t,e,o){var r,i=Bn(e,o);return i?"value"in i?i.value:null===(r=i.get)||void 0===r?void 0:r.call(t.k):void 0}(t,o,e);var r=o[e];return t.I||!ln(r)?r:r===An(t.t,e)?(_n(t),t.o[e]=Pn(t.A.h,r,t)):r},has:function(t,e){return e in bn(t)},ownKeys:function(t){return Reflect.ownKeys(bn(t))},set:function(t,e,o){var r=Bn(bn(t),e);if(null==r?void 0:r.set)return r.set.call(t.k,o),!0;if(!t.P){var i=An(bn(t),e),n=null==i?void 0:i[Vn];if(n&&n.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(pn(o,i)&&(void 0!==o||hn(t.t,e)))return!0;_n(t),Fn(t)}return t.o[e]===o&&(void 0!==o||e in t.o)||Number.isNaN(o)&&Number.isNaN(t.o[e])||(t.o[e]=o,t.R[e]=!0),!0},deleteProperty:function(t,e){return void 0!==An(t.t,e)||e in t.t?(t.R[e]=!1,_n(t),Fn(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=bn(t),r=Reflect.getOwnPropertyDescriptor(o,e);return r?{writable:!0,configurable:1!==t.i||"length"!==e,enumerable:r.enumerable,value:o[e]}:r},defineProperty:function(){sn(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){sn(12)}},ta={};fn(Qn,(function(t,e){ta[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),ta.deleteProperty=function(t,e){return ta.set.call(this,t,e,void 0)},ta.set=function(t,e,o){return Qn.set.call(this,t[0],e,o,t[0])};var ea=function(){function t(t){var e=this;this.O=Tn,this.D=!0,this.produce=function(t,o,r){if("function"==typeof t&&"function"!=typeof o){var i=o;o=t;var n=e;return function(t){var e=this;void 0===t&&(t=i);for(var r=arguments.length,a=Array(r>1?r-1:0),s=1;s<r;s++)a[s-1]=arguments[s];return n.produce(t,(function(t){var r;return(r=o).call.apply(r,[e,t].concat(a))}))}}var a;if("function"!=typeof o&&sn(6),void 0!==r&&"function"!=typeof r&&sn(7),ln(t)){var s=Rn(e),c=Pn(e,t,void 0),l=!0;try{a=o(c),l=!1}finally{l?Nn(s):En(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return Cn(s,r),Ln(t,s)}),(function(t){throw Nn(s),t})):(Cn(s,r),Ln(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=o(t))&&(a=t),a===$n&&(a=void 0),e.D&&vn(a,!0),r){var f=[],u=[];wn("Patches").M(t,a,f,u),r(f,u)}return a}sn(21,t)},this.produceWithPatches=function(t,o){if("function"==typeof t)return function(o){for(var r=arguments.length,i=Array(r>1?r-1:0),n=1;n<r;n++)i[n-1]=arguments[n];return e.produceWithPatches(o,(function(e){return t.apply(void 0,[e].concat(i))}))};var r,i,n=e.produce(t,o,(function(t,e){r=t,i=e}));return"undefined"!=typeof Promise&&n instanceof Promise?n.then((function(t){return[t,r,i]})):[n,r,i]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var e=t.prototype;return e.createDraft=function(t){ln(t)||sn(8),cn(t)&&(t=zn(t));var e=Rn(this),o=Pn(this,t,void 0);return o[Vn].C=!0,En(e),o},e.finishDraft=function(t,e){var o=(t&&t[Vn]).A;return Cn(o,e),Ln(void 0,o)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!Tn&&sn(20),this.O=t},e.applyPatches=function(t,e){var o;for(o=e.length-1;o>=0;o--){var r=e[o];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}o>-1&&(e=e.slice(o+1));var i=wn("Patches").$;return cn(t)?i(t,e):this.produce(t,(function(t){return i(t,e)}))},t}(),oa=new ea,ra=oa.produce;function ia(t){return ia="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ia(t)}function na(t){var e=function(t,e){if("object"!==ia(t)||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var r=o.call(t,e||"default");if("object"!==ia(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===ia(e)?e:String(e)}function aa(t,e,o){return(e=na(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function sa(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,r)}return o}function ca(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?sa(Object(o),!0).forEach((function(e){aa(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):sa(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function la(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. "}oa.produceWithPatches.bind(oa),oa.setAutoFreeze.bind(oa),oa.setUseProxies.bind(oa),oa.applyPatches.bind(oa),oa.createDraft.bind(oa),oa.finishDraft.bind(oa);var fa="function"==typeof Symbol&&Symbol.observable||"@@observable",ua=function(){return Math.random().toString(36).substring(7).split("").join(".")},ha={INIT:"@@redux/INIT"+ua(),REPLACE:"@@redux/REPLACE"+ua(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ua()}};function da(t,e,o){var r;if("function"==typeof e&&"function"==typeof o||"function"==typeof o&&"function"==typeof arguments[3])throw new Error(la(0));if("function"==typeof e&&void 0===o&&(o=e,e=void 0),void 0!==o){if("function"!=typeof o)throw new Error(la(1));return o(da)(t,e)}if("function"!=typeof t)throw new Error(la(2));var i=t,n=e,a=[],s=a,c=!1;function l(){s===a&&(s=a.slice())}function f(){if(c)throw new Error(la(3));return n}function u(t){if("function"!=typeof t)throw new Error(la(4));if(c)throw new Error(la(5));var e=!0;return l(),s.push(t),function(){if(e){if(c)throw new Error(la(6));e=!1,l();var o=s.indexOf(t);s.splice(o,1),a=null}}}function h(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}(t))throw new Error(la(7));if(void 0===t.type)throw new Error(la(8));if(c)throw new Error(la(9));try{c=!0,n=i(n,t)}finally{c=!1}for(var e=a=s,o=0;o<e.length;o++){(0,e[o])()}return t}return h({type:ha.INIT}),(r={dispatch:h,subscribe:u,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(la(10));i=t,h({type:ha.REPLACE})}})[fa]=function(){var t,e=u;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(la(11));function o(){t.next&&t.next(f())}return o(),{unsubscribe:e(o)}}})[fa]=function(){return this},t},r}function pa(t){for(var e=Object.keys(t),o={},r=0;r<e.length;r++){var i=e[r];"function"==typeof t[i]&&(o[i]=t[i])}var n,a=Object.keys(o);try{!function(t){Object.keys(t).forEach((function(e){var o=t[e];if(void 0===o(void 0,{type:ha.INIT}))throw new Error(la(12));if(void 0===o(void 0,{type:ha.PROBE_UNKNOWN_ACTION()}))throw new Error(la(13))}))}(o)}catch(t){n=t}return function(t,e){if(void 0===t&&(t={}),n)throw n;for(var r=!1,i={},s=0;s<a.length;s++){var c=a[s],l=o[c],f=t[c],u=l(f,e);if(void 0===u)throw e&&e.type,new Error(la(14));i[c]=u,r=r||u!==f}return(r=r||a.length!==Object.keys(t).length)?i:t}}function ya(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce((function(t,e){return function(){return t(e.apply(void 0,arguments))}}))}function ga(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(t){return function(){var o=t.apply(void 0,arguments),r=function(){throw new Error(la(15))},i={getState:o.getState,dispatch:function(){return r.apply(void 0,arguments)}},n=e.map((function(t){return t(i)}));return r=ya.apply(void 0,n)(o.dispatch),ca(ca({},o),{},{dispatch:r})}}}function ba(t){return function(e){var o=e.dispatch,r=e.getState;return function(e){return function(i){return"function"==typeof i?i(o,r,t):e(i)}}}}var ma=ba();ma.withExtraArgument=ba;var va,Oa=ma,Sa=(va=function(t,e){return va=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])},va(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function o(){this.constructor=t}va(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),wa=function(t,e){var o,r,i,n,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return n={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function s(n){return function(s){return function(n){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,r&&(i=2&n[0]?r.return:n[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,n[1])).done)return i;switch(r=0,i&&(n=[2&n[0],i.value]),n[0]){case 0:case 1:i=n;break;case 4:return a.label++,{value:n[1],done:!1};case 5:a.label++,r=n[1],n=[0];continue;case 7:n=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==n[0]&&2!==n[0])){a=0;continue}if(3===n[0]&&(!i||n[1]>i[0]&&n[1]<i[3])){a.label=n[1];break}if(6===n[0]&&a.label<i[1]){a.label=i[1],i=n;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(n);break}i[2]&&a.ops.pop(),a.trys.pop();continue}n=e.call(t,a)}catch(t){n=[6,t],r=0}finally{o=i=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,s])}}},xa=function(t,e){for(var o=0,r=e.length,i=t.length;o<r;o++,i++)t[i]=e[o];return t},Ca=Object.defineProperty,Na=Object.defineProperties,Ea=Object.getOwnPropertyDescriptors,Ra=Object.getOwnPropertySymbols,Ia=Object.prototype.hasOwnProperty,La=Object.prototype.propertyIsEnumerable,Ua=function(t,e,o){return e in t?Ca(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},Wa=function(t,e){for(var o in e||(e={}))Ia.call(e,o)&&Ua(t,o,e[o]);if(Ra)for(var r=0,i=Ra(e);r<i.length;r++){o=i[r];La.call(e,o)&&Ua(t,o,e[o])}return t},ka=function(t,e){return Na(t,Ea(e))},Aa="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?ya:ya.apply(null,arguments)};var Ba=function(t){function e(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return Sa(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,xa([void 0],t[0].concat(this)))):new(e.bind.apply(e,xa([void 0],t.concat(this))))},e}(Array),Fa=function(t){function e(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return Sa(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,xa([void 0],t[0].concat(this)))):new(e.bind.apply(e,xa([void 0],t.concat(this))))},e}(Array);function _a(t){return ln(t)?ra(t,(function(){})):t}function Pa(){return function(t){return function(t){void 0===t&&(t={});var e=t.thunk,o=void 0===e||e;t.immutableCheck,t.serializableCheck;var r=new Ba;o&&(!function(t){return"boolean"==typeof t}(o)?r.push(Oa.withExtraArgument(o.extraArgument)):r.push(Oa));return r}(t)}}function za(t){var e,o=Pa(),r=t||{},i=r.reducer,n=void 0===i?void 0:i,a=r.middleware,s=void 0===a?o():a,c=r.devTools,l=void 0===c||c,f=r.preloadedState,u=void 0===f?void 0:f,h=r.enhancers,d=void 0===h?void 0:h;if("function"==typeof n)e=n;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var o=e;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return e===o}(n))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');e=pa(n)}var p=s;"function"==typeof p&&(p=p(o));var y=ga.apply(void 0,p),g=ya;l&&(g=Aa(Wa({trace:!1},"object"==typeof l&&l)));var b=new Fa(y),m=b;return Array.isArray(d)?m=xa([y],d):"function"==typeof d&&(m=d(b)),da(e,u,g.apply(void 0,m))}function Da(t,e){function o(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];if(e){var i=e.apply(void 0,o);if(!i)throw new Error("prepareAction did not return an object");return Wa(Wa({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:o[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(e){return e.type===t},o}function Ma(t){var e,o={},r=[],i={addCase:function(t,e){var r="string"==typeof t?t:t.type;if(r in o)throw new Error("addCase cannot be called with two reducers for the same action type");return o[r]=e,i},addMatcher:function(t,e){return r.push({matcher:t,reducer:e}),i},addDefaultCase:function(t){return e=t,i}};return t(i),[o,r,e]}function ja(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");var o,r="function"==typeof t.initialState?t.initialState:_a(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},s={},c={};function l(){var e="function"==typeof t.extraReducers?Ma(t.extraReducers):[t.extraReducers],o=e[0],i=void 0===o?{}:o,n=e[1],a=void 0===n?[]:n,c=e[2],l=void 0===c?void 0:c,f=Wa(Wa({},i),s);return function(t,e,o,r){void 0===o&&(o=[]);var i,n="function"==typeof e?Ma(e):[e,o,r],a=n[0],s=n[1],c=n[2];if(function(t){return"function"==typeof t}(t))i=function(){return _a(t())};else{var l=_a(t);i=function(){return l}}function f(t,e){void 0===t&&(t=i());var o=xa([a[e.type]],s.filter((function(t){return(0,t.matcher)(e)})).map((function(t){return t.reducer})));return 0===o.filter((function(t){return!!t})).length&&(o=[c]),o.reduce((function(t,o){if(o){var r;if(cn(t))return void 0===(r=o(t,e))?t:r;if(ln(t))return ra(t,(function(t){return o(t,e)}));if(void 0===(r=o(t,e))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}return t}),t)}return f.getInitialState=i,f}(r,(function(t){for(var e in f)t.addCase(e,f[e]);for(var o=0,r=a;o<r.length;o++){var i=r[o];t.addMatcher(i.matcher,i.reducer)}l&&t.addDefaultCase(l)}))}return n.forEach((function(t){var o,r,n=i[t],l=e+"/"+t;"reducer"in n?(o=n.reducer,r=n.prepare):o=n,a[t]=o,s[l]=o,c[t]=r?Da(l,r):Da(l)})),{name:e,reducer:function(t,e){return o||(o=l()),o(t,e)},actions:c,caseReducers:a,getInitialState:function(){return o||(o=l()),o.getInitialState()}}}var Ka=["name","message","stack","code"],Ha=function(t,e){this.payload=t,this.meta=e},Za=function(t,e){this.payload=t,this.meta=e},Ta=function(t){if("object"==typeof t&&null!==t){for(var e={},o=0,r=Ka;o<r.length;o++){var i=r[o];"string"==typeof t[i]&&(e[i]=t[i])}return e}return{message:String(t)}};function $a(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,e,o){var r=Da(t+"/fulfilled",(function(t,e,o,r){return{payload:t,meta:ka(Wa({},r||{}),{arg:o,requestId:e,requestStatus:"fulfilled"})}})),i=Da(t+"/pending",(function(t,e,o){return{payload:void 0,meta:ka(Wa({},o||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),n=Da(t+"/rejected",(function(t,e,r,i,n){return{payload:i,error:(o&&o.serializeError||Ta)(t||"Rejected"),meta:ka(Wa({},n||{}),{arg:r,requestId:e,rejectedWithValue:!!i,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),a="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(s,c,l){var f,u=(null==o?void 0:o.idGenerator)?o.idGenerator(t):function(t){void 0===t&&(t=21);for(var e="",o=t;o--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e}(),h=new a;function d(t){f=t,h.abort()}var p=function(){return a=this,p=null,y=function(){var a,p,y,g,b,m;return wa(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),g=null==(a=null==o?void 0:o.condition)?void 0:a.call(o,t,{getState:c,extra:l}),null===(O=g)||"object"!=typeof O||"function"!=typeof O.then?[3,2]:[4,g];case 1:g=v.sent(),v.label=2;case 2:if(!1===g||h.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,e){return h.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:f||"Aborted"})}))})),s(i(u,t,null==(p=null==o?void 0:o.getPendingMeta)?void 0:p.call(o,{requestId:u,arg:t},{getState:c,extra:l}))),[4,Promise.race([b,Promise.resolve(e(t,{dispatch:s,getState:c,extra:l,requestId:u,signal:h.signal,abort:d,rejectWithValue:function(t,e){return new Ha(t,e)},fulfillWithValue:function(t,e){return new Za(t,e)}})).then((function(e){if(e instanceof Ha)throw e;return e instanceof Za?r(e.payload,u,t,e.meta):r(e,u,t)}))])];case 3:return y=v.sent(),[3,5];case 4:return m=v.sent(),y=m instanceof Ha?n(null,u,t,m.payload,m.meta):n(m,u,t),[3,5];case 5:return o&&!o.dispatchConditionRejection&&n.match(y)&&y.meta.condition||s(y),[2,y]}var O}))},new Promise((function(t,e){var o=function(t){try{i(y.next(t))}catch(t){e(t)}},r=function(t){try{i(y.throw(t))}catch(t){e(t)}},i=function(e){return e.done?t(e.value):Promise.resolve(e.value).then(o,r)};i((y=y.apply(a,p)).next())}));var a,p,y}();return Object.assign(p,{abort:d,requestId:u,arg:t,unwrap:function(){return p.then($a)}})}}),{pending:i,rejected:n,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var Ga="listenerMiddleware";Da(Ga+"/add"),Da(Ga+"/removeAll"),Da(Ga+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,e){var o=i[t];return o?o.enumerable=e:i[t]=o={configurable:!0,enumerable:e,get:function(){var e=this[Vn];return Qn.get(e,t)},set:function(e){var o=this[Vn];Qn.set(o,t,e)}},o}function e(t){for(var e=t.length-1;e>=0;e--){var i=t[e][Vn];if(!i.P)switch(i.i){case 5:r(i)&&Fn(i);break;case 4:o(i)&&Fn(i)}}}function o(t){for(var e=t.t,o=t.k,r=Yn(o),i=r.length-1;i>=0;i--){var n=r[i];if(n!==Vn){var a=e[n];if(void 0===a&&!hn(e,n))return!0;var s=o[n],c=s&&s[Vn];if(c?c.t!==a:!pn(s,a))return!0}}var l=!!e[Vn];return r.length!==Yn(e).length+(l?0:1)}function r(t){var e=t.k;if(e.length!==t.t.length)return!0;var o=Object.getOwnPropertyDescriptor(e,e.length-1);if(o&&!o.get)return!0;for(var r=0;r<e.length;r++)if(!e.hasOwnProperty(r))return!0;return!1}var i={};!function(t,e){Xn[t]||(Xn[t]=e)}("ES5",{J:function(e,o){var r=Array.isArray(e),i=function(e,o){if(e){for(var r=Array(o.length),i=0;i<o.length;i++)Object.defineProperty(r,""+i,t(i,!0));return r}var n=Jn(o);delete n[Vn];for(var a=Yn(n),s=0;s<a.length;s++){var c=a[s];n[c]=t(c,e||!!n[c].enumerable)}return Object.create(Object.getPrototypeOf(o),n)}(r,e),n={i:r?5:4,A:o?o.A:xn(),P:!1,I:!1,R:{},l:o,t:e,k:i,o:null,g:!1,C:!1};return Object.defineProperty(i,Vn,{value:n,writable:!0}),i},S:function(t,o,i){i?cn(o)&&o[Vn].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var o=e[Vn];if(o){var i=o.t,n=o.k,a=o.R,s=o.i;if(4===s)fn(n,(function(e){e!==Vn&&(void 0!==i[e]||hn(i,e)?a[e]||t(n[e]):(a[e]=!0,Fn(o)))})),fn(i,(function(t){void 0!==n[t]||hn(n,t)||(a[t]=!1,Fn(o))}));else if(5===s){if(r(o)&&(Fn(o),a.length=!0),n.length<i.length)for(var c=n.length;c<i.length;c++)a[c]=!1;else for(var l=i.length;l<n.length;l++)a[l]=!0;for(var f=Math.min(n.length,i.length),u=0;u<f;u++)n.hasOwnProperty(u)||(a[u]=!0),void 0===a[u]&&t(n[u])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?o(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Va{static get(t){var e;const o="string"==typeof t?t:t.name,r="string"==typeof t?void 0:t,i=window.ftReduxStores[o];if(Xi(i))return i;if(null==r)return;const n=ja({...r,reducers:null!==(e=r.reducers)&&void 0!==e?e:{}}),a=za({reducer:(t,e)=>"CLEAR_FT_REDUX_STORE"===e.type?n.getInitialState():"string"==typeof e.type&&e.type.startsWith("DEFAULT_VALUE_SETTER__")?{...t,...e.overwrites}:n.reducer(t,e)});return window.ftReduxStores[r.name]=new Va(n,a)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Ji,this.actions=new Proxy(this.reduxSlice.actions,{get:(t,e,o)=>{const r=e,i=t[r];return i?(...t)=>{const e=i(...t);return this.reduxStore.dispatch(e),e}:t=>{this.setState({[r]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}var qa=Object.freeze({__proto__:null,FtCommandQueue:Ji,FtLitElementRedux:an,FtReduxStore:Va,clearAllStores:function(){var t;for(let e of Object.values(null!==(t=window.ftReduxStores)&&void 0!==t?t:{}))Xi(e)&&e.clear()},isFtReduxStore:Xi,redux:Yi,reduxEventListener:t=>(e,o)=>{const r=e.constructor;r.reduxEventListeners=new Map(r.reduxEventListeners),r.reduxEventListeners.set(o,t)},reduxReactive:()=>(t,e)=>{var o;const r=t.constructor;r.reduxReactiveProperties=new Set(r.reduxReactiveProperties),null===(o=r.reduxReactiveProperties)||void 0===o||o.add(e)}});var Ya=Object.freeze({__proto__:null,serializeRequest:function(t,e){var o,r,i,n;const a=new URLSearchParams({"content-lang":null!==(o=e.contentLocale)&&void 0!==o?o:"all"});if((null===(r=e.query)||void 0===r?void 0:r.length)>0&&a.append("query",e.query),e.scope&&"DEFAULT"!==e.scope&&a.append("scope",e.scope.toLowerCase()),e.virtualField&&a.append("virtual-field",e.virtualField.toLowerCase()),e.periodFilter){let t=e.periodFilter.period;const o=t?`_${t.from}_${t.to}`:"";a.append("period",e.periodFilter.periodType.toLowerCase()+o)}if((null===(i=e.sort)||void 0===i?void 0:i.length)>0&&"ft:lastEdition"===e.sort[0].key&&a.append("sort","last_update"),(null===(n=e.filters)||void 0===n?void 0:n.length)>0){const t=e.filters.map((t=>{const e=t.values.map((t=>t.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*"))).map((t=>encodeURIComponent(function(t){return`"${t}"`}(t)))).join("_");return`${t.key}~${e}`})).join("*");a.append("filters",t)}return new URL(`${t.replace(/\/+$/,"")}/search?${a.toString()}`).href}});const Ja=Symbol("elementInternals");var Xa,Qa,ts,es,os=Object.freeze({__proto__:null,toFtFormComponent:function(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[Ja].form}constructor(...t){super(t),this[Ja]=this.attachInternals(),this[Ja].role=e}setFormValue(t){this[Ja].setFormValue(t)}}}});const rs=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(ts=null===(Qa=null===(Xa=window.safari)||void 0===Xa?void 0:Xa.pushNotification)||void 0===Qa?void 0:Qa.toString())&&void 0!==ts?ts:""),is="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=null!==(es=window.ftGlobals)&&void 0!==es?es:{lit:me,litDecorators:Ne,litRepeat:ze,litClassMap:Me,litStyleMap:Ze,litUnsafeHTML:Ge,wcUtils:{...Qe,...Je,...eo,...ro,...ho,...br,...Sr,...xi,...yr,...Bi,...Fi,...co,...Ki,...$i,...Gi,...qi,...qa,...Ii,...Ya,...os,isSafari:rs,isTouchScreen:is}};const ns=ut`
|
|
178
|
-
`,as={setRequest:(t,e)=>{t.request=e.payload},setRequestQuery:(t,e)=>{t.request.query=e.payload},setRequestContentLocale:(t,e)=>{t.request.contentLocale=e.payload},setPageSize:(t,e)=>{t.request.paging.perPage=e.payload},setPageNumber:(t,e)=>{t.request.paging.page=e.payload},setRequestSort:(t,e)=>{t.request.sort=e.payload},setRequestFilters:(t,e)=>{t.request.filters=e.payload},setRequestFacets:(t,e)=>{t.request.facets=e.payload},setRequestVirtualField:(t,e)=>{t.request.virtualField=e.payload},setRequestScope:(t,e)=>{t.request.scope=e.payload},setRequestClusterSortCriterion:(t,e)=>{t.request.clusterSortCriterions=e.payload},setResults:(t,e)=>{t.results=e.payload},setFacets:(t,e)=>{t.facets=e.payload},setSpellcheck:(t,e)=>{t.spellcheck=e.payload},setLocales:(t,e)=>{t.locales=e.payload},setPaging:(t,e)=>{t.paging=e.payload},setLiveQuery:(t,e)=>{t.liveQuery=e.payload},setSuggestResults:(t,e)=>{t.suggestResults=e.payload},setRequestPeriodFilter:(t,e)=>{t.request.periodFilter=e.payload}};var ss,cs,ls,fs,us,hs,ds,ps,ys,gs,bs,ms,vs,Os,Ss,ws,xs,Cs;!function(t){!function(e){var o={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(o.arrayBuffer)var r=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],i=ArrayBuffer.isView||function(t){return t&&r.indexOf(Object.prototype.toString.call(t))>-1};function n(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function a(t){return"string"!=typeof t&&(t=String(t)),t}function s(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return o.iterable&&(e[Symbol.iterator]=function(){return e}),e}function c(t){this.map={},t instanceof c?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function l(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function f(t){return new Promise((function(e,o){t.onload=function(){e(t.result)},t.onerror=function(){o(t.error)}}))}function u(t){var e=new FileReader,o=f(e);return e.readAsArrayBuffer(t),o}function h(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function d(){return this.bodyUsed=!1,this._initBody=function(t){var e;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:o.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:o.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():o.arrayBuffer&&o.blob&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=h(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):o.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||i(t))?this._bodyArrayBuffer=h(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o.blob&&(this.blob=function(){var t=l(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?l(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(u)}),this.text=function(){var t=l(this);if(t)return t;if(this._bodyBlob)return function(t){var e=new FileReader,o=f(e);return e.readAsText(t),o}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),o=new Array(e.length),r=0;r<e.length;r++)o[r]=String.fromCharCode(e[r]);return o.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},o.formData&&(this.formData=function(){return this.text().then(g)}),this.json=function(){return this.text().then(JSON.parse)},this}c.prototype.append=function(t,e){t=n(t),e=a(e);var o=this.map[t];this.map[t]=o?o+", "+e:e},c.prototype.delete=function(t){delete this.map[n(t)]},c.prototype.get=function(t){return t=n(t),this.has(t)?this.map[t]:null},c.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},c.prototype.set=function(t,e){this.map[n(t)]=a(e)},c.prototype.forEach=function(t,e){for(var o in this.map)this.map.hasOwnProperty(o)&&t.call(e,this.map[o],o,this)},c.prototype.keys=function(){var t=[];return this.forEach((function(e,o){t.push(o)})),s(t)},c.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),s(t)},c.prototype.entries=function(){var t=[];return this.forEach((function(e,o){t.push([o,e])})),s(t)},o.iterable&&(c.prototype[Symbol.iterator]=c.prototype.entries);var p=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function y(t,e){var o,r,i=(e=e||{}).body;if(t instanceof y){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new c(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,i||null==t._bodyInit||(i=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new c(e.headers)),this.method=(o=e.method||this.method||"GET",r=o.toUpperCase(),p.indexOf(r)>-1?r:o),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i)}function g(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var o=t.split("="),r=o.shift().replace(/\+/g," "),i=o.join("=").replace(/\+/g," ");e.append(decodeURIComponent(r),decodeURIComponent(i))}})),e}function b(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new c(e.headers),this.url=e.url||"",this._initBody(t)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},d.call(y.prototype),d.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];b.redirect=function(t,e){if(-1===m.indexOf(e))throw new RangeError("Invalid status code");return new b(null,{status:e,headers:{location:t}})},e.DOMException=t.DOMException;try{new e.DOMException}catch(t){e.DOMException=function(t,e){this.message=t,this.name=e;var o=Error(t);this.stack=o.stack},e.DOMException.prototype=Object.create(Error.prototype),e.DOMException.prototype.constructor=e.DOMException}function v(t,r){return new Promise((function(i,n){var a=new y(t,r);if(a.signal&&a.signal.aborted)return n(new e.DOMException("Aborted","AbortError"));var s=new XMLHttpRequest;function l(){s.abort()}s.onload=function(){var t,e,o={status:s.status,statusText:s.statusText,headers:(t=s.getAllResponseHeaders()||"",e=new c,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var o=t.split(":"),r=o.shift().trim();if(r){var i=o.join(":").trim();e.append(r,i)}})),e)};o.url="responseURL"in s?s.responseURL:o.headers.get("X-Request-URL");var r="response"in s?s.response:s.responseText;i(new b(r,o))},s.onerror=function(){n(new TypeError("Network request failed"))},s.ontimeout=function(){n(new TypeError("Network request failed"))},s.onabort=function(){n(new e.DOMException("Aborted","AbortError"))},s.open(a.method,a.url,!0),"include"===a.credentials?s.withCredentials=!0:"omit"===a.credentials&&(s.withCredentials=!1),"responseType"in s&&o.blob&&(s.responseType="blob"),a.headers.forEach((function(t,e){s.setRequestHeader(e,t)})),a.signal&&(a.signal.addEventListener("abort",l),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",l)}),s.send(void 0===a._bodyInit?null:a._bodyInit)}))}v.polyfill=!0,t.fetch||(t.fetch=v,t.Headers=c,t.Request=y,t.Response=b),e.Headers=c,e.Request=y,e.Response=b,e.fetch=v,Object.defineProperty(e,"W",{value:!0})}({})}("undefined"!=typeof self?self:void 0),function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"}(ss||(ss={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(cs||(cs={})),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"}(ls||(ls={})),function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"}(fs||(fs={})),function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"}(us||(us={})),function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"}(hs||(hs={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(ds||(ds={})),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"}(ps||(ps={})),function(t){t.ASC="ASC",t.DESC="DESC"}(ys||(ys={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(gs||(gs={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(bs||(bs={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(ms||(ms={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(vs||(vs={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Os||(Os={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(Ss||(Ss={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"}(ws||(ws={})),function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"}(xs||(xs={})),function(t){t.VALID="VALID",t.INVALID="INVALID"}(Cs||(Cs={})),xs.PERSONAL_BOOK_SHARE_USER,xs.PERSONAL_BOOK_USER,xs.HTML_EXPORT_USER,xs.PERSONAL_BOOK_USER,xs.PDF_EXPORT_USER,xs.PERSONAL_BOOK_USER,xs.KHUB_ADMIN,xs.CONTENT_PUBLISHER,xs.ADMIN,xs.KHUB_ADMIN,xs.USERS_ADMIN,xs.PORTAL_ADMIN,xs.DEVELOPER,xs.BETA_USER,xs.DEBUG_USER;const Ns=ut`
|
|
179
|
-
`,Es=Va.get({name:"ft-app-info",reducers:{},initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}});class Rs{static get(t){const{baseUrl:e,apiIntegrationIdentifier:o}=Es.getState(),r=null!=t?t:o;if(e&&r&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(e,r,!0)}static await(t){return new Promise((e=>{let o=Rs.get(t);if(o)e(o);else{const r=Es.subscribe((()=>{o=Rs.get(t),o&&(r(),e(o))}))}}))}}class Is{constructor(t=!0,e){var o;this.overrideApi=e;let r=this.constructor;r.commonCache=null!==(o=r.commonCache)&&void 0!==o?o:new Xe,this.cache=t?r.commonCache:new Xe}get api(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:Rs.get()}get awaitApi(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:Rs.await()}clearCache(){this.cache.clearAll()}}var Ls;const Us=Symbol("clearAfterUnitTest");class Ws extends Is{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Ls]=()=>{this.defaultMessages={},this.cache=new Xe,this.listeners={}},this.currentUiLocale=Es.getState().uiLocale,Es.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=Es.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const e=t.name.toLowerCase();this.cache.setFinal(e,t),this.notify(e)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,e){var o;if(t=t.toLowerCase(),Object.keys(e).length>0){const r={...null!==(o=this.defaultMessages[t])&&void 0!==o?o:{},...e};so(this.defaultMessages[t],r)||(this.defaultMessages[t]=r,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...o){var r,i,n;t=t.toLowerCase(),this.fetchContext(t);const a=null!==(i=null===(r=this.cache.getNow(t))||void 0===r?void 0:r.messages)&&void 0!==i?i:{};return new Vi(null!==(n=this.defaultMessages[t])&&void 0!==n?n:{},a).resolve(e,...o)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,e){var o;return t=t.toLowerCase(),this.listeners[t]=null!==(o=this.listeners[t])&&void 0!==o?o:new Set,this.listeners[t].add(e),()=>{var o;return null===(o=this.listeners[t])||void 0===o?void 0:o.delete(e)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>io(0).then((()=>t())).catch((()=>null)))))}}Ls=Us,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new class extends Ws{constructor(){super((async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e)))}}),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new class extends Ws{constructor(){super((async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e)))}});const ks=window.FluidTopicsI18nService;var As=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Bs extends Ai{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>Rs.get(),this.messageContexts=[],this.cache=new Xe,this.cleanSessionDebouncer=new oo}render(){return Yt`
|
|
180
|
-
<slot></slot>
|
|
181
|
-
`}update(t){super.update(t),t.has("baseUrl")&&(Es.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&Es.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&Es.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&Es.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&Es.actions.noCustom(this.noCustom),t.has("editorMode")&&Es.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&Es.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&Es.actions.session(this.session),t.has("availableUiLocales")&&Es.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>ks.addContext(t))),t.has("openExternalDocumentInNewTab")&&Es.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&Es.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&Es.actions.forcedOffline(this.forcedOffline),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(null==this.session&&this.updateSession(),null==this.availableUiLocales&&this.updateUiLocales(),null==this.metadataConfiguration&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",(async()=>{const t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),t.idleTimeoutInMillis),t}))}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>this.apiProvider().getAvailableUiLocales()))}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",(()=>this.apiProvider().getMetadataConfiguration()))}}Bs.elementDefinitions={},Bs.styles=Ns,As([Se()],Bs.prototype,"baseUrl",void 0),As([Se()],Bs.prototype,"apiIntegrationIdentifier",void 0),As([Se()],Bs.prototype,"uiLocale",void 0),As([fo(null)],Bs.prototype,"availableUiLocales",void 0),As([fo(null)],Bs.prototype,"metadataConfiguration",void 0),As([Se({type:Boolean})],Bs.prototype,"editorMode",void 0),As([Se({type:Boolean})],Bs.prototype,"noCustom",void 0),As([Se({type:Boolean})],Bs.prototype,"openExternalDocumentInNewTab",void 0),As([Se({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Bs.prototype,"noCustomComponent",void 0),As([Se({type:Boolean})],Bs.prototype,"withManualResources",void 0),As([Se({type:Boolean})],Bs.prototype,"navigatorOnline",void 0),As([Se({type:Boolean})],Bs.prototype,"forcedOffline",void 0),As([Se({type:Object})],Bs.prototype,"apiProvider",void 0),As([fo([])],Bs.prototype,"messageContexts",void 0),As([fo(void 0)],Bs.prototype,"session",void 0);class Fs extends Is{async listMySearches(){let t=Es.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-searches",(async()=>(await this.awaitApi).listMySearches(t.profile.userId)),3e5):[]}}class _s extends Is{async listMyBookmarks(){let t=Es.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-bookmarks",(async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId)),3e5):[]}}const Ps=Va.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});const zs=new class{constructor(){this.currentSession=Es.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new _s,this.savedSearchesService=new Fs,Es.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=Es.getState();so(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==e?void 0:e.profile)||(this.currentSession=e,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Ps.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Ps.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();const t=await this.savedSearchesService.listMySearches();Ps.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const e=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;Ps.actions.bookmarks(e)}}};window.FluidTopicsAppInfoStoreService=new class{addCommand(t,e=!1){Es.commands.add(t,e)}consumeCommand(t){return Es.commands.consume(t)}};window.FluidTopicsHighlightHtmlService=new class{highlightHtml(t,e){ji(t,e)}},lo("ft-app-context")(Bs);class Ds extends Is{constructor(){super(),this.cache.registerFinal("available-locales",(()=>this.api.getAvailableSearchLocales()))}async launchSearch(t){return this.api.search(t)}async launchSuggest(t){return this.api.getSuggestions(t)}async getAvailableSearchLocales(){return this.cache.get("available-locales")}}const Ms=t=>t.request.virtualField===bs.TITLE_ONLY&&t.request.scope===ws.DOCUMENTS;class js extends Event{constructor(){super(js.eventName)}}js.eventName="search-context-clear-all-filters";class Ks{static build(t,e){return new Ks((t=>Va.get({name:"ft-search-"+t,initialState:{request:{query:"",filters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:""},reducers:as}))(t.trim()||"context"),e)}constructor(t,e){this.store=t,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.searchDebouncer=new oo(100),this.suggestDebouncer=new oo(300),this.service=null!=e?e:new Ds}async initService(){return this.store.actions.setLocales((await this.service.getAvailableSearchLocales()).contentLocales),this.launchSearch()}setQuery(t){this.store.actions.setRequestQuery(t),this.store.actions.setLiveQuery(t),this.store.actions.setPageNumber(1),this.launchSearch()}setContentLocale(t){let e=this.store.getState().locales,o=this.store.getState().request.contentLocale;if(t!=o){if(e){const r=t=>e.some((e=>e.lang==t));r(t)||(t=r(o)?o:e[0].lang)}this.store.actions.setRequestContentLocale(t),this.store.actions.setPageNumber(1),this.store.actions.setRequestFilters([]),this.launchSearch()}return t}setPageSize(t){this.store.actions.setPageSize(t),this.launchSearch()}setPageNumber(t){this.store.actions.setPageNumber(t),this.launchSearch()}setSort(t){this.store.actions.setRequestSort(t),this.store.actions.setPageNumber(1),this.launchSearch()}setFilters(t){const e=t.filter((t=>t.values.length>0));this.store.actions.setRequestFilters(e),this.store.actions.setPageNumber(1),e.forEach((t=>{this.facetIds.includes(t.key)||(this.facetIds=[...this.facetIds,t.key])})),this.launchSearch()}setClusterSortCriterion(t){this.store.actions.setRequestClusterSortCriterion(t),this.launchSearch()}setSearchInDocumentTitlesOnly(t){t?(this.store.actions.setRequestVirtualField(bs.TITLE_ONLY),this.store.actions.setRequestScope(ws.DOCUMENTS)):(this.store.actions.setRequestVirtualField(bs.EVERYWHERE),this.store.actions.setRequestScope(ws.DEFAULT)),this.launchSearch()}get searchInDocumentTitlesOnly(){return Ms(this.store.getState())}get periodFilter(){return this.store.getState().request.periodFilter}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new js)}addFacet(t){this.facetIds=[...this.facetIds,t],this.launchSearch()}replaceFacet(t,e){let o=this.facetIds.filter((e=>e!=t));e&&o.push(e),this.facetIds=o,this.launchSearch()}get facetIds(){return this.store.getState().request.facets.map((t=>t.id))}set facetIds(t){let e=[...new Set(t)].map((t=>({id:t})));this.store.actions.setRequestFacets(e)}setFilter(t,e){let o=this.store.getState().request.filters,r={key:t,values:e,negative:!1},i=[...o.filter((e=>e.key!==t)),r];this.setFilters(i)}setLiveQuery(t){this.store.actions.setLiveQuery(t),this.launchSuggest()}setRequest(t){this.store.actions.setRequest(t),this.store.actions.setLiveQuery(t.query),this.store.actions.setPageNumber(1),this.launchSearch()}setScope(t){this.store.actions.setRequestScope(t),this.launchSearch()}setIgnoreEmptyQuery(t){this.ignoreEmptyQuery=t,this.launchSearch()}setOpenExternalDocumentInNewTab(t){this.openExternalDocumentInNewTab=t}setPeriodFilter(t){this.store.actions.setRequestPeriodFilter(t),this.store.actions.setPageNumber(1),this.launchSearch()}launchSearch(){return this.searchDebouncer.run((()=>this.fetchSearchData()))}launchSuggest(){return this.suggestDebouncer.run((()=>this.fetchSuggestData()))}async fetchSearchData(){var t,e;try{null===(t=this.cancelableSearch)||void 0===t||t.cancel();let o=this.store.getState().request;if(this.store.actions.setPaging(void 0),this.ignoreEmptyQuery&&0==o.query.length)this.store.actions.setResults(void 0),this.store.actions.setFacets(void 0),this.store.actions.setSpellcheck(void 0);else{this.cancelableSearch=Ye(this.service.launchSearch(o));const t=await this.cancelableSearch;if(t.paging.currentPage<=1)this.store.actions.setResults(t.results),this.store.actions.setFacets(t.facets),this.store.actions.setSpellcheck(t.spellcheck);else{let o=(null!==(e=this.store.getState().results)&&void 0!==e?e:[]).concat(t.results);this.store.actions.setResults(o)}this.store.actions.setPaging(t.paging)}}catch(t){t instanceof Ve||!this.errorHandler||this.errorHandler(t)}}async fetchSuggestData(){var t;try{const e=this.store.getState(),o=e.request,r={input:e.liveQuery,filters:o.filters,sort:o.sort,contentLocale:o.contentLocale,scope:o.scope};null===(t=this.cancelableSuggest)||void 0===t||t.cancel(),this.cancelableSuggest=Ye(this.service.launchSuggest(r));let i=await this.cancelableSuggest;this.store.actions.setSuggestResults(i.suggestions)}catch(t){t instanceof Ve||!this.errorHandler||this.errorHandler(t)}}clear(){this.store.clear()}}var Hs=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Zs extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const Ts=Symbol("registerInterval");class $s extends(function(t){var e;class o extends t{constructor(){super(...arguments),this[e]=0}setSearchStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[Ts]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[Ts]):this.dispatchEvent(new Zs)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=Ts,Hs([we()],o.prototype,"stateManager",void 0),o}(an)){}var Gs=function(t,e,o,r){for(var i,n=arguments.length,a=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r,s=t.length-1;s>=0;s--)(i=t[s])&&(a=(n<3?i(a):n>3?i(e,o,a):i(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Vs extends CustomEvent{constructor(t){super("ft-search-load-error",{detail:t})}}class qs extends CustomEvent{constructor(t){super("ft-search-request-change",{detail:t})}}class Ys extends CustomEvent{constructor(t,e,o){super("ft-search-results-change",{detail:{request:t,paging:e,spellcheck:o}})}}class Js extends an{get stateManager(){if(null==this._stateManager){const t=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=Ks.build(this.id||(""+Math.round(999e3*Math.random())).padStart(6,"0"),t),this._stateManager.errorHandler=t=>this.handleLoadError(t),this.addStore(this.stateManager.store,"search")}return this._stateManager}constructor(){super(),this.query="",this.pageSize=20,this.searchInDocumentTitlesOnly=!1,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.filters=[],this.sort=[],this.addStore(Es)}render(){return Yt`
|
|
182
|
-
<slot @register-ft-search-component=${this.registerComponent}></slot>
|
|
183
|
-
`}update(t){super.update(t),t.has("query")&&void 0!==this.query&&this.stateManager.setQuery(this.query),t.has("contentLocale")&&void 0!==this.contentLocale&&this.stateManager.setContentLocale(this.contentLocale),t.has("session")&&this.session&&this.stateManager.initService(),t.has("filters")&&void 0!==this.filters&&this.stateManager.setFilters(this.filters),t.has("sort")&&void 0!==this.sort&&this.stateManager.setSort(this.sort),t.has("pageSize")&&void 0!==this.pageSize&&this.stateManager.setPageSize(this.pageSize),t.has("searchInDocumentTitlesOnly")&&void 0!==this.searchInDocumentTitlesOnly&&this.stateManager.setSearchInDocumentTitlesOnly(this.searchInDocumentTitlesOnly),t.has("scope")&&void 0!==this.scope&&this.stateManager.setScope(this.scope),t.has("ignoreEmptyQuery")&&void 0!==this.ignoreEmptyQuery&&this.stateManager.setIgnoreEmptyQuery(this.ignoreEmptyQuery),t.has("openExternalDocumentInNewTab")&&void 0!==this.openExternalDocumentInNewTab&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("periodFilter")&&void 0!==this.periodFilter&&this.stateManager.setPeriodFilter(this.periodFilter)}connectedCallback(){super.connectedCallback(),this.stateManager.setQuery(this.query),this.stateManager.setContentLocale(this.contentLocale),this.stateManager.setFilters(this.filters),this.stateManager.setPageSize(this.pageSize),this.stateManager.setSort(this.sort)}contentAvailableCallback(t){super.contentAvailableCallback(t),t.has("request")&&this.request&&this.dispatchEvent(new qs(this.request)),t.has("paging")&&void 0!==this.paging&&this.dispatchEvent(new Ys(this.request,this.paging,this.autocorrect))}registerComponent(t){t.stopPropagation();const e=t.composedPath()[0];this.register(e)}register(t){t.setSearchStateManager(this.stateManager)}handleLoadError(t){this.dispatchEvent(new Vs(t))}reloadSavedSearches(){zs.clearMySearches()}clear(){this.stateManager.clear()}}Js.elementDefinitions={},Js.styles=ns,Gs([Se()],Js.prototype,"query",void 0),Gs([Se()],Js.prototype,"contentLocale",void 0),Gs([Se({type:Number})],Js.prototype,"pageSize",void 0),Gs([Se({type:Boolean})],Js.prototype,"searchInDocumentTitlesOnly",void 0),Gs([Se()],Js.prototype,"periodFilter",void 0),Gs([Se()],Js.prototype,"scope",void 0),Gs([Se({type:Boolean})],Js.prototype,"ignoreEmptyQuery",void 0),Gs([Yi({store:Es.name})],Js.prototype,"openExternalDocumentInNewTab",void 0),Gs([fo([])],Js.prototype,"filters",void 0),Gs([fo([])],Js.prototype,"sort",void 0),Gs([Yi({store:"search"})],Js.prototype,"request",void 0),Gs([Yi({store:"search"})],Js.prototype,"paging",void 0),Gs([Yi({store:"search",selector:t=>t.spellcheck})],Js.prototype,"autocorrect",void 0),Gs([Yi({store:Es.name})],Js.prototype,"session",void 0),Gs([Se({attribute:!1})],Js.prototype,"searchServiceProvider",void 0),lo("ft-search-context")(Js),t.ClearAllFiltersEvent=js,t.FtSearchContext=Js,t.FtSearchContextCssVariables={},t.FtSearchStateManager=Ks,t.LoadErrorEvent=Vs,t.SearchRequestChangeEvent=qs,t.SearchResultsChangeEvent=Ys,t.searchInDocumentTitlesOnlySelector=Ms,t.styles=ns}({});
|
|
239
|
+
*)
|
|
240
|
+
*/
|